Enum ListingStatus

java.lang.Object
java.lang.Enum<ListingStatus>
com.amilesend.discogs.model.type.ListingStatus
All Implemented Interfaces:
Serializable, Comparable<ListingStatus>

public enum ListingStatus extends Enum<ListingStatus>
Defines the listing status types.
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static ListingStatus[] 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 ListingStatus 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 name
      NullPointerException - if the argument is null
    • fromValue

      public static ListingStatus fromValue(String value)
      Gets the ListingStatus enum reference from the given value.
      Parameters:
      value - the value
      Returns:
      the search type, or null if none exist
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ListingStatus>
    • getValue

      public String getValue()
      The query parameter attribute value.