' Options: 'Date: 2025-01-18 08:53:48 '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: UpdateWebhookEndpoint.* '''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 UpdateWebhookEndpoint Implements IReturn(Of WebhookEndpoint) Implements ICompany Public Sub New() EventTypes = New List(Of String) 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 webhook endpoint URL. ''' Public Overridable Property Url As String ''' '''The ID of the webhook endpoint. ''' Public Overridable Property Id As String ''' '''List of event types. At least one event type is required. ''' Public Overridable Property EventTypes As List(Of String) Public Overridable Property Description As String Public Overridable Property Disabled As Boolean End Class Public Partial Class WebhookEndpoint Public Sub New() EventTypes = New List(Of String) End Sub Public Overridable Property Description As String Public Overridable Property Url As String Public Overridable Property Id As String Public Overridable Property Disabled As Boolean Public Overridable Property EventTypes As List(Of 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