/* Options: Date: 2024-11-21 11:55:34 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: RecurringScheduleIntervalsQuery.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/schedules/recurring/intervals", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") public static class RecurringScheduleIntervalsQuery implements IReturn, ICompany, IInterval { /** * Company to show services for */ @ApiMember(Description="Company to show services for", ParameterType="query") public UUID CompanyId = null; /** * From what datetime to show times */ @ApiMember(DataType="dateTime", Description="From what datetime to show times", IsRequired=true, ParameterType="query") public Date From = null; /** * To what datetime to show times */ @ApiMember(DataType="dateTime", Description="To what datetime to show times", IsRequired=true, ParameterType="query") public Date To = null; /** * Here you can select one of the resource, if none is selected it will show available times for all */ @ApiMember(Description="Here you can select one of the resource, if none is selected it will show available times for all", ParameterType="query") public ArrayList ResourceIds = null; public ResponseStatus ResponseStatus = null; public UUID getCompanyId() { return CompanyId; } public RecurringScheduleIntervalsQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } public Date getFrom() { return From; } public RecurringScheduleIntervalsQuery setFrom(Date value) { this.From = value; return this; } public Date getTo() { return To; } public RecurringScheduleIntervalsQuery setTo(Date value) { this.To = value; return this; } public ArrayList getResourceIds() { return ResourceIds; } public RecurringScheduleIntervalsQuery setResourceIds(ArrayList value) { this.ResourceIds = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public RecurringScheduleIntervalsQuery setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } private static Object responseType = ScheduleIntervalsQueryResponse.class; public Object getResponseType() { return responseType; } } public static class ScheduleIntervalsQueryResponse { public Date From = null; public Date To = null; public TimeSpan Duration = null; public Date getFrom() { return From; } public ScheduleIntervalsQueryResponse setFrom(Date value) { this.From = value; return this; } public Date getTo() { return To; } public ScheduleIntervalsQueryResponse setTo(Date value) { this.To = value; return this; } public TimeSpan getDuration() { return Duration; } public ScheduleIntervalsQueryResponse setDuration(TimeSpan value) { this.Duration = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static interface IInterval { public Date From = null; public Date To = null; } }