Enum ContactGroup.StatusEnum

java.lang.Object
java.lang.Enum<ContactGroup.StatusEnum>
com.xero.models.accounting.ContactGroup.StatusEnum
All Implemented Interfaces:
Serializable, Comparable<ContactGroup.StatusEnum>, java.lang.constant.Constable
Enclosing class:
ContactGroup

public static enum ContactGroup.StatusEnum
extends Enum<ContactGroup.StatusEnum>
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.
  • Enum Constant Details

  • Method Details

    • values

      public static ContactGroup.StatusEnum[] 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 ContactGroup.StatusEnum 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
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ContactGroup.StatusEnum>
    • fromValue

      public static ContactGroup.StatusEnum fromValue​(String value)