/* Options: Date: 2025-06-09 13:41:56 Version: 6.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://webservices.mbukdatabase.co.uk/MBVansOnlineCustomerAccount //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: VehicleOwnership.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/vehicleownership/", Verbs="POST") public static class VehicleOwnership implements IReturn { public String CiamId = null; public Short ItemsPerPage = null; public Short PageNumber = null; public String SearchString = null; public String SortColumn = null; public String SortDirection = null; public String getCiamId() { return CiamId; } public VehicleOwnership setCiamId(String value) { this.CiamId = value; return this; } public Short getItemsPerPage() { return ItemsPerPage; } public VehicleOwnership setItemsPerPage(Short value) { this.ItemsPerPage = value; return this; } public Short getPageNumber() { return PageNumber; } public VehicleOwnership setPageNumber(Short value) { this.PageNumber = value; return this; } public String getSearchString() { return SearchString; } public VehicleOwnership setSearchString(String value) { this.SearchString = value; return this; } public String getSortColumn() { return SortColumn; } public VehicleOwnership setSortColumn(String value) { this.SortColumn = value; return this; } public String getSortDirection() { return SortDirection; } public VehicleOwnership setSortDirection(String value) { this.SortDirection = value; return this; } private static Object responseType = VehicleOwnershipResponse.class; public Object getResponseType() { return responseType; } } public static class VehicleOwnershipResponse { public ReturnStatus Status = null; public Short NumberOfPages = null; public Short TotalNumberOfVehicles = null; public ArrayList Vehicles = null; public ReturnStatus getStatus() { return Status; } public VehicleOwnershipResponse setStatus(ReturnStatus value) { this.Status = value; return this; } public Short getNumberOfPages() { return NumberOfPages; } public VehicleOwnershipResponse setNumberOfPages(Short value) { this.NumberOfPages = value; return this; } public Short getTotalNumberOfVehicles() { return TotalNumberOfVehicles; } public VehicleOwnershipResponse setTotalNumberOfVehicles(Short value) { this.TotalNumberOfVehicles = value; return this; } public ArrayList getVehicles() { return Vehicles; } public VehicleOwnershipResponse setVehicles(ArrayList value) { this.Vehicles = value; return this; } } public static class ReturnStatus { public String ReturnCode = null; public String Message = null; public String getReturnCode() { return ReturnCode; } public ReturnStatus setReturnCode(String value) { this.ReturnCode = value; return this; } public String getMessage() { return Message; } public ReturnStatus setMessage(String value) { this.Message = value; return this; } } public static class Vehicle { public String ChassisNumber = null; public String RegistrationNumber = null; public String CommissionNumber = null; public String Make = null; public String Model = null; public Date NextMOTDate = null; public Date NextServiceDate = null; public String getChassisNumber() { return ChassisNumber; } public Vehicle setChassisNumber(String value) { this.ChassisNumber = value; return this; } public String getRegistrationNumber() { return RegistrationNumber; } public Vehicle setRegistrationNumber(String value) { this.RegistrationNumber = value; return this; } public String getCommissionNumber() { return CommissionNumber; } public Vehicle setCommissionNumber(String value) { this.CommissionNumber = value; return this; } public String getMake() { return Make; } public Vehicle setMake(String value) { this.Make = value; return this; } public String getModel() { return Model; } public Vehicle setModel(String value) { this.Model = value; return this; } public Date getNextMOTDate() { return NextMOTDate; } public Vehicle setNextMOTDate(Date value) { this.NextMOTDate = value; return this; } public Date getNextServiceDate() { return NextServiceDate; } public Vehicle setNextServiceDate(Date value) { this.NextServiceDate = value; return this; } } }