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