| POST | /v2/{VehicleType}/Vehicle/UpdateVehicle | Refresh vehicle data for Nexus |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
public static class UpdateVehicleV2Request implements IPost
{
public String vehicleIdentifier = null;
public String vin = null;
public String vehicleType = null;
public String getVehicleIdentifier() { return vehicleIdentifier; }
public UpdateVehicleV2Request setVehicleIdentifier(String value) { this.vehicleIdentifier = value; return this; }
public String getVin() { return vin; }
public UpdateVehicleV2Request setVin(String value) { this.vin = value; return this; }
public String getVehicleType() { return vehicleType; }
public UpdateVehicleV2Request setVehicleType(String value) { this.vehicleType = value; return this; }
}
public static class ProcessResult<TVehicle>
{
public Boolean success = null;
public Boolean rejected = null;
public OpenSearchVehicle mappedVehicle = null;
public ActionType action = null;
public Boolean isSuccess() { return success; }
public ProcessResult<TVehicle> setSuccess(Boolean value) { this.success = value; return this; }
public Boolean isRejected() { return rejected; }
public ProcessResult<TVehicle> setRejected(Boolean value) { this.rejected = value; return this; }
public OpenSearchVehicle getMappedVehicle() { return mappedVehicle; }
public ProcessResult<TVehicle> setMappedVehicle(OpenSearchVehicle value) { this.mappedVehicle = value; return this; }
public ActionType getAction() { return action; }
public ProcessResult<TVehicle> setAction(ActionType value) { this.action = value; return this; }
}
public static class OpenSearchVehicle extends Vehicle
{
public String vehicleIdentifier = null;
public Date lastUpdated = null;
public ArrayList<EquipmentCache> equipmentCacheList = new ArrayList<EquipmentCache>();
public String key = null;
public String getVehicleIdentifier() { return vehicleIdentifier; }
public OpenSearchVehicle setVehicleIdentifier(String value) { this.vehicleIdentifier = value; return this; }
public Date getLastUpdated() { return lastUpdated; }
public OpenSearchVehicle setLastUpdated(Date value) { this.lastUpdated = value; return this; }
public ArrayList<EquipmentCache> getEquipmentCacheList() { return equipmentCacheList; }
public OpenSearchVehicle setEquipmentCacheList(ArrayList<EquipmentCache> value) { this.equipmentCacheList = value; return this; }
public String getKey() { return key; }
public OpenSearchVehicle setKey(String value) { this.key = value; return this; }
}
public static class Vehicle
{
public Integer id = null;
public String vin = null;
public String commissionNumber = null;
public Boolean isAllWheel = null;
public Boolean isAMG = null;
public Boolean isAvailableOnline = null;
public Boolean isSellable = null;
public Boolean isDisplayStock = null;
public Date creationDate = null;
public Date maintenanceDate = null;
public BigDecimal horsePower = null;
public BigDecimal deliveryCharge = null;
public BigDecimal deliveryChargeNet = null;
public BigDecimal deliveryChargeVAT = null;
public BigDecimal firstRegFee = null;
public BigDecimal otr = null;
public BigDecimal p11D = null;
public BigDecimal otR_Value = null;
public BigDecimal actualPrice = null;
public BigDecimal totalOfferValue = null;
public BigDecimal campaignOfferContribution = null;
public BigDecimal retailerOfferContribution = null;
public BigDecimal campaignGovernmentGrantOfferContribution = null;
public Date offerExpiryDate = null;
public Boolean hasNonMonetaryOffers = null;
public BigDecimal plates = null;
public BigDecimal platesNet = null;
public BigDecimal platesVAT = null;
public BigDecimal fuelCharge = null;
public BigDecimal fuelChargeNet = null;
public BigDecimal fuelChargeVAT = null;
public BigDecimal powerKW = null;
public BigDecimal retailPrice_ExVAT = null;
public BigDecimal retailPrice_IncVAT = null;
public BigDecimal veD_Year1 = null;
public BigDecimal veD_Year2 = null;
public Integer cc = null;
public Integer cyclinders = null;
public String baumuster = null;
public String marketingCode = null;
public String chassisNumber = null;
public String colourDescription = null;
public String colourCode = null;
public String emissionCombined = null;
public String emissionDirective = null;
public String normalisedEmissionDirective = null;
public String emissionExtraUrban = null;
public String emissionUrban = null;
public String energyEfficiencyClass = null;
public String wltpEmissionCombined = null;
public String imageUrl = null;
public String line = null;
public String modelYear = null;
public String modelYearCode = null;
public String halfModelYearCode = null;
public String nst = null;
public String numberOfDoors = null;
public String numberOfGears = null;
public String numberOfSeats = null;
public String rvOptions = null;
public String salesDescription = null;
public String salesDescriptionShort = null;
public String upholsteryCode = null;
public String upholsteryDescription = null;
public String transmissionDescription = null;
public String vehicleCategory = null;
public String vehicleClass = null;
public String vehicleType = null;
public String vid = null;
public Boolean latestModel = null;
public Date portArrivalDate = null;
public Date productionDate = null;
public Date confirmedProductionDate = null;
public Date tradeInDate = null;
public BigDecimal electricConsumption = null;
public BigDecimal electricRange = null;
public String locationTypeName = null;
public String cesarIdShipToParty = null;
public String vehicleUsageCode = null;
public String account = null;
public Boolean isSpecialistCar = null;
public Integer bootCapacity = null;
public String driveConcept = null;
public String driveType = null;
public BigDecimal combustionPowerHp = null;
public BigDecimal electricPowerKw = null;
public BigDecimal electricPowerHp = null;
public BigDecimal combinedPowerKw = null;
public BigDecimal combinedPowerHP = null;
public String mbukReserve = null;
public String bm7NST = null;
public Date gbDestDate = null;
public String fin = null;
public BodyStyle bodyStyle = null;
public Integer bodyStyle_Id = null;
public Brand brand = null;
public Integer brandId = null;
public Consumption consumptionCombined = null;
public Consumption consumptionExtraUrban = null;
public Consumption consumptionUrban = null;
public Consumption wltpFuelConsumptionExtraHigh = null;
public Consumption wltpFuelConsumptionHigh = null;
public Consumption wltpFuelConsumptionMedium = null;
public Consumption wltpFuelConsumptionLow = null;
public Consumption wltpFuelConsumptionCombined = null;
public Dealer dealer = null;
public Integer dealer_Id = null;
public Dealer displayRetailer = null;
public Integer displayRetailer_Id = null;
public Engine engine = null;
public MappedColourGroup mapped_ColourGroup = null;
public Integer mapped_ColourGroup_Id = null;
public MappedFuelType mapped_FuelType = null;
public Integer mapped_FuelType_Id = null;
public MappedTransmissionGroup mapped_TransmissionGroup = null;
public Integer model_Id = null;
public Model model = null;
public Upholstery upholstery = null;
public Integer upholstery_Id = null;
public Line mapped_Line = null;
public Integer mapped_Line_Id = null;
public Integer mileage = null;
public String condition = null;
public String source = null;
public Date registrationDate = null;
public String registrationNumber = null;
public BigDecimal topSpeed = null;
public BigDecimal acceleration = null;
public BigDecimal torque = null;
public ArrayList<UsedCarImage> usedCarImages = null;
public BigDecimal taxAmount = null;
public Integer vatQualifying = null;
public String promoCode = null;
public BigDecimal campaignPromoOfferContribution = null;
public Boolean reserved = null;
public BigDecimal emission = null;
public Boolean underOffer = null;
public Boolean allocatedToBackOrder = null;
public String paintSwatchUrl = null;
public String upholsterySwatchUrl = null;
public ArrayList<VehiclePackage> packages = null;
public VehicleSecured secured = null;
public VehicleImage cachedImage = null;
public Boolean hasMildHybridEquipmentCode = null;
public Boolean eligibleForIntegratedServiceCare = null;
public ArrayList<VehicleSecuredAudit> vehicleSecuredAudit = null;
public Integer getId() { return id; }
public Vehicle setId(Integer value) { this.id = value; return this; }
public String getVin() { return vin; }
public Vehicle setVin(String value) { this.vin = value; return this; }
public String getCommissionNumber() { return commissionNumber; }
public Vehicle setCommissionNumber(String value) { this.commissionNumber = value; return this; }
public Boolean getIsAllWheel() { return isAllWheel; }
public Vehicle setIsAllWheel(Boolean value) { this.isAllWheel = value; return this; }
public Boolean getIsAMG() { return isAMG; }
public Vehicle setIsAMG(Boolean value) { this.isAMG = value; return this; }
public Boolean getIsAvailableOnline() { return isAvailableOnline; }
public Vehicle setIsAvailableOnline(Boolean value) { this.isAvailableOnline = value; return this; }
public Boolean getIsSellable() { return isSellable; }
public Vehicle setIsSellable(Boolean value) { this.isSellable = value; return this; }
public Boolean getIsDisplayStock() { return isDisplayStock; }
public Vehicle setIsDisplayStock(Boolean value) { this.isDisplayStock = value; return this; }
public Date getCreationDate() { return creationDate; }
public Vehicle setCreationDate(Date value) { this.creationDate = value; return this; }
public Date getMaintenanceDate() { return maintenanceDate; }
public Vehicle setMaintenanceDate(Date value) { this.maintenanceDate = value; return this; }
public BigDecimal getHorsePower() { return horsePower; }
public Vehicle setHorsePower(BigDecimal value) { this.horsePower = value; return this; }
public BigDecimal getDeliveryCharge() { return deliveryCharge; }
public Vehicle setDeliveryCharge(BigDecimal value) { this.deliveryCharge = value; return this; }
public BigDecimal getDeliveryChargeNet() { return deliveryChargeNet; }
public Vehicle setDeliveryChargeNet(BigDecimal value) { this.deliveryChargeNet = value; return this; }
public BigDecimal getDeliveryChargeVAT() { return deliveryChargeVAT; }
public Vehicle setDeliveryChargeVAT(BigDecimal value) { this.deliveryChargeVAT = value; return this; }
public BigDecimal getFirstRegFee() { return firstRegFee; }
public Vehicle setFirstRegFee(BigDecimal value) { this.firstRegFee = value; return this; }
public BigDecimal getOtr() { return otr; }
public Vehicle setOtr(BigDecimal value) { this.otr = value; return this; }
public BigDecimal getP11D() { return p11D; }
public Vehicle setP11D(BigDecimal value) { this.p11D = value; return this; }
public BigDecimal getOtRValue() { return otR_Value; }
public Vehicle setOtRValue(BigDecimal value) { this.otR_Value = value; return this; }
public BigDecimal getActualPrice() { return actualPrice; }
public Vehicle setActualPrice(BigDecimal value) { this.actualPrice = value; return this; }
public BigDecimal getTotalOfferValue() { return totalOfferValue; }
public Vehicle setTotalOfferValue(BigDecimal value) { this.totalOfferValue = value; return this; }
public BigDecimal getCampaignOfferContribution() { return campaignOfferContribution; }
public Vehicle setCampaignOfferContribution(BigDecimal value) { this.campaignOfferContribution = value; return this; }
public BigDecimal getRetailerOfferContribution() { return retailerOfferContribution; }
public Vehicle setRetailerOfferContribution(BigDecimal value) { this.retailerOfferContribution = value; return this; }
public BigDecimal getCampaignGovernmentGrantOfferContribution() { return campaignGovernmentGrantOfferContribution; }
public Vehicle setCampaignGovernmentGrantOfferContribution(BigDecimal value) { this.campaignGovernmentGrantOfferContribution = value; return this; }
public Date getOfferExpiryDate() { return offerExpiryDate; }
public Vehicle setOfferExpiryDate(Date value) { this.offerExpiryDate = value; return this; }
public Boolean isHasNonMonetaryOffers() { return hasNonMonetaryOffers; }
public Vehicle setHasNonMonetaryOffers(Boolean value) { this.hasNonMonetaryOffers = value; return this; }
public BigDecimal getPlates() { return plates; }
public Vehicle setPlates(BigDecimal value) { this.plates = value; return this; }
public BigDecimal getPlatesNet() { return platesNet; }
public Vehicle setPlatesNet(BigDecimal value) { this.platesNet = value; return this; }
public BigDecimal getPlatesVAT() { return platesVAT; }
public Vehicle setPlatesVAT(BigDecimal value) { this.platesVAT = value; return this; }
public BigDecimal getFuelCharge() { return fuelCharge; }
public Vehicle setFuelCharge(BigDecimal value) { this.fuelCharge = value; return this; }
public BigDecimal getFuelChargeNet() { return fuelChargeNet; }
public Vehicle setFuelChargeNet(BigDecimal value) { this.fuelChargeNet = value; return this; }
public BigDecimal getFuelChargeVAT() { return fuelChargeVAT; }
public Vehicle setFuelChargeVAT(BigDecimal value) { this.fuelChargeVAT = value; return this; }
public BigDecimal getPowerKW() { return powerKW; }
public Vehicle setPowerKW(BigDecimal value) { this.powerKW = value; return this; }
public BigDecimal getRetailPriceExVAT() { return retailPrice_ExVAT; }
public Vehicle setRetailPriceExVAT(BigDecimal value) { this.retailPrice_ExVAT = value; return this; }
public BigDecimal getRetailPriceIncVAT() { return retailPrice_IncVAT; }
public Vehicle setRetailPriceIncVAT(BigDecimal value) { this.retailPrice_IncVAT = value; return this; }
public BigDecimal getVeDYear1() { return veD_Year1; }
public Vehicle setVeDYear1(BigDecimal value) { this.veD_Year1 = value; return this; }
public BigDecimal getVeDYear2() { return veD_Year2; }
public Vehicle setVeDYear2(BigDecimal value) { this.veD_Year2 = value; return this; }
public Integer getCc() { return cc; }
public Vehicle setCc(Integer value) { this.cc = value; return this; }
public Integer getCyclinders() { return cyclinders; }
public Vehicle setCyclinders(Integer value) { this.cyclinders = value; return this; }
public String getBaumuster() { return baumuster; }
public Vehicle setBaumuster(String value) { this.baumuster = value; return this; }
public String getMarketingCode() { return marketingCode; }
public Vehicle setMarketingCode(String value) { this.marketingCode = value; return this; }
public String getChassisNumber() { return chassisNumber; }
public Vehicle setChassisNumber(String value) { this.chassisNumber = value; return this; }
public String getColourDescription() { return colourDescription; }
public Vehicle setColourDescription(String value) { this.colourDescription = value; return this; }
public String getColourCode() { return colourCode; }
public Vehicle setColourCode(String value) { this.colourCode = value; return this; }
public String getEmissionCombined() { return emissionCombined; }
public Vehicle setEmissionCombined(String value) { this.emissionCombined = value; return this; }
public String getEmissionDirective() { return emissionDirective; }
public Vehicle setEmissionDirective(String value) { this.emissionDirective = value; return this; }
public String getNormalisedEmissionDirective() { return normalisedEmissionDirective; }
public Vehicle setNormalisedEmissionDirective(String value) { this.normalisedEmissionDirective = value; return this; }
public String getEmissionExtraUrban() { return emissionExtraUrban; }
public Vehicle setEmissionExtraUrban(String value) { this.emissionExtraUrban = value; return this; }
public String getEmissionUrban() { return emissionUrban; }
public Vehicle setEmissionUrban(String value) { this.emissionUrban = value; return this; }
public String getEnergyEfficiencyClass() { return energyEfficiencyClass; }
public Vehicle setEnergyEfficiencyClass(String value) { this.energyEfficiencyClass = value; return this; }
public String getWltpEmissionCombined() { return wltpEmissionCombined; }
public Vehicle setWltpEmissionCombined(String value) { this.wltpEmissionCombined = value; return this; }
public String getImageUrl() { return imageUrl; }
public Vehicle setImageUrl(String value) { this.imageUrl = value; return this; }
public String getLine() { return line; }
public Vehicle setLine(String value) { this.line = value; return this; }
public String getModelYear() { return modelYear; }
public Vehicle setModelYear(String value) { this.modelYear = value; return this; }
public String getModelYearCode() { return modelYearCode; }
public Vehicle setModelYearCode(String value) { this.modelYearCode = value; return this; }
public String getHalfModelYearCode() { return halfModelYearCode; }
public Vehicle setHalfModelYearCode(String value) { this.halfModelYearCode = value; return this; }
public String getNst() { return nst; }
public Vehicle setNst(String value) { this.nst = value; return this; }
public String getNumberOfDoors() { return numberOfDoors; }
public Vehicle setNumberOfDoors(String value) { this.numberOfDoors = value; return this; }
public String getNumberOfGears() { return numberOfGears; }
public Vehicle setNumberOfGears(String value) { this.numberOfGears = value; return this; }
public String getNumberOfSeats() { return numberOfSeats; }
public Vehicle setNumberOfSeats(String value) { this.numberOfSeats = value; return this; }
public String getRvOptions() { return rvOptions; }
public Vehicle setRvOptions(String value) { this.rvOptions = value; return this; }
public String getSalesDescription() { return salesDescription; }
public Vehicle setSalesDescription(String value) { this.salesDescription = value; return this; }
public String getSalesDescriptionShort() { return salesDescriptionShort; }
public Vehicle setSalesDescriptionShort(String value) { this.salesDescriptionShort = value; return this; }
public String getUpholsteryCode() { return upholsteryCode; }
public Vehicle setUpholsteryCode(String value) { this.upholsteryCode = value; return this; }
public String getUpholsteryDescription() { return upholsteryDescription; }
public Vehicle setUpholsteryDescription(String value) { this.upholsteryDescription = value; return this; }
public String getTransmissionDescription() { return transmissionDescription; }
public Vehicle setTransmissionDescription(String value) { this.transmissionDescription = value; return this; }
public String getVehicleCategory() { return vehicleCategory; }
public Vehicle setVehicleCategory(String value) { this.vehicleCategory = value; return this; }
public String getVehicleClass() { return vehicleClass; }
public Vehicle setVehicleClass(String value) { this.vehicleClass = value; return this; }
public String getVehicleType() { return vehicleType; }
public Vehicle setVehicleType(String value) { this.vehicleType = value; return this; }
public String getVid() { return vid; }
public Vehicle setVid(String value) { this.vid = value; return this; }
public Boolean isLatestModel() { return latestModel; }
public Vehicle setLatestModel(Boolean value) { this.latestModel = value; return this; }
public Date getPortArrivalDate() { return portArrivalDate; }
public Vehicle setPortArrivalDate(Date value) { this.portArrivalDate = value; return this; }
public Date getProductionDate() { return productionDate; }
public Vehicle setProductionDate(Date value) { this.productionDate = value; return this; }
public Date getConfirmedProductionDate() { return confirmedProductionDate; }
public Vehicle setConfirmedProductionDate(Date value) { this.confirmedProductionDate = value; return this; }
public Date getTradeInDate() { return tradeInDate; }
public Vehicle setTradeInDate(Date value) { this.tradeInDate = value; return this; }
public BigDecimal getElectricConsumption() { return electricConsumption; }
public Vehicle setElectricConsumption(BigDecimal value) { this.electricConsumption = value; return this; }
public BigDecimal getElectricRange() { return electricRange; }
public Vehicle setElectricRange(BigDecimal value) { this.electricRange = value; return this; }
public String getLocationTypeName() { return locationTypeName; }
public Vehicle setLocationTypeName(String value) { this.locationTypeName = value; return this; }
public String getCesarIdShipToParty() { return cesarIdShipToParty; }
public Vehicle setCesarIdShipToParty(String value) { this.cesarIdShipToParty = value; return this; }
public String getVehicleUsageCode() { return vehicleUsageCode; }
public Vehicle setVehicleUsageCode(String value) { this.vehicleUsageCode = value; return this; }
public String getAccount() { return account; }
public Vehicle setAccount(String value) { this.account = value; return this; }
public Boolean getIsSpecialistCar() { return isSpecialistCar; }
public Vehicle setIsSpecialistCar(Boolean value) { this.isSpecialistCar = value; return this; }
public Integer getBootCapacity() { return bootCapacity; }
public Vehicle setBootCapacity(Integer value) { this.bootCapacity = value; return this; }
public String getDriveConcept() { return driveConcept; }
public Vehicle setDriveConcept(String value) { this.driveConcept = value; return this; }
public String getDriveType() { return driveType; }
public Vehicle setDriveType(String value) { this.driveType = value; return this; }
public BigDecimal getCombustionPowerHp() { return combustionPowerHp; }
public Vehicle setCombustionPowerHp(BigDecimal value) { this.combustionPowerHp = value; return this; }
public BigDecimal getElectricPowerKw() { return electricPowerKw; }
public Vehicle setElectricPowerKw(BigDecimal value) { this.electricPowerKw = value; return this; }
public BigDecimal getElectricPowerHp() { return electricPowerHp; }
public Vehicle setElectricPowerHp(BigDecimal value) { this.electricPowerHp = value; return this; }
public BigDecimal getCombinedPowerKw() { return combinedPowerKw; }
public Vehicle setCombinedPowerKw(BigDecimal value) { this.combinedPowerKw = value; return this; }
public BigDecimal getCombinedPowerHP() { return combinedPowerHP; }
public Vehicle setCombinedPowerHP(BigDecimal value) { this.combinedPowerHP = value; return this; }
public String getMbukReserve() { return mbukReserve; }
public Vehicle setMbukReserve(String value) { this.mbukReserve = value; return this; }
public String getBm7NST() { return bm7NST; }
public Vehicle setBm7NST(String value) { this.bm7NST = value; return this; }
public Date getGbDestDate() { return gbDestDate; }
public Vehicle setGbDestDate(Date value) { this.gbDestDate = value; return this; }
public String getFin() { return fin; }
public Vehicle setFin(String value) { this.fin = value; return this; }
public BodyStyle getBodyStyle() { return bodyStyle; }
public Vehicle setBodyStyle(BodyStyle value) { this.bodyStyle = value; return this; }
public Integer getBodyStyleId() { return bodyStyle_Id; }
public Vehicle setBodyStyleId(Integer value) { this.bodyStyle_Id = value; return this; }
public Brand getBrand() { return brand; }
public Vehicle setBrand(Brand value) { this.brand = value; return this; }
public Integer getBrandId() { return brandId; }
public Vehicle setBrandId(Integer value) { this.brandId = value; return this; }
public Consumption getConsumptionCombined() { return consumptionCombined; }
public Vehicle setConsumptionCombined(Consumption value) { this.consumptionCombined = value; return this; }
public Consumption getConsumptionExtraUrban() { return consumptionExtraUrban; }
public Vehicle setConsumptionExtraUrban(Consumption value) { this.consumptionExtraUrban = value; return this; }
public Consumption getConsumptionUrban() { return consumptionUrban; }
public Vehicle setConsumptionUrban(Consumption value) { this.consumptionUrban = value; return this; }
public Consumption getWltpFuelConsumptionExtraHigh() { return wltpFuelConsumptionExtraHigh; }
public Vehicle setWltpFuelConsumptionExtraHigh(Consumption value) { this.wltpFuelConsumptionExtraHigh = value; return this; }
public Consumption getWltpFuelConsumptionHigh() { return wltpFuelConsumptionHigh; }
public Vehicle setWltpFuelConsumptionHigh(Consumption value) { this.wltpFuelConsumptionHigh = value; return this; }
public Consumption getWltpFuelConsumptionMedium() { return wltpFuelConsumptionMedium; }
public Vehicle setWltpFuelConsumptionMedium(Consumption value) { this.wltpFuelConsumptionMedium = value; return this; }
public Consumption getWltpFuelConsumptionLow() { return wltpFuelConsumptionLow; }
public Vehicle setWltpFuelConsumptionLow(Consumption value) { this.wltpFuelConsumptionLow = value; return this; }
public Consumption getWltpFuelConsumptionCombined() { return wltpFuelConsumptionCombined; }
public Vehicle setWltpFuelConsumptionCombined(Consumption value) { this.wltpFuelConsumptionCombined = value; return this; }
public Dealer getDealer() { return dealer; }
public Vehicle setDealer(Dealer value) { this.dealer = value; return this; }
public Integer getDealerId() { return dealer_Id; }
public Vehicle setDealerId(Integer value) { this.dealer_Id = value; return this; }
public Dealer getDisplayRetailer() { return displayRetailer; }
public Vehicle setDisplayRetailer(Dealer value) { this.displayRetailer = value; return this; }
public Integer getDisplayRetailerId() { return displayRetailer_Id; }
public Vehicle setDisplayRetailerId(Integer value) { this.displayRetailer_Id = value; return this; }
public Engine getEngine() { return engine; }
public Vehicle setEngine(Engine value) { this.engine = value; return this; }
public MappedColourGroup getMappedColourGroup() { return mapped_ColourGroup; }
public Vehicle setMappedColourGroup(MappedColourGroup value) { this.mapped_ColourGroup = value; return this; }
public Integer getMappedColourGroupId() { return mapped_ColourGroup_Id; }
public Vehicle setMappedColourGroupId(Integer value) { this.mapped_ColourGroup_Id = value; return this; }
public MappedFuelType getMappedFuelType() { return mapped_FuelType; }
public Vehicle setMappedFuelType(MappedFuelType value) { this.mapped_FuelType = value; return this; }
public Integer getMappedFuelTypeId() { return mapped_FuelType_Id; }
public Vehicle setMappedFuelTypeId(Integer value) { this.mapped_FuelType_Id = value; return this; }
public MappedTransmissionGroup getMappedTransmissionGroup() { return mapped_TransmissionGroup; }
public Vehicle setMappedTransmissionGroup(MappedTransmissionGroup value) { this.mapped_TransmissionGroup = value; return this; }
public Integer getModelId() { return model_Id; }
public Vehicle setModelId(Integer value) { this.model_Id = value; return this; }
public Model getModel() { return model; }
public Vehicle setModel(Model value) { this.model = value; return this; }
public Upholstery getUpholstery() { return upholstery; }
public Vehicle setUpholstery(Upholstery value) { this.upholstery = value; return this; }
public Integer getUpholsteryId() { return upholstery_Id; }
public Vehicle setUpholsteryId(Integer value) { this.upholstery_Id = value; return this; }
public Line getMappedLine() { return mapped_Line; }
public Vehicle setMappedLine(Line value) { this.mapped_Line = value; return this; }
public Integer getMappedLineId() { return mapped_Line_Id; }
public Vehicle setMappedLineId(Integer value) { this.mapped_Line_Id = value; return this; }
public Integer getMileage() { return mileage; }
public Vehicle setMileage(Integer value) { this.mileage = value; return this; }
public String getCondition() { return condition; }
public Vehicle setCondition(String value) { this.condition = value; return this; }
public String getSource() { return source; }
public Vehicle setSource(String value) { this.source = value; return this; }
public Date getRegistrationDate() { return registrationDate; }
public Vehicle setRegistrationDate(Date value) { this.registrationDate = value; return this; }
public String getRegistrationNumber() { return registrationNumber; }
public Vehicle setRegistrationNumber(String value) { this.registrationNumber = value; return this; }
public BigDecimal getTopSpeed() { return topSpeed; }
public Vehicle setTopSpeed(BigDecimal value) { this.topSpeed = value; return this; }
public BigDecimal getAcceleration() { return acceleration; }
public Vehicle setAcceleration(BigDecimal value) { this.acceleration = value; return this; }
public BigDecimal getTorque() { return torque; }
public Vehicle setTorque(BigDecimal value) { this.torque = value; return this; }
public ArrayList<UsedCarImage> getUsedCarImages() { return usedCarImages; }
public Vehicle setUsedCarImages(ArrayList<UsedCarImage> value) { this.usedCarImages = value; return this; }
public BigDecimal getTaxAmount() { return taxAmount; }
public Vehicle setTaxAmount(BigDecimal value) { this.taxAmount = value; return this; }
public Integer getVatQualifying() { return vatQualifying; }
public Vehicle setVatQualifying(Integer value) { this.vatQualifying = value; return this; }
public String getPromoCode() { return promoCode; }
public Vehicle setPromoCode(String value) { this.promoCode = value; return this; }
public BigDecimal getCampaignPromoOfferContribution() { return campaignPromoOfferContribution; }
public Vehicle setCampaignPromoOfferContribution(BigDecimal value) { this.campaignPromoOfferContribution = value; return this; }
public Boolean isReserved() { return reserved; }
public Vehicle setReserved(Boolean value) { this.reserved = value; return this; }
public BigDecimal getEmission() { return emission; }
public Vehicle setEmission(BigDecimal value) { this.emission = value; return this; }
public Boolean isUnderOffer() { return underOffer; }
public Vehicle setUnderOffer(Boolean value) { this.underOffer = value; return this; }
public Boolean isAllocatedToBackOrder() { return allocatedToBackOrder; }
public Vehicle setAllocatedToBackOrder(Boolean value) { this.allocatedToBackOrder = value; return this; }
public String getPaintSwatchUrl() { return paintSwatchUrl; }
public Vehicle setPaintSwatchUrl(String value) { this.paintSwatchUrl = value; return this; }
public String getUpholsterySwatchUrl() { return upholsterySwatchUrl; }
public Vehicle setUpholsterySwatchUrl(String value) { this.upholsterySwatchUrl = value; return this; }
public ArrayList<VehiclePackage> getPackages() { return packages; }
public Vehicle setPackages(ArrayList<VehiclePackage> value) { this.packages = value; return this; }
public VehicleSecured getSecured() { return secured; }
public Vehicle setSecured(VehicleSecured value) { this.secured = value; return this; }
public VehicleImage getCachedImage() { return cachedImage; }
public Vehicle setCachedImage(VehicleImage value) { this.cachedImage = value; return this; }
public Boolean isHasMildHybridEquipmentCode() { return hasMildHybridEquipmentCode; }
public Vehicle setHasMildHybridEquipmentCode(Boolean value) { this.hasMildHybridEquipmentCode = value; return this; }
public Boolean isEligibleForIntegratedServiceCare() { return eligibleForIntegratedServiceCare; }
public Vehicle setEligibleForIntegratedServiceCare(Boolean value) { this.eligibleForIntegratedServiceCare = value; return this; }
public ArrayList<VehicleSecuredAudit> getVehicleSecuredAudit() { return vehicleSecuredAudit; }
public Vehicle setVehicleSecuredAudit(ArrayList<VehicleSecuredAudit> value) { this.vehicleSecuredAudit = value; return this; }
}
public static class BodyStyle
{
public Integer id = null;
public String description = null;
public String styleCode = null;
public String styleCodeElectric = null;
public String styleCodeHybrid = null;
public Integer sortOrder = null;
public Brand brand = null;
public Integer brand_Id = null;
public ArrayList<Model> models = null;
public Integer getId() { return id; }
public BodyStyle setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public BodyStyle setDescription(String value) { this.description = value; return this; }
public String getStyleCode() { return styleCode; }
public BodyStyle setStyleCode(String value) { this.styleCode = value; return this; }
public String getStyleCodeElectric() { return styleCodeElectric; }
public BodyStyle setStyleCodeElectric(String value) { this.styleCodeElectric = value; return this; }
public String getStyleCodeHybrid() { return styleCodeHybrid; }
public BodyStyle setStyleCodeHybrid(String value) { this.styleCodeHybrid = value; return this; }
public Integer getSortOrder() { return sortOrder; }
public BodyStyle setSortOrder(Integer value) { this.sortOrder = value; return this; }
public Brand getBrand() { return brand; }
public BodyStyle setBrand(Brand value) { this.brand = value; return this; }
public Integer getBrandId() { return brand_Id; }
public BodyStyle setBrandId(Integer value) { this.brand_Id = value; return this; }
public ArrayList<Model> getModels() { return models; }
public BodyStyle setModels(ArrayList<Model> value) { this.models = value; return this; }
}
public static class Brand
{
public Integer id = null;
public String description = null;
public String displayName = null;
public Boolean enabledNew = null;
public Boolean enabledUsed = null;
public ArrayList<BodyStyle> bodyStyles = null;
public Integer getId() { return id; }
public Brand setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public Brand setDescription(String value) { this.description = value; return this; }
public String getDisplayName() { return displayName; }
public Brand setDisplayName(String value) { this.displayName = value; return this; }
public Boolean isEnabledNew() { return enabledNew; }
public Brand setEnabledNew(Boolean value) { this.enabledNew = value; return this; }
public Boolean isEnabledUsed() { return enabledUsed; }
public Brand setEnabledUsed(Boolean value) { this.enabledUsed = value; return this; }
public ArrayList<BodyStyle> getBodyStyles() { return bodyStyles; }
public Brand setBodyStyles(ArrayList<BodyStyle> value) { this.bodyStyles = value; return this; }
}
public static class Model
{
public Integer id = null;
public String description = null;
public String displayName = null;
public String productRange = null;
public Integer bodyStyle_Id = null;
public Integer overrideBodyStyleId = null;
public BodyStyle bodyStyle = null;
public ArrayList<ProductRange> productRanges = null;
public String imageUrlNew = null;
public String imageUrlUsed = null;
public Boolean specialistNew = null;
public Boolean specialistUsed = null;
public Boolean excludeFromFiltersNew = null;
public Boolean excludeFromFiltersUsed = null;
public Integer priorityNew = null;
public Integer priorityUsed = null;
public String alternativeModelsNew = null;
public String alternativeModelsUsed = null;
public Integer vehicleClass_Id = null;
public VehicleClass vehicleClass = null;
public String oneWebModelUrlNew = null;
public String oneWebModelUrlUsed = null;
public Date lastEdited = null;
public Integer getId() { return id; }
public Model setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public Model setDescription(String value) { this.description = value; return this; }
public String getDisplayName() { return displayName; }
public Model setDisplayName(String value) { this.displayName = value; return this; }
public String getProductRange() { return productRange; }
public Model setProductRange(String value) { this.productRange = value; return this; }
public Integer getBodyStyleId() { return bodyStyle_Id; }
public Model setBodyStyleId(Integer value) { this.bodyStyle_Id = value; return this; }
public Integer getOverrideBodyStyleId() { return overrideBodyStyleId; }
public Model setOverrideBodyStyleId(Integer value) { this.overrideBodyStyleId = value; return this; }
public BodyStyle getBodyStyle() { return bodyStyle; }
public Model setBodyStyle(BodyStyle value) { this.bodyStyle = value; return this; }
public ArrayList<ProductRange> getProductRanges() { return productRanges; }
public Model setProductRanges(ArrayList<ProductRange> value) { this.productRanges = value; return this; }
public String getImageUrlNew() { return imageUrlNew; }
public Model setImageUrlNew(String value) { this.imageUrlNew = value; return this; }
public String getImageUrlUsed() { return imageUrlUsed; }
public Model setImageUrlUsed(String value) { this.imageUrlUsed = value; return this; }
public Boolean isSpecialistNew() { return specialistNew; }
public Model setSpecialistNew(Boolean value) { this.specialistNew = value; return this; }
public Boolean isSpecialistUsed() { return specialistUsed; }
public Model setSpecialistUsed(Boolean value) { this.specialistUsed = value; return this; }
public Boolean isExcludeFromFiltersNew() { return excludeFromFiltersNew; }
public Model setExcludeFromFiltersNew(Boolean value) { this.excludeFromFiltersNew = value; return this; }
public Boolean isExcludeFromFiltersUsed() { return excludeFromFiltersUsed; }
public Model setExcludeFromFiltersUsed(Boolean value) { this.excludeFromFiltersUsed = value; return this; }
public Integer getPriorityNew() { return priorityNew; }
public Model setPriorityNew(Integer value) { this.priorityNew = value; return this; }
public Integer getPriorityUsed() { return priorityUsed; }
public Model setPriorityUsed(Integer value) { this.priorityUsed = value; return this; }
public String getAlternativeModelsNew() { return alternativeModelsNew; }
public Model setAlternativeModelsNew(String value) { this.alternativeModelsNew = value; return this; }
public String getAlternativeModelsUsed() { return alternativeModelsUsed; }
public Model setAlternativeModelsUsed(String value) { this.alternativeModelsUsed = value; return this; }
public Integer getVehicleClassId() { return vehicleClass_Id; }
public Model setVehicleClassId(Integer value) { this.vehicleClass_Id = value; return this; }
public VehicleClass getVehicleClass() { return vehicleClass; }
public Model setVehicleClass(VehicleClass value) { this.vehicleClass = value; return this; }
public String getOneWebModelUrlNew() { return oneWebModelUrlNew; }
public Model setOneWebModelUrlNew(String value) { this.oneWebModelUrlNew = value; return this; }
public String getOneWebModelUrlUsed() { return oneWebModelUrlUsed; }
public Model setOneWebModelUrlUsed(String value) { this.oneWebModelUrlUsed = value; return this; }
public Date getLastEdited() { return lastEdited; }
public Model setLastEdited(Date value) { this.lastEdited = value; return this; }
}
public static class ProductRange
{
public Integer modelId = null;
public Model model = null;
public Integer fuelTypeId = null;
public MappedFuelType mapped_FuelType = null;
public Integer productRangeCode = null;
public Integer getModelId() { return modelId; }
public ProductRange setModelId(Integer value) { this.modelId = value; return this; }
public Model getModel() { return model; }
public ProductRange setModel(Model value) { this.model = value; return this; }
public Integer getFuelTypeId() { return fuelTypeId; }
public ProductRange setFuelTypeId(Integer value) { this.fuelTypeId = value; return this; }
public MappedFuelType getMappedFuelType() { return mapped_FuelType; }
public ProductRange setMappedFuelType(MappedFuelType value) { this.mapped_FuelType = value; return this; }
public Integer getProductRangeCode() { return productRangeCode; }
public ProductRange setProductRangeCode(Integer value) { this.productRangeCode = value; return this; }
}
public static class MappedFuelType
{
public Integer id = null;
public String description = null;
public String fuelTypes = null;
public Integer sortOrder = null;
public Integer getId() { return id; }
public MappedFuelType setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public MappedFuelType setDescription(String value) { this.description = value; return this; }
public String getFuelTypes() { return fuelTypes; }
public MappedFuelType setFuelTypes(String value) { this.fuelTypes = value; return this; }
public Integer getSortOrder() { return sortOrder; }
public MappedFuelType setSortOrder(Integer value) { this.sortOrder = value; return this; }
}
public static class VehicleClass
{
public Integer id = null;
public String description = null;
public Integer priority = null;
public ArrayList<Model> vehicleClasses = null;
public Integer getId() { return id; }
public VehicleClass setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public VehicleClass setDescription(String value) { this.description = value; return this; }
public Integer getPriority() { return priority; }
public VehicleClass setPriority(Integer value) { this.priority = value; return this; }
public ArrayList<Model> getVehicleClasses() { return vehicleClasses; }
public VehicleClass setVehicleClasses(ArrayList<Model> value) { this.vehicleClasses = value; return this; }
}
public static class Consumption
{
public Integer id = null;
public BigDecimal lkm = null;
public BigDecimal mpg = null;
public Integer getId() { return id; }
public Consumption setId(Integer value) { this.id = value; return this; }
public BigDecimal getLkm() { return lkm; }
public Consumption setLkm(BigDecimal value) { this.lkm = value; return this; }
public BigDecimal getMpg() { return mpg; }
public Consumption setMpg(BigDecimal value) { this.mpg = value; return this; }
}
public static class Dealer
{
public Integer id = null;
public String description = null;
public String rodCode = null;
public String gssnOutletId = null;
public Double latitude = null;
public Double longitude = null;
public String retailerGroupId = null;
public String street = null;
public String city = null;
public String district = null;
public String postcode = null;
public String phone = null;
public String fax = null;
public String email = null;
public String website = null;
public Boolean isOnline = null;
public Boolean isNewCarRetailer = null;
public Boolean isUsedCarRetailer = null;
public Boolean isCentralRetailer = null;
public Boolean campaignExcluded = null;
public Date creationDate = null;
public String creationSource = null;
public Date maintenanceDate = null;
public String maintenanceSource = null;
public Boolean chatEnabled = null;
public Boolean tradeInEnabled = null;
public RetailerGroup retailerGroup = null;
public Integer retailerGroup_Id = null;
public MarketArea marketArea = null;
public Integer marketArea_Id = null;
public String displayPhoneNumberNew = null;
public String displayPhoneNumberUsed = null;
public Boolean smart = null;
public String smartDescription = null;
public String smartWebsite = null;
public String smartEmail = null;
public String smartPhone = null;
public String additionalInformation = null;
public String legacyId = null;
public Boolean agent = null;
public Port port = null;
public Integer port_Id = null;
public ArrayList<RetailerAccount> retailerAccount = null;
public String digitalLoungeParentGssnId = null;
public Boolean sendLeadsToDigitalLoungeParent = null;
public Boolean isExcludedFromImport = null;
public Integer region_Id = null;
public Region region = null;
public Integer getId() { return id; }
public Dealer setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public Dealer setDescription(String value) { this.description = value; return this; }
public String getRodCode() { return rodCode; }
public Dealer setRodCode(String value) { this.rodCode = value; return this; }
public String getGssnOutletId() { return gssnOutletId; }
public Dealer setGssnOutletId(String value) { this.gssnOutletId = value; return this; }
public Double getLatitude() { return latitude; }
public Dealer setLatitude(Double value) { this.latitude = value; return this; }
public Double getLongitude() { return longitude; }
public Dealer setLongitude(Double value) { this.longitude = value; return this; }
public String getRetailerGroupId() { return retailerGroupId; }
public Dealer setRetailerGroupId(String value) { this.retailerGroupId = value; return this; }
public String getStreet() { return street; }
public Dealer setStreet(String value) { this.street = value; return this; }
public String getCity() { return city; }
public Dealer setCity(String value) { this.city = value; return this; }
public String getDistrict() { return district; }
public Dealer setDistrict(String value) { this.district = value; return this; }
public String getPostcode() { return postcode; }
public Dealer setPostcode(String value) { this.postcode = value; return this; }
public String getPhone() { return phone; }
public Dealer setPhone(String value) { this.phone = value; return this; }
public String getFax() { return fax; }
public Dealer setFax(String value) { this.fax = value; return this; }
public String getEmail() { return email; }
public Dealer setEmail(String value) { this.email = value; return this; }
public String getWebsite() { return website; }
public Dealer setWebsite(String value) { this.website = value; return this; }
public Boolean getIsOnline() { return isOnline; }
public Dealer setIsOnline(Boolean value) { this.isOnline = value; return this; }
public Boolean getIsNewCarRetailer() { return isNewCarRetailer; }
public Dealer setIsNewCarRetailer(Boolean value) { this.isNewCarRetailer = value; return this; }
public Boolean getIsUsedCarRetailer() { return isUsedCarRetailer; }
public Dealer setIsUsedCarRetailer(Boolean value) { this.isUsedCarRetailer = value; return this; }
public Boolean getIsCentralRetailer() { return isCentralRetailer; }
public Dealer setIsCentralRetailer(Boolean value) { this.isCentralRetailer = value; return this; }
public Boolean isCampaignExcluded() { return campaignExcluded; }
public Dealer setCampaignExcluded(Boolean value) { this.campaignExcluded = value; return this; }
public Date getCreationDate() { return creationDate; }
public Dealer setCreationDate(Date value) { this.creationDate = value; return this; }
public String getCreationSource() { return creationSource; }
public Dealer setCreationSource(String value) { this.creationSource = value; return this; }
public Date getMaintenanceDate() { return maintenanceDate; }
public Dealer setMaintenanceDate(Date value) { this.maintenanceDate = value; return this; }
public String getMaintenanceSource() { return maintenanceSource; }
public Dealer setMaintenanceSource(String value) { this.maintenanceSource = value; return this; }
public Boolean isChatEnabled() { return chatEnabled; }
public Dealer setChatEnabled(Boolean value) { this.chatEnabled = value; return this; }
public Boolean isTradeInEnabled() { return tradeInEnabled; }
public Dealer setTradeInEnabled(Boolean value) { this.tradeInEnabled = value; return this; }
public RetailerGroup getRetailerGroup() { return retailerGroup; }
public Dealer setRetailerGroup(RetailerGroup value) { this.retailerGroup = value; return this; }
public Integer getRetailerGroupId() { return retailerGroup_Id; }
public Dealer setRetailerGroupId(Integer value) { this.retailerGroup_Id = value; return this; }
public MarketArea getMarketArea() { return marketArea; }
public Dealer setMarketArea(MarketArea value) { this.marketArea = value; return this; }
public Integer getMarketAreaId() { return marketArea_Id; }
public Dealer setMarketAreaId(Integer value) { this.marketArea_Id = value; return this; }
public String getDisplayPhoneNumberNew() { return displayPhoneNumberNew; }
public Dealer setDisplayPhoneNumberNew(String value) { this.displayPhoneNumberNew = value; return this; }
public String getDisplayPhoneNumberUsed() { return displayPhoneNumberUsed; }
public Dealer setDisplayPhoneNumberUsed(String value) { this.displayPhoneNumberUsed = value; return this; }
public Boolean isSmart() { return smart; }
public Dealer setSmart(Boolean value) { this.smart = value; return this; }
public String getSmartDescription() { return smartDescription; }
public Dealer setSmartDescription(String value) { this.smartDescription = value; return this; }
public String getSmartWebsite() { return smartWebsite; }
public Dealer setSmartWebsite(String value) { this.smartWebsite = value; return this; }
public String getSmartEmail() { return smartEmail; }
public Dealer setSmartEmail(String value) { this.smartEmail = value; return this; }
public String getSmartPhone() { return smartPhone; }
public Dealer setSmartPhone(String value) { this.smartPhone = value; return this; }
public String getAdditionalInformation() { return additionalInformation; }
public Dealer setAdditionalInformation(String value) { this.additionalInformation = value; return this; }
public String getLegacyId() { return legacyId; }
public Dealer setLegacyId(String value) { this.legacyId = value; return this; }
public Boolean isAgent() { return agent; }
public Dealer setAgent(Boolean value) { this.agent = value; return this; }
public Port getPort() { return port; }
public Dealer setPort(Port value) { this.port = value; return this; }
public Integer getPortId() { return port_Id; }
public Dealer setPortId(Integer value) { this.port_Id = value; return this; }
public ArrayList<RetailerAccount> getRetailerAccount() { return retailerAccount; }
public Dealer setRetailerAccount(ArrayList<RetailerAccount> value) { this.retailerAccount = value; return this; }
public String getDigitalLoungeParentGssnId() { return digitalLoungeParentGssnId; }
public Dealer setDigitalLoungeParentGssnId(String value) { this.digitalLoungeParentGssnId = value; return this; }
public Boolean isSendLeadsToDigitalLoungeParent() { return sendLeadsToDigitalLoungeParent; }
public Dealer setSendLeadsToDigitalLoungeParent(Boolean value) { this.sendLeadsToDigitalLoungeParent = value; return this; }
public Boolean getIsExcludedFromImport() { return isExcludedFromImport; }
public Dealer setIsExcludedFromImport(Boolean value) { this.isExcludedFromImport = value; return this; }
public Integer getRegionId() { return region_Id; }
public Dealer setRegionId(Integer value) { this.region_Id = value; return this; }
public Region getRegion() { return region; }
public Dealer setRegion(Region value) { this.region = value; return this; }
}
public static class RetailerGroup
{
public Integer id = null;
public String retailerGroupId = null;
public String retailerGroupName = null;
public Date creationDate = null;
public String creationSource = null;
public Date maintenanceDate = null;
public String maintenanceSource = null;
public Integer priorityServiceNew = null;
public Integer priorityServiceUsed = null;
public String legacyId = null;
public Integer getId() { return id; }
public RetailerGroup setId(Integer value) { this.id = value; return this; }
public String getRetailerGroupId() { return retailerGroupId; }
public RetailerGroup setRetailerGroupId(String value) { this.retailerGroupId = value; return this; }
public String getRetailerGroupName() { return retailerGroupName; }
public RetailerGroup setRetailerGroupName(String value) { this.retailerGroupName = value; return this; }
public Date getCreationDate() { return creationDate; }
public RetailerGroup setCreationDate(Date value) { this.creationDate = value; return this; }
public String getCreationSource() { return creationSource; }
public RetailerGroup setCreationSource(String value) { this.creationSource = value; return this; }
public Date getMaintenanceDate() { return maintenanceDate; }
public RetailerGroup setMaintenanceDate(Date value) { this.maintenanceDate = value; return this; }
public String getMaintenanceSource() { return maintenanceSource; }
public RetailerGroup setMaintenanceSource(String value) { this.maintenanceSource = value; return this; }
public Integer getPriorityServiceNew() { return priorityServiceNew; }
public RetailerGroup setPriorityServiceNew(Integer value) { this.priorityServiceNew = value; return this; }
public Integer getPriorityServiceUsed() { return priorityServiceUsed; }
public RetailerGroup setPriorityServiceUsed(Integer value) { this.priorityServiceUsed = value; return this; }
public String getLegacyId() { return legacyId; }
public RetailerGroup setLegacyId(String value) { this.legacyId = value; return this; }
}
public static class MarketArea
{
public Integer id = null;
public Integer marketAreaId = null;
public String marketAreaName = null;
public Integer getId() { return id; }
public MarketArea setId(Integer value) { this.id = value; return this; }
public Integer getMarketAreaId() { return marketAreaId; }
public MarketArea setMarketAreaId(Integer value) { this.marketAreaId = value; return this; }
public String getMarketAreaName() { return marketAreaName; }
public MarketArea setMarketAreaName(String value) { this.marketAreaName = value; return this; }
}
public static class Port
{
public Integer id = null;
public Date creation = null;
public Date modified = null;
public String description = null;
public Double latitude = null;
public Double longitude = null;
public Integer getId() { return id; }
public Port setId(Integer value) { this.id = value; return this; }
public Date getCreation() { return creation; }
public Port setCreation(Date value) { this.creation = value; return this; }
public Date getModified() { return modified; }
public Port setModified(Date value) { this.modified = value; return this; }
public String getDescription() { return description; }
public Port setDescription(String value) { this.description = value; return this; }
public Double getLatitude() { return latitude; }
public Port setLatitude(Double value) { this.latitude = value; return this; }
public Double getLongitude() { return longitude; }
public Port setLongitude(Double value) { this.longitude = value; return this; }
}
public static class RetailerAccount
{
public Integer id = null;
public String stpNumber = null;
public Integer retailer_Id = null;
public Dealer retailer = null;
public Integer getId() { return id; }
public RetailerAccount setId(Integer value) { this.id = value; return this; }
public String getStpNumber() { return stpNumber; }
public RetailerAccount setStpNumber(String value) { this.stpNumber = value; return this; }
public Integer getRetailerId() { return retailer_Id; }
public RetailerAccount setRetailerId(Integer value) { this.retailer_Id = value; return this; }
public Dealer getRetailer() { return retailer; }
public RetailerAccount setRetailer(Dealer value) { this.retailer = value; return this; }
}
public static class Region
{
public Integer id = null;
public String regionName = null;
public Integer getId() { return id; }
public Region setId(Integer value) { this.id = value; return this; }
public String getRegionName() { return regionName; }
public Region setRegionName(String value) { this.regionName = value; return this; }
}
public static class Engine
{
public Integer id = null;
public String badge = null;
public Integer brand_Id = null;
public Integer getId() { return id; }
public Engine setId(Integer value) { this.id = value; return this; }
public String getBadge() { return badge; }
public Engine setBadge(String value) { this.badge = value; return this; }
public Integer getBrandId() { return brand_Id; }
public Engine setBrandId(Integer value) { this.brand_Id = value; return this; }
}
public static class MappedColourGroup
{
public Integer id = null;
public String description = null;
public String colours = null;
public String imageUrl = null;
public Integer getId() { return id; }
public MappedColourGroup setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public MappedColourGroup setDescription(String value) { this.description = value; return this; }
public String getColours() { return colours; }
public MappedColourGroup setColours(String value) { this.colours = value; return this; }
public String getImageUrl() { return imageUrl; }
public MappedColourGroup setImageUrl(String value) { this.imageUrl = value; return this; }
}
public static class MappedTransmissionGroup
{
public Integer id = null;
public String description = null;
public String alias = null;
public Integer getId() { return id; }
public MappedTransmissionGroup setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public MappedTransmissionGroup setDescription(String value) { this.description = value; return this; }
public String getAlias() { return alias; }
public MappedTransmissionGroup setAlias(String value) { this.alias = value; return this; }
}
public static class Upholstery
{
public Integer id = null;
public String price = null;
public String code = null;
public String type = null;
public Integer getId() { return id; }
public Upholstery setId(Integer value) { this.id = value; return this; }
public String getPrice() { return price; }
public Upholstery setPrice(String value) { this.price = value; return this; }
public String getCode() { return code; }
public Upholstery setCode(String value) { this.code = value; return this; }
public String getType() { return type; }
public Upholstery setType(String value) { this.type = value; return this; }
}
public static class Line
{
public Integer id = null;
public String description = null;
public String alias = null;
public String overridesId = null;
public Integer getId() { return id; }
public Line setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public Line setDescription(String value) { this.description = value; return this; }
public String getAlias() { return alias; }
public Line setAlias(String value) { this.alias = value; return this; }
public String getOverridesId() { return overridesId; }
public Line setOverridesId(String value) { this.overridesId = value; return this; }
}
public static class UsedCarImage
{
public Integer id = null;
public Date creationDate = null;
public String creationSource = null;
public Date maintenanceDate = null;
public String maintenanceSource = null;
public Integer vehicleId = null;
public Vehicle vehicle = null;
public String imageUrl = null;
public Boolean primaryImage = null;
public String perspective = null;
public Integer index = null;
public Integer getId() { return id; }
public UsedCarImage setId(Integer value) { this.id = value; return this; }
public Date getCreationDate() { return creationDate; }
public UsedCarImage setCreationDate(Date value) { this.creationDate = value; return this; }
public String getCreationSource() { return creationSource; }
public UsedCarImage setCreationSource(String value) { this.creationSource = value; return this; }
public Date getMaintenanceDate() { return maintenanceDate; }
public UsedCarImage setMaintenanceDate(Date value) { this.maintenanceDate = value; return this; }
public String getMaintenanceSource() { return maintenanceSource; }
public UsedCarImage setMaintenanceSource(String value) { this.maintenanceSource = value; return this; }
public Integer getVehicleId() { return vehicleId; }
public UsedCarImage setVehicleId(Integer value) { this.vehicleId = value; return this; }
public Vehicle getVehicle() { return vehicle; }
public UsedCarImage setVehicle(Vehicle value) { this.vehicle = value; return this; }
public String getImageUrl() { return imageUrl; }
public UsedCarImage setImageUrl(String value) { this.imageUrl = value; return this; }
public Boolean isPrimaryImage() { return primaryImage; }
public UsedCarImage setPrimaryImage(Boolean value) { this.primaryImage = value; return this; }
public String getPerspective() { return perspective; }
public UsedCarImage setPerspective(String value) { this.perspective = value; return this; }
public Integer getIndex() { return index; }
public UsedCarImage setIndex(Integer value) { this.index = value; return this; }
}
public static class VehiclePackage
{
public Integer vehicleId = null;
public Integer packageId = null;
public Vehicle vehicle = null;
@SerializedName("package") public Packages Package = null;
public Integer getVehicleId() { return vehicleId; }
public VehiclePackage setVehicleId(Integer value) { this.vehicleId = value; return this; }
public Integer getPackageId() { return packageId; }
public VehiclePackage setPackageId(Integer value) { this.packageId = value; return this; }
public Vehicle getVehicle() { return vehicle; }
public VehiclePackage setVehicle(Vehicle value) { this.vehicle = value; return this; }
public Packages getPackage() { return Package; }
public VehiclePackage setPackage(Packages value) { this.Package = value; return this; }
}
public static class Packages
{
public Integer id = null;
public String description = null;
public String alias = null;
public String overridesId = null;
public String packageDataOverridesId = null;
public ArrayList<VehiclePackage> vehiclePackages = null;
public Integer getId() { return id; }
public Packages setId(Integer value) { this.id = value; return this; }
public String getDescription() { return description; }
public Packages setDescription(String value) { this.description = value; return this; }
public String getAlias() { return alias; }
public Packages setAlias(String value) { this.alias = value; return this; }
public String getOverridesId() { return overridesId; }
public Packages setOverridesId(String value) { this.overridesId = value; return this; }
public String getPackageDataOverridesId() { return packageDataOverridesId; }
public Packages setPackageDataOverridesId(String value) { this.packageDataOverridesId = value; return this; }
public ArrayList<VehiclePackage> getVehiclePackages() { return vehiclePackages; }
public Packages setVehiclePackages(ArrayList<VehiclePackage> value) { this.vehiclePackages = value; return this; }
}
public static class VehicleSecured
{
public Integer id = null;
public String reason = null;
public Date created = null;
public String userId = null;
public Integer getId() { return id; }
public VehicleSecured setId(Integer value) { this.id = value; return this; }
public String getReason() { return reason; }
public VehicleSecured setReason(String value) { this.reason = value; return this; }
public Date getCreated() { return created; }
public VehicleSecured setCreated(Date value) { this.created = value; return this; }
public String getUserId() { return userId; }
public VehicleSecured setUserId(String value) { this.userId = value; return this; }
}
public static class VehicleImage
{
public Integer id = null;
public String commissionNumber = null;
public String cachedImageUrl = null;
public String imageDescriptor = null;
public Date createdDate = null;
public Integer getId() { return id; }
public VehicleImage setId(Integer value) { this.id = value; return this; }
public String getCommissionNumber() { return commissionNumber; }
public VehicleImage setCommissionNumber(String value) { this.commissionNumber = value; return this; }
public String getCachedImageUrl() { return cachedImageUrl; }
public VehicleImage setCachedImageUrl(String value) { this.cachedImageUrl = value; return this; }
public String getImageDescriptor() { return imageDescriptor; }
public VehicleImage setImageDescriptor(String value) { this.imageDescriptor = value; return this; }
public Date getCreatedDate() { return createdDate; }
public VehicleImage setCreatedDate(Date value) { this.createdDate = value; return this; }
}
public static class VehicleSecuredAudit
{
public Integer id = null;
public String userId = null;
public Boolean mbukSecured = null;
public String vin = null;
public String vehicleType = null;
public String reason = null;
public Date created = null;
public Vehicle vehicle = null;
public String commissionNumber = null;
public Boolean isBulkUpdate = null;
public Integer getId() { return id; }
public VehicleSecuredAudit setId(Integer value) { this.id = value; return this; }
public String getUserId() { return userId; }
public VehicleSecuredAudit setUserId(String value) { this.userId = value; return this; }
public Boolean isMbukSecured() { return mbukSecured; }
public VehicleSecuredAudit setMbukSecured(Boolean value) { this.mbukSecured = value; return this; }
public String getVin() { return vin; }
public VehicleSecuredAudit setVin(String value) { this.vin = value; return this; }
public String getVehicleType() { return vehicleType; }
public VehicleSecuredAudit setVehicleType(String value) { this.vehicleType = value; return this; }
public String getReason() { return reason; }
public VehicleSecuredAudit setReason(String value) { this.reason = value; return this; }
public Date getCreated() { return created; }
public VehicleSecuredAudit setCreated(Date value) { this.created = value; return this; }
public Vehicle getVehicle() { return vehicle; }
public VehicleSecuredAudit setVehicle(Vehicle value) { this.vehicle = value; return this; }
public String getCommissionNumber() { return commissionNumber; }
public VehicleSecuredAudit setCommissionNumber(String value) { this.commissionNumber = value; return this; }
public Boolean getIsBulkUpdate() { return isBulkUpdate; }
public VehicleSecuredAudit setIsBulkUpdate(Boolean value) { this.isBulkUpdate = value; return this; }
}
public static class EquipmentCache
{
public String code = null;
public String description = null;
public String standardFlag = null;
public BigDecimal price = null;
public String category = null;
public String importance = null;
public String getCode() { return code; }
public EquipmentCache setCode(String value) { this.code = value; return this; }
public String getDescription() { return description; }
public EquipmentCache setDescription(String value) { this.description = value; return this; }
public String getStandardFlag() { return standardFlag; }
public EquipmentCache setStandardFlag(String value) { this.standardFlag = value; return this; }
public BigDecimal getPrice() { return price; }
public EquipmentCache setPrice(BigDecimal value) { this.price = value; return this; }
public String getCategory() { return category; }
public EquipmentCache setCategory(String value) { this.category = value; return this; }
public String getImportance() { return importance; }
public EquipmentCache setImportance(String value) { this.importance = value; return this; }
}
public static enum ActionType
{
Insert,
Update,
Offline,
NoAction,
Error;
}
}
Java UpdateVehicleV2Request DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v2/{VehicleType}/Vehicle/UpdateVehicle HTTP/1.1
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk
Accept: application/json
Content-Type: application/json
Content-Length: length
{"vehicleIdentifier":"String","vin":"String","vehicleType":"String"}