Package com.restfb.types
Class Account
- All Implemented Interfaces:
HasProfilePicture
,Serializable
Represents the Account Graph API type.
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.Page
Page.Cover, Page.Engagement, Page.MailingAddress, Page.PageParking, Page.PagePaymentOptions, Page.PageRestaurantServices, Page.PageRestaurantSpecialties, Page.PageStartDate, Page.PageStartInfo, Page.ScreenName, Page.Settings, Page.VoipInfo
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Methods inherited from class com.restfb.types.Page
addAdminNote, addCategory, addEmail, addFoodStyle, addInstagramAccount, addLabel, addMessengerAdsDefaultIcebreaker, addScreenName, convertHours, convertLabels, fillProfilePicture, getAbout, getAccessToken, getAdminNotes, getAffiliation, getAppId, getArtistsWeLike, getAssetScore, getAttire, getAwards, getBandInterests, getBandMembers, getBestPage, getBio, getBirthday, getBookingAgent, getBuilt, getBusiness, getCanCheckin, getCanPost, getCategory, getCategoryList, getCheckins, getCompanyOverview, getConnectedInstagramAccount, getContactAddress, getCountryPageLikes, getCover, getCulinaryTeam, getCurrentLocation, getDescription, getDescriptionHtml, getDirectedBy, getDisplayedMessageResponseTime, getDisplaySubtext, getEmails, getEngagement, getFanCount, getFeaturedVideo, getFeatures, getFollowersCount, getFoodStyles, getFounded, getGeneralInfo, getGeneralManager, getGenre, getGlobalBrandPageName, getGlobalBrandParentPage, getGlobalBrandRootId, getGroups, getHasAddedApp, getHasTransitionedToNewPageExperience, getHasWhatsappBusinessNumber, getHasWhatsappNumber, getHometown, getHours, getImpressum, getInfluences, getInsights, getInstagramAccounts, getInstagramBusinessAccount, getInstantArticlesReviewStatus, getIsAlwaysOpen, getIsChain, getIsCommunityPage, getIsEligibleForBrandedContent, getIsMessengerBotGetStartedEnabled, getIsMessengerPlatformBot, getIsOwned, getIsPermanentlyClosed, getIsPublished, getIsUnclaimed, getIsWebhooksSubscribed, getLabels, getLastUsedTime, getLeadgenTosAcceptanceTime, getLeadgenTosAccepted, getLeadgenTosAcceptingUser, getLikes, getLikesCount, getLink, getLocation, getMembers, getMerchantId, getMerchantReviewStatus, getMessengerAdsDefaultIcebreakers, getMission, getMpg, getNameWithLocationDescriptor, getNetwork, getNewLikeCount, getOfferEligible, getOverallStarRating, getOwnerBusiness, getPageToken, getParentPage, getParking, getPaymentOptions, getPersonalInfo, getPersonalInterests, getPharmaSafetyInfo, getPhone, getPicture, getPlaceType, getPlotOutline, getPressContact, getPriceRange, getPrivacyInfoUrl, getProducedBy, getProducts, getPromotionEligible, getPromotionIneligibleReason, getPublicTransit, getRatingCount, getRecipient, getRecordLabel, getReleaseDate, getRestaurantServices, getRestaurantSpecialties, getSchedule, getScreenNames, getScreenplayBy, getSeason, getSingleLineAddress, getStarring, getStartInfo, getStoreCode, getStoreLocationDescriptor, getStoreNumber, getStudio, getTalkingAboutCount, getTemporaryStatus, getUnreadMessageCount, getUnreadNotifCount, getUnseenMessageCount, getUserAccessExpireTime, getUsername, getVerificationStatus, getVoipInfo, getWebsite, getWereHereCount, getWhatsappNumber, getWrittenBy, graphApi26LikesFallback, removeAdminNote, removeCategory, removeEmail, removeFoodStyle, removeInstagramAccount, removeLabels, removeMessengerAdsDefaultIcebreaker, removeScreenName, setAbout, setAccessToken, setAffiliation, setAppId, setArtistsWeLike, setAssetScore, setAttire, setAwards, setBandInterests, setBandMembers, setBestPage, setBio, setBirthday, setBookingAgent, setBuilt, setBusiness, setCanCheckin, setCanPost, setCategory, setCheckins, setCompanyOverview, setConnectedInstagramAccount, setContactAddress, setCountryPageLikes, setCover, setCulinaryTeam, setCurrentLocation, setDescription, setDescriptionHtml, setDirectedBy, setDisplayedMessageResponseTime, setDisplaySubtext, setEngagement, setFanCount, setFeaturedVideo, setFeatures, setFollowersCount, setFounded, setGeneralInfo, setGeneralManager, setGenre, setGlobalBrandPageName, setGlobalBrandParentPage, setGlobalBrandRootId, setGroups, setHasAddedApp, setHasTransitionedToNewPageExperience, setHasWhatsappBusinessNumber, setHasWhatsappNumber, setHometown, setHours, setImpressum, setInfluences, setInsights, setInstagramBusinessAccount, setInstantArticlesReviewStatus, setIsAlwaysOpen, setIsChain, setIsCommunityPage, setIsEligibleForBrandedContent, setIsMessengerBotGetStartedEnabled, setIsMessengerPlatformBot, setIsOwned, setIsPermanentlyClosed, setIsPublished, setIsUnclaimed, setIsWebhooksSubscribed, setLastUsedTime, setLeadgenTosAcceptanceTime, setLeadgenTosAccepted, setLeadgenTosAcceptingUser, setLikes, setLikesCount, setLink, setLocation, setMembers, setMerchantId, setMerchantReviewStatus, setMission, setMpg, setNameWithLocationDescriptor, setNetwork, setNewLikeCount, setOfferEligible, setOverallStarRating, setOwnerBusiness, setPageToken, setParentPage, setParking, setPaymentOptions, setPersonalInfo, setPersonalInterests, setPharmaSafetyInfo, setPhone, setPicture, setPlaceType, setPlotOutline, setPressContact, setPriceRange, setPrivacyInfoUrl, setProducedBy, setProducts, setPromotionEligible, setPromotionIneligibleReason, setPublicTransit, setRatingCount, setRecipient, setRecordLabel, setReleaseDate, setRestaurantServices, setRestaurantSpecialties, setSchedule, setScreenplayBy, setSeason, setSingleLineAddress, setStarring, setStartInfo, setStoreCode, setStoreLocationDescriptor, setStoreNumber, setStudio, setTalkingAboutCount, setTemporaryStatus, setUnreadMessageCount, setUnreadNotifCount, setUnseenMessageCount, setUserAccessExpireTime, setUsername, setVerificationStatus, setVoipInfo, setWebsite, setWereHereCount, setWhatsappNumber, setWrittenBy
Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.restfb.types.features.HasProfilePicture
convertPicture
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
getTasks
A list of tasks allowed to perform for this page. See tasks list here- Returns:
- A list of allowed tasks
-
addTask
Add a task to the task list.- Parameters:
task
- the task is added to the task list- Returns:
true
if the task is addedfalse
instead
-
removeTask
Remove the task from the task list.- Parameters:
task
- the task is removed from the task list- Returns:
true
if the task is removedfalse
instead
-