Package com.mypurecloud.sdk.v2.model
Class DocumentContentBlock
java.lang.Object
com.mypurecloud.sdk.v2.model.DocumentContentBlock
- All Implemented Interfaces:
Serializable
DocumentContentBlock
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the paragraph block. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetImage()getText()getType()getVideo()inthashCode()image(DocumentBodyImage image) Image.voidsetImage(DocumentBodyImage image) voidsetText(DocumentText text) voidvoidsetVideo(DocumentBodyVideo video) text(DocumentText text) Text.toString()The type of the paragraph block.video(DocumentBodyVideo video) Video.
-
Constructor Details
-
DocumentContentBlock
public DocumentContentBlock() -
DocumentContentBlock
-
-
Method Details
-
type
The type of the paragraph block. -
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
-
equals
-
hashCode
public int hashCode() -
toString
-