Package com.intercom.api.types
Class ListComponent.Builder
- java.lang.Object
-
- com.intercom.api.types.ListComponent.Builder
-
- Enclosing class:
- ListComponent
public static final class ListComponent.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListComponent.BuilderaddAllItems(java.util.List<ListComponent.ItemsItem> items)ListComponent.BuilderaddItems(ListComponent.ItemsItem items)ListComponentbuild()ListComponent.Builderdisabled(java.lang.Boolean disabled)ListComponent.Builderdisabled(java.util.Optional<java.lang.Boolean> disabled)Styles all list items and prevents the action.ListComponent.Builderfrom(ListComponent other)ListComponent.Builderitems(java.util.List<ListComponent.ItemsItem> items)The items that will be rendered in the list.
-
-
-
Method Detail
-
from
public ListComponent.Builder from(ListComponent other)
-
items
public ListComponent.Builder items(java.util.List<ListComponent.ItemsItem> items)
The items that will be rendered in the list.
-
addItems
public ListComponent.Builder addItems(ListComponent.ItemsItem items)
-
addAllItems
public ListComponent.Builder addAllItems(java.util.List<ListComponent.ItemsItem> items)
-
disabled
public ListComponent.Builder disabled(java.util.Optional<java.lang.Boolean> disabled)
Styles all list items and prevents the action. Default is
false.
-
disabled
public ListComponent.Builder disabled(java.lang.Boolean disabled)
-
build
public ListComponent build()
-
-