Class RichTextSectionElement.Text
- java.lang.Object
-
- com.slack.api.model.block.element.RichTextSectionElement.Text
-
- All Implemented Interfaces:
RichTextElement
- Enclosing class:
- RichTextSectionElement
public static class RichTextSectionElement.Text extends Object implements RichTextElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRichTextSectionElement.Text.TextBuilder
-
Constructor Summary
Constructors Constructor Description Text()Text(String text, RichTextSectionElement.TextStyle style)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RichTextSectionElement.Text.TextBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)RichTextSectionElement.TextStylegetStyle()StringgetText()StringgetType()inthashCode()voidsetStyle(RichTextSectionElement.TextStyle style)voidsetText(String text)StringtoString()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Text
public Text()
-
Text
public Text(String text, RichTextSectionElement.TextStyle style)
-
-
Method Detail
-
builder
public static RichTextSectionElement.Text.TextBuilder builder()
-
getType
public String getType()
- Specified by:
getTypein interfaceRichTextElement
-
getText
public String getText()
-
getStyle
public RichTextSectionElement.TextStyle getStyle()
-
setText
public void setText(String text)
-
setStyle
public void setStyle(RichTextSectionElement.TextStyle style)
-
canEqual
protected boolean canEqual(Object other)
-
-