/* Options: Date: 2026-11-02 10:44:24 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: BranchApptSlotsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class BranchApptSlot implements IConvertible { String? StartLocal; int? Booked; int? Capacity; int? Open; bool? Full; bool? Past; bool? Fits; String? Reason; BranchApptSlot({this.StartLocal,this.Booked,this.Capacity,this.Open,this.Full,this.Past,this.Fits,this.Reason}); BranchApptSlot.fromJson(Map json) { fromMap(json); } fromMap(Map json) { StartLocal = json['StartLocal']; Booked = json['Booked']; Capacity = json['Capacity']; Open = json['Open']; Full = json['Full']; Past = json['Past']; Fits = json['Fits']; Reason = json['Reason']; return this; } Map toJson() => { 'StartLocal': StartLocal, 'Booked': Booked, 'Capacity': Capacity, 'Open': Open, 'Full': Full, 'Past': Past, 'Fits': Fits, 'Reason': Reason }; getTypeName() => "BranchApptSlot"; TypeContext? context = _ctx; } class BranchApptSlotsResponse implements IConvertible { ResponseStatus? ResponseStatus; String? Date; int? TimeslotMinutes; int? SlotMinutes; int? Capacity; bool? OnlinePaused; List? Slots = []; BranchApptSlotsResponse({this.ResponseStatus,this.Date,this.TimeslotMinutes,this.SlotMinutes,this.Capacity,this.OnlinePaused,this.Slots}); BranchApptSlotsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Date = json['Date']; TimeslotMinutes = json['TimeslotMinutes']; SlotMinutes = json['SlotMinutes']; Capacity = json['Capacity']; OnlinePaused = json['OnlinePaused']; Slots = JsonConverters.fromJson(json['Slots'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Date': Date, 'TimeslotMinutes': TimeslotMinutes, 'SlotMinutes': SlotMinutes, 'Capacity': Capacity, 'OnlinePaused': OnlinePaused, 'Slots': JsonConverters.toJson(Slots,'List',context!) }; getTypeName() => "BranchApptSlotsResponse"; TypeContext? context = _ctx; } // @Route("/v1/queue/appointments/slots", "GET,OPTIONS") class BranchApptSlotsRequest implements IReturn, IConvertible, IGet { String? LocationId; String? Date; String? LineIds; String? ExcludeCheckInId; BranchApptSlotsRequest({this.LocationId,this.Date,this.LineIds,this.ExcludeCheckInId}); BranchApptSlotsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LocationId = json['LocationId']; Date = json['Date']; LineIds = json['LineIds']; ExcludeCheckInId = json['ExcludeCheckInId']; return this; } Map toJson() => { 'LocationId': LocationId, 'Date': Date, 'LineIds': LineIds, 'ExcludeCheckInId': ExcludeCheckInId }; createResponse() => BranchApptSlotsResponse(); getResponseTypeName() => "BranchApptSlotsResponse"; getTypeName() => "BranchApptSlotsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'BranchApptSlot': TypeInfo(TypeOf.Class, create:() => BranchApptSlot()), 'BranchApptSlotsResponse': TypeInfo(TypeOf.Class, create:() => BranchApptSlotsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BranchApptSlotsRequest': TypeInfo(TypeOf.Class, create:() => BranchApptSlotsRequest()), });