UpdateWebhookKey Class

public final class UpdateWebhookKey
extends ExpandableStringEnum<UpdateWebhookKey>

whether to update webhookKey.

Field Summary

Modifier and Type Field and Description
static final UpdateWebhookKey FALSE

No need to update the webhook key.

static final UpdateWebhookKey TRUE

Need update the webhook key.

Constructor Summary

Constructor Description
UpdateWebhookKey()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpdateWebhookKey value.

Method Summary

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

Creates or finds a UpdateWebhookKey from its string representation.

static Collection<UpdateWebhookKey> values()

Gets known UpdateWebhookKey values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FALSE

public static final UpdateWebhookKey FALSE

No need to update the webhook key.

TRUE

public static final UpdateWebhookKey TRUE

Need update the webhook key.

Constructor Details

UpdateWebhookKey

@Deprecated
public UpdateWebhookKey()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpdateWebhookKey value.

Method Details

fromString

public static UpdateWebhookKey fromString(String name)

Creates or finds a UpdateWebhookKey from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UpdateWebhookKey.

values

public static Collection<UpdateWebhookKey> values()

Gets known UpdateWebhookKey values.

Returns:

known UpdateWebhookKey values.

Applies to