/* Options: Date: 2025-05-10 00:40:48 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: GetSchedulingInstructorsRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using AIM.WebService; namespace AIM.WebService { [DataContract] public partial 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 virtual string ApiKey { get; set; } [DataMember] [ApiMember(DataType="string", Name="OAuthToken", ParameterType="header")] public virtual string OAuthToken { get; set; } } [DataContract] public partial class BaseResponse { /// /// /// [DataMember] [ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body")] public virtual BaseResponseResult Status { get; set; } } /// ///GetSchedulingInstructorsRequires active-e Lesson Scheduling Service /// [Route("/GetSchedulingInstructors", "GET")] [DataContract] public partial class GetSchedulingInstructorsRequest : BaseRequest, IReturn { /// ///Instructor ID to lookup. If sent, other parameters will be ignored. /// [DataMember] [ApiMember(DataType="integer", Description="Instructor ID to lookup. If sent, other parameters will be ignored.", Format="int32", Name="InstructorId", ParameterType="query")] public virtual int? InstructorId { get; set; } /// ///If sent, only instructors who teach lessons with the passed grouping will be returned. /// [DataMember] [ApiMember(DataType="integer", Description="If sent, only instructors who teach lessons with the passed grouping will be returned.", Format="int64", Name="GroupingId", ParameterType="query")] public virtual long? GroupingId { get; set; } /// ///If sent, only instructors who teach lessons with the passed type will be returned. /// [DataMember] [ApiMember(DataType="integer", Description="If sent, only instructors who teach lessons with the passed type will be returned.", Format="int64", Name="TypeId", ParameterType="query")] public virtual long? TypeId { get; set; } /// ///If sent, only instructors who have an availability record at the passed location will be returned. /// [DataMember] [ApiMember(DataType="integer", Description="If sent, only instructors who have an availability record at the passed location will be returned.", Format="int64", Name="LocationId", ParameterType="query")] public virtual long? LocationId { get; set; } /// ///If true, basic Availability Info will be included in the response /// [DataMember] [ApiMember(DataType="boolean", Description="If true, basic Availability Info will be included in the response", Name="IncludeAvailabilityInfo", ParameterType="query")] public virtual bool IncludeAvailabilityInfo { get; set; } } [DataContract] public partial class GetSchedulingInstructorsResponse : BaseResponse { public GetSchedulingInstructorsResponse() { Instructors = new List{}; } [DataMember] public virtual List Instructors { get; set; } [DataContract] public partial class InstructorInfo { [DataMember] public virtual int Id { get; set; } [DataMember] public virtual string Name { get; set; } [DataMember] public virtual string Email { get; set; } [DataMember] public virtual string Topic { get; set; } [DataMember] public virtual InstructorAvailabilityInfo AvailabilityInfo { get; set; } public partial class InstructorAvailabilityInfo { [DataMember] public virtual bool Sunday { get; set; } [DataMember] public virtual bool Monday { get; set; } [DataMember] public virtual bool Tuesday { get; set; } [DataMember] public virtual bool Wednesday { get; set; } [DataMember] public virtual bool Thursday { get; set; } [DataMember] public virtual bool Friday { get; set; } [DataMember] public virtual bool Saturday { get; set; } } } } }