/* Options: Date: 2025-12-06 06:41:00 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: PlaceUpdateWearPriceProfileRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; abstract class IHasPlaceId { int? placeId; } class PlaceUpdateWearPriceProfileResponse implements IConvertible { List? wearPriceProfileSlug = []; PlaceUpdateWearPriceProfileResponse({this.wearPriceProfileSlug}); PlaceUpdateWearPriceProfileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { wearPriceProfileSlug = JsonConverters.fromJson(json['wearPriceProfileSlug'],'List',context!); return this; } Map toJson() => { 'wearPriceProfileSlug': JsonConverters.toJson(wearPriceProfileSlug,'List',context!) }; getTypeName() => "PlaceUpdateWearPriceProfileResponse"; TypeContext? context = _ctx; } // @Route("/place/update_wear_price_profile", "PUT") class PlaceUpdateWearPriceProfileRequest implements IReturn, IPut, IHasPlaceId, IConvertible { int? placeId; List? wearPriceProfileSlug = []; PlaceUpdateWearPriceProfileRequest({this.placeId,this.wearPriceProfileSlug}); PlaceUpdateWearPriceProfileRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; wearPriceProfileSlug = JsonConverters.fromJson(json['wearPriceProfileSlug'],'List',context!); return this; } Map toJson() => { 'placeId': placeId, 'wearPriceProfileSlug': JsonConverters.toJson(wearPriceProfileSlug,'List',context!) }; createResponse() => PlaceUpdateWearPriceProfileResponse(); getResponseTypeName() => "PlaceUpdateWearPriceProfileResponse"; getTypeName() => "PlaceUpdateWearPriceProfileRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasPlaceId': TypeInfo(TypeOf.Interface), 'PlaceUpdateWearPriceProfileResponse': TypeInfo(TypeOf.Class, create:() => PlaceUpdateWearPriceProfileResponse()), 'PlaceUpdateWearPriceProfileRequest': TypeInfo(TypeOf.Class, create:() => PlaceUpdateWearPriceProfileRequest()), });