' Options: 'Date: 2024-07-03 12:54:16 '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: DeleteResourceTimeException.* '''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 DayOfWeekDto Public Overridable Property DayOfWeekId As Integer Public Overridable Property DotNetDayOfWeekId As Integer Public Overridable Property DayOfWeek As String End Class Public Partial Class DeleteResourceTimeException Implements IReturn(Of ResourceTimeExceptionQueryResponse) 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) ''' '''Time exception id to be deleted ''' Public Overridable Property Id As Integer End Class Public Partial Class ExceptionCalendarExportStatus Public Overridable Property CalendarId As String Public Overridable Property ExceptionId As Integer Public Overridable Property Synced As Nullable(Of Boolean) End Class Public Partial Class ResourceTimeExceptionQueryResponse Public Sub New() ResourceIds = New Integer(){} Resources = New List(Of TimeExceptionReosurceDetails) DaysOfWeek = New List(Of DayOfWeekDto) End Sub ''' '''Time exception id ''' Public Overridable Property Id As Integer ''' '''Time company id ''' Public Overridable Property CompanyId As Guid ''' '''If it's locked for editing for the logged in administrator ''' Public Overridable Property Locked As Boolean ''' '''Resources that owns this exception ''' Public Overridable Property ResourceIds As Integer() ''' '''Resources that owns this exception ''' Public Overridable Property Resources As List(Of TimeExceptionReosurceDetails) ''' '''Indicates wheter or not the time exception is recurring ''' Public Overridable Property IsRecurring As Boolean ''' '''Time exception starting timestamp ''' Public Overridable Property From As Date ''' '''Time exception ending timestamp ''' Public Overridable Property To As Date ''' '''If recurring then this value indicates the time of day when the time exception begins ''' Public Overridable Property FromTime As TimeSpan ''' '''If recurring then this value indicates the time of day when the time exception ends ''' Public Overridable Property ToTime As TimeSpan ''' '''The reason of the time exception, example: Vacation, doctors appointment, ... ''' Public Overridable Property ReasonText As String ''' '''The reason of the time exception that could be public to customers, example: Vacation, Closed, Sick leave, ... ''' Public Overridable Property ReasonTextPublic As String ''' '''What hexadecimal color code the exception should have in the scheduler ''' Public Overridable Property Color As String ''' '''If the time exception should block the time in the scheduler so it's not avaialable to book ''' Public Overridable Property BlockTime As Boolean ''' '''If the ReasonText should only be visible to conncted resources. If false, all resources will be able to see it ''' Public Overridable Property Private As Boolean ''' '''The status for export to calendars like Gcal ''' Public Overridable Property CalendarExportStatus As ExceptionCalendarExportStatus ''' '''If recurring, an array indicating which days of the week the exception recures on where 1 = Monday .. 7 = Sunday. When recurring then the time portion of the Fields From and To indicates the time of day the recurrence occurs ''' Public Overridable Property DaysOfWeek As List(Of DayOfWeekDto) ''' '''The datetime the exception was created ''' Public Overridable Property Created As Date Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class TimeExceptionReosurceDetails ''' '''Ids of the resources that owns this exception ''' Public Overridable Property Id As Integer ''' '''Name of the resource ''' Public Overridable Property Name As String ''' '''Description of the resource ''' Public Overridable Property Description As String ''' '''Color of the resource ''' Public Overridable Property Color As String ''' '''Image of the resource ''' Public Overridable Property ImageUrl As Uri Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace