Class ContentText
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ContentText
-
- All Implemented Interfaces:
Serializable
public class ContentText extends Object implements Serializable
Text content. Message content element containing text only.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentText()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentTextbody(String body)Text to be shown for this content element.booleanequals(Object o)StringgetBody()TextTypegetType()inthashCode()voidsetBody(String body)voidsetType(TextType type)StringtoString()ContentTexttype(TextType type)Type of text content.
-
-
-
Method Detail
-
body
public ContentText body(String body)
Text to be shown for this content element.
-
getBody
public String getBody()
-
setBody
public void setBody(String body)
-
type
public ContentText type(TextType type)
Type of text content.
-
getType
public TextType getType()
-
setType
public void setType(TextType type)
-
-