/* Options: Date: 2025-04-10 07:01:03 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PersonRestrictionsRequest.* //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="/Person/{uuid}/Restrictions", Verbs="POST") public static class PersonRestrictionsRequest implements IReturn { public String uuid = null; public String getUuid() { return uuid; } public PersonRestrictionsRequest setUuid(String value) { this.uuid = value; return this; } private static Object responseType = PersonRestrictionsResponse.class; public Object getResponseType() { return responseType; } } public static class PersonRestrictionsResponse { public ResponseStatus responseStatus = null; public Integer regent_id = null; public String uuid = null; public ArrayList restrictions = null; public ArrayList valid_restrictions = null; public ResponseStatus getResponseStatus() { return responseStatus; } public PersonRestrictionsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Integer getRegentId() { return regent_id; } public PersonRestrictionsResponse setRegentId(Integer value) { this.regent_id = value; return this; } public String getUuid() { return uuid; } public PersonRestrictionsResponse setUuid(String value) { this.uuid = value; return this; } public ArrayList getRestrictions() { return restrictions; } public PersonRestrictionsResponse setRestrictions(ArrayList value) { this.restrictions = value; return this; } public ArrayList getValidRestrictions() { return valid_restrictions; } public PersonRestrictionsResponse setValidRestrictions(ArrayList value) { this.valid_restrictions = value; return this; } } public static class PersonRestrictionResponse { public Integer id = null; public String restriction_code = null; public String restriction_description = null; public Date start_date = null; public Date end_date = null; public Integer getId() { return id; } public PersonRestrictionResponse setId(Integer value) { this.id = value; return this; } public String getRestrictionCode() { return restriction_code; } public PersonRestrictionResponse setRestrictionCode(String value) { this.restriction_code = value; return this; } public String getRestrictionDescription() { return restriction_description; } public PersonRestrictionResponse setRestrictionDescription(String value) { this.restriction_description = value; return this; } public Date getStartDate() { return start_date; } public PersonRestrictionResponse setStartDate(Date value) { this.start_date = value; return this; } public Date getEndDate() { return end_date; } public PersonRestrictionResponse setEndDate(Date value) { this.end_date = value; return this; } } public static class RestrictionResponse { public Integer id = null; public String restriction_code = null; public String restriction_description = null; public Boolean is_active = null; public Integer getId() { return id; } public RestrictionResponse setId(Integer value) { this.id = value; return this; } public String getRestrictionCode() { return restriction_code; } public RestrictionResponse setRestrictionCode(String value) { this.restriction_code = value; return this; } public String getRestrictionDescription() { return restriction_description; } public RestrictionResponse setRestrictionDescription(String value) { this.restriction_description = value; return this; } public Boolean getIsActive() { return is_active; } public RestrictionResponse setIsActive(Boolean value) { this.is_active = value; return this; } } }