Class PreferenceActionV1

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

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

    • PreferenceActionV1

      public PreferenceActionV1()
  • Method Details

    • toSchema

      public Schema toSchema()
      Describe the wire contract.
      Specified by:
      toSchema in interface ToSchema
    • from

      public static PreferenceActionV1 from(UserPreferenceActionMetaData action)
      Map registered action metadata to its public representation.
    • getName

      public String getName()
      Get name.
    • setName

      public void setName(String name)
      Set name.
    • withName

      public PreferenceActionV1 withName(String name)
      With name.
    • getLabel

      public String getLabel()
      Get label.
    • setLabel

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

      public PreferenceActionV1 withLabel(String label)
      With label.
    • getIcon

      public Icon getIcon()
      Get icon.
    • setIcon

      public void setIcon(Icon icon)
      Set icon.
    • withIcon

      public PreferenceActionV1 withIcon(Icon icon)
      With icon.
    • getDescription

      public String getDescription()
      Get description.
    • setDescription

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

      public PreferenceActionV1 withDescription(String description)
      With description.
    • getScope

      public UserPreferenceActionScope getScope()
      Get scope.
    • setScope

      public void setScope(UserPreferenceActionScope scope)
      Set scope.
    • withScope

      With scope.
    • getListName

      public String getListName()
      Get listName.
    • setListName

      public void setListName(String listName)
      Set listName.
    • withListName

      public PreferenceActionV1 withListName(String listName)
      With listName.
    • getConfirmationText

      public String getConfirmationText()
      Get confirmationText.
    • setConfirmationText

      public void setConfirmationText(String confirmationText)
      Set confirmationText.
    • withConfirmationText

      public PreferenceActionV1 withConfirmationText(String confirmationText)
      With confirmationText.
    • getIsDestructive

      public boolean getIsDestructive()
      Get isDestructive.
    • setIsDestructive

      public void setIsDestructive(boolean isDestructive)
      Set isDestructive.
    • withIsDestructive

      public PreferenceActionV1 withIsDestructive(boolean isDestructive)
      With isDestructive.
    • getInputFields

      public List<FieldMetaData> getInputFields()
      Get inputFields.
    • setInputFields

      public void setInputFields(List<FieldMetaData> inputFields)
      Set inputFields.
    • withInputFields

      public PreferenceActionV1 withInputFields(List<FieldMetaData> inputFields)
      With inputFields.
    • getOrder

      public int getOrder()
      Get order.
    • setOrder

      public void setOrder(int order)
      Set order.
    • withOrder

      public PreferenceActionV1 withOrder(int order)
      With order.