Package com.intercom.api.types
Class CheckboxComponent
- java.lang.Object
-
- com.intercom.api.types.CheckboxComponent
-
public final class CheckboxComponent extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCheckboxComponent._FinalStagestatic classCheckboxComponent.Builderstatic interfaceCheckboxComponent.IdStagestatic interfaceCheckboxComponent.LabelStagestatic classCheckboxComponent.SaveState
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CheckboxComponent.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Boolean>getDisabled()java.lang.StringgetId()java.lang.StringgetLabel()java.util.List<CheckboxOption>getOption()java.util.Optional<CheckboxComponent.SaveState>getSaveState()java.util.Optional<java.util.List<java.lang.String>>getValue()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- A unique identifier for the component.
-
getOption
public java.util.List<CheckboxOption> getOption()
- Returns:
- The list of options. Minimum of 1.
-
getLabel
public java.lang.String getLabel()
- Returns:
- The text shown above the options.
-
getValue
public java.util.Optional<java.util.List<java.lang.String>> getValue()
- Returns:
- The option's that are selected by default.
-
getSaveState
public java.util.Optional<CheckboxComponent.SaveState> getSaveState()
- Returns:
- Styles the input. Default is
unsaved. Prevent action withsaved.
-
getDisabled
public java.util.Optional<java.lang.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(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static CheckboxComponent.IdStage builder()
-
-