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