Package com.restfb.types
Class Reactions
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Reactions
- All Implemented Interfaces:
Serializable
Represents the Reactions Type
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddData(Reactions.ReactionItem reaction) getData()The reaction list.The number of reactions.booleanremoveData(Reactions.ReactionItem reaction) voidsetTotalCount(Long totalCount) The number of reactions.voidsetViewerReaction(String viewerReaction) returns the user reaction to the objectMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Reactions
public Reactions()
-
-
Method Details
-
getData
The reaction list.- Returns:
- The reaction list.
-
addData
-
removeData
-
getTotalCount
The number of reactions.- Returns:
- The number of reactions.
-
setTotalCount
The number of reactions. -
getViewerReaction
- Returns:
- the user reaction to the object
-
setViewerReaction
returns the user reaction to the object
-