Package com.mypurecloud.sdk.v2.model
Class FacebookIntegrationRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.FacebookIntegrationRequest
- All Implemented Interfaces:
Serializable
FacebookIntegrationRequest
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe app Id of Facebook app.The app Secret of Facebook app.booleangetAppId()getId()getName()inthashCode()messagingSetting(MessagingSettingRequestReference messagingSetting) Defines the message settings to be applied for this integrationThe name of the Facebook IntegrationpageAccessToken(String pageAccessToken) The long-lived Page Access Token of Facebook page.The page Id of Facebook page.voidvoidsetAppSecret(String appSecret) voidsetMessagingSetting(MessagingSettingRequestReference messagingSetting) voidvoidsetPageAccessToken(String pageAccessToken) voidvoidsetSupportedContent(SupportedContentReference supportedContent) voidsetUserAccessToken(String userAccessToken) supportedContent(SupportedContentReference supportedContent) Defines the SupportedContent profile configured for an integrationtoString()userAccessToken(String userAccessToken) The short-lived User Access Token of the Facebook user logged into the Facebook app.
-
Constructor Details
-
FacebookIntegrationRequest
public FacebookIntegrationRequest() -
FacebookIntegrationRequest
-
-
Method Details
-
getId
-
name
The name of the Facebook Integration -
getName
-
setName
-
supportedContent
Defines the SupportedContent profile configured for an integration -
getSupportedContent
-
setSupportedContent
-
messagingSetting
public FacebookIntegrationRequest messagingSetting(MessagingSettingRequestReference messagingSetting) Defines the message settings to be applied for this integration -
getMessagingSetting
-
setMessagingSetting
-
pageAccessToken
The long-lived Page Access Token of Facebook page. See https://developers.facebook.com/docs/facebook-login/access-tokens. When a pageAccessToken is provided, pageId and userAccessToken are not required. -
getPageAccessToken
-
setPageAccessToken
-
userAccessToken
The short-lived User Access Token of the Facebook user logged into the Facebook app. See https://developers.facebook.com/docs/facebook-login/access-tokens. When userAccessToken is provided, pageId is mandatory. When userAccessToken/pageId combination is provided, pageAccessToken is not required. -
getUserAccessToken
-
setUserAccessToken
-
pageId
The page Id of Facebook page. The pageId is required when userAccessToken is provided. -
getPageId
-
setPageId
-
appId
The app Id of Facebook app. The appId is required when a customer wants to use their own approved Facebook app. -
getAppId
-
setAppId
-
appSecret
The app Secret of Facebook app. The appSecret is required when appId is provided. -
getAppSecret
-
setAppSecret
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-