public static enum WebhookTestRequest.MethodEnum extends Enum<WebhookTestRequest.MethodEnum>
Modifier and Type | Class and Description |
---|---|
static class |
WebhookTestRequest.MethodEnum.Adapter |
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static WebhookTestRequest.MethodEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static WebhookTestRequest.MethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebhookTestRequest.MethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebhookTestRequest.MethodEnum GET
public static final WebhookTestRequest.MethodEnum HEAD
public static final WebhookTestRequest.MethodEnum POST
public static final WebhookTestRequest.MethodEnum PUT
public static final WebhookTestRequest.MethodEnum PATCH
public static final WebhookTestRequest.MethodEnum DELETE
public static final WebhookTestRequest.MethodEnum OPTIONS
public static final WebhookTestRequest.MethodEnum TRACE
public static WebhookTestRequest.MethodEnum[] values()
for (WebhookTestRequest.MethodEnum c : WebhookTestRequest.MethodEnum.values()) System.out.println(c);
public static WebhookTestRequest.MethodEnum 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<WebhookTestRequest.MethodEnum>
public static WebhookTestRequest.MethodEnum fromValue(String value)
Copyright © 2023. All rights reserved.