' Options: 'Date: 2024-10-18 17:18:12 'Version: 6.110 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://reportfiling.pwc.de ' '''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: DeleteWebhookSubscriptionAsync.* '''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.Xml.Schema Imports System.Net Imports PwC.Elmaas.Core.Services.Contracts.Webhooks.Requests Imports ServiceStack.Webhooks.ServiceModel.Types Imports PwC.Elmaas.Core.Services.Contracts.Webhooks.Responses Namespace Global Namespace PwC.Elmaas.Core.Services.Contracts.Webhooks.Requests ''' '''Represents a request to delete a webhook subscription in an asynchronous operation. ''' Public Partial Class DeleteWebhookSubscriptionAsync Inherits DeleteWebhookSubscriptionBase Implements IReturn(Of SubscriptionResponse) End Class ''' '''Specifies a request to delete a webhook subscription. ''' Public Partial Class DeleteWebhookSubscriptionBase Implements IPost ''' '''The unique identifier of the subscriber. ''' Public Overridable Property Id As String ''' '''The secret of the to-be-deleted webhook subscription. This secret is used to authenticate the owner of the webhook subscription. ''' Public Overridable Property Secret As String End Class End Namespace Namespace PwC.Elmaas.Core.Services.Contracts.Webhooks.Responses ''' '''Represents a service response that encapsulates a webhook subscription. ''' Public Partial Class SubscriptionResponse Public Sub New() History = New List(Of SubscriptionDeliveryResult) End Sub ''' '''The encapsulated webhook subscription of the response. The secret of the webhook subscription is encrypted and can only be decrypted by the owner of the private key. ''' Public Overridable Property Subscription As WebhookSubscription ''' '''The history of the subscription event. ''' Public Overridable Property History As List(Of SubscriptionDeliveryResult) ''' '''The status of the response. ''' Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace ServiceStack.Webhooks.ServiceModel.Types Public Partial Class SubscriptionConfig Public Overridable Property Url As String Public Overridable Property ContentType As String Public Overridable Property Secret As String End Class Public Partial Class SubscriptionDeliveryResult Public Overridable Property AttemptedDateUtc As Date Public Overridable Property StatusDescription As String Public Overridable Property StatusCode As HttpStatusCode Public Overridable Property SubscriptionId As String Public Overridable Property Id As String Public Overridable Property EventId As String End Class Public Partial Class WebhookSubscription Public Overridable Property Id As String Public Overridable Property Name As String Public Overridable Property Event As String Public Overridable Property IsActive As Boolean Public Overridable Property CreatedDateUtc As Date Public Overridable Property CreatedById As String Public Overridable Property LastModifiedDateUtc As Date Public Overridable Property Config As SubscriptionConfig End Class End Namespace End Namespace