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