/* Options: Date: 2025-05-10 00:25:32 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: GetSchedulingGroupingsRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * GetSchedulingGroupingsRequires active-e Lesson Scheduling Service */ @Route(Path="/GetSchedulingGroupings", Verbs="GET") @DataContract public static class GetSchedulingGroupingsRequest extends BaseRequest implements IReturn { /** * Grouping ID to look up. If sent, all other parameters will be ignored. */ @DataMember @ApiMember(DataType="integer", Description="Grouping ID to look up. If sent, all other parameters will be ignored.", Format="int64", Name="GroupingId", ParameterType="query") public Long GroupingId = null; /** * If sent, only groupings with at least one lesson type taught by the sent instructor will be returned. */ @DataMember @ApiMember(DataType="integer", Description="If sent, only groupings with at least one lesson type taught by the sent instructor will be returned.", Format="int32", Name="InstructorId", ParameterType="query") public Integer InstructorId = null; /** * If sent, only groupings taught at the sent location will be returned. */ @DataMember @ApiMember(DataType="integer", Description="If sent, only groupings taught at the sent location will be returned.", Format="int64", Name="LocationId", ParameterType="query") public Long LocationId = null; /** * If sent, should be Private or Group. If Private, only groupings containing Private Lesson Types will be returned. If Group, only groupings containing Group Lesson Types will be returned. */ @DataMember @ApiMember(DataType="integer", Description="If sent, should be Private or Group. If Private, only groupings containing Private Lesson Types will be returned. If Group, only groupings containing Group Lesson Types will be returned.", Format="int64", Name="MembershipType", ParameterType="query") public String MembershipType = null; public Long getGroupingId() { return GroupingId; } public GetSchedulingGroupingsRequest setGroupingId(Long value) { this.GroupingId = value; return this; } public Integer getInstructorId() { return InstructorId; } public GetSchedulingGroupingsRequest setInstructorId(Integer value) { this.InstructorId = value; return this; } public Long getLocationId() { return LocationId; } public GetSchedulingGroupingsRequest setLocationId(Long value) { this.LocationId = value; return this; } public String getMembershipType() { return MembershipType; } public GetSchedulingGroupingsRequest setMembershipType(String value) { this.MembershipType = value; return this; } private static Object responseType = GetSchedulingGroupingsResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class GetSchedulingGroupingsResponse extends BaseResponse { @DataMember public ArrayList Groupings = null; public ArrayList getGroupings() { return Groupings; } public GetSchedulingGroupingsResponse setGroupings(ArrayList value) { this.Groupings = 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 GroupingInfo { @DataMember public Long Id = null; @DataMember public String Desc = null; public Long getId() { return Id; } public GroupingInfo setId(Long value) { this.Id = value; return this; } public String getDesc() { return Desc; } public GroupingInfo setDesc(String value) { this.Desc = 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; } } }