Package com.restfb.types.webhook
Class FeedReactionValue
- java.lang.Object
-
- com.restfb.types.webhook.ChangeValue
-
- com.restfb.types.webhook.base.BaseChangeValue
-
- com.restfb.types.webhook.base.AbstractFeedPostValue
-
- com.restfb.types.webhook.FeedReactionValue
-
public class FeedReactionValue extends AbstractFeedPostValue
Change value describing a reaction to a post/comment/reply.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.webhook.ChangeValue
ChangeValue.Verb
-
-
Constructor Summary
Constructors Constructor Description FeedReactionValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommentId()
String
getParentId()
String
getReactionType()
boolean
isCommentReaction()
returnstrue
if the reaction was made on a Comment,false
if the reaction was made on a postboolean
isPostReaction()
returnstrue
if the reaction was made on a Postboolean
isReplyReaction()
returnstrue
if the reaction was made on a Reply (comment of a comment),void
setCommentId(String commentId)
void
setParentId(String parentId)
void
setReactionType(String reactionType)
-
Methods inherited from class com.restfb.types.webhook.base.AbstractFeedPostValue
getFrom, getPostId, setPostId
-
Methods inherited from class com.restfb.types.webhook.base.BaseChangeValue
getCreatedTime, getItem, getVerb, getVerbAsString, setCreatedTime, setItem, setVerb, setVerbAsString
-
Methods inherited from class com.restfb.types.webhook.ChangeValue
convertChangeValue, equals, hashCode, isWhatsapp, toString
-
-
-
-
Constructor Detail
-
FeedReactionValue
public FeedReactionValue()
-
-
Method Detail
-
isPostReaction
public boolean isPostReaction()
returnstrue
if the reaction was made on a Post- Returns:
true
if the reaction was made on a Post
-
isCommentReaction
public boolean isCommentReaction()
returnstrue
if the reaction was made on a Comment,false
if the reaction was made on a post- Returns:
true
if the reaction was made on a Comment
-
isReplyReaction
public boolean isReplyReaction()
returnstrue
if the reaction was made on a Reply (comment of a comment),- Returns:
true
if the reaction was made on a Reply
-
getParentId
public String getParentId()
-
setParentId
public void setParentId(String parentId)
-
getReactionType
public String getReactionType()
-
setReactionType
public void setReactionType(String reactionType)
-
getCommentId
public String getCommentId()
-
setCommentId
public void setCommentId(String commentId)
-
-