' Options: 'Date: 2024-11-23 09:18:51 '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: RemoveResource.* '''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.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class RemoveResource Implements IReturn(Of ResourceTypeQueryResponse) Implements ICompany Public Sub New() Resources = New List(Of RemoveResourceTypeResource) 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) ''' '''The ResourceType id ''' Public Overridable Property Id As Integer ''' '''The resources to be removed ''' Public Overridable Property Resources As List(Of RemoveResourceTypeResource) End Class Public Partial Class RemoveResourceTypeResource ''' '''The resource id ''' Public Overridable Property Id As Integer End Class Public Partial Class ResourceTypeQueryResponse Public Sub New() Resources = New List(Of ResourceTypeResource) End Sub ''' '''The resourcetype id ''' Public Overridable Property Id As Integer ''' '''The resourcetype name ''' Public Overridable Property Name As String ''' '''The resourcetype description ''' Public Overridable Property Description As String ''' '''The resources in the resourcetype. Only shows active resources if not admin. ''' Public Overridable Property Resources As List(Of ResourceTypeResource) ''' '''If resourcetype is active or not ''' Public Overridable Property Active As Boolean ''' '''Then date when the resource was created ''' Public Overridable Property Created As Date ''' '''Then date when the resource was updated ''' Public Overridable Property Updated As Date End Class Public Partial Class ResourceTypeResource ''' '''The resource id ''' Public Overridable Property Id As Integer ''' '''The resource name ''' Public Overridable Property Name As String ''' '''The resource status ''' Public Overridable Property Active As Boolean ''' '''The resource description ''' Public Overridable Property Description As String ''' '''The resource email ''' Public Overridable Property Email As String ''' '''The resource phone ''' Public Overridable Property Phone As String ''' '''The resource color ''' Public Overridable Property Color As String ''' '''The resource image ''' Public Overridable Property ImageUrl As Uri ''' '''The priority of the resource ''' Public Overridable Property Priority As Integer ''' '''If the resource want to receive email notifications ''' Public Overridable Property EmailNotification As Boolean ''' '''If the resource want to receive sms notifications ''' Public Overridable Property SMSNotification As Boolean ''' '''If the resource want to receive email reminders ''' Public Overridable Property EmailReminder As Boolean ''' '''If the resource want to receive sms reminders ''' Public Overridable Property SMSReminder As Boolean End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace