Package com.restfb.types
Class Review
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.Review
- All Implemented Interfaces:
HasCreatedTime
,HasFrom
,HasMessage
,Serializable
Represents the Review Graph API Type
- Since:
- 1.6.16
- Author:
- Norbert Bartels
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionWhen the review was created.getFrom()
The user that created the review.The review text, if any.int
The review rating.getTo()
The app to which this review applies.void
setCreatedTime
(Date createdTime) When the review was created.void
setFrom
(NamedFacebookType from) The user that created the review.void
setMessage
(String message) The review text, if any.void
setRating
(int rating) The review rating.void
The app to which this review applies.Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Review
public Review()
-
-
Method Details
-
getCreatedTime
When the review was created.- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- when the review was created
- Since:
- 1.6.16
-
setCreatedTime
When the review was created.- Since:
- 1.6.16
-
getFrom
The user that created the review. -
setFrom
The user that created the review.- Since:
- 1.6.16
-
getMessage
The review text, if any.- Specified by:
getMessage
in interfaceHasMessage
- Returns:
- The review text, if any
- Since:
- 1.6.16
-
setMessage
The review text, if any.- Since:
- 1.6.16
-
getRating
The review rating.- Returns:
- The review rating
- Since:
- 1.6.16
-
setRating
The review rating.- Since:
- 1.6.16
-
getTo
The app to which this review applies.- Returns:
- The app to which this review applies
- Since:
- 1.6.16
-
setTo
The app to which this review applies.- Since:
- 1.6.16
-