/* Options: Date: 2025-05-10 01:57:36 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: C2BGetDistrictInfoRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * C2BGetDistrictInfoRequires active-e Contracts Service. */ @Route(Path="/C2BGetDistrictInfo", Verbs="POST, GET") @DataContract public static class C2BGetDistrictInfoRequest extends BaseRequest implements IReturn { /** * If sent, only districts with schools of the sent plan code will be returned. */ @DataMember @ApiMember(DataType="string", Description="If sent, only districts with schools of the sent plan code will be returned.", Format="date", Name="PlanCode", ParameterType="query") public String PlanCode = null; /** * ID of the Instrument record. Optional. */ @DataMember @ApiMember(DataType="integer", Description="ID of the Instrument record. Optional.", Format="int64", Name="RinPk", ParameterType="query") public Long RinPk = null; /** * Optional Request Type. Valid values are Contract and Shipping. */ @DataMember @ApiMember(DataType="string", Description="Optional Request Type. Valid values are Contract and Shipping.", Name="RequestType", ParameterType="query") public String RequestType = null; public String getPlanCode() { return PlanCode; } public C2BGetDistrictInfoRequest setPlanCode(String value) { this.PlanCode = value; return this; } public Long getRinPk() { return RinPk; } public C2BGetDistrictInfoRequest setRinPk(Long value) { this.RinPk = value; return this; } public String getRequestType() { return RequestType; } public C2BGetDistrictInfoRequest setRequestType(String value) { this.RequestType = value; return this; } private static Object responseType = C2BGetDistrictInfoResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class C2BGetDistrictInfoResponse extends BaseResponse { @DataMember public ArrayList Districts = null; @DataMember public Boolean TeacherTableExists = null; public ArrayList getDistricts() { return Districts; } public C2BGetDistrictInfoResponse setDistricts(ArrayList value) { this.Districts = value; return this; } public Boolean isTeacherTableExists() { return TeacherTableExists; } public C2BGetDistrictInfoResponse setTeacherTableExists(Boolean value) { this.TeacherTableExists = value; return this; } } @DataContract public static class BaseRequest { /** * This is your AIM API Key provided by Tri-Tech */ @DataMember @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="header") public String ApiKey = null; @DataMember @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header") public String OAuthToken = null; public String getApiKey() { return ApiKey; } public BaseRequest setApiKey(String value) { this.ApiKey = value; return this; } public String getOAuthToken() { return OAuthToken; } public BaseRequest setOAuthToken(String value) { this.OAuthToken = value; return this; } } @DataContract public static class C2BDistrictGeneric { @DataMember public String DistrictName = null; @DataMember public Integer SchoolCount = null; @DataMember public Integer TeacherCount = null; @DataMember public String Topic = null; @DataMember public Long Id = null; public String getDistrictName() { return DistrictName; } public C2BDistrictGeneric setDistrictName(String value) { this.DistrictName = value; return this; } public Integer getSchoolCount() { return SchoolCount; } public C2BDistrictGeneric setSchoolCount(Integer value) { this.SchoolCount = value; return this; } public Integer getTeacherCount() { return TeacherCount; } public C2BDistrictGeneric setTeacherCount(Integer value) { this.TeacherCount = value; return this; } public String getTopic() { return Topic; } public C2BDistrictGeneric setTopic(String value) { this.Topic = value; return this; } public Long getId() { return Id; } public C2BDistrictGeneric setId(Long value) { this.Id = value; return this; } } @DataContract public static class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") public BaseResponseResult Status = null; public BaseResponseResult getStatus() { return Status; } public BaseResponse setStatus(BaseResponseResult value) { this.Status = value; return this; } } }