/* Options: Date: 2025-12-06 07:06:16 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: LookupBrandsNotSelectedForEditingInBackofficeRequest.* //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 LookupBrandsNotSelectedForEditingInBackofficeResponse implements IConvertible { List? brands = []; LookupBrandsNotSelectedForEditingInBackofficeResponse({this.brands}); LookupBrandsNotSelectedForEditingInBackofficeResponse.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() => "LookupBrandsNotSelectedForEditingInBackofficeResponse"; TypeContext? context = _ctx; } // @Route("/brand/not_selected_for_editing", "GET") class LookupBrandsNotSelectedForEditingInBackofficeRequest implements IReturn, IGet, IConvertible { String? query; int? size; int? offset; LookupBrandsNotSelectedForEditingInBackofficeRequest({this.query,this.size,this.offset}); LookupBrandsNotSelectedForEditingInBackofficeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { query = json['query']; size = json['size']; offset = json['offset']; return this; } Map toJson() => { 'query': query, 'size': size, 'offset': offset }; createResponse() => LookupBrandsNotSelectedForEditingInBackofficeResponse(); getResponseTypeName() => "LookupBrandsNotSelectedForEditingInBackofficeResponse"; getTypeName() => "LookupBrandsNotSelectedForEditingInBackofficeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'BackofficeBrandDto': TypeInfo(TypeOf.Class, create:() => BackofficeBrandDto()), 'LookupBrandsNotSelectedForEditingInBackofficeResponse': TypeInfo(TypeOf.Class, create:() => LookupBrandsNotSelectedForEditingInBackofficeResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'LookupBrandsNotSelectedForEditingInBackofficeRequest': TypeInfo(TypeOf.Class, create:() => LookupBrandsNotSelectedForEditingInBackofficeRequest()), });