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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addData
(Reactions.ReactionItem reaction) getData()
The reaction list.The number of reactions.boolean
removeData
(Reactions.ReactionItem reaction) void
setTotalCount
(Long totalCount) The number of reactions.void
setViewerReaction
(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
-