다음을 통해 공유


WebhookStatus Class

public final class WebhookStatus
extends ExpandableStringEnum<WebhookStatus>

The status of the webhook at the time the operation was called.

Field Summary

Modifier and Type Field and Description
static final WebhookStatus DISABLED

Static value disabled for WebhookStatus.

static final WebhookStatus ENABLED

Static value enabled for WebhookStatus.

Constructor Summary

Constructor Description
WebhookStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebhookStatus value.

Method Summary

Modifier and Type Method and Description
static WebhookStatus fromString(String name)

Creates or finds a WebhookStatus from its string representation.

static Collection<WebhookStatus> values()

Gets known WebhookStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final WebhookStatus DISABLED

Static value disabled for WebhookStatus.

ENABLED

public static final WebhookStatus ENABLED

Static value enabled for WebhookStatus.

Constructor Details

WebhookStatus

@Deprecated
public WebhookStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebhookStatus value.

Method Details

fromString

public static WebhookStatus fromString(String name)

Creates or finds a WebhookStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WebhookStatus.

values

public static Collection values()

Gets known WebhookStatus values.

Returns:

known WebhookStatus values.

Applies to