Package com.restfb.types
Class PageCallToAction
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.PageCallToAction
- All Implemented Interfaces:
HasCreatedTime,Serializable
Represents the Page Call To
Action type
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApp that stores the destination info on Android.ID of the App that stores the destination info on AndroidDestination deeplink for the call-to-action on AndroidDestination type for the call-to-action on Android.Destination app for the call-to-action on AndroidDestination url for the call-to-action on AndroidTime when the call-to-action was created.Email address that can be contacted by a user.getFrom()Page that owns the call-to-action.International phone number with plus that can be called through a phoneApp that stores the destination info on iPhone.ID fo the App that stores the destination info on iPhoneDestination deeplink for the call-to-action on iPhone.Destination type for the call-to-action on iPhone.Destination url for the call-to-action on iPhone.Current running status of this action.Time when the call-to-action was last updated.Destination type for the call-to-action on desktop.Destination url for the call-to-action on desktopvoidsetAndroidApp(Application androidApp) App that stores the destination info on Android.voidsetAndroidAppId(String androidAppId) ID of the App that stores the destination info on AndroidvoidsetAndroidDeeplink(String androidDeeplink) Destination deeplink for the call-to-action on AndroidvoidsetAndroidDestinationType(String androidDestinationType) Destination type for the call-to-action on Android.voidsetAndroidPackageName(String androidPackageName) Destination app for the call-to-action on AndroidvoidsetAndroidUrl(String androidUrl) Destination url for the call-to-action on AndroidvoidsetCreatedTime(Date createdTime) Time when the call-to-action was created.voidsetEmailAddress(String emailAddress) Email address that can be contacted by a user.voidPage that owns the call-to-action.voidsetIntlNumberWithPlus(String intlNumberWithPlus) International phone number with plus that can be called through a phonevoidsetIphoneApp(Application iphoneApp) App that stores the destination info on iPhone.voidsetIphoneAppId(String iphoneAppId) ID fo the App that stores the destination info on iPhonevoidsetIphoneDeeplink(String iphoneDeeplink) Destination deeplink for the call-to-action on iPhone.voidsetIphoneDestinationType(String iphoneDestinationType) Destination type for the call-to-action on iPhone.voidsetIphoneUrl(String iphoneUrl) Destination url for the call-to-action on iPhone.voidCurrent running status of this action.voidsetUpdatedTime(Date updatedTime) Time when the call-to-action was last updated.voidsetWebDestinationType(String webDestinationType) Destination type for the call-to-action on desktop.voidDestination url for the call-to-action on desktopMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
PageCallToAction
public PageCallToAction()
-
-
Method Details
-
getAndroidApp
App that stores the destination info on Android.- Returns:
- App that stores the destination info on Android
-
setAndroidApp
App that stores the destination info on Android. -
getCreatedTime
Time when the call-to-action was created.- Specified by:
getCreatedTimein interfaceHasCreatedTime- Returns:
- Time when the call-to-action was created
-
setCreatedTime
Time when the call-to-action was created. -
getEmailAddress
Email address that can be contacted by a user.- Returns:
- Email address that can be contacted by a user
-
setEmailAddress
Email address that can be contacted by a user. -
getFrom
Page that owns the call-to-action.- Returns:
- Page that owns the call-to-action
-
setFrom
Page that owns the call-to-action. -
getIphoneApp
App that stores the destination info on iPhone.- Returns:
- App that stores the destination info on iPhone
-
setIphoneApp
App that stores the destination info on iPhone. -
getIphoneDeeplink
Destination deeplink for the call-to-action on iPhone.- Returns:
- Destination deeplink for the call-to-action on iPhone
-
setIphoneDeeplink
Destination deeplink for the call-to-action on iPhone. -
getIphoneUrl
Destination url for the call-to-action on iPhone.- Returns:
- Destination url for the call-to-action on iPhone
-
setIphoneUrl
Destination url for the call-to-action on iPhone. -
getStatus
Current running status of this action.- Returns:
- Current running status of this action
-
setStatus
Current running status of this action. -
getUpdatedTime
Time when the call-to-action was last updated.- Returns:
- Time when the call-to-action was last updated
-
setUpdatedTime
Time when the call-to-action was last updated. -
getWebDestinationType
Destination type for the call-to-action on desktop.Default value: NONE
may be: WEBSITE, MESSENGER, NONE
-
setWebDestinationType
Destination type for the call-to-action on desktop.Default value: NONE
may be: WEBSITE, MESSENGER, NONE
-
getAndroidDestinationType
Destination type for the call-to-action on Android.Default value: NONE
may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE
-
setAndroidDestinationType
Destination type for the call-to-action on Android.Default value: NONE
may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE
-
getIphoneDestinationType
Destination type for the call-to-action on iPhone.Default value: NONE
may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE
-
setIphoneDestinationType
Destination type for the call-to-action on iPhone.Default value: NONE
may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE
-
getIntlNumberWithPlus
International phone number with plus that can be called through a phone -
setIntlNumberWithPlus
International phone number with plus that can be called through a phone -
getWebUrl
Destination url for the call-to-action on desktop -
setWebUrl
Destination url for the call-to-action on desktop -
getAndroidAppId
ID of the App that stores the destination info on Android -
setAndroidAppId
ID of the App that stores the destination info on Android -
getAndroidDeeplink
Destination deeplink for the call-to-action on Android -
setAndroidDeeplink
Destination deeplink for the call-to-action on Android -
getAndroidPackageName
Destination app for the call-to-action on Android -
setAndroidPackageName
Destination app for the call-to-action on Android -
getAndroidUrl
Destination url for the call-to-action on Android -
setAndroidUrl
Destination url for the call-to-action on Android -
getIphoneAppId
ID fo the App that stores the destination info on iPhone -
setIphoneAppId
ID fo the App that stores the destination info on iPhone
-