java.lang.Object
io.github.guoshiqiufeng.dify.chat.dto.response.parameter.TextInput
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Paragraph, Select

public class TextInput extends Object implements Serializable
Since:
2025/3/24 14:36
Version:
1.0
Author:
yanghq
See Also:
  • Constructor Details

    • TextInput

      public TextInput()
  • Method Details

    • getLabel

      public String getLabel()
      label (string) 控件展示标签名
    • getVariable

      public String getVariable()
      variable (string) 控件 ID
    • getRequired

      public Boolean getRequired()
      required (bool) 是否必填
    • getMaxLength

      public Integer getMaxLength()
    • getDefaultValue

      public String getDefaultValue()
      default (string) 默认值
    • setLabel

      public void setLabel(String label)
      label (string) 控件展示标签名
    • setVariable

      public void setVariable(String variable)
      variable (string) 控件 ID
    • setRequired

      public void setRequired(Boolean required)
      required (bool) 是否必填
    • setMaxLength

      public void setMaxLength(Integer maxLength)
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      default (string) 默认值
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object