- java.lang.Object
-
- java.lang.Enum<UsersOrder.InTeam>
-
- net.bis5.mattermost.client4.model.UsersOrder.InTeam
-
- All Implemented Interfaces:
Serializable,Comparable<UsersOrder.InTeam>
- Enclosing class:
- UsersOrder
public static enum UsersOrder.InTeam extends Enum<UsersOrder.InTeam>
Order in team.- Since:
- Mattermost Server 4.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_ATsort by create_at.LAST_ACTIVITY_ATsort by last_activity_at.NONEsort by username.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSort()static UsersOrder.InTeamvalueOf(String name)Returns the enum constant of this type with the specified name.static UsersOrder.InTeam[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final UsersOrder.InTeam NONE
sort by username.
-
LAST_ACTIVITY_AT
public static final UsersOrder.InTeam LAST_ACTIVITY_AT
sort by last_activity_at.
-
CREATE_AT
public static final UsersOrder.InTeam CREATE_AT
sort by create_at.
-
-
Method Detail
-
values
public static UsersOrder.InTeam[] 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 (UsersOrder.InTeam c : UsersOrder.InTeam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsersOrder.InTeam valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getSort
public String getSort()
-
-