' Options: 'Date: 2024-06-26 09:51:54 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://testapi.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: UpdateHomepageSchedulerSettings.* '''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 HomepageScheduleField ''' '''The field id. ''' Public Overridable Property Id As Integer ''' '''If the field showed on the booking. ''' Public Overridable Property ShowOnBooking As Boolean ''' '''If the field showed on the bookings tooltip. ''' Public Overridable Property ShowOnTooltip As Boolean End Class 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 HomepageSchedulerResource ''' '''The resource id. ''' Public Overridable Property Id As Integer 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 HomepageSchedulerService ''' '''The service id. ''' Public Overridable Property Id As Integer 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 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 Public Partial Class UpdateHomepageSchedulerSettings Implements IReturn(Of HomepageSchedulerSettingsQueryResponse) Implements ICompany Public Sub New() Resources = New List(Of HomepageSchedulerResource) Services = New List(Of HomepageSchedulerService) Fields = New List(Of HomepageScheduleField) End Sub ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''If the user schedule is activated. ''' Public Overridable Property Active As Nullable(Of Boolean) ''' '''If the user schedule views id. ''' Public Overridable Property ScheduleViewId As Nullable(Of Integer) ''' '''If the user schedule time slots in minutes. ''' Public Overridable Property ScheduleTimeSlotMinutes As Nullable(Of 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 Nullable(Of Boolean) ''' '''If allow booking in the scheduler. ''' Public Overridable Property EnableBooking As Nullable(Of Boolean) ''' '''What resources you want to be shown in scheduler. ''' Public Overridable Property Resources As List(Of HomepageSchedulerResource) ''' '''What services you want to be shown in scheduler. ''' Public Overridable Property Services As List(Of HomepageSchedulerService) ''' '''What fields you want to be shown in scheduler. ''' Public Overridable Property Fields As List(Of HomepageScheduleField) End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace