public class SectionBlock extends Object implements LayoutBlock
| Modifier and Type | Class and Description |
|---|---|
static class |
SectionBlock.SectionBlockBuilder |
| Constructor and Description |
|---|
SectionBlock() |
SectionBlock(TextObject text,
String blockId,
List<TextObject> fields,
BlockElement accessory) |
| Modifier and Type | Method and Description |
|---|---|
static SectionBlock.SectionBlockBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
BlockElement |
getAccessory() |
String |
getBlockId() |
List<TextObject> |
getFields() |
TextObject |
getText() |
String |
getType()
Determines the type of layout block, e.g.
|
int |
hashCode() |
void |
setAccessory(BlockElement accessory) |
void |
setBlockId(String blockId) |
void |
setFields(List<TextObject> fields) |
void |
setText(TextObject text) |
String |
toString() |
public static final String TYPE
public SectionBlock()
public SectionBlock(TextObject text, String blockId, List<TextObject> fields, BlockElement accessory)
public static SectionBlock.SectionBlockBuilder builder()
public String getType()
LayoutBlockgetType in interface LayoutBlockpublic TextObject getText()
public String getBlockId()
public List<TextObject> getFields()
public BlockElement getAccessory()
public void setText(TextObject text)
public void setBlockId(String blockId)
public void setFields(List<TextObject> fields)
public void setAccessory(BlockElement accessory)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.