GitHubModelFactory.WebhookRequestBody Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of WebhookRequestBody(Nullable<Boolean>, String, Nullable<JsonElement>, List<String>).
public static Azure.Connectors.Sdk.GitHub.Models.WebhookRequestBody WebhookRequestBody(bool? stateOfTheTrigger = default, string nameOfTheTrigger = default, System.Text.Json.JsonElement? config = default, System.Collections.Generic.List<string> webhookEventsToListenOn = default);
static member WebhookRequestBody : Nullable<bool> * string * Nullable<System.Text.Json.JsonElement> * System.Collections.Generic.List<string> -> Azure.Connectors.Sdk.GitHub.Models.WebhookRequestBody
Public Shared Function WebhookRequestBody (Optional stateOfTheTrigger As Nullable(Of Boolean) = Nothing, Optional nameOfTheTrigger As String = Nothing, Optional config As Nullable(Of JsonElement) = Nothing, Optional webhookEventsToListenOn As List(Of String) = Nothing) As WebhookRequestBody
Parameters
- nameOfTheTrigger
- String
- config
- Nullable<JsonElement>