java.lang.Object
com.caplin.motif.config.definitions.common.Field

@Generated("org.openapitools.codegen.languages.SpringCodegen") public class Field extends Object
Field
  • Constructor Details

    • Field

      public Field()
    • Field

      public Field(String displayName, String field, FieldType type)
      Constructor with only required parameters
  • Method Details

    • displayName

      public Field displayName(String displayName)
    • getDisplayName

      @NotNull public @NotNull String getDisplayName()
      Get displayName
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(String displayName)
    • field

      public Field field(String field)
    • getField

      @NotNull public @NotNull String getField()
      Get field
      Returns:
      field
    • setField

      public void setField(String field)
    • type

      public Field type(FieldType type)
    • getType

      @NotNull public @NotNull FieldType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(FieldType type)
    • options

      public Field options(List<DropdownOption> options)
    • addOptionsItem

      public Field addOptionsItem(DropdownOption optionsItem)
    • getOptions

      public List<DropdownOption> getOptions()
      Get options
      Returns:
      options
    • setOptions

      public void setOptions(List<DropdownOption> options)
    • 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