Class ExtraField

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

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.4.0") public class ExtraField extends Object
ExtraField
  • Constructor Details

    • ExtraField

      public ExtraField()
    • ExtraField

      public ExtraField(String label, String template)
      Constructor with only required parameters
  • Method Details

    • label

      public ExtraField label(String label)
    • getLabel

      @NotNull public @NotNull String getLabel()
      A label for the field. Can be either an i18n token, or a plain-text value.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • template

      public ExtraField template(String template)
    • getTemplate

      @NotNull public @NotNull String getTemplate()
      Value template, can consist of multiple tokens e.g. \"{{amount}} {{ccy}}\".
      Returns:
      template
    • setTemplate

      public void setTemplate(String template)
    • canCopy

      public ExtraField canCopy(Boolean canCopy)
    • getCanCopy

      public Boolean getCanCopy()
      Boolean flag, allows the value to be copied via the copy button component.
      Returns:
      canCopy
    • setCanCopy

      public void setCanCopy(Boolean canCopy)
    • arguments

      public ExtraField arguments(Map<String,DisplayFieldArgument> arguments)
    • putArgumentsItem

      public ExtraField putArgumentsItem(String key, DisplayFieldArgument argumentsItem)
    • getArguments

      public Map<String,DisplayFieldArgument> getArguments()
      Arguments to be applied to the template. Keyed by replacement token without curly braces.
      Returns:
      arguments
    • setArguments

      public void setArguments(Map<String,DisplayFieldArgument> arguments)
    • tags

      public ExtraField tags(List<String> tags)
    • addTagsItem

      public ExtraField addTagsItem(String tagsItem)
    • getTags

      public List<String> getTags()
      A list of tags. Tags provide hints towards the field's purpose to the frontend.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • 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