/* Options: Date: 2025-12-06 07:49:36 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: GetAllSelectedForEditingBrandRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class BackofficeBrandDto implements IConvertible { int? id; int? definedByRootCategoryId; String? name; bool? selectedForEditingInBackoffice; BackofficeBrandDto({this.id,this.definedByRootCategoryId,this.name,this.selectedForEditingInBackoffice}); BackofficeBrandDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; definedByRootCategoryId = json['definedByRootCategoryId']; name = json['name']; selectedForEditingInBackoffice = json['selectedForEditingInBackoffice']; return this; } Map toJson() => { 'id': id, 'definedByRootCategoryId': definedByRootCategoryId, 'name': name, 'selectedForEditingInBackoffice': selectedForEditingInBackoffice }; getTypeName() => "BackofficeBrandDto"; TypeContext? context = _ctx; } class GetAllSelectedForEditingBrandResponse implements IConvertible { List? brands = []; GetAllSelectedForEditingBrandResponse({this.brands}); GetAllSelectedForEditingBrandResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { brands = JsonConverters.fromJson(json['brands'],'List',context!); return this; } Map toJson() => { 'brands': JsonConverters.toJson(brands,'List',context!) }; getTypeName() => "GetAllSelectedForEditingBrandResponse"; TypeContext? context = _ctx; } // @Route("/brand/get_all_selected_for_editing", "GET") class GetAllSelectedForEditingBrandRequest implements IReturn, IGet, IConvertible { GetAllSelectedForEditingBrandRequest(); GetAllSelectedForEditingBrandRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetAllSelectedForEditingBrandResponse(); getResponseTypeName() => "GetAllSelectedForEditingBrandResponse"; getTypeName() => "GetAllSelectedForEditingBrandRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'BackofficeBrandDto': TypeInfo(TypeOf.Class, create:() => BackofficeBrandDto()), 'GetAllSelectedForEditingBrandResponse': TypeInfo(TypeOf.Class, create:() => GetAllSelectedForEditingBrandResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAllSelectedForEditingBrandRequest': TypeInfo(TypeOf.Class, create:() => GetAllSelectedForEditingBrandRequest()), });