/* Options: Date: 2025-05-05 18:38:18 Version: 8.61 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-agency-orch-mb-dhc.rapp-customers.co.uk //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateCarConfiguratorRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class KeyInformation implements IConvertible { String? BM7NST; String? ConfigurationDate; String? ModelYear; String? HalfYear; KeyInformation({this.BM7NST,this.ConfigurationDate,this.ModelYear,this.HalfYear}); KeyInformation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BM7NST = json['BM7NST']; ConfigurationDate = json['ConfigurationDate']; ModelYear = json['ModelYear']; HalfYear = json['HalfYear']; return this; } Map toJson() => { 'BM7NST': BM7NST, 'ConfigurationDate': ConfigurationDate, 'ModelYear': ModelYear, 'HalfYear': HalfYear }; getTypeName() => "KeyInformation"; TypeContext? context = _ctx; } class OrderingOptions implements IConvertible { List? Interior; List? Exterior; List? Other; OrderingOptions({this.Interior,this.Exterior,this.Other}); OrderingOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Interior = JsonConverters.fromJson(json['Interior'],'List',context!); Exterior = JsonConverters.fromJson(json['Exterior'],'List',context!); Other = JsonConverters.fromJson(json['Other'],'List',context!); return this; } Map toJson() => { 'Interior': JsonConverters.toJson(Interior,'List',context!), 'Exterior': JsonConverters.toJson(Exterior,'List',context!), 'Other': JsonConverters.toJson(Other,'List',context!) }; getTypeName() => "OrderingOptions"; TypeContext? context = _ctx; } class CarConfiguratorResponse implements IConvertible { String? Name; KeyInformation? KeyInformation; OrderingOptions? OrderingOptions; ResponseStatus? ResponseStatus; String? ConfiguratorCode; CarConfiguratorResponse({this.Name,this.KeyInformation,this.OrderingOptions,this.ResponseStatus,this.ConfiguratorCode}); CarConfiguratorResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; KeyInformation = JsonConverters.fromJson(json['KeyInformation'],'KeyInformation',context!); OrderingOptions = JsonConverters.fromJson(json['OrderingOptions'],'OrderingOptions',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ConfiguratorCode = json['ConfiguratorCode']; return this; } Map toJson() => { 'Name': Name, 'KeyInformation': JsonConverters.toJson(KeyInformation,'KeyInformation',context!), 'OrderingOptions': JsonConverters.toJson(OrderingOptions,'OrderingOptions',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ConfiguratorCode': ConfiguratorCode }; getTypeName() => "CarConfiguratorResponse"; TypeContext? context = _ctx; } // @Route("/v1/configurator", "PUT") class UpdateCarConfiguratorRequest implements IReturn, IPut, IConvertible { /** * Configurator code */ // @ApiMember(Description="Configurator code", IsRequired=true) String? ConfiguratorCode; UpdateCarConfiguratorRequest({this.ConfiguratorCode}); UpdateCarConfiguratorRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ConfiguratorCode = json['ConfiguratorCode']; return this; } Map toJson() => { 'ConfiguratorCode': ConfiguratorCode }; createResponse() => CarConfiguratorResponse(); getResponseTypeName() => "CarConfiguratorResponse"; getTypeName() => "UpdateCarConfiguratorRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: { 'KeyInformation': TypeInfo(TypeOf.Class, create:() => KeyInformation()), 'OrderingOptions': TypeInfo(TypeOf.Class, create:() => OrderingOptions()), 'CarConfiguratorResponse': TypeInfo(TypeOf.Class, create:() => CarConfiguratorResponse()), 'UpdateCarConfiguratorRequest': TypeInfo(TypeOf.Class, create:() => UpdateCarConfiguratorRequest()), });