Class WebhookStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<WebhookStatus>
com.azure.resourcemanager.containerregistry.models.WebhookStatus
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The status of the webhook at the time the operation was called.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WebhookStatusStatic value disabled for WebhookStatus.static final WebhookStatusStatic value enabled for WebhookStatus. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WebhookStatusfromString(String name) Creates or finds a WebhookStatus from its string representation.static Collection<WebhookStatus> values()Gets known WebhookStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Static value enabled for WebhookStatus. -
DISABLED
Static value disabled for WebhookStatus.
-
-
Constructor Details
-
WebhookStatus
Deprecated.Use thefromString(String)factory method.Creates a new instance of WebhookStatus value.
-
-
Method Details
-
fromString
Creates or finds a WebhookStatus from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding WebhookStatus.
-
values
Gets known WebhookStatus values.- Returns:
- known WebhookStatus values.
-
fromString(String)factory method.