Class Preference

  • All Implemented Interfaces:

    @JsonClass(generateAdapter = true) 
    public final class Preference
    
                        

    A specific preference.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getId() The unique id of the preference
      final Unit setId(@Json(name = "id") String id) The unique id of the preference
      final String getValue() The value of the preference.
      final Unit setValue(@Json(name = "value") String value) The value of the preference.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getId

         final String getId()

        The unique id of the preference

      • setId

         final Unit setId(@Json(name = "id") String id)

        The unique id of the preference

      • getValue

         final String getValue()

        The value of the preference. Note that this can be of any JSON type.

      • setValue

         final Unit setValue(@Json(name = "value") String value)

        The value of the preference. Note that this can be of any JSON type.