Package com.restfb.types
Class PageLifeEvent
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.PageLifeEvent
- All Implemented Interfaces:
HasCreatedTime
,Serializable
Represents the Life Event Graph API
type.
- Since:
- 2.0.0
- Author:
- Quang Pham Le Duy
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe time when this milestone was publishedDescription of the milestone.The time when this milestone came to an end.The information of the Page that owns the milestone.Whether the milestone is hidden or not.The time when this milestone was started.getTitle()
The title of the milestone.The time when this milestone was updated.void
setCreatedTime
(Date createdTime) The time when this milestone was publishedvoid
setDescription
(String description) Description of the milestone.void
setEndTime
(Date endTime) The time when this milestone came to an end.void
setFromPage
(Page fromPage) The information of the Page that owns the milestone.void
setIsHidden
(Boolean isHidden) Whether the milestone is hidden or not.void
setStartTime
(Date startTime) The time when this milestone was started.void
The title of the milestone.void
setUpdatedTime
(Date updatedTime) The time when this milestone was updated.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
-
PageLifeEvent
public PageLifeEvent()
-
-
Method Details
-
getCreatedTime
The time when this milestone was published- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- The time when this milestone was published
-
setCreatedTime
The time when this milestone was published -
getDescription
Description of the milestone.- Returns:
- Description of the milestone.
-
setDescription
Description of the milestone. -
getEndTime
The time when this milestone came to an end.- Returns:
- The time when this milestone came to an end.
-
setEndTime
The time when this milestone came to an end. -
getFromPage
The information of the Page that owns the milestone.- Returns:
- The information of the Page that owns the milestone.
-
setFromPage
The information of the Page that owns the milestone. -
getIsHidden
Whether the milestone is hidden or not.- Returns:
- true if the post is hidden, otherwise return false.
-
setIsHidden
Whether the milestone is hidden or not. -
getStartTime
The time when this milestone was started.- Returns:
- The time when this milestone was started.
-
setStartTime
The time when this milestone was started. -
getTitle
The title of the milestone.- Returns:
- The title of the milestone.
-
setTitle
The title of the milestone. -
getUpdatedTime
The time when this milestone was updated.- Returns:
- The time when this milestone was updated.
-
setUpdatedTime
The time when this milestone was updated.
-