/* Options: Date: 2024-12-29 03:24:45 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: ExternalDegreeCreateRequest.* //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="/Academic/{uuid}/ExternalDegree/Create", Verbs="POST") public static class ExternalDegreeCreateRequest implements IReturn { public String uuid = null; public Integer institution_id = null; public String degree_name = null; public String degree_override_name = null; public Integer start_year = null; public Integer end_year = null; public String graduation_month = null; public String authorizing_uuid = null; public String getUuid() { return uuid; } public ExternalDegreeCreateRequest setUuid(String value) { this.uuid = value; return this; } public Integer getInstitutionId() { return institution_id; } public ExternalDegreeCreateRequest setInstitutionId(Integer value) { this.institution_id = value; return this; } public String getDegreeName() { return degree_name; } public ExternalDegreeCreateRequest setDegreeName(String value) { this.degree_name = value; return this; } public String getDegreeOverrideName() { return degree_override_name; } public ExternalDegreeCreateRequest setDegreeOverrideName(String value) { this.degree_override_name = value; return this; } public Integer getStartYear() { return start_year; } public ExternalDegreeCreateRequest setStartYear(Integer value) { this.start_year = value; return this; } public Integer getEndYear() { return end_year; } public ExternalDegreeCreateRequest setEndYear(Integer value) { this.end_year = value; return this; } public String getGraduationMonth() { return graduation_month; } public ExternalDegreeCreateRequest setGraduationMonth(String value) { this.graduation_month = value; return this; } public String getAuthorizingUuid() { return authorizing_uuid; } public ExternalDegreeCreateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String errorCode = null; @DataMember(Order=2) public String message = null; @DataMember(Order=3) public String stackTrace = null; @DataMember(Order=4) public ArrayList errors = null; @DataMember(Order=5) public HashMap meta = null; public String getErrorCode() { return errorCode; } public ResponseStatus setErrorCode(String value) { this.errorCode = value; return this; } public String getMessage() { return message; } public ResponseStatus setMessage(String value) { this.message = value; return this; } public String getStackTrace() { return stackTrace; } public ResponseStatus setStackTrace(String value) { this.stackTrace = value; return this; } public ArrayList getErrors() { return errors; } public ResponseStatus setErrors(ArrayList value) { this.errors = value; return this; } public HashMap getMeta() { return meta; } public ResponseStatus setMeta(HashMap value) { this.meta = value; return this; } } }