public class ImageBlock extends Object implements LayoutBlock
Modifier and Type | Class and Description |
---|---|
static class |
ImageBlock.ImageBlockBuilder |
Constructor and Description |
---|
ImageBlock() |
ImageBlock(String fallback,
String imageUrl,
Integer imageWidth,
Integer imageHeight,
Integer imageBytes,
String altText,
PlainTextObject title,
String blockId) |
Modifier and Type | Method and Description |
---|---|
static ImageBlock.ImageBlockBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getAltText() |
String |
getBlockId() |
String |
getFallback() |
Integer |
getImageBytes() |
Integer |
getImageHeight() |
String |
getImageUrl() |
Integer |
getImageWidth() |
PlainTextObject |
getTitle() |
String |
getType()
Determines the type of layout block, e.g.
|
int |
hashCode() |
void |
setAltText(String altText) |
void |
setBlockId(String blockId) |
void |
setFallback(String fallback) |
void |
setImageBytes(Integer imageBytes) |
void |
setImageHeight(Integer imageHeight) |
void |
setImageUrl(String imageUrl) |
void |
setImageWidth(Integer imageWidth) |
void |
setTitle(PlainTextObject title) |
String |
toString() |
public static final String TYPE
public static ImageBlock.ImageBlockBuilder builder()
public String getType()
LayoutBlock
getType
in interface LayoutBlock
public String getFallback()
public String getImageUrl()
public Integer getImageWidth()
public Integer getImageHeight()
public Integer getImageBytes()
public String getAltText()
public PlainTextObject getTitle()
public String getBlockId()
public void setFallback(String fallback)
public void setImageUrl(String imageUrl)
public void setImageWidth(Integer imageWidth)
public void setImageHeight(Integer imageHeight)
public void setImageBytes(Integer imageBytes)
public void setAltText(String altText)
public void setTitle(PlainTextObject title)
public void setBlockId(String blockId)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.