public class ImageElement extends BlockElement implements ContextBlockElement
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageElement.ImageElementBuilder |
| Constructor and Description |
|---|
ImageElement() |
ImageElement(String imageUrl,
String altText,
String fallback,
Integer imageWidth,
Integer imageHeight,
Integer imageBytes) |
| Modifier and Type | Method and Description |
|---|---|
static ImageElement.ImageElementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getAltText()
A plain-text summary of the image.
|
String |
getFallback() |
Integer |
getImageBytes() |
Integer |
getImageHeight() |
String |
getImageUrl()
The URL of the image to be displayed.
|
Integer |
getImageWidth() |
String |
getType() |
int |
hashCode() |
void |
setAltText(String altText)
A plain-text summary of the image.
|
void |
setFallback(String fallback) |
void |
setImageBytes(Integer imageBytes) |
void |
setImageHeight(Integer imageHeight) |
void |
setImageUrl(String imageUrl)
The URL of the image to be displayed.
|
void |
setImageWidth(Integer imageWidth) |
String |
toString() |
public static final String TYPE
public static ImageElement.ImageElementBuilder builder()
public String getType()
public String getImageUrl()
public String getAltText()
public String getFallback()
public Integer getImageWidth()
public Integer getImageHeight()
public Integer getImageBytes()
public void setImageUrl(String imageUrl)
public void setAltText(String altText)
public void setFallback(String fallback)
public void setImageWidth(Integer imageWidth)
public void setImageHeight(Integer imageHeight)
public void setImageBytes(Integer imageBytes)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.