public class PollOptionContent
extends java.lang.Object
Constructor and Description |
---|
PollOptionContent() |
Modifier and Type | Method and Description |
---|---|
MediaAttachment |
getAttachment() |
java.lang.String |
getOptionId() |
java.lang.String |
getText() |
PollOptionContent |
withAttachment(MediaAttachment attachment)
Set attachment.
|
PollOptionContent |
withOptionId(java.lang.String optionId)
Set id of option.
|
PollOptionContent |
withText(java.lang.String text)
Set text of option.
|
public PollOptionContent withOptionId(java.lang.String optionId)
optionId
- option id.public PollOptionContent withText(java.lang.String text)
text
- option text.public PollOptionContent withAttachment(MediaAttachment attachment)
attachment
- media attachment.public MediaAttachment getAttachment()
public java.lang.String getText()
public java.lang.String getOptionId()
(c) Copyright GetSocial BV, 2022. All Rights Reserved.