/* Options: Date: 2026-05-19 10:55:59 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PatchSellout.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PatchSelloutResponse implements IConvertible { PatchSelloutResponse(); PatchSelloutResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PatchSelloutResponse"; TypeContext? context = _ctx; } // @Route("/warranty/{saleId}", "PATCH") class PatchSellout implements IReturn, IConvertible, IPatch { /** * Unique Identifier of the Sell-out item created in Booster */ // @ApiMember(Description="Unique Identifier of the Sell-out item created in Booster", IsRequired=true) int? saleId; /** * Emails of Sale Representatives */ // @ApiMember(Description="Emails of Sale Representatives") List? saleRepresentativeEmails; /** * Promoter Type ID */ // @ApiMember(Description="Promoter Type ID") String? promoterTypeId; PatchSellout({this.saleId,this.saleRepresentativeEmails,this.promoterTypeId}); PatchSellout.fromJson(Map json) { fromMap(json); } fromMap(Map json) { saleId = json['saleId']; saleRepresentativeEmails = JsonConverters.fromJson(json['saleRepresentativeEmails'],'List',context!); promoterTypeId = json['promoterTypeId']; return this; } Map toJson() => { 'saleId': saleId, 'saleRepresentativeEmails': JsonConverters.toJson(saleRepresentativeEmails,'List',context!), 'promoterTypeId': promoterTypeId }; createResponse() => PatchSelloutResponse(); getResponseTypeName() => "PatchSelloutResponse"; getTypeName() => "PatchSellout"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'PatchSelloutResponse': TypeInfo(TypeOf.Class, create:() => PatchSelloutResponse()), 'PatchSellout': TypeInfo(TypeOf.Class, create:() => PatchSellout()), });