/* Options: Date: 2025-12-06 07:08:22 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: PromoteCustomBrandToGlobalBrandRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class PromoteCustomBrandToGlobalBrandResponse implements IConvertible { int? promotedGlobalBrandId; PromoteCustomBrandToGlobalBrandResponse({this.promotedGlobalBrandId}); PromoteCustomBrandToGlobalBrandResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { promotedGlobalBrandId = json['promotedGlobalBrandId']; return this; } Map toJson() => { 'promotedGlobalBrandId': promotedGlobalBrandId }; getTypeName() => "PromoteCustomBrandToGlobalBrandResponse"; TypeContext? context = _ctx; } // @Route("/brand/promote_custom_to_global", "POST") class PromoteCustomBrandToGlobalBrandRequest implements IReturn, IPost, IConvertible { int? placeCustomBrandId; String? brandName; int? brandId; PromoteCustomBrandToGlobalBrandRequest({this.placeCustomBrandId,this.brandName,this.brandId}); PromoteCustomBrandToGlobalBrandRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeCustomBrandId = json['placeCustomBrandId']; brandName = json['brandName']; brandId = json['brandId']; return this; } Map toJson() => { 'placeCustomBrandId': placeCustomBrandId, 'brandName': brandName, 'brandId': brandId }; createResponse() => PromoteCustomBrandToGlobalBrandResponse(); getResponseTypeName() => "PromoteCustomBrandToGlobalBrandResponse"; getTypeName() => "PromoteCustomBrandToGlobalBrandRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'PromoteCustomBrandToGlobalBrandResponse': TypeInfo(TypeOf.Class, create:() => PromoteCustomBrandToGlobalBrandResponse()), 'PromoteCustomBrandToGlobalBrandRequest': TypeInfo(TypeOf.Class, create:() => PromoteCustomBrandToGlobalBrandRequest()), });