/* Options: Date: 2025-12-06 07:06:55 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAllCustomBrandsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class PlacePlainDto implements IConvertible { int? id; String? guid; String? name; double? longitude; double? latitude; bool? claimed; String? organizationNumber; String? overview; String? timeZoneDaylightName; String? timeZoneDisplayName; String? timeZoneStandardName; bool? timeZoneSupportsDaylightSavingTime; int? businessId; String? contactPhone; String? contactEmail; String? contactWebsite; String? addressStreet; String? addressPostalCode; String? addressRegion; String? addressCountryCode; PlacePlainDto({this.id,this.guid,this.name,this.longitude,this.latitude,this.claimed,this.organizationNumber,this.overview,this.timeZoneDaylightName,this.timeZoneDisplayName,this.timeZoneStandardName,this.timeZoneSupportsDaylightSavingTime,this.businessId,this.contactPhone,this.contactEmail,this.contactWebsite,this.addressStreet,this.addressPostalCode,this.addressRegion,this.addressCountryCode}); PlacePlainDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; guid = json['guid']; name = json['name']; longitude = JsonConverters.toDouble(json['longitude']); latitude = JsonConverters.toDouble(json['latitude']); claimed = json['claimed']; organizationNumber = json['organizationNumber']; overview = json['overview']; timeZoneDaylightName = json['timeZoneDaylightName']; timeZoneDisplayName = json['timeZoneDisplayName']; timeZoneStandardName = json['timeZoneStandardName']; timeZoneSupportsDaylightSavingTime = json['timeZoneSupportsDaylightSavingTime']; businessId = json['businessId']; contactPhone = json['contactPhone']; contactEmail = json['contactEmail']; contactWebsite = json['contactWebsite']; addressStreet = json['addressStreet']; addressPostalCode = json['addressPostalCode']; addressRegion = json['addressRegion']; addressCountryCode = json['addressCountryCode']; return this; } Map toJson() => { 'id': id, 'guid': guid, 'name': name, 'longitude': longitude, 'latitude': latitude, 'claimed': claimed, 'organizationNumber': organizationNumber, 'overview': overview, 'timeZoneDaylightName': timeZoneDaylightName, 'timeZoneDisplayName': timeZoneDisplayName, 'timeZoneStandardName': timeZoneStandardName, 'timeZoneSupportsDaylightSavingTime': timeZoneSupportsDaylightSavingTime, 'businessId': businessId, 'contactPhone': contactPhone, 'contactEmail': contactEmail, 'contactWebsite': contactWebsite, 'addressStreet': addressStreet, 'addressPostalCode': addressPostalCode, 'addressRegion': addressRegion, 'addressCountryCode': addressCountryCode }; getTypeName() => "PlacePlainDto"; TypeContext? context = _ctx; } class BackofficePlaceCustomBrandDto implements IConvertible { int? id; PlacePlainDto? definedByPlace; String? name; BackofficePlaceCustomBrandDto({this.id,this.definedByPlace,this.name}); BackofficePlaceCustomBrandDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; definedByPlace = JsonConverters.fromJson(json['definedByPlace'],'PlacePlainDto',context!); name = json['name']; return this; } Map toJson() => { 'id': id, 'definedByPlace': JsonConverters.toJson(definedByPlace,'PlacePlainDto',context!), 'name': name }; getTypeName() => "BackofficePlaceCustomBrandDto"; TypeContext? context = _ctx; } class GetAllCustomBrandsResponse implements IConvertible { List? placeCustomBrands = []; GetAllCustomBrandsResponse({this.placeCustomBrands}); GetAllCustomBrandsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeCustomBrands = JsonConverters.fromJson(json['placeCustomBrands'],'List',context!); return this; } Map toJson() => { 'placeCustomBrands': JsonConverters.toJson(placeCustomBrands,'List',context!) }; getTypeName() => "GetAllCustomBrandsResponse"; TypeContext? context = _ctx; } // @Route("/brand/get_all_custom", "GET") class GetAllCustomBrandsRequest implements IReturn, IGet, IConvertible { GetAllCustomBrandsRequest(); GetAllCustomBrandsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetAllCustomBrandsResponse(); getResponseTypeName() => "GetAllCustomBrandsResponse"; getTypeName() => "GetAllCustomBrandsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'PlacePlainDto': TypeInfo(TypeOf.Class, create:() => PlacePlainDto()), 'BackofficePlaceCustomBrandDto': TypeInfo(TypeOf.Class, create:() => BackofficePlaceCustomBrandDto()), 'GetAllCustomBrandsResponse': TypeInfo(TypeOf.Class, create:() => GetAllCustomBrandsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAllCustomBrandsRequest': TypeInfo(TypeOf.Class, create:() => GetAllCustomBrandsRequest()), });