/* Options: Date: 2025-12-06 08:04:05 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //GlobalNamespace: BusinessApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAllWearPriceProfileRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; class BusinessWearPriceProfileDto implements IConvertible { int? id; String? label; String? slug; BusinessWearPriceProfileDto({this.id,this.label,this.slug}); BusinessWearPriceProfileDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; label = json['label']; slug = json['slug']; return this; } Map toJson() => { 'id': id, 'label': label, 'slug': slug }; getTypeName() => "BusinessWearPriceProfileDto"; TypeContext? context = _ctx; } class GetAllWearPriceProfileResponse implements IConvertible { List? wearPriceProfiles = []; GetAllWearPriceProfileResponse({this.wearPriceProfiles}); GetAllWearPriceProfileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { wearPriceProfiles = JsonConverters.fromJson(json['wearPriceProfiles'],'List',context!); return this; } Map toJson() => { 'wearPriceProfiles': JsonConverters.toJson(wearPriceProfiles,'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: 'BusinessApi', types: { 'BusinessWearPriceProfileDto': TypeInfo(TypeOf.Class, create:() => BusinessWearPriceProfileDto()), 'GetAllWearPriceProfileResponse': TypeInfo(TypeOf.Class, create:() => GetAllWearPriceProfileResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAllWearPriceProfileRequest': TypeInfo(TypeOf.Class, create:() => GetAllWearPriceProfileRequest()), });