Package com.streamlayer.studio.users
Enum UpdateRequest.NotificationPreferenceCase
- java.lang.Object
-
- java.lang.Enum<UpdateRequest.NotificationPreferenceCase>
-
- com.streamlayer.studio.users.UpdateRequest.NotificationPreferenceCase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UpdateRequest.NotificationPreferenceCase>
- Enclosing class:
- UpdateRequest
public static enum UpdateRequest.NotificationPreferenceCase extends java.lang.Enum<UpdateRequest.NotificationPreferenceCase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEL_NOTIFICATION_PREFERENCENOTIFICATIONPREFERENCE_NOT_SETSET_NOTIFICATION_PREFERENCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UpdateRequest.NotificationPreferenceCaseforNumber(int value)intgetNumber()static UpdateRequest.NotificationPreferenceCasevalueOf(int value)Deprecated.static UpdateRequest.NotificationPreferenceCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UpdateRequest.NotificationPreferenceCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SET_NOTIFICATION_PREFERENCE
public static final UpdateRequest.NotificationPreferenceCase SET_NOTIFICATION_PREFERENCE
-
DEL_NOTIFICATION_PREFERENCE
public static final UpdateRequest.NotificationPreferenceCase DEL_NOTIFICATION_PREFERENCE
-
NOTIFICATIONPREFERENCE_NOT_SET
public static final UpdateRequest.NotificationPreferenceCase NOTIFICATIONPREFERENCE_NOT_SET
-
-
Method Detail
-
values
public static UpdateRequest.NotificationPreferenceCase[] 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 (UpdateRequest.NotificationPreferenceCase c : UpdateRequest.NotificationPreferenceCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateRequest.NotificationPreferenceCase 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
-
valueOf
@Deprecated public static UpdateRequest.NotificationPreferenceCase 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 UpdateRequest.NotificationPreferenceCase forNumber(int value)
-
getNumber
public int getNumber()
-
-