/* Options: Date: 2025-12-06 09:35:12 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: GrowplansBoxesAdd.* //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_boxes", Verbs="POST") @DataContract public static class GrowplansBoxesAdd implements IReturn { @DataMember(Order=2) @Validate(Validator="NotNull") public Long growplansUsersId = null; @DataMember(Order=3) public String name = null; @DataMember(Order=4) @Validate(Validator="NotNull") public Integer xAxis = null; @DataMember(Order=5) @Validate(Validator="NotNull") public Integer yAxis = null; @DataMember(Order=6) @Validate(Validator="NotNull") public Long growplansOutcomesId = null; @DataMember(Order=7) @Validate(Validator="NotNull") public Integer months = null; @DataMember(Order=8) public Date startDate = null; public Long getGrowplansUsersId() { return growplansUsersId; } public GrowplansBoxesAdd setGrowplansUsersId(Long value) { this.growplansUsersId = value; return this; } public String getName() { return name; } public GrowplansBoxesAdd setName(String value) { this.name = value; return this; } public Integer getXAxis() { return xAxis; } public GrowplansBoxesAdd setXAxis(Integer value) { this.xAxis = value; return this; } public Integer getYAxis() { return yAxis; } public GrowplansBoxesAdd setYAxis(Integer value) { this.yAxis = value; return this; } public Long getGrowplansOutcomesId() { return growplansOutcomesId; } public GrowplansBoxesAdd setGrowplansOutcomesId(Long value) { this.growplansOutcomesId = value; return this; } public Integer getMonths() { return months; } public GrowplansBoxesAdd setMonths(Integer value) { this.months = value; return this; } public Date getStartDate() { return startDate; } public GrowplansBoxesAdd setStartDate(Date value) { this.startDate = value; return this; } private static Object responseType = GrowplansBoxesAddResponse.class; public Object getResponseType() { return responseType; } } public static class GrowplansBoxesAddResponse { @DataMember(Order=2) public Long growplansUsersId = null; @DataMember(Order=3) public String name = null; @DataMember(Order=4) public Integer xAxis = null; @DataMember(Order=5) public Integer yAxis = null; @DataMember(Order=6) public Long growplansOutcomesId = null; @DataMember(Order=7) public Integer months = null; @DataMember(Order=8) public Date startDate = null; @DataMember(Order=10) public ResponseStatus responseStatus = null; public Long getGrowplansUsersId() { return growplansUsersId; } public GrowplansBoxesAddResponse setGrowplansUsersId(Long value) { this.growplansUsersId = value; return this; } public String getName() { return name; } public GrowplansBoxesAddResponse setName(String value) { this.name = value; return this; } public Integer getXAxis() { return xAxis; } public GrowplansBoxesAddResponse setXAxis(Integer value) { this.xAxis = value; return this; } public Integer getYAxis() { return yAxis; } public GrowplansBoxesAddResponse setYAxis(Integer value) { this.yAxis = value; return this; } public Long getGrowplansOutcomesId() { return growplansOutcomesId; } public GrowplansBoxesAddResponse setGrowplansOutcomesId(Long value) { this.growplansOutcomesId = value; return this; } public Integer getMonths() { return months; } public GrowplansBoxesAddResponse setMonths(Integer value) { this.months = value; return this; } public Date getStartDate() { return startDate; } public GrowplansBoxesAddResponse setStartDate(Date value) { this.startDate = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GrowplansBoxesAddResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }