/* Options: Date: 2025-12-06 07:08:24 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: GetAllWearPriceProfileRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class BackofficeWearPriceProfileDto implements IConvertible { String? label; String? slug; int? position; BackofficeWearPriceProfileDto({this.label,this.slug,this.position}); BackofficeWearPriceProfileDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { label = json['label']; slug = json['slug']; position = json['position']; return this; } Map toJson() => { 'label': label, 'slug': slug, 'position': position }; getTypeName() => "BackofficeWearPriceProfileDto"; TypeContext? context = _ctx; } class GetAllWearPriceProfileResponse implements IConvertible { List? wearPriceProfile = []; GetAllWearPriceProfileResponse({this.wearPriceProfile}); GetAllWearPriceProfileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { wearPriceProfile = JsonConverters.fromJson(json['wearPriceProfile'],'List',context!); return this; } Map toJson() => { 'wearPriceProfile': JsonConverters.toJson(wearPriceProfile,'List',context!) }; getTypeName() => "GetAllWearPriceProfileResponse"; TypeContext? context = _ctx; } // @Route("/wear_price_profile/get_all", "GET") class GetAllWearPriceProfileRequest implements IReturn, IGet, IConvertible { GetAllWearPriceProfileRequest(); GetAllWearPriceProfileRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetAllWearPriceProfileResponse(); getResponseTypeName() => "GetAllWearPriceProfileResponse"; getTypeName() => "GetAllWearPriceProfileRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'BackofficeWearPriceProfileDto': TypeInfo(TypeOf.Class, create:() => BackofficeWearPriceProfileDto()), 'GetAllWearPriceProfileResponse': TypeInfo(TypeOf.Class, create:() => GetAllWearPriceProfileResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAllWearPriceProfileRequest': TypeInfo(TypeOf.Class, create:() => GetAllWearPriceProfileRequest()), });