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
public static class Page.Cover extends AbstractFacebookType
Represents the Cover Graph API type.- Since:
- 1.6.10
- Author:
- Mark Allen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Cover()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCoverId()
The ID of the photo.Integer
getOffsetY()
The percentage offset from top [0-100].String
getSource()
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
setSource(String source)
The URL for the cover photo.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Cover
public Cover()
-
-
Method Detail
-
getCoverId
public String getCoverId()
The ID of the photo.- Returns:
- The ID of the photo.
-
setCoverId
public void setCoverId(String coverId)
The ID of the photo.
-
getSource
public String getSource()
The URL for the cover photo.- Returns:
- The URL for the cover photo.
-
getOffsetY
public Integer getOffsetY()
The percentage offset from top [0-100].- Returns:
- The percentage offset from top [0-100].
-
setOffsetY
public void setOffsetY(Integer offsetY)
The percentage offset from top [0-100].
-
-