/* Options: Date: 2026-07-08 22:13:14 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: BookingWaitRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BookingWaitResponse implements IConvertible { ResponseStatus? ResponseStatus; int? AvgWaitMinutes; int? PeopleInLine; bool? IsBusy; BookingWaitResponse({this.ResponseStatus,this.AvgWaitMinutes,this.PeopleInLine,this.IsBusy}); BookingWaitResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); AvgWaitMinutes = json['AvgWaitMinutes']; PeopleInLine = json['PeopleInLine']; IsBusy = json['IsBusy']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'AvgWaitMinutes': AvgWaitMinutes, 'PeopleInLine': PeopleInLine, 'IsBusy': IsBusy }; getTypeName() => "BookingWaitResponse"; TypeContext? context = _ctx; } // @Route("/v1/booking/wait/{SchedulerUrl}", "GET") class BookingWaitRequest implements IReturn, IConvertible, IGet { String? SchedulerUrl; BookingWaitRequest({this.SchedulerUrl}); BookingWaitRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SchedulerUrl = json['SchedulerUrl']; return this; } Map toJson() => { 'SchedulerUrl': SchedulerUrl }; createResponse() => BookingWaitResponse(); getResponseTypeName() => "BookingWaitResponse"; getTypeName() => "BookingWaitRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'BookingWaitResponse': TypeInfo(TypeOf.Class, create:() => BookingWaitResponse()), 'BookingWaitRequest': TypeInfo(TypeOf.Class, create:() => BookingWaitRequest()), });