/* Options: Date: 2025-12-06 11:13:45 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: GrowplansVarietiesAdd.* //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="/growplans_varieties", Verbs="POST") @DataContract public static class GrowplansVarietiesAdd implements IReturn { @DataMember(Order=2) @Validate(Validator="NotNull") public Long growplansBoxesId = null; @DataMember(Order=3) @Validate(Validator="NotNull") public Long cropsId = null; @DataMember(Order=4) @Validate(Validator="NotNull") public Long varietiesId = null; public Long getGrowplansBoxesId() { return growplansBoxesId; } public GrowplansVarietiesAdd setGrowplansBoxesId(Long value) { this.growplansBoxesId = value; return this; } public Long getCropsId() { return cropsId; } public GrowplansVarietiesAdd setCropsId(Long value) { this.cropsId = value; return this; } public Long getVarietiesId() { return varietiesId; } public GrowplansVarietiesAdd setVarietiesId(Long value) { this.varietiesId = value; return this; } private static Object responseType = GrowplansVarietiesAddResponse.class; public Object getResponseType() { return responseType; } } public static class GrowplansVarietiesAddResponse { @DataMember(Order=2) public Long growplansBoxesId = null; @DataMember(Order=3) public Long cropsId = null; @DataMember(Order=4) public Long varietiesId = null; @DataMember(Order=6) public ResponseStatus responseStatus = null; public Long getGrowplansBoxesId() { return growplansBoxesId; } public GrowplansVarietiesAddResponse setGrowplansBoxesId(Long value) { this.growplansBoxesId = value; return this; } public Long getCropsId() { return cropsId; } public GrowplansVarietiesAddResponse setCropsId(Long value) { this.cropsId = value; return this; } public Long getVarietiesId() { return varietiesId; } public GrowplansVarietiesAddResponse setVarietiesId(Long value) { this.varietiesId = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GrowplansVarietiesAddResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }