Package com.restfb.types
Class VideoPoll.VideoPollOption
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.VideoPoll.VideoPollOption
- All Implemented Interfaces:
Serializable
- Enclosing class:
- VideoPoll
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTrue if this answer is considered correct, otherwise falsegetOrder()Options appear in increasing numerical order within a pollgetText()Text to display to the user for this optionTotal number of votes for this optionvoidsetIsCorrect(Boolean isCorrect) True if this answer is considered correct, otherwise falsevoidOptions appear in increasing numerical order within a pollvoidText to display to the user for this optionvoidsetTotalVotes(Long totalVotes) Total number of votes for this optionMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
VideoPollOption
public VideoPollOption()
-
-
Method Details
-
getIsCorrect
True if this answer is considered correct, otherwise false- Returns:
- True if this answer is considered correct, otherwise false
-
setIsCorrect
True if this answer is considered correct, otherwise false -
getOrder
Options appear in increasing numerical order within a poll- Returns:
- Options appear in increasing numerical order within a poll
-
setOrder
Options appear in increasing numerical order within a poll -
getText
Text to display to the user for this option- Returns:
- Text to display to the user for this option
-
setText
Text to display to the user for this option -
getTotalVotes
Total number of votes for this option- Returns:
- Total number of votes for this option
-
setTotalVotes
Total number of votes for this option
-