/* Options: Date: 2026-11-02 11:36:54 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: BranchApptChangeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class BranchApptWriteResponse implements IConvertible { ResponseStatus? ResponseStatus; int? CalendarEventId; String? CheckInId; DateTime? StartLocal; DateTime? EndLocal; int? ContactId; bool? ContactExisted; bool? Notified; int? Open; int? Capacity; BranchApptWriteResponse({this.ResponseStatus,this.CalendarEventId,this.CheckInId,this.StartLocal,this.EndLocal,this.ContactId,this.ContactExisted,this.Notified,this.Open,this.Capacity}); BranchApptWriteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); CalendarEventId = json['CalendarEventId']; CheckInId = json['CheckInId']; StartLocal = JsonConverters.fromJson(json['StartLocal'],'DateTime',context!); EndLocal = JsonConverters.fromJson(json['EndLocal'],'DateTime',context!); ContactId = json['ContactId']; ContactExisted = json['ContactExisted']; Notified = json['Notified']; Open = json['Open']; Capacity = json['Capacity']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'CalendarEventId': CalendarEventId, 'CheckInId': CheckInId, 'StartLocal': JsonConverters.toJson(StartLocal,'DateTime',context!), 'EndLocal': JsonConverters.toJson(EndLocal,'DateTime',context!), 'ContactId': ContactId, 'ContactExisted': ContactExisted, 'Notified': Notified, 'Open': Open, 'Capacity': Capacity }; getTypeName() => "BranchApptWriteResponse"; TypeContext? context = _ctx; } // @Route("/v1/queue/appointments/{CheckInId}/change", "POST,OPTIONS") class BranchApptChangeRequest implements IReturn, IConvertible, IPost { String? CheckInId; String? Date; String? StartLocal; List? LineIds = []; bool? Notify; String? Reason; String? Note; bool? Overbook; BranchApptChangeRequest({this.CheckInId,this.Date,this.StartLocal,this.LineIds,this.Notify,this.Reason,this.Note,this.Overbook}); BranchApptChangeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CheckInId = json['CheckInId']; Date = json['Date']; StartLocal = json['StartLocal']; LineIds = JsonConverters.fromJson(json['LineIds'],'List',context!); Notify = json['Notify']; Reason = json['Reason']; Note = json['Note']; Overbook = json['Overbook']; return this; } Map toJson() => { 'CheckInId': CheckInId, 'Date': Date, 'StartLocal': StartLocal, 'LineIds': JsonConverters.toJson(LineIds,'List',context!), 'Notify': Notify, 'Reason': Reason, 'Note': Note, 'Overbook': Overbook }; createResponse() => BranchApptWriteResponse(); getResponseTypeName() => "BranchApptWriteResponse"; getTypeName() => "BranchApptChangeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'BranchApptWriteResponse': TypeInfo(TypeOf.Class, create:() => BranchApptWriteResponse()), 'BranchApptChangeRequest': TypeInfo(TypeOf.Class, create:() => BranchApptChangeRequest()), });