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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhen the review was created.getFrom()The user that created the review.The review text, if any.intThe review rating.getTo()The app to which this review applies.voidsetCreatedTime(Date createdTime) When the review was created.voidsetFrom(NamedFacebookType from) The user that created the review.voidsetMessage(String message) The review text, if any.voidsetRating(int rating) The review rating.voidThe app to which this review applies.Methods 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
-
Review
public Review()
-
-
Method Details
-
getCreatedTime
When the review was created.- Specified by:
getCreatedTimein 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:
getMessagein 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
-