Package com.intercom.api.types
Class ListItemWithoutImage.Builder
java.lang.Object
com.intercom.api.types.ListItemWithoutImage.Builder
- All Implemented Interfaces:
ListItemWithoutImage._FinalStage,ListItemWithoutImage.IdStage,ListItemWithoutImage.TitleStage
- Enclosing class:
ListItemWithoutImage
public static final class ListItemWithoutImage.Builder
extends Object
implements ListItemWithoutImage.IdStage, ListItemWithoutImage.TitleStage, ListItemWithoutImage._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.from(ListItemWithoutImage other) A unique identifier for the item.An image that will be displayed to the left of the item.imageHeight(Integer imageHeight) The exact height of the image in pixels.imageHeight(Optional<Integer> imageHeight) imageWidth(Integer imageWidth) The exact width of the image in pixels.imageWidth(Optional<Integer> imageWidth) 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 interfaceListItemWithoutImage.IdStage
-
id
A unique identifier for the item.
- Specified by:
idin interfaceListItemWithoutImage.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 interfaceListItemWithoutImage.TitleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
imageHeight
The exact height of the image in pixels.
- Specified by:
imageHeightin interfaceListItemWithoutImage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
imageHeight
- Specified by:
imageHeightin interfaceListItemWithoutImage._FinalStage
-
imageWidth
The exact width of the image in pixels.
- Specified by:
imageWidthin interfaceListItemWithoutImage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
imageWidth
- Specified by:
imageWidthin interfaceListItemWithoutImage._FinalStage
-
image
An image that will be displayed to the left of the item.
- Specified by:
imagein interfaceListItemWithoutImage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
image
- Specified by:
imagein interfaceListItemWithoutImage._FinalStage
-
action
This can be a Submit Action, URL Action, or Sheets Action.
- Specified by:
actionin interfaceListItemWithoutImage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
action
- Specified by:
actionin interfaceListItemWithoutImage._FinalStage
-
disabled
Styles all list items and prevents the action. Default is
false.- Specified by:
disabledin interfaceListItemWithoutImage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
disabled
- Specified by:
disabledin interfaceListItemWithoutImage._FinalStage
-
roundedImage
Rounds the corners of the image. Default is
false.- Specified by:
roundedImagein interfaceListItemWithoutImage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
roundedImage
- Specified by:
roundedImagein interfaceListItemWithoutImage._FinalStage
-
tertiaryText
The text shown next to the subtitle, separates by a bullet.
- Specified by:
tertiaryTextin interfaceListItemWithoutImage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tertiaryText
- Specified by:
tertiaryTextin interfaceListItemWithoutImage._FinalStage
-
subtitle
The text shown underneath the item's title.
- Specified by:
subtitlein interfaceListItemWithoutImage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
subtitle
- Specified by:
subtitlein interfaceListItemWithoutImage._FinalStage
-
build
- Specified by:
buildin interfaceListItemWithoutImage._FinalStage
-