WebhookActivityMethod Class

public final class WebhookActivityMethod
extends ExpandableStringEnum<WebhookActivityMethod>

The list of HTTP methods supported by a WebHook activity.

Field Summary

Modifier and Type Field and Description
static final WebhookActivityMethod POST

Static value POST for WebhookActivityMethod.

Constructor Summary

Constructor Description
WebhookActivityMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebhookActivityMethod value.

Method Summary

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

Creates or finds a WebhookActivityMethod from its string representation.

static Collection<WebhookActivityMethod> values()

Gets known WebhookActivityMethod values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

POST

public static final WebhookActivityMethod POST

Static value POST for WebhookActivityMethod.

Constructor Details

WebhookActivityMethod

@Deprecated
public WebhookActivityMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebhookActivityMethod value.

Method Details

fromString

public static WebhookActivityMethod fromString(String name)

Creates or finds a WebhookActivityMethod from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WebhookActivityMethod.

values

public static Collection<WebhookActivityMethod> values()

Gets known WebhookActivityMethod values.

Returns:

known WebhookActivityMethod values.

Applies to