' Options: 'Date: 2024-07-03 14:17:47 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: 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 Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class HomepageSchedulerFieldOptionsResponse ''' '''The field id. ''' Public Overridable Property Id As Integer ''' '''The field name. ''' Public Overridable Property Name As String ''' '''The field description. ''' Public Overridable Property Description As String ''' '''The field sort order when listing. ''' Public Overridable Property SortOrder As Integer End Class Public Partial Class HomepageSchedulerFieldResponse ''' '''The field id. ''' Public Overridable Property Id As Integer ''' '''If the field should be shown on booking. ''' Public Overridable Property ShowOnBooking As Boolean ''' '''If the field should be shown on tooltip. ''' Public Overridable Property ShowOnTooltip As Boolean End Class Public Partial Class HomepageSchedulerResourceResponse ''' '''The resource id. ''' Public Overridable Property Id As Integer ''' '''The resource name. ''' Public Overridable Property Name As String ''' '''The resource description. ''' Public Overridable Property Description As String ''' '''The resource image url. ''' Public Overridable Property ImageUrl As Uri End Class Public Partial Class HomepageSchedulerServiceResponse ''' '''The service id. ''' Public Overridable Property Id As Integer ''' '''The service name. ''' Public Overridable Property Name As String ''' '''The service description. ''' Public Overridable Property Description As String ''' '''The service image url. ''' Public Overridable Property ImageUrl As Uri End Class Public Partial Class HomepageSchedulerSettingsQuery Implements IReturn(Of HomepageSchedulerSettingsQueryResponse) Implements ICompany Implements ICompanyRequest ''' '''Enter the company you want to see news for, if blank and you are an admin, your company id will be used ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''If you want to include the services that is connected ''' Public Overridable Property IncludeServices As Boolean ''' '''If you want to include the resources that is connected ''' Public Overridable Property IncludeResources As Boolean ''' '''If you want to include the scheduler fields that is connected ''' Public Overridable Property IncludeFields As Boolean ''' '''If you want to include the service to select from ''' Public Overridable Property IncludeServiceOptions As Boolean ''' '''If you want to include the resources to select from ''' Public Overridable Property IncludeResourceOptions As Boolean ''' '''If you want to include the scheduler fields to select from ''' Public Overridable Property IncludeFieldOptions As Boolean ''' '''If you want to include the schedule views to select from ''' Public Overridable Property IncludeScheduleViewOptions As Boolean ''' '''The homeage sitepath. ''' Public Overridable Property SitePath As String End Class Public Partial Class HomepageSchedulerSettingsQueryResponse Public Sub New() Services = New List(Of HomepageSchedulerServiceResponse) Resources = New List(Of HomepageSchedulerResourceResponse) Fields = New List(Of HomepageSchedulerFieldResponse) FieldOptions = New List(Of HomepageSchedulerFieldOptionsResponse) ScheduleViewOptions = New List(Of ScheduleViewResponse) End Sub ''' '''The company id. ''' Public Overridable Property CompanyId As Guid ''' '''If the user schedule is activated. ''' Public Overridable Property Active As Boolean ''' '''If the user schedule views id. ''' Public Overridable Property ScheduleViewId As Integer ''' '''If the user schedule time slots in minutes. ''' Public Overridable Property ScheduleTimeSlotMinutes As Integer ''' '''If the user schedule time start time. ''' Public Overridable Property StartTime As Nullable(Of TimeSpan) ''' '''If the user schedule time end time. ''' Public Overridable Property EndTime As Nullable(Of TimeSpan) ''' '''If the user schedule should contain time exceptions. ''' Public Overridable Property ShowTimeExceptions As Boolean ''' '''If allow booking in the scheduler. ''' Public Overridable Property EnableBooking As Boolean ''' '''The homepage schedule services that are selected ''' Public Overridable Property Services As List(Of HomepageSchedulerServiceResponse) ''' '''The homepage schedule resources that are selected ''' Public Overridable Property Resources As List(Of HomepageSchedulerResourceResponse) ''' '''The homepage schedule fields that are selected ''' Public Overridable Property Fields As List(Of HomepageSchedulerFieldResponse) ''' '''The homepage schedule fields select from ''' Public Overridable Property FieldOptions As List(Of HomepageSchedulerFieldOptionsResponse) ''' '''The available schedule view options to choose from ''' Public Overridable Property ScheduleViewOptions As List(Of ScheduleViewResponse) End Class Public Partial Class ScheduleViewResponse Public Overridable Property Id As Integer Public Overridable Property Name As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface Public Interface ICompanyRequest Property CompanyId As Nullable(Of Guid) Property SitePath As String End Interface End Namespace End Namespace