Class ChoiceListValue

java.lang.Object
org.tailormap.api.persistence.json.ChoiceListValue
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.27.0") public class ChoiceListValue extends Object implements Serializable
ChoiceListValue
See Also:
  • Constructor Details

    • ChoiceListValue

      public ChoiceListValue()
  • Method Details

    • value

      public ChoiceListValue value(String value)
    • getValue

      @NotNull public @NotNull String getValue()
      value to store in the attribute
      Returns:
      value
    • setValue

      public void setValue(String value)
    • label

      public ChoiceListValue label(@Nullable String label)
    • getLabel

      public String getLabel()
      label shown to the user instead of the value, the value is shown when not set
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object