Package com.intercom.api.types
Class ListItem.Builder
java.lang.Object
com.intercom.api.types.ListItem.Builder
- All Implemented Interfaces:
ListItem._FinalStage,ListItem.IdStage,ListItem.TitleStage
- Enclosing class:
ListItem
public static final class ListItem.Builder
extends Object
implements ListItem.IdStage, ListItem.TitleStage, ListItem._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaction(ActionComponent action) This can be a Submit Action, URL Action, or Sheets Action.action(Optional<ActionComponent> action) build()Styles all list items and prevents the action.A unique identifier for the item.roundedImage(Boolean roundedImage) Rounds the corners of the image.roundedImage(Optional<Boolean> roundedImage) The text shown underneath the item's title.tertiaryText(String tertiaryText) The text shown next to the subtitle, separates by a bullet.tertiaryText(Optional<String> tertiaryText) The text shown as the title for the item.
-
Method Details
-
from
- Specified by:
fromin interfaceListItem.IdStage
-
id
A unique identifier for the item.
- Specified by:
idin interfaceListItem.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
title
The text shown as the title for the item.
- Specified by:
titlein interfaceListItem.TitleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
action
This can be a Submit Action, URL Action, or Sheets Action.
- Specified by:
actionin interfaceListItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
action
- Specified by:
actionin interfaceListItem._FinalStage
-
disabled
Styles all list items and prevents the action. Default is
false.- Specified by:
disabledin interfaceListItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
disabled
- Specified by:
disabledin interfaceListItem._FinalStage
-
roundedImage
Rounds the corners of the image. Default is
false.- Specified by:
roundedImagein interfaceListItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
roundedImage
- Specified by:
roundedImagein interfaceListItem._FinalStage
-
tertiaryText
The text shown next to the subtitle, separates by a bullet.
- Specified by:
tertiaryTextin interfaceListItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tertiaryText
- Specified by:
tertiaryTextin interfaceListItem._FinalStage
-
subtitle
The text shown underneath the item's title.
- Specified by:
subtitlein interfaceListItem._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
subtitle
- Specified by:
subtitlein interfaceListItem._FinalStage
-
build
- Specified by:
buildin interfaceListItem._FinalStage
-