' Options:
'Date: 2024-12-03 18:14:35
'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: ResourceTypeAvailableResourcesQuery.*
'''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 BokaMera.API.ServiceModel.Interfaces
Imports BokaMera.API.ServiceModel.Dtos
Namespace Global
Namespace BokaMera.API.ServiceModel.Dtos
Public Partial Class AvailableResourceResponse
'''
'''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 color in scheduler in hexadecimal color code. Example: #00b0f0 for blue.
'''
Public Overridable Property Color As String
'''
'''The image url of the resource
'''
Public Overridable Property ImageUrl As Uri
End Class
Public Partial Class ResourceTypeAvailableResourcesQuery
Implements IReturn(Of ResourceTypeAvailableResourcesQueryResponse)
Implements ICompany
'''
'''Enter the company and id you want to see the information for a resourcetype, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown
'''
Public Overridable Property CompanyId As Nullable(Of Guid)
'''
'''Enter the id for the booking.
'''
Public Overridable Property Id As Integer
'''
'''Enter the id for a resourcetype.
'''
Public Overridable Property ResourceTypeId As Integer
End Class
Public Partial Class ResourceTypeAvailableResourcesQueryResponse
Public Sub New()
Resources = New List(Of AvailableResourceResponse)
End Sub
'''
'''The resourcetype id
'''
Public Overridable Property Id As Integer
'''
'''The available resources
'''
Public Overridable Property Resources As List(Of AvailableResourceResponse)
End Class
End Namespace
Namespace BokaMera.API.ServiceModel.Interfaces
Public Interface ICompany
Property CompanyId As Nullable(Of Guid)
End Interface
End Namespace
End Namespace