/* Options: Date: 2025-05-05 11:07:02 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: GetBackOrderVehicleOtherMatchCsvRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GetBackOrderMatchRequest implements IConvertible { String? Guid; GetBackOrderMatchRequest({this.Guid}); GetBackOrderMatchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['Guid']; return this; } Map toJson() => { 'Guid': Guid }; getTypeName() => "GetBackOrderMatchRequest"; TypeContext? context = _ctx; } class BackOrderVehicleCsv implements IConvertible { String? VehicleType; String? Vid; String? Vin; String? Fin; String? CommissionNumber; String? ChassisNumber; String? Line; List? Packages = []; String? ModelYear; String? ModelYearCode; String? Description; String? VehicleClass; String? RetailPrice_ExVAT; double? RetailPrice_IncVAT; String? OTR; String? ActualPrice; String? BodyStyle; String? Model; String? Colour; String? ColourGroup; String? Fuel; String? ProductRange; String? Engine; bool? IsAMG; String? Transmission; String? Upholstery; String? Nst; String? BM7NST; double? Acceleration; double? BootCapacity; double? TopSpeed; String? DriveConcept; double? CombustionPowerHp; double? ElectricPowerKw; double? ElectricPowerHp; double? CombinedPowerKw; double? CombinedPowerHP; double? ElectricRange; double? ElectricConsumption; String? EmissionCombined; String? EmissionExtraUrban; String? EmissionUrban; double? Emission; String? EmissionDirective; String? EnergyEfficiencyClass; double? WltpCombined; double? WltpLow; double? WltpMedium; double? WltpHigh; double? WltpExtraHigh; double? WltpEmissionCombined; String? PortArrivalDate; DateTime? CreationDate; DateTime? LastUpdated; bool? IsDisplayStock; String? DisplayStockAgent; bool? IsSpecialistCar; String? Account; String? Location; String? CesarIdShipToParty; String? VehicleUsageCode; bool? IsSellable; bool? UnderOffer; bool? MbukSecured; String? HalfModelYearCode; String? FullModelYearCode; String? ProductionDate; bool? IsMotability; BackOrderVehicleCsv({this.VehicleType,this.Vid,this.Vin,this.Fin,this.CommissionNumber,this.ChassisNumber,this.Line,this.Packages,this.ModelYear,this.ModelYearCode,this.Description,this.VehicleClass,this.RetailPrice_ExVAT,this.RetailPrice_IncVAT,this.OTR,this.ActualPrice,this.BodyStyle,this.Model,this.Colour,this.ColourGroup,this.Fuel,this.ProductRange,this.Engine,this.IsAMG,this.Transmission,this.Upholstery,this.Nst,this.BM7NST,this.Acceleration,this.BootCapacity,this.TopSpeed,this.DriveConcept,this.CombustionPowerHp,this.ElectricPowerKw,this.ElectricPowerHp,this.CombinedPowerKw,this.CombinedPowerHP,this.ElectricRange,this.ElectricConsumption,this.EmissionCombined,this.EmissionExtraUrban,this.EmissionUrban,this.Emission,this.EmissionDirective,this.EnergyEfficiencyClass,this.WltpCombined,this.WltpLow,this.WltpMedium,this.WltpHigh,this.WltpExtraHigh,this.WltpEmissionCombined,this.PortArrivalDate,this.CreationDate,this.LastUpdated,this.IsDisplayStock,this.DisplayStockAgent,this.IsSpecialistCar,this.Account,this.Location,this.CesarIdShipToParty,this.VehicleUsageCode,this.IsSellable,this.UnderOffer,this.MbukSecured,this.HalfModelYearCode,this.FullModelYearCode,this.ProductionDate,this.IsMotability}); BackOrderVehicleCsv.fromJson(Map json) { fromMap(json); } fromMap(Map json) { VehicleType = json['VehicleType']; Vid = json['Vid']; Vin = json['Vin']; Fin = json['Fin']; CommissionNumber = json['CommissionNumber']; ChassisNumber = json['ChassisNumber']; Line = json['Line']; Packages = JsonConverters.fromJson(json['Packages'],'List',context!); ModelYear = json['ModelYear']; ModelYearCode = json['ModelYearCode']; Description = json['Description']; VehicleClass = json['VehicleClass']; RetailPrice_ExVAT = json['RetailPrice_ExVAT']; RetailPrice_IncVAT = JsonConverters.toDouble(json['RetailPrice_IncVAT']); OTR = json['OTR']; ActualPrice = json['ActualPrice']; BodyStyle = json['BodyStyle']; Model = json['Model']; Colour = json['Colour']; ColourGroup = json['ColourGroup']; Fuel = json['Fuel']; ProductRange = json['ProductRange']; Engine = json['Engine']; IsAMG = json['IsAMG']; Transmission = json['Transmission']; Upholstery = json['Upholstery']; Nst = json['Nst']; BM7NST = json['BM7NST']; Acceleration = JsonConverters.toDouble(json['Acceleration']); BootCapacity = JsonConverters.toDouble(json['BootCapacity']); TopSpeed = JsonConverters.toDouble(json['TopSpeed']); DriveConcept = json['DriveConcept']; CombustionPowerHp = JsonConverters.toDouble(json['CombustionPowerHp']); ElectricPowerKw = JsonConverters.toDouble(json['ElectricPowerKw']); ElectricPowerHp = JsonConverters.toDouble(json['ElectricPowerHp']); CombinedPowerKw = JsonConverters.toDouble(json['CombinedPowerKw']); CombinedPowerHP = JsonConverters.toDouble(json['CombinedPowerHP']); ElectricRange = JsonConverters.toDouble(json['ElectricRange']); ElectricConsumption = JsonConverters.toDouble(json['ElectricConsumption']); EmissionCombined = json['EmissionCombined']; EmissionExtraUrban = json['EmissionExtraUrban']; EmissionUrban = json['EmissionUrban']; Emission = JsonConverters.toDouble(json['Emission']); EmissionDirective = json['EmissionDirective']; EnergyEfficiencyClass = json['EnergyEfficiencyClass']; WltpCombined = JsonConverters.toDouble(json['WltpCombined']); WltpLow = JsonConverters.toDouble(json['WltpLow']); WltpMedium = JsonConverters.toDouble(json['WltpMedium']); WltpHigh = JsonConverters.toDouble(json['WltpHigh']); WltpExtraHigh = JsonConverters.toDouble(json['WltpExtraHigh']); WltpEmissionCombined = JsonConverters.toDouble(json['WltpEmissionCombined']); PortArrivalDate = json['PortArrivalDate']; CreationDate = JsonConverters.fromJson(json['CreationDate'],'DateTime',context!); LastUpdated = JsonConverters.fromJson(json['LastUpdated'],'DateTime',context!); IsDisplayStock = json['IsDisplayStock']; DisplayStockAgent = json['DisplayStockAgent']; IsSpecialistCar = json['IsSpecialistCar']; Account = json['Account']; Location = json['Location']; CesarIdShipToParty = json['CesarIdShipToParty']; VehicleUsageCode = json['VehicleUsageCode']; IsSellable = json['IsSellable']; UnderOffer = json['UnderOffer']; MbukSecured = json['MbukSecured']; HalfModelYearCode = json['HalfModelYearCode']; FullModelYearCode = json['FullModelYearCode']; ProductionDate = json['ProductionDate']; IsMotability = json['IsMotability']; return this; } Map toJson() => { 'VehicleType': VehicleType, 'Vid': Vid, 'Vin': Vin, 'Fin': Fin, 'CommissionNumber': CommissionNumber, 'ChassisNumber': ChassisNumber, 'Line': Line, 'Packages': JsonConverters.toJson(Packages,'List',context!), 'ModelYear': ModelYear, 'ModelYearCode': ModelYearCode, 'Description': Description, 'VehicleClass': VehicleClass, 'RetailPrice_ExVAT': RetailPrice_ExVAT, 'RetailPrice_IncVAT': RetailPrice_IncVAT, 'OTR': OTR, 'ActualPrice': ActualPrice, 'BodyStyle': BodyStyle, 'Model': Model, 'Colour': Colour, 'ColourGroup': ColourGroup, 'Fuel': Fuel, 'ProductRange': ProductRange, 'Engine': Engine, 'IsAMG': IsAMG, 'Transmission': Transmission, 'Upholstery': Upholstery, 'Nst': Nst, 'BM7NST': BM7NST, 'Acceleration': Acceleration, 'BootCapacity': BootCapacity, 'TopSpeed': TopSpeed, 'DriveConcept': DriveConcept, 'CombustionPowerHp': CombustionPowerHp, 'ElectricPowerKw': ElectricPowerKw, 'ElectricPowerHp': ElectricPowerHp, 'CombinedPowerKw': CombinedPowerKw, 'CombinedPowerHP': CombinedPowerHP, 'ElectricRange': ElectricRange, 'ElectricConsumption': ElectricConsumption, 'EmissionCombined': EmissionCombined, 'EmissionExtraUrban': EmissionExtraUrban, 'EmissionUrban': EmissionUrban, 'Emission': Emission, 'EmissionDirective': EmissionDirective, 'EnergyEfficiencyClass': EnergyEfficiencyClass, 'WltpCombined': WltpCombined, 'WltpLow': WltpLow, 'WltpMedium': WltpMedium, 'WltpHigh': WltpHigh, 'WltpExtraHigh': WltpExtraHigh, 'WltpEmissionCombined': WltpEmissionCombined, 'PortArrivalDate': PortArrivalDate, 'CreationDate': JsonConverters.toJson(CreationDate,'DateTime',context!), 'LastUpdated': JsonConverters.toJson(LastUpdated,'DateTime',context!), 'IsDisplayStock': IsDisplayStock, 'DisplayStockAgent': DisplayStockAgent, 'IsSpecialistCar': IsSpecialistCar, 'Account': Account, 'Location': Location, 'CesarIdShipToParty': CesarIdShipToParty, 'VehicleUsageCode': VehicleUsageCode, 'IsSellable': IsSellable, 'UnderOffer': UnderOffer, 'MbukSecured': MbukSecured, 'HalfModelYearCode': HalfModelYearCode, 'FullModelYearCode': FullModelYearCode, 'ProductionDate': ProductionDate, 'IsMotability': IsMotability }; getTypeName() => "BackOrderVehicleCsv"; TypeContext? context = _ctx; } class GetBackOrderVehicleOtherMatchCsvResponse implements IConvertible { List? Vehicles = []; GetBackOrderVehicleOtherMatchCsvResponse({this.Vehicles}); GetBackOrderVehicleOtherMatchCsvResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Vehicles = JsonConverters.fromJson(json['Vehicles'],'List',context!); return this; } Map toJson() => { 'Vehicles': JsonConverters.toJson(Vehicles,'List',context!) }; getTypeName() => "GetBackOrderVehicleOtherMatchCsvResponse"; TypeContext? context = _ctx; } // @Route("/v1/backorder/othermatchcsv/{Guid}", "GET") class GetBackOrderVehicleOtherMatchCsvRequest extends GetBackOrderMatchRequest implements IReturn, IGet, IConvertible { GetBackOrderVehicleOtherMatchCsvRequest(); GetBackOrderVehicleOtherMatchCsvRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => GetBackOrderVehicleOtherMatchCsvResponse(); getResponseTypeName() => "GetBackOrderVehicleOtherMatchCsvResponse"; getTypeName() => "GetBackOrderVehicleOtherMatchCsvRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: { 'GetBackOrderMatchRequest': TypeInfo(TypeOf.Class, create:() => GetBackOrderMatchRequest()), 'BackOrderVehicleCsv': TypeInfo(TypeOf.Class, create:() => BackOrderVehicleCsv()), 'GetBackOrderVehicleOtherMatchCsvResponse': TypeInfo(TypeOf.Class, create:() => GetBackOrderVehicleOtherMatchCsvResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetBackOrderVehicleOtherMatchCsvRequest': TypeInfo(TypeOf.Class, create:() => GetBackOrderVehicleOtherMatchCsvRequest()), });