/* Options: Date: 2026-09-01 07:59:51 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueueSweepRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LocationSweepResult implements IConvertible { String? LocationId; String? LocationName; int? NoShow; int? Unfulfilled; LocationSweepResult({this.LocationId,this.LocationName,this.NoShow,this.Unfulfilled}); LocationSweepResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LocationId = json['LocationId']; LocationName = json['LocationName']; NoShow = json['NoShow']; Unfulfilled = json['Unfulfilled']; return this; } Map toJson() => { 'LocationId': LocationId, 'LocationName': LocationName, 'NoShow': NoShow, 'Unfulfilled': Unfulfilled }; getTypeName() => "LocationSweepResult"; TypeContext? context = _ctx; } class QueueSweepResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Locations = []; int? TotalNoShow; int? TotalUnfulfilled; QueueSweepResponse({this.ResponseStatus,this.Locations,this.TotalNoShow,this.TotalUnfulfilled}); QueueSweepResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Locations = JsonConverters.fromJson(json['Locations'],'List',context!); TotalNoShow = json['TotalNoShow']; TotalUnfulfilled = json['TotalUnfulfilled']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Locations': JsonConverters.toJson(Locations,'List',context!), 'TotalNoShow': TotalNoShow, 'TotalUnfulfilled': TotalUnfulfilled }; getTypeName() => "QueueSweepResponse"; TypeContext? context = _ctx; } // @Route("/v1/queue/sweep", "POST") class QueueSweepRequest implements IReturn, IConvertible, IPost { QueueSweepRequest(); QueueSweepRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => QueueSweepResponse(); getResponseTypeName() => "QueueSweepResponse"; getTypeName() => "QueueSweepRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'LocationSweepResult': TypeInfo(TypeOf.Class, create:() => LocationSweepResult()), 'QueueSweepResponse': TypeInfo(TypeOf.Class, create:() => QueueSweepResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QueueSweepRequest': TypeInfo(TypeOf.Class, create:() => QueueSweepRequest()), });