Enum Class SortKeys

java.lang.Object
java.lang.Enum<SortKeys>
com.algolia.model.ingestion.SortKeys
All Implemented Interfaces:
Serializable, Comparable<SortKeys>, Constable

public enum SortKeys extends Enum<SortKeys>
Property by which to sort the list.
  • Enum Constant Details

    • NAME

      public static final SortKeys NAME
    • TYPE

      public static final SortKeys TYPE
    • UPDATED_AT

      public static final SortKeys UPDATED_AT
    • CREATED_AT

      public static final SortKeys CREATED_AT
  • Method Details

    • values

      public static SortKeys[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SortKeys valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SortKeys>
    • fromValue

      public static SortKeys fromValue(String value)