Enum Class PrivacySettingValue

java.lang.Object
java.lang.Enum<PrivacySettingValue>
it.auties.whatsapp.model.privacy.PrivacySettingValue
All Implemented Interfaces:
Serializable, Comparable<PrivacySettingValue>, Constable

public enum PrivacySettingValue extends Enum<PrivacySettingValue>
The constants of this enumerated type describe the various types of preferences that can be toggled for a corresponding setting
  • Enum Constant Details

  • Field Details

    • data

      private final String data
  • Constructor Details

    • PrivacySettingValue

      private PrivacySettingValue(String data)
  • Method Details

    • values

      public static PrivacySettingValue[] 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 PrivacySettingValue 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
    • of

      public static Optional<PrivacySettingValue> of(String id)
    • data

      public String data()