Package com.mypurecloud.sdk.v2.model
Class DocumentTableContentBlock
java.lang.Object
com.mypurecloud.sdk.v2.model.DocumentTableContentBlock
- All Implemented Interfaces:
Serializable
DocumentTableContentBlock
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the block for the table cell. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetImage()getList()getTable()getText()getType()getVideo()inthashCode()image(DocumentBodyImage image) Image.list(DocumentBodyList list) List.paragraph(DocumentBodyParagraph paragraph) Paragraph.voidsetImage(DocumentBodyImage image) voidsetList(DocumentBodyList list) voidsetParagraph(DocumentBodyParagraph paragraph) voidsetTable(DocumentBodyTable table) voidsetText(DocumentText text) voidvoidsetVideo(DocumentBodyVideo video) table(DocumentBodyTable table) Table.text(DocumentText text) Text.toString()The type of the block for the table cell.video(DocumentBodyVideo video) Video.
-
Constructor Details
-
DocumentTableContentBlock
public DocumentTableContentBlock() -
DocumentTableContentBlock
-
-
Method Details
-
type
The type of the block for the table cell. This determines which body block object (paragraph, list, video, image or table) would have a value. -
getType
-
setType
-
text
Text. It must contain a value if the type of the block is Text. -
getText
-
setText
-
image
Image. It must contain a value if the type of the block is Image. -
getImage
-
setImage
-
video
Video. It must contain a value if the type of the block is Video. -
getVideo
-
setVideo
-
paragraph
Paragraph. It must contain a value if the type of the block is Paragraph. -
getParagraph
-
setParagraph
-
list
List. It must contain a value if the type of the block is UnorderedList or OrderedList. -
getList
-
setList
-
table
Table. It must contain a value if the type of the block is Table. -
getTable
-
setTable
-
equals
-
hashCode
public int hashCode() -
toString
-