Enum WebhookEvent
- java.lang.Object
-
- java.lang.Enum<WebhookEvent>
-
- com.streamlayer.sdkSettings.organization.webhooks.WebhookEvent
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<WebhookEvent>
public enum WebhookEvent extends java.lang.Enum<WebhookEvent> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sdkSettings.organization.webhooks.WebhookEvent
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZEDWEBHOOK_EVENT_CLICK_ADDITIONAL_BANNERWEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER = 2;WEBHOOK_EVENT_CLICK_BANNERWEBHOOK_EVENT_CLICK_BANNER = 1;WEBHOOK_EVENT_CLICK_BUTTONWEBHOOK_EVENT_CLICK_BUTTON = 3;WEBHOOK_EVENT_CLICK_SECONDARY_BUTTONWEBHOOK_EVENT_CLICK_SECONDARY_BUTTON = 4;WEBHOOK_EVENT_UNSETWEBHOOK_EVENT_UNSET = 0;
-
Field Summary
Fields Modifier and Type Field Description static intWEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER_VALUEWEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER = 2;static intWEBHOOK_EVENT_CLICK_BANNER_VALUEWEBHOOK_EVENT_CLICK_BANNER = 1;static intWEBHOOK_EVENT_CLICK_BUTTON_VALUEWEBHOOK_EVENT_CLICK_BUTTON = 3;static intWEBHOOK_EVENT_CLICK_SECONDARY_BUTTON_VALUEWEBHOOK_EVENT_CLICK_SECONDARY_BUTTON = 4;static intWEBHOOK_EVENT_UNSET_VALUEWEBHOOK_EVENT_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WebhookEventforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<WebhookEvent>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static WebhookEventvalueOf(int value)Deprecated.static WebhookEventvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WebhookEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEBHOOK_EVENT_UNSET
public static final WebhookEvent WEBHOOK_EVENT_UNSET
WEBHOOK_EVENT_UNSET = 0;
-
WEBHOOK_EVENT_CLICK_BANNER
public static final WebhookEvent WEBHOOK_EVENT_CLICK_BANNER
WEBHOOK_EVENT_CLICK_BANNER = 1;
-
WEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER
public static final WebhookEvent WEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER
WEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER = 2;
-
WEBHOOK_EVENT_CLICK_BUTTON
public static final WebhookEvent WEBHOOK_EVENT_CLICK_BUTTON
WEBHOOK_EVENT_CLICK_BUTTON = 3;
-
WEBHOOK_EVENT_CLICK_SECONDARY_BUTTON
public static final WebhookEvent WEBHOOK_EVENT_CLICK_SECONDARY_BUTTON
WEBHOOK_EVENT_CLICK_SECONDARY_BUTTON = 4;
-
UNRECOGNIZED
public static final WebhookEvent UNRECOGNIZED
-
-
Field Detail
-
WEBHOOK_EVENT_UNSET_VALUE
public static final int WEBHOOK_EVENT_UNSET_VALUE
WEBHOOK_EVENT_UNSET = 0;- See Also:
- Constant Field Values
-
WEBHOOK_EVENT_CLICK_BANNER_VALUE
public static final int WEBHOOK_EVENT_CLICK_BANNER_VALUE
WEBHOOK_EVENT_CLICK_BANNER = 1;- See Also:
- Constant Field Values
-
WEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER_VALUE
public static final int WEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER_VALUE
WEBHOOK_EVENT_CLICK_ADDITIONAL_BANNER = 2;- See Also:
- Constant Field Values
-
WEBHOOK_EVENT_CLICK_BUTTON_VALUE
public static final int WEBHOOK_EVENT_CLICK_BUTTON_VALUE
WEBHOOK_EVENT_CLICK_BUTTON = 3;- See Also:
- Constant Field Values
-
WEBHOOK_EVENT_CLICK_SECONDARY_BUTTON_VALUE
public static final int WEBHOOK_EVENT_CLICK_SECONDARY_BUTTON_VALUE
WEBHOOK_EVENT_CLICK_SECONDARY_BUTTON = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static WebhookEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WebhookEvent c : WebhookEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebhookEvent valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static WebhookEvent valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static WebhookEvent forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<WebhookEvent> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-