Package com.mypurecloud.sdk.v2.model
Class DocumentTableContentBlockWithHighlight
java.lang.Object
com.mypurecloud.sdk.v2.model.DocumentTableContentBlockWithHighlight
- All Implemented Interfaces:
Serializable
DocumentTableContentBlockWithHighlight
- 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 TypeMethodDescriptionanswerHighlight(DocumentContentHighlightIndex answerHighlight) The block highlight data.booleangetImage()getList()getTable()getText()getType()getVideo()inthashCode()image(DocumentBodyImage image) Image.List.paragraph(DocumentBodyParagraphWithHighlight paragraph) Paragraph.voidsetAnswerHighlight(DocumentContentHighlightIndex answerHighlight) voidsetImage(DocumentBodyImage image) voidvoidsetParagraph(DocumentBodyParagraphWithHighlight paragraph) voidvoidsetText(DocumentText text) voidvoidsetVideo(DocumentBodyVideo video) Table.text(DocumentText text) Text.toString()The type of the block for the table cell.video(DocumentBodyVideo video) Video.
-
Constructor Details
-
DocumentTableContentBlockWithHighlight
public DocumentTableContentBlockWithHighlight() -
DocumentTableContentBlockWithHighlight
-
-
Method Details
-
type
public DocumentTableContentBlockWithHighlight type(DocumentTableContentBlockWithHighlight.TypeEnum 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
public DocumentTableContentBlockWithHighlight paragraph(DocumentBodyParagraphWithHighlight 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
-
answerHighlight
public DocumentTableContentBlockWithHighlight answerHighlight(DocumentContentHighlightIndex answerHighlight) The block highlight data. -
getAnswerHighlight
-
setAnswerHighlight
-
equals
-
hashCode
public int hashCode() -
toString
-