/* Options: Date: 2025-09-14 06:24:53 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.trackunit.com/public //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateUnit.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/unit", Verbs="PUT") // @Route(Path="/unit/{Id}", Verbs="PUT") // @Route(Path="/UpdateUnit", Verbs="GET POST") // @Route(Path="/UpdateUnit/{Id}", Verbs="GET POST") @DataContract public static class UpdateUnit implements IReturn { @DataMember public String id = null; @DataMember public String name = null; @DataMember public String referenceNumber = null; @DataMember public String clientId = null; @DataMember public String categoryId = null; @DataMember public String vehicleType = null; @DataMember public Double preKm = null; @DataMember public Double preRun1 = null; @DataMember public Double preRun2 = null; @DataMember public String note = null; @DataMember public Boolean isActive = null; @DataMember public String input1Name = null; @DataMember public String input2Name = null; @DataMember public String input3Name = null; @DataMember public String input4Name = null; @DataMember public Boolean lock = null; public String getId() { return id; } public UpdateUnit setId(String value) { this.id = value; return this; } public String getName() { return name; } public UpdateUnit setName(String value) { this.name = value; return this; } public String getReferenceNumber() { return referenceNumber; } public UpdateUnit setReferenceNumber(String value) { this.referenceNumber = value; return this; } public String getClientId() { return clientId; } public UpdateUnit setClientId(String value) { this.clientId = value; return this; } public String getCategoryId() { return categoryId; } public UpdateUnit setCategoryId(String value) { this.categoryId = value; return this; } public String getVehicleType() { return vehicleType; } public UpdateUnit setVehicleType(String value) { this.vehicleType = value; return this; } public Double getPreKm() { return preKm; } public UpdateUnit setPreKm(Double value) { this.preKm = value; return this; } public Double getPreRun1() { return preRun1; } public UpdateUnit setPreRun1(Double value) { this.preRun1 = value; return this; } public Double getPreRun2() { return preRun2; } public UpdateUnit setPreRun2(Double value) { this.preRun2 = value; return this; } public String getNote() { return note; } public UpdateUnit setNote(String value) { this.note = value; return this; } public Boolean getIsActive() { return isActive; } public UpdateUnit setIsActive(Boolean value) { this.isActive = value; return this; } public String getInput1Name() { return input1Name; } public UpdateUnit setInput1Name(String value) { this.input1Name = value; return this; } public String getInput2Name() { return input2Name; } public UpdateUnit setInput2Name(String value) { this.input2Name = value; return this; } public String getInput3Name() { return input3Name; } public UpdateUnit setInput3Name(String value) { this.input3Name = value; return this; } public String getInput4Name() { return input4Name; } public UpdateUnit setInput4Name(String value) { this.input4Name = value; return this; } public Boolean isLock() { return lock; } public UpdateUnit setLock(Boolean value) { this.lock = value; return this; } private static Object responseType = UpdateUnitResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class UpdateUnitResponse { @DataMember public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateUnitResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }