Package com.smartsheet.api.models.enums
Enum WebhookStatus
- java.lang.Object
-
- java.lang.Enum<WebhookStatus>
-
- com.smartsheet.api.models.enums.WebhookStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WebhookStatus>
public enum WebhookStatus extends java.lang.Enum<WebhookStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED_ADMINISTRATIVE
Webhook has been disabled by Smartsheet support.DISABLED_APP_REVOKED
Webhook has been disabled because the third-party app associated with the webhook has had its access revoked.DISABLED_BY_OWNER
Webhook has been disabled by the owner.DISABLED_CALLBACK_FAILED
Webhook has been disabled because callback was not successfully delivered to the Callback URL.DISABLED_SCOPE_INACCESSIBLE
Webhook has been disabled because its owner lost access to the corresponding data in SmartsheetDISABLED_VERIFICATION_FAILED
Webhook verification has failed.ENABLED
Webhook is active.NEW_NOT_VERIFIED
Webhook has been created but is not enabled because it has not yet been verified.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WebhookStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WebhookStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final WebhookStatus ENABLED
Webhook is active.
-
NEW_NOT_VERIFIED
public static final WebhookStatus NEW_NOT_VERIFIED
Webhook has been created but is not enabled because it has not yet been verified.
-
DISABLED_BY_OWNER
public static final WebhookStatus DISABLED_BY_OWNER
Webhook has been disabled by the owner.
-
DISABLED_VERIFICATION_FAILED
public static final WebhookStatus DISABLED_VERIFICATION_FAILED
Webhook verification has failed.
-
DISABLED_CALLBACK_FAILED
public static final WebhookStatus DISABLED_CALLBACK_FAILED
Webhook has been disabled because callback was not successfully delivered to the Callback URL.
-
DISABLED_APP_REVOKED
public static final WebhookStatus DISABLED_APP_REVOKED
Webhook has been disabled because the third-party app associated with the webhook has had its access revoked.
-
DISABLED_SCOPE_INACCESSIBLE
public static final WebhookStatus DISABLED_SCOPE_INACCESSIBLE
Webhook has been disabled because its owner lost access to the corresponding data in Smartsheet
-
DISABLED_ADMINISTRATIVE
public static final WebhookStatus DISABLED_ADMINISTRATIVE
Webhook has been disabled by Smartsheet support.
-
-
Method Detail
-
values
public static WebhookStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WebhookStatus c : WebhookStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebhookStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-