/* Options: Date: 2025-05-10 00:00:28 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: GetTimeSlotsRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * GetTimeSlotsRequires active-e Contracts Service, active-e Service Ticket Service, active-e Lesson Scheduling Service, active-e Vortx E-Commerce Service, or active-e 3rd Party E-Commerce Service */ @Route(Path="/GetTimeSlots", Verbs="POST, GET") @DataContract public static class GetTimeSlotsRequest extends BaseRequest implements IReturn { @DataMember public Date DateFrom = null; @DataMember public Date DateTo = null; @DataMember public Date TimeFrom = null; @DataMember public Date TimeTo = null; @DataMember public String Location = null; @DataMember public Boolean ShowOpenSlots = null; @DataMember public Boolean ShowReservedSlots = null; /** * If sent, only Time Slots of the sent type are returned. Valid options are STORE and DELIVERY. */ @DataMember @ApiMember(DataType="string", Description="If sent, only Time Slots of the sent type are returned. Valid options are STORE and DELIVERY.", Name="Type", ParameterType="query") public String Type = null; public Date getDateFrom() { return DateFrom; } public GetTimeSlotsRequest setDateFrom(Date value) { this.DateFrom = value; return this; } public Date getDateTo() { return DateTo; } public GetTimeSlotsRequest setDateTo(Date value) { this.DateTo = value; return this; } public Date getTimeFrom() { return TimeFrom; } public GetTimeSlotsRequest setTimeFrom(Date value) { this.TimeFrom = value; return this; } public Date getTimeTo() { return TimeTo; } public GetTimeSlotsRequest setTimeTo(Date value) { this.TimeTo = value; return this; } public String getLocation() { return Location; } public GetTimeSlotsRequest setLocation(String value) { this.Location = value; return this; } public Boolean isShowOpenSlots() { return ShowOpenSlots; } public GetTimeSlotsRequest setShowOpenSlots(Boolean value) { this.ShowOpenSlots = value; return this; } public Boolean isShowReservedSlots() { return ShowReservedSlots; } public GetTimeSlotsRequest setShowReservedSlots(Boolean value) { this.ShowReservedSlots = value; return this; } public String getType() { return Type; } public GetTimeSlotsRequest setType(String value) { this.Type = value; return this; } private static Object responseType = GetTimeSlotsResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class GetTimeSlotsResponse extends BaseResponse { @DataMember public ArrayList TimeSlots = null; public ArrayList getTimeSlots() { return TimeSlots; } public GetTimeSlotsResponse setTimeSlots(ArrayList value) { this.TimeSlots = 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 TimeSlotGeneric { @DataMember public Long Id = null; @DataMember public Date DateTime = null; @DataMember public Integer SlotsOpen = null; @DataMember public String Location = null; @DataMember public String Type = null; public Long getId() { return Id; } public TimeSlotGeneric setId(Long value) { this.Id = value; return this; } public Date getDateTime() { return DateTime; } public TimeSlotGeneric setDateTime(Date value) { this.DateTime = value; return this; } public Integer getSlotsOpen() { return SlotsOpen; } public TimeSlotGeneric setSlotsOpen(Integer value) { this.SlotsOpen = value; return this; } public String getLocation() { return Location; } public TimeSlotGeneric setLocation(String value) { this.Location = value; return this; } public String getType() { return Type; } public TimeSlotGeneric setType(String value) { this.Type = 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; } } }