Enum WorkspaceProjectQuerySort
- java.lang.Object
-
- java.lang.Enum<WorkspaceProjectQuerySort>
-
- ch.brix.gql.client.frontify.enums.WorkspaceProjectQuerySort
-
- All Implemented Interfaces:
Serializable,Comparable<WorkspaceProjectQuerySort>,java.lang.constant.Constable
public enum WorkspaceProjectQuerySort extends Enum<WorkspaceProjectQuerySort>
Query sorting option. Defines how the search results should be sorted.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEWESTSorts the results by the newest entry.NEWEST_ACTIVITYSorts the results by the newest activity entry.OLDESTSorts the results by the oldest entry`.OLDEST_ACTIVITYSorts the results by the oldest activity entry.
-
Method Summary
Modifier and Type Method Description StringtoString()static WorkspaceProjectQuerySortvalueOf(String name)Returns the enum constant of this type with the specified name.static WorkspaceProjectQuerySort[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEWEST
@SerializedName("NEWEST") public static final WorkspaceProjectQuerySort NEWESTSorts the results by the newest entry.
-
OLDEST
@SerializedName("OLDEST") public static final WorkspaceProjectQuerySort OLDESTSorts the results by the oldest entry`.
-
NEWEST_ACTIVITY
@SerializedName("NEWEST_ACTIVITY") public static final WorkspaceProjectQuerySort NEWEST_ACTIVITYSorts the results by the newest activity entry.
-
OLDEST_ACTIVITY
@SerializedName("OLDEST_ACTIVITY") public static final WorkspaceProjectQuerySort OLDEST_ACTIVITYSorts the results by the oldest activity entry.
-
-
Method Detail
-
values
public static WorkspaceProjectQuerySort[] 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
public static WorkspaceProjectQuerySort 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<WorkspaceProjectQuerySort>
-
-