Package com.intercom.api.types
Class ImageComponent
java.lang.Object
com.intercom.api.types.ImageComponent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic final classstatic interfacestatic interfacestatic interface -
Method Summary
-
Method Details
-
getId
- Returns:
- A unique identifier for the component.
-
getUrl
- Returns:
- The URL where the image is located.
-
getAlign
- Returns:
- Aligns the image inside the component. Default is
left.
-
getWidth
public int getWidth()- Returns:
- The exact width of the image in pixels.
-
getHeight
public int getHeight()- Returns:
- The exact height of the image in pixels.
-
getRounded
- Returns:
- Rounds the corners of the image. Default is
false.
-
getBottomMargin
- Returns:
- Disables a component's margin-bottom of 10px.
-
getAction
- Returns:
- This can be a URL Action only.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-