Package com.restfb.types
Class FacebookType
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Application.ApplicationContext
,AppRequest
,Checkin
,Comment
,Conversation
,CopyrightReferenceContainer
,CoverPhoto
,ExtendedCredit
,FundingSourceDetails
,IgComment
,IgContainer
,IgMediaChild
,LiveVideo
,Location
,Message
,Message.Attachment
,Message.StoryMention
,Message.StoryReply
,Milestone
,MusicVideoCopyright
,NamedFacebookType
,Note
,Notification
,OpenGraphRating
,PageAdminNote
,PageCallToAction
,PageLifeEvent
,PageRating
,Payment
,PlaceTag
,Post
,PostCallToAction
,Review
,RTBDynamicPost
,SavedMessageResponse
,SearchPlace.PagesPlatformComponentFlowServiceConfig
,StoryAttachment
,StoryAttachment.Image
,StoryAttachment.Media
,StoryAttachment.Target
,TdMedia
,TdReply
,TestUser
,Thread
,Translation
,Url
,Url.OGObject
,UserIDForApp
,UserIDForPage
,VideoCopyright
,VideoList
,VideoPoll
,VideoPoll.VideoPollOption
,WhatsAppBusinessAccountToNumberCurrentStatus
,WhatsAppNameVerificationRequest
public class FacebookType extends AbstractFacebookType
Base class which encapsulates behavior and properties common to most Graph API types.- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FacebookType.Metadata
Represents Facebook Object metadata, available by including themetadata=1
URL parameter in an API request.
-
Constructor Summary
Constructors Constructor Description FacebookType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
This object's unique Facebook ID.FacebookType.Metadata
getMetadata()
String
getType()
void
setId(String id)
This object's unique Facebook ID.void
setMetadata(FacebookType.Metadata metadata)
This object's metadata, available by including themetadata=1
URL parameter in an API request.void
setType(String type)
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
FacebookType
public FacebookType()
-
-
Method Detail
-
getId
public String getId()
This object's unique Facebook ID.- Returns:
- This object's unique Facebook ID.
-
getMetadata
public FacebookType.Metadata getMetadata()
- Returns:
- This object's metadata, available by including the
metadata=1
URL parameter in an API request.
-
setMetadata
public void setMetadata(FacebookType.Metadata metadata)
This object's metadata, available by including themetadata=1
URL parameter in an API request.
-
-