/* Options: Date: 2024-07-03 13:16:09 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //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: RecurringScheduleIntervalsQuery.* //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 System.Globalization; using System.IO; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/schedules/recurring/intervals", "GET")] [ValidateRequest("IsAuthenticated")] public partial class RecurringScheduleIntervalsQuery : IReturn, ICompany, IInterval { public RecurringScheduleIntervalsQuery() { ResourceIds = new int[]{}; } /// ///Company to show services for /// [ApiMember(Description="Company to show services for", ParameterType="query")] public virtual Guid? CompanyId { get; set; } /// ///From what datetime to show times /// [ApiMember(DataType="dateTime", Description="From what datetime to show times", IsRequired=true, ParameterType="query")] public virtual DateTime From { get; set; } /// ///To what datetime to show times /// [ApiMember(DataType="dateTime", Description="To what datetime to show times", IsRequired=true, ParameterType="query")] public virtual DateTime To { get; set; } /// ///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 virtual int[] ResourceIds { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } public partial class ScheduleIntervalsQueryResponse { public virtual DateTime From { get; set; } public virtual DateTime To { get; set; } public virtual TimeSpan Duration { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } public partial interface IInterval { DateTime From { get; set; } DateTime To { get; set; } } }