Enum WebhookNotificationType
- java.lang.Object
-
- java.lang.Enum<WebhookNotificationType>
-
- com.streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<WebhookNotificationType>
public enum WebhookNotificationType extends java.lang.Enum<WebhookNotificationType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sdkSettings.organization.webhooks.WebhookNotificationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZEDWEBHOOK_NOTIFICATION_TYPE_MAILWEBHOOK_NOTIFICATION_TYPE_MAIL = 2;WEBHOOK_NOTIFICATION_TYPE_PHONEWEBHOOK_NOTIFICATION_TYPE_PHONE = 1;WEBHOOK_NOTIFICATION_TYPE_UNSETWEBHOOK_NOTIFICATION_TYPE_UNSET = 0;
-
Field Summary
Fields Modifier and Type Field Description static intWEBHOOK_NOTIFICATION_TYPE_MAIL_VALUEWEBHOOK_NOTIFICATION_TYPE_MAIL = 2;static intWEBHOOK_NOTIFICATION_TYPE_PHONE_VALUEWEBHOOK_NOTIFICATION_TYPE_PHONE = 1;static intWEBHOOK_NOTIFICATION_TYPE_UNSET_VALUEWEBHOOK_NOTIFICATION_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WebhookNotificationTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<WebhookNotificationType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static WebhookNotificationTypevalueOf(int value)Deprecated.static WebhookNotificationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WebhookNotificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEBHOOK_NOTIFICATION_TYPE_UNSET
public static final WebhookNotificationType WEBHOOK_NOTIFICATION_TYPE_UNSET
WEBHOOK_NOTIFICATION_TYPE_UNSET = 0;
-
WEBHOOK_NOTIFICATION_TYPE_PHONE
public static final WebhookNotificationType WEBHOOK_NOTIFICATION_TYPE_PHONE
WEBHOOK_NOTIFICATION_TYPE_PHONE = 1;
-
WEBHOOK_NOTIFICATION_TYPE_MAIL
public static final WebhookNotificationType WEBHOOK_NOTIFICATION_TYPE_MAIL
WEBHOOK_NOTIFICATION_TYPE_MAIL = 2;
-
UNRECOGNIZED
public static final WebhookNotificationType UNRECOGNIZED
-
-
Field Detail
-
WEBHOOK_NOTIFICATION_TYPE_UNSET_VALUE
public static final int WEBHOOK_NOTIFICATION_TYPE_UNSET_VALUE
WEBHOOK_NOTIFICATION_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
WEBHOOK_NOTIFICATION_TYPE_PHONE_VALUE
public static final int WEBHOOK_NOTIFICATION_TYPE_PHONE_VALUE
WEBHOOK_NOTIFICATION_TYPE_PHONE = 1;- See Also:
- Constant Field Values
-
WEBHOOK_NOTIFICATION_TYPE_MAIL_VALUE
public static final int WEBHOOK_NOTIFICATION_TYPE_MAIL_VALUE
WEBHOOK_NOTIFICATION_TYPE_MAIL = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static WebhookNotificationType[] 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 (WebhookNotificationType c : WebhookNotificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebhookNotificationType 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 WebhookNotificationType 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 WebhookNotificationType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<WebhookNotificationType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-