Class PreferenceRowV1

java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.PreferenceRowV1
All Implemented Interfaces:
ToSchema

public class PreferenceRowV1 extends Object implements ToSchema
PreferenceRowV1 in the user preferences API.
  • Constructor Details

    • PreferenceRowV1

      public PreferenceRowV1()
  • Method Details

    • toSchema

      public Schema toSchema()
      A provider-owned row. Clients change row membership only through registered actions.
      Specified by:
      toSchema in interface ToSchema
    • from

      public static PreferenceRowV1 from(UserPreferenceRow row)
      Map a provider row into the wire contract.
    • getKey

      public String getKey()
      Get key.
    • setKey

      public void setKey(String key)
      Set key.
    • withKey

      public PreferenceRowV1 withKey(String key)
      With key.
    • getLabel

      public String getLabel()
      Get label.
    • setLabel

      public void setLabel(String label)
      Set label.
    • withLabel

      public PreferenceRowV1 withLabel(String label)
      With label.
    • getDescription

      public String getDescription()
      Get description.
    • setDescription

      public void setDescription(String description)
      Set description.
    • withDescription

      public PreferenceRowV1 withDescription(String description)
      With description.
    • getValues

      public Map<String,Serializable> getValues()
      Get values.
    • setValues

      public void setValues(Map<String,Serializable> values)
      Set values.
    • withValues

      public PreferenceRowV1 withValues(Map<String,Serializable> values)
      With values.
    • getReadOnlyFields

      public List<String> getReadOnlyFields()
      Get readOnlyFields.
    • setReadOnlyFields

      public void setReadOnlyFields(List<String> readOnlyFields)
      Set readOnlyFields.
    • withReadOnlyFields

      public PreferenceRowV1 withReadOnlyFields(List<String> readOnlyFields)
      With readOnlyFields.
    • getReadOnlyReason

      public String getReadOnlyReason()
      Get readOnlyReason.
    • setReadOnlyReason

      public void setReadOnlyReason(String readOnlyReason)
      Set readOnlyReason.
    • withReadOnlyReason

      public PreferenceRowV1 withReadOnlyReason(String readOnlyReason)
      With readOnlyReason.
    • getActionNames

      public List<String> getActionNames()
      Get actionNames.
    • setActionNames

      public void setActionNames(List<String> actionNames)
      Set actionNames.
    • withActionNames

      public PreferenceRowV1 withActionNames(List<String> actionNames)
      With actionNames.