DeliveryStatus Class

public final class DeliveryStatus
extends ExpandableStringEnum<DeliveryStatus>

webhook deliveryStatus.

Field Summary

Modifier and Type Field and Description
static final DeliveryStatus FAILED

The webhook is failed to deliver.

static final DeliveryStatus NOT_STARTED

The webhook is not delivered.

static final DeliveryStatus SUCCEEDED

The webhook is delivered successfully.

Constructor Summary

Constructor Description
DeliveryStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeliveryStatus value.

Method Summary

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

Creates or finds a DeliveryStatus from its string representation.

static Collection<DeliveryStatus> values()

Gets known DeliveryStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FAILED

public static final DeliveryStatus FAILED

The webhook is failed to deliver.

NOT_STARTED

public static final DeliveryStatus NOT_STARTED

The webhook is not delivered.

SUCCEEDED

public static final DeliveryStatus SUCCEEDED

The webhook is delivered successfully.

Constructor Details

DeliveryStatus

@Deprecated
public DeliveryStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeliveryStatus value.

Method Details

fromString

public static DeliveryStatus fromString(String name)

Creates or finds a DeliveryStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DeliveryStatus.

values

public static Collection<DeliveryStatus> values()

Gets known DeliveryStatus values.

Returns:

known DeliveryStatus values.

Applies to