/* Options: Date: 2025-05-10 02:30:56 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: C2BAccessoryListingRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * C2BAccessoryListingRequires active-e Contracts Service. */ @Route(Path="/C2BAccessoryListing", Verbs="GET") @DataContract public static class C2BAccessoryListingRequest extends BaseSecureRequest implements IReturn { /** * Defaults to True */ @DataMember @ApiMember(Description="Defaults to True", Name="IncludeAccessories", ParameterType="query") public Boolean IncludeAccessories = null; /** * Defaults to False */ @DataMember @ApiMember(Description="Defaults to False", Name="IncludeDeliveryOptions", ParameterType="query") public Boolean IncludeDeliveryOptions = null; /** * Defaults to False */ @DataMember @ApiMember(Description="Defaults to False", Name="IncludeMaintenanceOptions", ParameterType="query") public Boolean IncludeMaintenanceOptions = null; /** * If passed, only accessories for the given instrument are returned */ @DataMember @ApiMember(Description="If passed, only accessories for the given instrument are returned", Name="InstrumentId", ParameterType="query") public Long InstrumentId = null; public Boolean isIncludeAccessories() { return IncludeAccessories; } public C2BAccessoryListingRequest setIncludeAccessories(Boolean value) { this.IncludeAccessories = value; return this; } public Boolean isIncludeDeliveryOptions() { return IncludeDeliveryOptions; } public C2BAccessoryListingRequest setIncludeDeliveryOptions(Boolean value) { this.IncludeDeliveryOptions = value; return this; } public Boolean isIncludeMaintenanceOptions() { return IncludeMaintenanceOptions; } public C2BAccessoryListingRequest setIncludeMaintenanceOptions(Boolean value) { this.IncludeMaintenanceOptions = value; return this; } public Long getInstrumentId() { return InstrumentId; } public C2BAccessoryListingRequest setInstrumentId(Long value) { this.InstrumentId = 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 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 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; } } }