Class FacebookPage
java.lang.Object
com.azure.resourcemanager.botservice.models.FacebookPage
A Facebook page for Facebook channel registration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessToken property: Facebook application access token.id()
Get the id property: Page id.void
validate()
Validates the instance.withAccessToken
(String accessToken) Set the accessToken property: Facebook application access token.Set the id property: Page id.
-
Constructor Details
-
FacebookPage
public FacebookPage()
-
-
Method Details
-
id
Get the id property: Page id.- Returns:
- the id value.
-
withId
Set the id property: Page id.- Parameters:
id
- the id value to set.- Returns:
- the FacebookPage object itself.
-
accessToken
Get the accessToken property: Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.- Returns:
- the accessToken value.
-
withAccessToken
Set the accessToken property: Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.- Parameters:
accessToken
- the accessToken value to set.- Returns:
- the FacebookPage object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-