/* Options: Date: 2025-12-06 05:24:42 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CorrectLocationLocale.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Ref implements IConvertible { String? id; String? val; Ref({this.id,this.val}); Ref.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; val = json['val']; return this; } Map toJson() => { 'id': id, 'val': val }; getTypeName() => "Ref"; TypeContext? context = _ctx; } class Locale implements IConvertible { Ref? timeZone; Ref? currency; Ref? language; Locale({this.timeZone,this.currency,this.language}); Locale.fromJson(Map json) { fromMap(json); } fromMap(Map json) { timeZone = JsonConverters.fromJson(json['timeZone'],'Ref',context!); currency = JsonConverters.fromJson(json['currency'],'Ref',context!); language = JsonConverters.fromJson(json['language'],'Ref',context!); return this; } Map toJson() => { 'timeZone': JsonConverters.toJson(timeZone,'Ref',context!), 'currency': JsonConverters.toJson(currency,'Ref',context!), 'language': JsonConverters.toJson(language,'Ref',context!) }; getTypeName() => "Locale"; TypeContext? context = _ctx; } // @Route("/cmd/locations/correct/locale", "POST") class CorrectLocationLocale implements IReturn, IConvertible, IPost { String? id; Locale? locale; CorrectLocationLocale({this.id,this.locale}); CorrectLocationLocale.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; locale = JsonConverters.fromJson(json['locale'],'Locale',context!); return this; } Map toJson() => { 'id': id, 'locale': JsonConverters.toJson(locale,'Locale',context!) }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CorrectLocationLocale"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'Ref': TypeInfo(TypeOf.Class, create:() => Ref()), 'Locale': TypeInfo(TypeOf.Class, create:() => Locale()), 'CorrectLocationLocale': TypeInfo(TypeOf.Class, create:() => CorrectLocationLocale()), });