/* Options: Date: 2025-05-06 16:37:07 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LocationDeleteRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LocationDeleteResult implements IConvertible { int? statusCode; String? message; LocationDeleteResult({this.statusCode,this.message}); LocationDeleteResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'statusCode': statusCode, 'message': message }; getTypeName() => "LocationDeleteResult"; TypeContext? context = _ctx; } // @Route("/Location/{Id}", "DELETE") class LocationDeleteRequest implements IReturn, IConvertible { int? id; LocationDeleteRequest({this.id}); LocationDeleteRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => LocationDeleteResult(); getResponseTypeName() => "LocationDeleteResult"; getTypeName() => "LocationDeleteRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'LocationDeleteResult': TypeInfo(TypeOf.Class, create:() => LocationDeleteResult()), 'LocationDeleteRequest': TypeInfo(TypeOf.Class, create:() => LocationDeleteRequest()), });