Package com.intercom.api.types
Class ListItemWithoutImage
- java.lang.Object
-
- com.intercom.api.types.ListItemWithoutImage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListItemWithoutImage._FinalStagestatic classListItemWithoutImage.Builderstatic interfaceListItemWithoutImage.IdStagestatic interfaceListItemWithoutImage.TitleStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListItemWithoutImage.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Optional<ActionComponent>getAction()java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Boolean>getDisabled()java.lang.StringgetId()java.util.Optional<java.lang.String>getImage()java.util.Optional<java.lang.Integer>getImageHeight()java.util.Optional<java.lang.Integer>getImageWidth()java.util.Optional<java.lang.Boolean>getRoundedImage()java.util.Optional<java.lang.String>getSubtitle()java.util.Optional<java.lang.String>getTertiaryText()java.lang.StringgetTitle()java.lang.StringgetType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getId
public java.lang.String getId()
-
getTitle
public java.lang.String getTitle()
-
getSubtitle
public java.util.Optional<java.lang.String> getSubtitle()
- Specified by:
getSubtitlein interfaceIListItem- Returns:
- The text shown underneath the item's title.
-
getTertiaryText
public java.util.Optional<java.lang.String> getTertiaryText()
- Specified by:
getTertiaryTextin interfaceIListItem- Returns:
- The text shown next to the subtitle, separates by a bullet.
-
getRoundedImage
public java.util.Optional<java.lang.Boolean> getRoundedImage()
- Specified by:
getRoundedImagein interfaceIListItem- Returns:
- Rounds the corners of the image. Default is
false.
-
getDisabled
public java.util.Optional<java.lang.Boolean> getDisabled()
- Specified by:
getDisabledin interfaceIListItem- Returns:
- Styles all list items and prevents the action. Default is
false.
-
getAction
public java.util.Optional<ActionComponent> getAction()
-
getImage
public java.util.Optional<java.lang.String> getImage()
- Returns:
- An image that will be displayed to the left of the item.
-
getImageWidth
public java.util.Optional<java.lang.Integer> getImageWidth()
- Returns:
- The exact width of the image in pixels.
-
getImageHeight
public java.util.Optional<java.lang.Integer> getImageHeight()
- Returns:
- The exact height of the image in pixels.
-
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 ListItemWithoutImage.IdStage builder()
-
-