/* Options: Date: 2024-07-03 13:36:52 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: HomepageSchedulerSettingsQuery.* //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 { public partial class HomepageSchedulerFieldOptionsResponse { /// ///The field id. /// [ApiMember(Description="The field id.")] public virtual int Id { get; set; } /// ///The field name. /// [ApiMember(Description="The field name.")] public virtual string Name { get; set; } /// ///The field description. /// [ApiMember(Description="The field description.")] public virtual string Description { get; set; } /// ///The field sort order when listing. /// [ApiMember(Description="The field sort order when listing.")] public virtual int SortOrder { get; set; } } public partial class HomepageSchedulerFieldResponse { /// ///The field id. /// [ApiMember(Description="The field id.")] public virtual int Id { get; set; } /// ///If the field should be shown on booking. /// [ApiMember(Description="If the field should be shown on booking.")] public virtual bool ShowOnBooking { get; set; } /// ///If the field should be shown on tooltip. /// [ApiMember(Description="If the field should be shown on tooltip.")] public virtual bool ShowOnTooltip { get; set; } } public partial class HomepageSchedulerResourceResponse { /// ///The resource id. /// [ApiMember(Description="The resource id.")] public virtual int Id { get; set; } /// ///The resource name. /// [ApiMember(Description="The resource name.")] public virtual string Name { get; set; } /// ///The resource description. /// [ApiMember(Description="The resource description.")] public virtual string Description { get; set; } /// ///The resource image url. /// [ApiMember(Description="The resource image url.")] public virtual Uri ImageUrl { get; set; } } public partial class HomepageSchedulerServiceResponse { /// ///The service id. /// [ApiMember(Description="The service id.")] public virtual int Id { get; set; } /// ///The service name. /// [ApiMember(Description="The service name.")] public virtual string Name { get; set; } /// ///The service description. /// [ApiMember(Description="The service description.")] public virtual string Description { get; set; } /// ///The service image url. /// [ApiMember(Description="The service image url.")] public virtual Uri ImageUrl { get; set; } } [Route("/homepage/scheduler/settings", "GET")] public partial class HomepageSchedulerSettingsQuery : IReturn, ICompany, ICompanyRequest { /// ///Enter the company you want to see news for, if blank and you are an admin, your company id will be used /// [ApiMember(Description="Enter the company you want to see news for, if blank and you are an admin, your company id will be used", ParameterType="query")] public virtual Guid? CompanyId { get; set; } /// ///If you want to include the services that is connected /// [ApiMember(DataType="boolean", Description="If you want to include the services that is connected", ParameterType="query")] public virtual bool IncludeServices { get; set; } /// ///If you want to include the resources that is connected /// [ApiMember(DataType="boolean", Description="If you want to include the resources that is connected", ParameterType="query")] public virtual bool IncludeResources { get; set; } /// ///If you want to include the scheduler fields that is connected /// [ApiMember(DataType="boolean", Description="If you want to include the scheduler fields that is connected", ParameterType="query")] public virtual bool IncludeFields { get; set; } /// ///If you want to include the service to select from /// [ApiMember(DataType="boolean", Description="If you want to include the service to select from", ParameterType="query")] public virtual bool IncludeServiceOptions { get; set; } /// ///If you want to include the resources to select from /// [ApiMember(DataType="boolean", Description="If you want to include the resources to select from", ParameterType="query")] public virtual bool IncludeResourceOptions { get; set; } /// ///If you want to include the scheduler fields to select from /// [ApiMember(DataType="boolean", Description="If you want to include the scheduler fields to select from", ParameterType="query")] public virtual bool IncludeFieldOptions { get; set; } /// ///If you want to include the schedule views to select from /// [ApiMember(DataType="boolean", Description="If you want to include the schedule views to select from", ParameterType="query")] public virtual bool IncludeScheduleViewOptions { get; set; } /// ///The homeage sitepath. /// [ApiMember(Description="The homeage sitepath.")] public virtual string SitePath { get; set; } } public partial class HomepageSchedulerSettingsQueryResponse { public HomepageSchedulerSettingsQueryResponse() { Services = new List{}; Resources = new List{}; Fields = new List{}; FieldOptions = new List{}; ScheduleViewOptions = new List{}; } /// ///The company id. /// [ApiMember(Description="The company id.")] public virtual Guid CompanyId { get; set; } /// ///If the user schedule is activated. /// [ApiMember(Description="If the user schedule is activated.")] public virtual bool Active { get; set; } /// ///If the user schedule views id. /// [ApiMember(Description="If the user schedule views id.")] public virtual int ScheduleViewId { get; set; } /// ///If the user schedule time slots in minutes. /// [ApiMember(Description="If the user schedule time slots in minutes.")] public virtual int ScheduleTimeSlotMinutes { get; set; } /// ///If the user schedule time start time. /// [ApiMember(Description="If the user schedule time start time.")] public virtual TimeSpan? StartTime { get; set; } /// ///If the user schedule time end time. /// [ApiMember(Description="If the user schedule time end time.")] public virtual TimeSpan? EndTime { get; set; } /// ///If the user schedule should contain time exceptions. /// [ApiMember(Description="If the user schedule should contain time exceptions.")] public virtual bool ShowTimeExceptions { get; set; } /// ///If allow booking in the scheduler. /// [ApiMember(Description="If allow booking in the scheduler.")] public virtual bool EnableBooking { get; set; } /// ///The homepage schedule services that are selected /// [ApiMember(Description="The homepage schedule services that are selected")] public virtual List Services { get; set; } /// ///The homepage schedule resources that are selected /// [ApiMember(Description="The homepage schedule resources that are selected")] public virtual List Resources { get; set; } /// ///The homepage schedule fields that are selected /// [ApiMember(Description="The homepage schedule fields that are selected")] public virtual List Fields { get; set; } /// ///The homepage schedule fields select from /// [ApiMember(Description="The homepage schedule fields select from")] public virtual List FieldOptions { get; set; } /// ///The available schedule view options to choose from /// [ApiMember(Description="The available schedule view options to choose from")] public virtual List ScheduleViewOptions { get; set; } } public partial class ScheduleViewResponse { public virtual int Id { get; set; } public virtual string Name { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } public partial interface ICompanyRequest { Guid? CompanyId { get; set; } string SitePath { get; set; } } }