/* Options: Date: 2026-08-10 21:16: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: ReceptionistBookRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ReceptionistBookResponse implements IConvertible { int? CalendarEventId; ResponseStatus? ResponseStatus; ReceptionistBookResponse({this.CalendarEventId,this.ResponseStatus}); ReceptionistBookResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CalendarEventId = json['CalendarEventId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'CalendarEventId': CalendarEventId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ReceptionistBookResponse"; TypeContext? context = _ctx; } // @Route("/v1/receptionist/tool/book", "POST,OPTIONS") class ReceptionistBookRequest implements IReturn, IConvertible, IPost { String? Slug; String? ServiceIds; DateTime? StartDateTime; String? FirstName; String? LastName; String? Phone; String? Email; bool? SmsOptIn; String? Address; String? City; String? State; String? Zip; ReceptionistBookRequest({this.Slug,this.ServiceIds,this.StartDateTime,this.FirstName,this.LastName,this.Phone,this.Email,this.SmsOptIn,this.Address,this.City,this.State,this.Zip}); ReceptionistBookRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Slug = json['Slug']; ServiceIds = json['ServiceIds']; StartDateTime = JsonConverters.fromJson(json['StartDateTime'],'DateTime',context!); FirstName = json['FirstName']; LastName = json['LastName']; Phone = json['Phone']; Email = json['Email']; SmsOptIn = json['SmsOptIn']; Address = json['Address']; City = json['City']; State = json['State']; Zip = json['Zip']; return this; } Map toJson() => { 'Slug': Slug, 'ServiceIds': ServiceIds, 'StartDateTime': JsonConverters.toJson(StartDateTime,'DateTime',context!), 'FirstName': FirstName, 'LastName': LastName, 'Phone': Phone, 'Email': Email, 'SmsOptIn': SmsOptIn, 'Address': Address, 'City': City, 'State': State, 'Zip': Zip }; createResponse() => ReceptionistBookResponse(); getResponseTypeName() => "ReceptionistBookResponse"; getTypeName() => "ReceptionistBookRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ReceptionistBookResponse': TypeInfo(TypeOf.Class, create:() => ReceptionistBookResponse()), 'ReceptionistBookRequest': TypeInfo(TypeOf.Class, create:() => ReceptionistBookRequest()), });