Table of Contents

Class WebhookStates

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Known values of State and State. The API may return values that are not listed here, so the state is exposed as a string.

public static class WebhookStates
Inheritance
WebhookStates
Inherited Members

Fields

Disabled

The webhook was disabled by the user.

public const string Disabled = "disabled"

Field Value

string

DisabledDueToFailedDeliveries

The webhook was disabled by the service because deliveries kept failing.

public const string DisabledDueToFailedDeliveries = "disabled_due_to_failed_deliveries"

Field Value

string

Enabled

The webhook is enabled and receives events.

public const string Enabled = "enabled"

Field Value

string