public enum WebhookHttpMethod extends Enum<WebhookHttpMethod>
Modifier and Type | Method and Description |
---|---|
static WebhookHttpMethod |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static WebhookHttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebhookHttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebhookHttpMethod POST
public static final WebhookHttpMethod PUT
public static WebhookHttpMethod[] values()
for (WebhookHttpMethod c : WebhookHttpMethod.values()) System.out.println(c);
public static WebhookHttpMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<WebhookHttpMethod>
public static WebhookHttpMethod fromValue(String text)
Copyright © 2022. All rights reserved.