Package com.mypurecloud.sdk.v2.model
Class DocumentBodyBlockWithHighlight
java.lang.Object
com.mypurecloud.sdk.v2.model.DocumentBodyBlockWithHighlight
- All Implemented Interfaces:
Serializable
DocumentBodyBlockWithHighlight
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the block for the body. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetImage()getList()getTable()getType()getVideo()inthashCode()image(DocumentBodyImage image) Image.List.paragraph(DocumentBodyParagraphWithHighlight paragraph) Paragraph.voidsetImage(DocumentBodyImage image) voidvoidsetParagraph(DocumentBodyParagraphWithHighlight paragraph) voidvoidvoidsetVideo(DocumentBodyVideo video) Table.toString()The type of the block for the body.video(DocumentBodyVideo video) Video.
-
Constructor Details
-
DocumentBodyBlockWithHighlight
public DocumentBodyBlockWithHighlight() -
DocumentBodyBlockWithHighlight
-
-
Method Details
-
type
The type of the block for the body. This determines which body block object (paragraph, list, video, image or table) would have a value. -
getType
-
setType
-
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 type of the block is Table. -
getTable
-
setTable
-
equals
-
hashCode
public int hashCode() -
toString
-