Package com.restfb.types
Class Page.Cover
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Page.Cover
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Page
Represents the Cover Graph API type.
- Since:
- 1.6.10
- Author:
- Mark Allen
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the photo.The percentage offset from top [0-100].The URL for the cover photo.void
setCoverId
(String coverId) The ID of the photo.void
setOffsetY
(Integer offsetY) The percentage offset from top [0-100].void
The URL for the cover photo.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Cover
public Cover()
-
-
Method Details
-
getCoverId
The ID of the photo.- Returns:
- The ID of the photo.
-
setCoverId
The ID of the photo. -
getSource
The URL for the cover photo.- Returns:
- The URL for the cover photo.
-
setSource
The URL for the cover photo. -
getOffsetY
The percentage offset from top [0-100].- Returns:
- The percentage offset from top [0-100].
-
setOffsetY
The percentage offset from top [0-100].
-