/* Options: Date: 2026-10-16 23:46:52 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: LobbyChimeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LobbySettings implements IConvertible { String? LocationId; String? WaitSource; String? MonitorChime; bool? HasUploadedChime; String? ChimeUrl; int? MonitorVolume; bool? MonitorAnnounce; String? MonitorAnnounceTemplate; String? MonitorVoice; double? MonitorVoiceRate; int? MonitorRepeatAfterSec; bool? MonitorTicketOnly; String? LobbyZoneMode; int? LobbyTakeoverEveryMin; int? LobbyTakeoverSec; bool? LobbyIdleScreen; String? TimeZone; LobbySettings({this.LocationId,this.WaitSource,this.MonitorChime,this.HasUploadedChime,this.ChimeUrl,this.MonitorVolume,this.MonitorAnnounce,this.MonitorAnnounceTemplate,this.MonitorVoice,this.MonitorVoiceRate,this.MonitorRepeatAfterSec,this.MonitorTicketOnly,this.LobbyZoneMode,this.LobbyTakeoverEveryMin,this.LobbyTakeoverSec,this.LobbyIdleScreen,this.TimeZone}); LobbySettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LocationId = json['LocationId']; WaitSource = json['WaitSource']; MonitorChime = json['MonitorChime']; HasUploadedChime = json['HasUploadedChime']; ChimeUrl = json['ChimeUrl']; MonitorVolume = json['MonitorVolume']; MonitorAnnounce = json['MonitorAnnounce']; MonitorAnnounceTemplate = json['MonitorAnnounceTemplate']; MonitorVoice = json['MonitorVoice']; MonitorVoiceRate = JsonConverters.toDouble(json['MonitorVoiceRate']); MonitorRepeatAfterSec = json['MonitorRepeatAfterSec']; MonitorTicketOnly = json['MonitorTicketOnly']; LobbyZoneMode = json['LobbyZoneMode']; LobbyTakeoverEveryMin = json['LobbyTakeoverEveryMin']; LobbyTakeoverSec = json['LobbyTakeoverSec']; LobbyIdleScreen = json['LobbyIdleScreen']; TimeZone = json['TimeZone']; return this; } Map toJson() => { 'LocationId': LocationId, 'WaitSource': WaitSource, 'MonitorChime': MonitorChime, 'HasUploadedChime': HasUploadedChime, 'ChimeUrl': ChimeUrl, 'MonitorVolume': MonitorVolume, 'MonitorAnnounce': MonitorAnnounce, 'MonitorAnnounceTemplate': MonitorAnnounceTemplate, 'MonitorVoice': MonitorVoice, 'MonitorVoiceRate': MonitorVoiceRate, 'MonitorRepeatAfterSec': MonitorRepeatAfterSec, 'MonitorTicketOnly': MonitorTicketOnly, 'LobbyZoneMode': LobbyZoneMode, 'LobbyTakeoverEveryMin': LobbyTakeoverEveryMin, 'LobbyTakeoverSec': LobbyTakeoverSec, 'LobbyIdleScreen': LobbyIdleScreen, 'TimeZone': TimeZone }; getTypeName() => "LobbySettings"; TypeContext? context = _ctx; } class LobbyChimeOption implements IConvertible { String? Key; String? Label; String? Url; LobbyChimeOption({this.Key,this.Label,this.Url}); LobbyChimeOption.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Key = json['Key']; Label = json['Label']; Url = json['Url']; return this; } Map toJson() => { 'Key': Key, 'Label': Label, 'Url': Url }; getTypeName() => "LobbyChimeOption"; TypeContext? context = _ctx; } class LobbySettingsResponse implements IConvertible { ResponseStatus? ResponseStatus; LobbySettings? Settings; List? Chimes = []; LobbySettingsResponse({this.ResponseStatus,this.Settings,this.Chimes}); LobbySettingsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Settings = JsonConverters.fromJson(json['Settings'],'LobbySettings',context!); Chimes = JsonConverters.fromJson(json['Chimes'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Settings': JsonConverters.toJson(Settings,'LobbySettings',context!), 'Chimes': JsonConverters.toJson(Chimes,'List',context!) }; getTypeName() => "LobbySettingsResponse"; TypeContext? context = _ctx; } // @Route("/v1/queue/lobby-settings/{LocationId}/chime", "POST,DELETE,OPTIONS") class LobbyChimeRequest implements IReturn, IConvertible, IPost { String? LocationId; LobbyChimeRequest({this.LocationId}); LobbyChimeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LocationId = json['LocationId']; return this; } Map toJson() => { 'LocationId': LocationId }; createResponse() => LobbySettingsResponse(); getResponseTypeName() => "LobbySettingsResponse"; getTypeName() => "LobbyChimeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'LobbySettings': TypeInfo(TypeOf.Class, create:() => LobbySettings()), 'LobbyChimeOption': TypeInfo(TypeOf.Class, create:() => LobbyChimeOption()), 'LobbySettingsResponse': TypeInfo(TypeOf.Class, create:() => LobbySettingsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'LobbyChimeRequest': TypeInfo(TypeOf.Class, create:() => LobbyChimeRequest()), });