Class TextAreaComponent

java.lang.Object
com.intercom.api.types.TextAreaComponent

public final class TextAreaComponent extends Object
  • Method Details

    • getId

      public String getId()
      Returns:
      A unique identifier for the component.
    • getLabel

      public Optional<String> getLabel()
      Returns:
      The text shown above the text area.
    • getPlaceholder

      public Optional<String> getPlaceholder()
      Returns:
      An example value shown inside the component when it's empty.
    • getValue

      public Optional<String> getValue()
      Returns:
      An entered value which is already inside the component.
    • getError

      public Optional<Boolean> getError()
      Returns:
      Styles the input as failed. Default is false.
    • getDisabled

      public Optional<Boolean> getDisabled()
      Returns:
      Styles the input and prevents the action. Default is false.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static TextAreaComponent.IdStage builder()