/* Options: Date: 2025-12-15 22:57:25 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: ServiceContracts.* //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="/servicecontracts/", Verbs="POST") public static class ServiceContracts implements IReturn { public String CIAMId = null; public String ChassisNumber = null; public Short ItemsPerPage = null; public Short PageNumber = null; public String getCiamId() { return CIAMId; } public ServiceContracts setCiamId(String value) { this.CIAMId = value; return this; } public String getChassisNumber() { return ChassisNumber; } public ServiceContracts setChassisNumber(String value) { this.ChassisNumber = value; return this; } public Short getItemsPerPage() { return ItemsPerPage; } public ServiceContracts setItemsPerPage(Short value) { this.ItemsPerPage = value; return this; } public Short getPageNumber() { return PageNumber; } public ServiceContracts setPageNumber(Short value) { this.PageNumber = value; return this; } private static Object responseType = ServiceContractsResponse.class; public Object getResponseType() { return responseType; } } public static class ServiceContractsResponse { public ReturnStatus Status = null; public Short NumberOfPages = null; public ArrayList Contracts = null; public ReturnStatus getStatus() { return Status; } public ServiceContractsResponse setStatus(ReturnStatus value) { this.Status = value; return this; } public Short getNumberOfPages() { return NumberOfPages; } public ServiceContractsResponse setNumberOfPages(Short value) { this.NumberOfPages = value; return this; } public ArrayList getContracts() { return Contracts; } public ServiceContractsResponse setContracts(ArrayList value) { this.Contracts = 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 Contract { public String ContractNumber = null; public Date StartDate = null; public Date EndDate = null; public Date TerminationDate = null; public Short ServicesSold = null; public Short ServicesTaken = null; public String Status = null; public String getContractNumber() { return ContractNumber; } public Contract setContractNumber(String value) { this.ContractNumber = value; return this; } public Date getStartDate() { return StartDate; } public Contract setStartDate(Date value) { this.StartDate = value; return this; } public Date getEndDate() { return EndDate; } public Contract setEndDate(Date value) { this.EndDate = value; return this; } public Date getTerminationDate() { return TerminationDate; } public Contract setTerminationDate(Date value) { this.TerminationDate = value; return this; } public Short getServicesSold() { return ServicesSold; } public Contract setServicesSold(Short value) { this.ServicesSold = value; return this; } public Short getServicesTaken() { return ServicesTaken; } public Contract setServicesTaken(Short value) { this.ServicesTaken = value; return this; } public String getStatus() { return Status; } public Contract setStatus(String value) { this.Status = value; return this; } } }