Package com.mypurecloud.sdk.v2.model
Class DocumentListContentBlock
java.lang.Object
com.mypurecloud.sdk.v2.model.DocumentListContentBlock
- All Implemented Interfaces:
Serializable
DocumentListContentBlock
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the list block. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetImage()getList()getText()getType()getVideo()inthashCode()image(DocumentBodyImage image) Image.list(DocumentBodyList list) List.voidsetImage(DocumentBodyImage image) voidsetList(DocumentBodyList list) voidsetText(DocumentText text) voidvoidsetVideo(DocumentBodyVideo video) text(DocumentText text) Text.toString()The type of the list block.video(DocumentBodyVideo video) Video.
-
Constructor Details
-
DocumentListContentBlock
public DocumentListContentBlock() -
DocumentListContentBlock
-
-
Method Details
-
type
The type of the list 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
-
list
List. It must contain a value if the type of the block is UnorderedList or OrderedList. -
getList
-
setList
-
equals
-
hashCode
public int hashCode() -
toString
-