/* Options: Date: 2026-05-19 09:53:33 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: CreateEquipmentWarrantyPartner.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CreateEquipmentWarrantyPartnerResponse implements IConvertible { /** * Sales Force Sellout ID */ // @ApiMember(Description="Sales Force Sellout ID", IsRequired=true) String? sfSelloutId; CreateEquipmentWarrantyPartnerResponse({this.sfSelloutId}); CreateEquipmentWarrantyPartnerResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sfSelloutId = json['sfSelloutId']; return this; } Map toJson() => { 'sfSelloutId': sfSelloutId }; getTypeName() => "CreateEquipmentWarrantyPartnerResponse"; TypeContext? context = _ctx; } // @Route("/partner/warranty/equipment", "POST") class CreateEquipmentWarrantyPartner implements IReturn, IConvertible, IPost { /** * Brand Trigram, e.g. CAR, IWC */ // @ApiMember(Description="Brand Trigram, e.g. CAR, IWC", IsRequired=true) String? brand; /** * POS code, e.g. 102048 */ // @ApiMember(Description="POS code, e.g. 102048", IsRequired=true) String? posCode; /** * SerialNumber */ // @ApiMember(Description="SerialNumber", IsRequired=true) String? serialNumber; /** * Reference like 'CRWSTA0030' */ // @ApiMember(Description="Reference like 'CRWSTA0030'") String? articleCode; CreateEquipmentWarrantyPartner({this.brand,this.posCode,this.serialNumber,this.articleCode}); CreateEquipmentWarrantyPartner.fromJson(Map json) { fromMap(json); } fromMap(Map json) { brand = json['brand']; posCode = json['posCode']; serialNumber = json['serialNumber']; articleCode = json['articleCode']; return this; } Map toJson() => { 'brand': brand, 'posCode': posCode, 'serialNumber': serialNumber, 'articleCode': articleCode }; createResponse() => CreateEquipmentWarrantyPartnerResponse(); getResponseTypeName() => "CreateEquipmentWarrantyPartnerResponse"; getTypeName() => "CreateEquipmentWarrantyPartner"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'CreateEquipmentWarrantyPartnerResponse': TypeInfo(TypeOf.Class, create:() => CreateEquipmentWarrantyPartnerResponse()), 'CreateEquipmentWarrantyPartner': TypeInfo(TypeOf.Class, create:() => CreateEquipmentWarrantyPartner()), });