Class CheckboxComponent

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

public final class CheckboxComponent extends Object
  • Method Details

    • getId

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

      public List<CheckboxOption> getOption()
      Returns:
      The list of options. Minimum of 1.
    • getLabel

      public String getLabel()
      Returns:
      The text shown above the options.
    • getValue

      public Optional<List<String>> getValue()
      Returns:
      The option's that are selected by default.
    • getSaveState

      public Optional<CheckboxComponent.SaveState> getSaveState()
      Returns:
      Styles the input. Default is unsaved. Prevent action with saved.
    • getDisabled

      public Optional<Boolean> getDisabled()
      Returns:
      Styles all options and prevents the action. Default is false. Will be overridden if save_state is saved.
    • 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 CheckboxComponent.IdStage builder()