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