' Options: 'Date: 2024-11-21 11:54:19 '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: CodeLockSettingQuery.* '''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 ServiceStack.Data Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class CodeLockSettingQuery Implements IReturn(Of CodeLockSettingResponse) Implements ICompany ''' '''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 you want to include code locks that is supported. ''' Public Overridable Property IncludeCodeLockSystemOptions As Boolean End Class Public Partial Class CodeLockSettingResponse Public Sub New() CodeLockSystemOptions = New List(Of CodeLockSystemResponse) End Sub Public Overridable Property CompanyId As Guid ''' '''The system type of the code lock ''' Public Overridable Property CodeLockSystemsId As Integer ''' '''If code lock sync is active ''' Public Overridable Property Active As Boolean ''' '''Number of minutes the access should be valid before booking starts. ''' Public Overridable Property ValidBeforeMinutes As Integer ''' '''Number of minutes the access should be valid after booking ends. ''' Public Overridable Property ValidAfterMinutes As Integer ''' '''If it should clean up old bookings after the passed ''' Public Overridable Property DeleteOldBySchedule As Boolean ''' '''If a notification should be sent by Email ''' Public Overridable Property SendEmailNotification As Boolean ''' '''If a notification should be sent by SMS ''' Public Overridable Property SendSMSNotification As Boolean ''' '''How long before the booking starts in minutes the notification should be sent ''' Public Overridable Property EmailNotificationTime As Integer ''' '''How long before the booking starts in minutes the notification should be sent ''' Public Overridable Property SMSNotificationTime As Integer ''' '''When settings was created ''' Public Overridable Property Created As Date ''' '''When settings was updated ''' Public Overridable Property Updated As Date ''' '''The available code lock systems to choose from ''' Public Overridable Property CodeLockSystemOptions As List(Of CodeLockSystemResponse) End Class Public Partial Class CodeLockSystemResponse ''' '''The system type of the code lock ''' Public Overridable Property Id As Integer ''' '''The name of the code lock system ''' Public Overridable Property Name As String ''' '''The description of the code lock system ''' Public Overridable Property Description As String ''' '''The logotype of the code lock system ''' Public Overridable Property LogoType As Uri ''' '''The supplier name of the code lock system ''' Public Overridable Property Supplier As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace