/* Options: Date: 2026-10-21 23:19:08 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: LobbyBranchesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LobbyBranch implements IConvertible { String? BranchId; String? Name; bool? Allowed; int? TvCount; String? ZoneMode; int? TakeoverEveryMin; int? TakeoverSec; String? Density; String? IdleMode; int? IdleContentId; bool? ShowServices; String? TimeZone; String? BookingSlug; LobbyBranch({this.BranchId,this.Name,this.Allowed,this.TvCount,this.ZoneMode,this.TakeoverEveryMin,this.TakeoverSec,this.Density,this.IdleMode,this.IdleContentId,this.ShowServices,this.TimeZone,this.BookingSlug}); LobbyBranch.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BranchId = json['BranchId']; Name = json['Name']; Allowed = json['Allowed']; TvCount = json['TvCount']; ZoneMode = json['ZoneMode']; TakeoverEveryMin = json['TakeoverEveryMin']; TakeoverSec = json['TakeoverSec']; Density = json['Density']; IdleMode = json['IdleMode']; IdleContentId = json['IdleContentId']; ShowServices = json['ShowServices']; TimeZone = json['TimeZone']; BookingSlug = json['BookingSlug']; return this; } Map toJson() => { 'BranchId': BranchId, 'Name': Name, 'Allowed': Allowed, 'TvCount': TvCount, 'ZoneMode': ZoneMode, 'TakeoverEveryMin': TakeoverEveryMin, 'TakeoverSec': TakeoverSec, 'Density': Density, 'IdleMode': IdleMode, 'IdleContentId': IdleContentId, 'ShowServices': ShowServices, 'TimeZone': TimeZone, 'BookingSlug': BookingSlug }; getTypeName() => "LobbyBranch"; TypeContext? context = _ctx; } class LobbyPolicy implements IConvertible { List? ImageExtensions = []; int? MaxImageBytes; int? MaxVideoBytes; int? MaxVideoSec; int? TitleMax; int? HeadlineMax; int? BodyMax; int? CaptionMax; int? DwellMin; int? DwellMax; LobbyPolicy({this.ImageExtensions,this.MaxImageBytes,this.MaxVideoBytes,this.MaxVideoSec,this.TitleMax,this.HeadlineMax,this.BodyMax,this.CaptionMax,this.DwellMin,this.DwellMax}); LobbyPolicy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ImageExtensions = JsonConverters.fromJson(json['ImageExtensions'],'List',context!); MaxImageBytes = json['MaxImageBytes']; MaxVideoBytes = json['MaxVideoBytes']; MaxVideoSec = json['MaxVideoSec']; TitleMax = json['TitleMax']; HeadlineMax = json['HeadlineMax']; BodyMax = json['BodyMax']; CaptionMax = json['CaptionMax']; DwellMin = json['DwellMin']; DwellMax = json['DwellMax']; return this; } Map toJson() => { 'ImageExtensions': JsonConverters.toJson(ImageExtensions,'List',context!), 'MaxImageBytes': MaxImageBytes, 'MaxVideoBytes': MaxVideoBytes, 'MaxVideoSec': MaxVideoSec, 'TitleMax': TitleMax, 'HeadlineMax': HeadlineMax, 'BodyMax': BodyMax, 'CaptionMax': CaptionMax, 'DwellMin': DwellMin, 'DwellMax': DwellMax }; getTypeName() => "LobbyPolicy"; TypeContext? context = _ctx; } class LobbyBranchesResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Branches = []; LobbyPolicy? Policy; LobbyBranchesResponse({this.ResponseStatus,this.Branches,this.Policy}); LobbyBranchesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Branches = JsonConverters.fromJson(json['Branches'],'List',context!); Policy = JsonConverters.fromJson(json['Policy'],'LobbyPolicy',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Branches': JsonConverters.toJson(Branches,'List',context!), 'Policy': JsonConverters.toJson(Policy,'LobbyPolicy',context!) }; getTypeName() => "LobbyBranchesResponse"; TypeContext? context = _ctx; } // @Route("/v1/lobby/branches", "GET,OPTIONS") class LobbyBranchesRequest implements IReturn, IConvertible, IGet { LobbyBranchesRequest(); LobbyBranchesRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => LobbyBranchesResponse(); getResponseTypeName() => "LobbyBranchesResponse"; getTypeName() => "LobbyBranchesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'LobbyBranch': TypeInfo(TypeOf.Class, create:() => LobbyBranch()), 'LobbyPolicy': TypeInfo(TypeOf.Class, create:() => LobbyPolicy()), 'LobbyBranchesResponse': TypeInfo(TypeOf.Class, create:() => LobbyBranchesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'LobbyBranchesRequest': TypeInfo(TypeOf.Class, create:() => LobbyBranchesRequest()), });