Package io.getstream.chat.java.models
Enum Channel.ChannelBatchOperation
- java.lang.Object
-
- java.lang.Enum<Channel.ChannelBatchOperation>
-
- io.getstream.chat.java.models.Channel.ChannelBatchOperation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Channel.ChannelBatchOperation>
- Enclosing class:
- Channel
public static enum Channel.ChannelBatchOperation extends java.lang.Enum<Channel.ChannelBatchOperation>
Channel batch operation types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_FILTER_TAGSADD_MEMBERSADD_MODERATORSARCHIVEASSIGN_ROLESDEMOTE_MODERATORSHIDEINVITE_MEMBERSREMOVE_FILTER_TAGSREMOVE_MEMBERSSHOWUNARCHIVEUPDATE_DATA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Channel.ChannelBatchOperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Channel.ChannelBatchOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_MEMBERS
public static final Channel.ChannelBatchOperation ADD_MEMBERS
-
REMOVE_MEMBERS
public static final Channel.ChannelBatchOperation REMOVE_MEMBERS
-
INVITE_MEMBERS
public static final Channel.ChannelBatchOperation INVITE_MEMBERS
-
ASSIGN_ROLES
public static final Channel.ChannelBatchOperation ASSIGN_ROLES
-
ADD_MODERATORS
public static final Channel.ChannelBatchOperation ADD_MODERATORS
-
DEMOTE_MODERATORS
public static final Channel.ChannelBatchOperation DEMOTE_MODERATORS
-
HIDE
public static final Channel.ChannelBatchOperation HIDE
-
SHOW
public static final Channel.ChannelBatchOperation SHOW
-
ARCHIVE
public static final Channel.ChannelBatchOperation ARCHIVE
-
UNARCHIVE
public static final Channel.ChannelBatchOperation UNARCHIVE
-
UPDATE_DATA
public static final Channel.ChannelBatchOperation UPDATE_DATA
-
ADD_FILTER_TAGS
public static final Channel.ChannelBatchOperation ADD_FILTER_TAGS
-
REMOVE_FILTER_TAGS
public static final Channel.ChannelBatchOperation REMOVE_FILTER_TAGS
-
-
Method Detail
-
values
public static Channel.ChannelBatchOperation[] 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 (Channel.ChannelBatchOperation c : Channel.ChannelBatchOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Channel.ChannelBatchOperation 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
-
-