/* Options: Date: 2025-06-27 23:53:05 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: OnlineShowroomStockRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class StockDataRow implements IConvertible { String? commissionNumber; String? description; String? salesDescriptionLong; String? model; String? colour; String? colourGroup; String? fuelType; String? transmission; String? transmissionType; String? packages; String? lines; String? upholstery; String? upholsteryCode; String? displayStockAgent; String? location; String? vin; String? vid; String? vehicleType; String? vehicleClass; DateTime? creationDate; DateTime? lastUpdated; DateTime? productionDate; DateTime? portArrivalDate; double? combinedGrossOfferValue; String? currentLocation; bool? notVisibleOnlineShowroom; String? nvosReason; bool? nvosReasonOneAdminExcluded; bool? nvosReasonLinkedToBackOrder; bool? includedAfterDeduplication; bool? unique; bool? duplicate; int? duplicateGroup; bool? lowestComm; String? rule; String? fin; String? chassisNumber; String? modelYear; String? modelYearCode; String? halfModelYearCode; String? fullModelYearCode; String? bodyStyle; String? engine; String? cesarIdShipToParty; String? vehicleUsageCode; double? acceleration; int? bootCapacity; double? topSpeed; String? driveConcept; double? combustionPowerHp; double? electricPowerKw; double? electricPowerHp; double? combinedPowerKw; double? combinedPowerHP; bool? underOffer; bool? isSellable; bool? mbukSecured; bool? isDisplayStock; bool? isSpecialistCar; String? account; String? productRange; bool? isAMG; double? actualPrice; double? retailPrice_ExVAT; double? retailPrice_IncVAT; double? otr; String? nst; String? bm7NST; double? electricRange; double? electricConsumption; double? emission; String? emissionDirective; String? emissionCombined; String? emissionExtraUrban; String? emissionUrban; String? energyEfficiencyClass; String? wltpEmissionCombined; String? wltpCombined; String? wltpLow; String? wltpMedium; String? wltpHigh; String? wltpExtraHigh; double? totalMoneyOffersExclDiscretionary; double? discretionaryMoneyOffer; double? totalMoneyOffersInclDiscretionary; int? nonDiscretionaryNMOCount; int? nonDiscretionaryMOCount; int? discretionaryNMOCount; int? discretionaryMOCount; double? totalOfferVIPAmount; String? stockLevelIndicator; StockDataRow({this.commissionNumber,this.description,this.salesDescriptionLong,this.model,this.colour,this.colourGroup,this.fuelType,this.transmission,this.transmissionType,this.packages,this.lines,this.upholstery,this.upholsteryCode,this.displayStockAgent,this.location,this.vin,this.vid,this.vehicleType,this.vehicleClass,this.creationDate,this.lastUpdated,this.productionDate,this.portArrivalDate,this.combinedGrossOfferValue,this.currentLocation,this.notVisibleOnlineShowroom,this.nvosReason,this.nvosReasonOneAdminExcluded,this.nvosReasonLinkedToBackOrder,this.includedAfterDeduplication,this.unique,this.duplicate,this.duplicateGroup,this.lowestComm,this.rule,this.fin,this.chassisNumber,this.modelYear,this.modelYearCode,this.halfModelYearCode,this.fullModelYearCode,this.bodyStyle,this.engine,this.cesarIdShipToParty,this.vehicleUsageCode,this.acceleration,this.bootCapacity,this.topSpeed,this.driveConcept,this.combustionPowerHp,this.electricPowerKw,this.electricPowerHp,this.combinedPowerKw,this.combinedPowerHP,this.underOffer,this.isSellable,this.mbukSecured,this.isDisplayStock,this.isSpecialistCar,this.account,this.productRange,this.isAMG,this.actualPrice,this.retailPrice_ExVAT,this.retailPrice_IncVAT,this.otr,this.nst,this.bm7NST,this.electricRange,this.electricConsumption,this.emission,this.emissionDirective,this.emissionCombined,this.emissionExtraUrban,this.emissionUrban,this.energyEfficiencyClass,this.wltpEmissionCombined,this.wltpCombined,this.wltpLow,this.wltpMedium,this.wltpHigh,this.wltpExtraHigh,this.totalMoneyOffersExclDiscretionary,this.discretionaryMoneyOffer,this.totalMoneyOffersInclDiscretionary,this.nonDiscretionaryNMOCount,this.nonDiscretionaryMOCount,this.discretionaryNMOCount,this.discretionaryMOCount,this.totalOfferVIPAmount,this.stockLevelIndicator}); StockDataRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { commissionNumber = json['commissionNumber']; description = json['description']; salesDescriptionLong = json['salesDescriptionLong']; model = json['model']; colour = json['colour']; colourGroup = json['colourGroup']; fuelType = json['fuelType']; transmission = json['transmission']; transmissionType = json['transmissionType']; packages = json['packages']; lines = json['lines']; upholstery = json['upholstery']; upholsteryCode = json['upholsteryCode']; displayStockAgent = json['displayStockAgent']; location = json['location']; vin = json['vin']; vid = json['vid']; vehicleType = json['vehicleType']; vehicleClass = json['vehicleClass']; creationDate = JsonConverters.fromJson(json['creationDate'],'DateTime',context!); lastUpdated = JsonConverters.fromJson(json['lastUpdated'],'DateTime',context!); productionDate = JsonConverters.fromJson(json['productionDate'],'DateTime',context!); portArrivalDate = JsonConverters.fromJson(json['portArrivalDate'],'DateTime',context!); combinedGrossOfferValue = JsonConverters.toDouble(json['combinedGrossOfferValue']); currentLocation = json['currentLocation']; notVisibleOnlineShowroom = json['notVisibleOnlineShowroom']; nvosReason = json['nvosReason']; nvosReasonOneAdminExcluded = json['nvosReasonOneAdminExcluded']; nvosReasonLinkedToBackOrder = json['nvosReasonLinkedToBackOrder']; includedAfterDeduplication = json['includedAfterDeduplication']; unique = json['unique']; duplicate = json['duplicate']; duplicateGroup = json['duplicateGroup']; lowestComm = json['lowestComm']; rule = json['rule']; fin = json['fin']; chassisNumber = json['chassisNumber']; modelYear = json['modelYear']; modelYearCode = json['modelYearCode']; halfModelYearCode = json['halfModelYearCode']; fullModelYearCode = json['fullModelYearCode']; bodyStyle = json['bodyStyle']; engine = json['engine']; cesarIdShipToParty = json['cesarIdShipToParty']; vehicleUsageCode = json['vehicleUsageCode']; acceleration = JsonConverters.toDouble(json['acceleration']); bootCapacity = 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']); underOffer = json['underOffer']; isSellable = json['isSellable']; mbukSecured = json['mbukSecured']; isDisplayStock = json['isDisplayStock']; isSpecialistCar = json['isSpecialistCar']; account = json['account']; productRange = json['productRange']; isAMG = json['isAMG']; actualPrice = JsonConverters.toDouble(json['actualPrice']); retailPrice_ExVAT = JsonConverters.toDouble(json['retailPrice_ExVAT']); retailPrice_IncVAT = JsonConverters.toDouble(json['retailPrice_IncVAT']); otr = JsonConverters.toDouble(json['otr']); nst = json['nst']; bm7NST = json['bm7NST']; electricRange = JsonConverters.toDouble(json['electricRange']); electricConsumption = JsonConverters.toDouble(json['electricConsumption']); emission = JsonConverters.toDouble(json['emission']); emissionDirective = json['emissionDirective']; emissionCombined = json['emissionCombined']; emissionExtraUrban = json['emissionExtraUrban']; emissionUrban = json['emissionUrban']; energyEfficiencyClass = json['energyEfficiencyClass']; wltpEmissionCombined = json['wltpEmissionCombined']; wltpCombined = json['wltpCombined']; wltpLow = json['wltpLow']; wltpMedium = json['wltpMedium']; wltpHigh = json['wltpHigh']; wltpExtraHigh = json['wltpExtraHigh']; totalMoneyOffersExclDiscretionary = JsonConverters.toDouble(json['totalMoneyOffersExclDiscretionary']); discretionaryMoneyOffer = JsonConverters.toDouble(json['discretionaryMoneyOffer']); totalMoneyOffersInclDiscretionary = JsonConverters.toDouble(json['totalMoneyOffersInclDiscretionary']); nonDiscretionaryNMOCount = json['nonDiscretionaryNMOCount']; nonDiscretionaryMOCount = json['nonDiscretionaryMOCount']; discretionaryNMOCount = json['discretionaryNMOCount']; discretionaryMOCount = json['discretionaryMOCount']; totalOfferVIPAmount = JsonConverters.toDouble(json['totalOfferVIPAmount']); stockLevelIndicator = json['stockLevelIndicator']; return this; } Map toJson() => { 'commissionNumber': commissionNumber, 'description': description, 'salesDescriptionLong': salesDescriptionLong, 'model': model, 'colour': colour, 'colourGroup': colourGroup, 'fuelType': fuelType, 'transmission': transmission, 'transmissionType': transmissionType, 'packages': packages, 'lines': lines, 'upholstery': upholstery, 'upholsteryCode': upholsteryCode, 'displayStockAgent': displayStockAgent, 'location': location, 'vin': vin, 'vid': vid, 'vehicleType': vehicleType, 'vehicleClass': vehicleClass, 'creationDate': JsonConverters.toJson(creationDate,'DateTime',context!), 'lastUpdated': JsonConverters.toJson(lastUpdated,'DateTime',context!), 'productionDate': JsonConverters.toJson(productionDate,'DateTime',context!), 'portArrivalDate': JsonConverters.toJson(portArrivalDate,'DateTime',context!), 'combinedGrossOfferValue': combinedGrossOfferValue, 'currentLocation': currentLocation, 'notVisibleOnlineShowroom': notVisibleOnlineShowroom, 'nvosReason': nvosReason, 'nvosReasonOneAdminExcluded': nvosReasonOneAdminExcluded, 'nvosReasonLinkedToBackOrder': nvosReasonLinkedToBackOrder, 'includedAfterDeduplication': includedAfterDeduplication, 'unique': unique, 'duplicate': duplicate, 'duplicateGroup': duplicateGroup, 'lowestComm': lowestComm, 'rule': rule, 'fin': fin, 'chassisNumber': chassisNumber, 'modelYear': modelYear, 'modelYearCode': modelYearCode, 'halfModelYearCode': halfModelYearCode, 'fullModelYearCode': fullModelYearCode, 'bodyStyle': bodyStyle, 'engine': engine, 'cesarIdShipToParty': cesarIdShipToParty, 'vehicleUsageCode': vehicleUsageCode, 'acceleration': acceleration, 'bootCapacity': bootCapacity, 'topSpeed': topSpeed, 'driveConcept': driveConcept, 'combustionPowerHp': combustionPowerHp, 'electricPowerKw': electricPowerKw, 'electricPowerHp': electricPowerHp, 'combinedPowerKw': combinedPowerKw, 'combinedPowerHP': combinedPowerHP, 'underOffer': underOffer, 'isSellable': isSellable, 'mbukSecured': mbukSecured, 'isDisplayStock': isDisplayStock, 'isSpecialistCar': isSpecialistCar, 'account': account, 'productRange': productRange, 'isAMG': isAMG, 'actualPrice': actualPrice, 'retailPrice_ExVAT': retailPrice_ExVAT, 'retailPrice_IncVAT': retailPrice_IncVAT, 'otr': otr, 'nst': nst, 'bm7NST': bm7NST, 'electricRange': electricRange, 'electricConsumption': electricConsumption, 'emission': emission, 'emissionDirective': emissionDirective, 'emissionCombined': emissionCombined, 'emissionExtraUrban': emissionExtraUrban, 'emissionUrban': emissionUrban, 'energyEfficiencyClass': energyEfficiencyClass, 'wltpEmissionCombined': wltpEmissionCombined, 'wltpCombined': wltpCombined, 'wltpLow': wltpLow, 'wltpMedium': wltpMedium, 'wltpHigh': wltpHigh, 'wltpExtraHigh': wltpExtraHigh, 'totalMoneyOffersExclDiscretionary': totalMoneyOffersExclDiscretionary, 'discretionaryMoneyOffer': discretionaryMoneyOffer, 'totalMoneyOffersInclDiscretionary': totalMoneyOffersInclDiscretionary, 'nonDiscretionaryNMOCount': nonDiscretionaryNMOCount, 'nonDiscretionaryMOCount': nonDiscretionaryMOCount, 'discretionaryNMOCount': discretionaryNMOCount, 'discretionaryMOCount': discretionaryMOCount, 'totalOfferVIPAmount': totalOfferVIPAmount, 'stockLevelIndicator': stockLevelIndicator }; getTypeName() => "StockDataRow"; TypeContext? context = _ctx; } class OnlineShowroomStockResponse implements IConvertible { int? totalVehicles; List? vehicles = []; OnlineShowroomStockResponse({this.totalVehicles,this.vehicles}); OnlineShowroomStockResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { totalVehicles = json['totalVehicles']; vehicles = JsonConverters.fromJson(json['vehicles'],'List',context!); return this; } Map toJson() => { 'totalVehicles': totalVehicles, 'vehicles': JsonConverters.toJson(vehicles,'List',context!) }; getTypeName() => "OnlineShowroomStockResponse"; TypeContext? context = _ctx; } // @Route("/v1/OnlineShowroom/Stock", "POST") class OnlineShowroomStockRequest implements IReturn, IPost, IConvertible { List? gssns = []; OnlineShowroomStockRequest({this.gssns}); OnlineShowroomStockRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { gssns = JsonConverters.fromJson(json['gssns'],'List',context!); return this; } Map toJson() => { 'gssns': JsonConverters.toJson(gssns,'List',context!) }; createResponse() => OnlineShowroomStockResponse(); getResponseTypeName() => "OnlineShowroomStockResponse"; getTypeName() => "OnlineShowroomStockRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'uat_api_vehicle_mgt_mb_dhc.rapp_customers.co.uk', types: { 'StockDataRow': TypeInfo(TypeOf.Class, create:() => StockDataRow()), 'OnlineShowroomStockResponse': TypeInfo(TypeOf.Class, create:() => OnlineShowroomStockResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'OnlineShowroomStockRequest': TypeInfo(TypeOf.Class, create:() => OnlineShowroomStockRequest()), });