Package com.contentstack.sdk
Enum AssetLibrary.ORDERBY
- java.lang.Object
-
- java.lang.Enum<AssetLibrary.ORDERBY>
-
- com.contentstack.sdk.AssetLibrary.ORDERBY
-
- All Implemented Interfaces:
Serializable
,Comparable<AssetLibrary.ORDERBY>
,java.lang.constant.Constable
- Enclosing class:
- AssetLibrary
public static enum AssetLibrary.ORDERBY extends Enum<AssetLibrary.ORDERBY>
Sorting order enum forAssetLibrary
.- Author:
- Contentstack.com, Inc
-
-
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 ASCENDING
DESCENDING
-
Method Summary
Modifier and Type Method Description static AssetLibrary.ORDERBY
valueOf(String name)
Returns the enum constant of this type with the specified name.static AssetLibrary.ORDERBY[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASCENDING
public static final AssetLibrary.ORDERBY ASCENDING
-
DESCENDING
public static final AssetLibrary.ORDERBY DESCENDING
-
-
Method Detail
-
values
public static AssetLibrary.ORDERBY[] 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 AssetLibrary.ORDERBY 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
-
-