/* Options: Date: 2025-05-10 01:46:25 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: GetSchoolListRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * GetSchoolListRequires active-e Customer Service. */ @Route(Path="/GetSchoolList", Verbs="GET") @DataContract public static class GetSchoolListRequest extends BaseSecureRequest implements IReturn { /** * District ID. Skip this parameter to return all schools. -1 will return all schools that don't have a district assigned. */ @DataMember @ApiMember(DataType="integer", Description="District ID. Skip this parameter to return all schools. -1 will return all schools that don't have a district assigned.", Format="int64", Name="DistrictId", ParameterType="query") public Long DistrictId = null; public Long getDistrictId() { return DistrictId; } public GetSchoolListRequest setDistrictId(Long value) { this.DistrictId = value; return this; } private static Object responseType = GetSchoolListResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class GetSchoolListResponse extends BaseResponse { @DataMember public ArrayList Schools = null; public ArrayList getSchools() { return Schools; } public GetSchoolListResponse setSchools(ArrayList value) { this.Schools = 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 BaseSecureRequest extends BaseRequest { /** * */ @DataMember @ApiMember(DataType="string", Description="", Name="Token", ParameterType="Header") public String Token = null; /** * */ @DataMember @ApiMember(DataType="string", Description="", Name="DeviceId", ParameterType="Header") public String DeviceId = null; /** * */ @DataMember @ApiMember(DataType="string", Description="", IsRequired=true, Name="AppId", ParameterType="Header") public String AppId = null; public String getToken() { return Token; } public BaseSecureRequest setToken(String value) { this.Token = value; return this; } public String getDeviceId() { return DeviceId; } public BaseSecureRequest setDeviceId(String value) { this.DeviceId = value; return this; } public String getAppId() { return AppId; } public BaseSecureRequest setAppId(String value) { this.AppId = value; return this; } } @DataContract public static class SchoolGeneric { @DataMember public Long Id = null; @DataMember public String SchoolName = null; @DataMember public String District = null; @DataMember public String Address = null; @DataMember public String City = null; @DataMember public String State = null; @DataMember public String Zip = null; @DataMember public String Phone = null; @DataMember public String TaxAuth = null; @DataMember public C2BDeliveryInfo DeliveryInfo = null; public Long getId() { return Id; } public SchoolGeneric setId(Long value) { this.Id = value; return this; } public String getSchoolName() { return SchoolName; } public SchoolGeneric setSchoolName(String value) { this.SchoolName = value; return this; } public String getDistrict() { return District; } public SchoolGeneric setDistrict(String value) { this.District = value; return this; } public String getAddress() { return Address; } public SchoolGeneric setAddress(String value) { this.Address = value; return this; } public String getCity() { return City; } public SchoolGeneric setCity(String value) { this.City = value; return this; } public String getState() { return State; } public SchoolGeneric setState(String value) { this.State = value; return this; } public String getZip() { return Zip; } public SchoolGeneric setZip(String value) { this.Zip = value; return this; } public String getPhone() { return Phone; } public SchoolGeneric setPhone(String value) { this.Phone = value; return this; } public String getTaxAuth() { return TaxAuth; } public SchoolGeneric setTaxAuth(String value) { this.TaxAuth = value; return this; } public C2BDeliveryInfo getDeliveryInfo() { return DeliveryInfo; } public SchoolGeneric setDeliveryInfo(C2BDeliveryInfo value) { this.DeliveryInfo = value; return this; } } @DataContract public static class C2BDeliveryInfo { @DataMember public Date FirstDelivery = null; @DataMember public Date DeliveryTime = null; @DataMember public Integer DeliveryThreshold = null; @DataMember public Boolean SundayDelivery = null; @DataMember public Boolean MondayDelivery = null; @DataMember public Boolean TuesdayDelivery = null; @DataMember public Boolean WednesdayDelivery = null; @DataMember public Boolean ThursdayDelivery = null; @DataMember public Boolean FridayDelivery = null; @DataMember public Boolean SaturdayDelivery = null; public Date getFirstDelivery() { return FirstDelivery; } public C2BDeliveryInfo setFirstDelivery(Date value) { this.FirstDelivery = value; return this; } public Date getDeliveryTime() { return DeliveryTime; } public C2BDeliveryInfo setDeliveryTime(Date value) { this.DeliveryTime = value; return this; } public Integer getDeliveryThreshold() { return DeliveryThreshold; } public C2BDeliveryInfo setDeliveryThreshold(Integer value) { this.DeliveryThreshold = value; return this; } public Boolean isSundayDelivery() { return SundayDelivery; } public C2BDeliveryInfo setSundayDelivery(Boolean value) { this.SundayDelivery = value; return this; } public Boolean isMondayDelivery() { return MondayDelivery; } public C2BDeliveryInfo setMondayDelivery(Boolean value) { this.MondayDelivery = value; return this; } public Boolean isTuesdayDelivery() { return TuesdayDelivery; } public C2BDeliveryInfo setTuesdayDelivery(Boolean value) { this.TuesdayDelivery = value; return this; } public Boolean isWednesdayDelivery() { return WednesdayDelivery; } public C2BDeliveryInfo setWednesdayDelivery(Boolean value) { this.WednesdayDelivery = value; return this; } public Boolean isThursdayDelivery() { return ThursdayDelivery; } public C2BDeliveryInfo setThursdayDelivery(Boolean value) { this.ThursdayDelivery = value; return this; } public Boolean isFridayDelivery() { return FridayDelivery; } public C2BDeliveryInfo setFridayDelivery(Boolean value) { this.FridayDelivery = value; return this; } public Boolean isSaturdayDelivery() { return SaturdayDelivery; } public C2BDeliveryInfo setSaturdayDelivery(Boolean value) { this.SaturdayDelivery = 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; } } }