/* Options: Date: 2025-12-06 09:09:56 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GrowthCurvesAdd.* //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="/growth_curves", Verbs="POST") @DataContract public static class GrowthCurvesAdd implements IReturn { @DataMember(Order=2) @Validate(Validator="NotNull") public Long tenantsId = null; @DataMember(Order=3) @Validate(Validator="NotNull") public Long zonesId = null; @DataMember(Order=4) @Validate(Validator="NotNull") public Long varietiesId = null; @DataMember(Order=5) @Validate(Validator="NotNull") public Integer weekNumber = null; @DataMember(Order=6) @Validate(Validator="NotNull") public Double cropHeight = null; public Long getTenantsId() { return tenantsId; } public GrowthCurvesAdd setTenantsId(Long value) { this.tenantsId = value; return this; } public Long getZonesId() { return zonesId; } public GrowthCurvesAdd setZonesId(Long value) { this.zonesId = value; return this; } public Long getVarietiesId() { return varietiesId; } public GrowthCurvesAdd setVarietiesId(Long value) { this.varietiesId = value; return this; } public Integer getWeekNumber() { return weekNumber; } public GrowthCurvesAdd setWeekNumber(Integer value) { this.weekNumber = value; return this; } public Double getCropHeight() { return cropHeight; } public GrowthCurvesAdd setCropHeight(Double value) { this.cropHeight = value; return this; } private static Object responseType = GrowthCurvesAddResponse.class; public Object getResponseType() { return responseType; } } public static class GrowthCurvesAddResponse { @DataMember(Order=2) public Long tenantsId = null; @DataMember(Order=3) public Long zonesId = null; @DataMember(Order=4) public Long varietiesId = null; @DataMember(Order=5) public Integer weekNumber = null; @DataMember(Order=6) public Double cropHeight = null; @DataMember(Order=7) public ResponseStatus responseStatus = null; public Long getTenantsId() { return tenantsId; } public GrowthCurvesAddResponse setTenantsId(Long value) { this.tenantsId = value; return this; } public Long getZonesId() { return zonesId; } public GrowthCurvesAddResponse setZonesId(Long value) { this.zonesId = value; return this; } public Long getVarietiesId() { return varietiesId; } public GrowthCurvesAddResponse setVarietiesId(Long value) { this.varietiesId = value; return this; } public Integer getWeekNumber() { return weekNumber; } public GrowthCurvesAddResponse setWeekNumber(Integer value) { this.weekNumber = value; return this; } public Double getCropHeight() { return cropHeight; } public GrowthCurvesAddResponse setCropHeight(Double value) { this.cropHeight = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GrowthCurvesAddResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }