/* Options: Date: 2026-06-23 00:07:07 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: ScheduleShiftBulkRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ScheduleShiftBulkResponse implements IConvertible { ResponseStatus? ResponseStatus; int? Moved; int? Dropped; ScheduleShiftBulkResponse({this.ResponseStatus,this.Moved,this.Dropped}); ScheduleShiftBulkResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Moved = json['Moved']; Dropped = json['Dropped']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Moved': Moved, 'Dropped': Dropped }; getTypeName() => "ScheduleShiftBulkResponse"; TypeContext? context = _ctx; } // @Route("/v1/schedule/shift-bulk", "POST,OPTIONS") class ScheduleShiftBulkRequest implements IReturn, IConvertible, IPost { List? ItemIDs = []; int? Days; ScheduleShiftBulkRequest({this.ItemIDs,this.Days}); ScheduleShiftBulkRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ItemIDs = JsonConverters.fromJson(json['ItemIDs'],'List',context!); Days = json['Days']; return this; } Map toJson() => { 'ItemIDs': JsonConverters.toJson(ItemIDs,'List',context!), 'Days': Days }; createResponse() => ScheduleShiftBulkResponse(); getResponseTypeName() => "ScheduleShiftBulkResponse"; getTypeName() => "ScheduleShiftBulkRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ScheduleShiftBulkResponse': TypeInfo(TypeOf.Class, create:() => ScheduleShiftBulkResponse()), 'ScheduleShiftBulkRequest': TypeInfo(TypeOf.Class, create:() => ScheduleShiftBulkRequest()), });