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
public class PageCallToAction extends FacebookType implements HasCreatedTime
Represents the Page Call To Action type- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description PageCallToAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Application
getAndroidApp()
App that stores the destination info on Android.String
getAndroidAppId()
ID of the App that stores the destination info on AndroidString
getAndroidDeeplink()
Destination deeplink for the call-to-action on AndroidString
getAndroidDestinationType()
Destination type for the call-to-action on Android.String
getAndroidPackageName()
Destination app for the call-to-action on AndroidString
getAndroidUrl()
Destination url for the call-to-action on AndroidDate
getCreatedTime()
Time when the call-to-action was created.String
getEmailAddress()
Email address that can be contacted by a user.Page
getFrom()
Page that owns the call-to-action.String
getIntlNumberWithPlus()
International phone number with plus that can be called through a phoneApplication
getIphoneApp()
App that stores the destination info on iPhone.String
getIphoneAppId()
ID fo the App that stores the destination info on iPhoneString
getIphoneDeeplink()
Destination deeplink for the call-to-action on iPhone.String
getIphoneDestinationType()
Destination type for the call-to-action on iPhone.String
getIphoneUrl()
Destination url for the call-to-action on iPhone.String
getStatus()
Current running status of this action.Date
getUpdatedTime()
Time when the call-to-action was last updated.String
getWebDestinationType()
Destination type for the call-to-action on desktop.String
getWebUrl()
Destination url for the call-to-action on desktopvoid
setAndroidApp(Application androidApp)
App that stores the destination info on Android.void
setAndroidAppId(String androidAppId)
ID of the App that stores the destination info on Androidvoid
setAndroidDeeplink(String androidDeeplink)
Destination deeplink for the call-to-action on Androidvoid
setAndroidDestinationType(String androidDestinationType)
Destination type for the call-to-action on Android.void
setAndroidPackageName(String androidPackageName)
Destination app for the call-to-action on Androidvoid
setAndroidUrl(String androidUrl)
Destination url for the call-to-action on Androidvoid
setCreatedTime(Date createdTime)
Time when the call-to-action was created.void
setEmailAddress(String emailAddress)
Email address that can be contacted by a user.void
setFrom(Page from)
Page that owns the call-to-action.void
setIntlNumberWithPlus(String intlNumberWithPlus)
International phone number with plus that can be called through a phonevoid
setIphoneApp(Application iphoneApp)
App that stores the destination info on iPhone.void
setIphoneAppId(String iphoneAppId)
ID fo the App that stores the destination info on iPhonevoid
setIphoneDeeplink(String iphoneDeeplink)
Destination deeplink for the call-to-action on iPhone.void
setIphoneDestinationType(String iphoneDestinationType)
Destination type for the call-to-action on iPhone.void
setIphoneUrl(String iphoneUrl)
Destination url for the call-to-action on iPhone.void
setStatus(String status)
Current running status of this action.void
setUpdatedTime(Date updatedTime)
Time when the call-to-action was last updated.void
setWebDestinationType(String webDestinationType)
Destination type for the call-to-action on desktop.void
setWebUrl(String webUrl)
Destination url for the call-to-action on desktop-
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 Detail
-
PageCallToAction
public PageCallToAction()
-
-
Method Detail
-
getAndroidApp
public Application getAndroidApp()
App that stores the destination info on Android.- Returns:
- App that stores the destination info on Android
-
setAndroidApp
public void setAndroidApp(Application androidApp)
App that stores the destination info on Android.
-
getCreatedTime
public Date getCreatedTime()
Time when the call-to-action was created.- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- Time when the call-to-action was created
-
setCreatedTime
public void setCreatedTime(Date createdTime)
Time when the call-to-action was created.
-
getEmailAddress
public String getEmailAddress()
Email address that can be contacted by a user.- Returns:
- Email address that can be contacted by a user
-
setEmailAddress
public void setEmailAddress(String emailAddress)
Email address that can be contacted by a user.
-
getFrom
public Page getFrom()
Page that owns the call-to-action.- Returns:
- Page that owns the call-to-action
-
getIphoneApp
public Application getIphoneApp()
App that stores the destination info on iPhone.- Returns:
- App that stores the destination info on iPhone
-
setIphoneApp
public void setIphoneApp(Application iphoneApp)
App that stores the destination info on iPhone.
-
getIphoneDeeplink
public String getIphoneDeeplink()
Destination deeplink for the call-to-action on iPhone.- Returns:
- Destination deeplink for the call-to-action on iPhone
-
setIphoneDeeplink
public void setIphoneDeeplink(String iphoneDeeplink)
Destination deeplink for the call-to-action on iPhone.
-
getIphoneUrl
public String getIphoneUrl()
Destination url for the call-to-action on iPhone.- Returns:
- Destination url for the call-to-action on iPhone
-
setIphoneUrl
public void setIphoneUrl(String iphoneUrl)
Destination url for the call-to-action on iPhone.
-
getStatus
public String getStatus()
Current running status of this action.- Returns:
- Current running status of this action
-
getUpdatedTime
public Date getUpdatedTime()
Time when the call-to-action was last updated.- Returns:
- Time when the call-to-action was last updated
-
setUpdatedTime
public void setUpdatedTime(Date updatedTime)
Time when the call-to-action was last updated.
-
getWebDestinationType
public String getWebDestinationType()
Destination type for the call-to-action on desktop.Default value: NONE
may be: WEBSITE, MESSENGER, NONE
-
setWebDestinationType
public void setWebDestinationType(String webDestinationType)
Destination type for the call-to-action on desktop.Default value: NONE
may be: WEBSITE, MESSENGER, NONE
-
getAndroidDestinationType
public String 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
public void setAndroidDestinationType(String androidDestinationType)
Destination type for the call-to-action on Android.Default value: NONE
may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE
-
getIphoneDestinationType
public String 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
public void setIphoneDestinationType(String iphoneDestinationType)
Destination type for the call-to-action on iPhone.Default value: NONE
may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE
-
getIntlNumberWithPlus
public String getIntlNumberWithPlus()
International phone number with plus that can be called through a phone
-
setIntlNumberWithPlus
public void setIntlNumberWithPlus(String intlNumberWithPlus)
International phone number with plus that can be called through a phone
-
getAndroidAppId
public String getAndroidAppId()
ID of the App that stores the destination info on Android
-
setAndroidAppId
public void setAndroidAppId(String androidAppId)
ID of the App that stores the destination info on Android
-
getAndroidDeeplink
public String getAndroidDeeplink()
Destination deeplink for the call-to-action on Android
-
setAndroidDeeplink
public void setAndroidDeeplink(String androidDeeplink)
Destination deeplink for the call-to-action on Android
-
getAndroidPackageName
public String getAndroidPackageName()
Destination app for the call-to-action on Android
-
setAndroidPackageName
public void setAndroidPackageName(String androidPackageName)
Destination app for the call-to-action on Android
-
getAndroidUrl
public String getAndroidUrl()
Destination url for the call-to-action on Android
-
setAndroidUrl
public void setAndroidUrl(String androidUrl)
Destination url for the call-to-action on Android
-
getIphoneAppId
public String getIphoneAppId()
ID fo the App that stores the destination info on iPhone
-
setIphoneAppId
public void setIphoneAppId(String iphoneAppId)
ID fo the App that stores the destination info on iPhone
-
-