Enum UnmuteTopicInMutedStreamsPolicy
java.lang.Object
java.lang.Enum<UnmuteTopicInMutedStreamsPolicy>
com.github.jamesnetherton.zulip.client.api.server.UnmuteTopicInMutedStreamsPolicy
- All Implemented Interfaces:
Serializable
,Comparable<UnmuteTopicInMutedStreamsPolicy>
Defines the policy for unmute topic in muted streams.
See https://zulip.com/api/update-realm-user-settings-defaults#parameter-automatically_unmute_topics_in_muted_streams_policy
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNever.Topics the user participates in.Topics the user sends a message to.Unknown policy.Topics the user starts. -
Method Summary
Modifier and TypeMethodDescriptionfromInt
(int id) int
getId()
Returns the enum constant of this type with the specified name.static UnmuteTopicInMutedStreamsPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PARTICIPATING
Topics the user participates in. -
SENT_MESSAGE
Topics the user sends a message to. -
USER_STARTED
Topics the user starts. -
NEVER
Never. -
UNKNOWN
Unknown policy.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public int getId() -
fromInt
-