FacebookPage Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. FacebookPage
- com.
Implements
public final class FacebookPage
implements JsonSerializable<FacebookPage>
A Facebook page for Facebook channel registration.
Constructor Summary
| Constructor | Description |
|---|---|
| FacebookPage() |
Creates an instance of Facebook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accessToken()
Get the access |
|
static
Facebook |
fromJson(JsonReader jsonReader)
Reads an instance of Facebook |
| String |
id()
Get the id property: Page id. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Facebook |
withAccessToken(String accessToken)
Set the access |
|
Facebook |
withId(String id)
Set the id property: Page id. |
Methods inherited from java.lang.Object
Constructor Details
FacebookPage
public FacebookPage()
Creates an instance of FacebookPage class.
Method Details
accessToken
public String accessToken()
Get the accessToken property: Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.
Returns:
fromJson
public static FacebookPage fromJson(JsonReader jsonReader)
Reads an instance of FacebookPage from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Page id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAccessToken
public FacebookPage withAccessToken(String accessToken)
Set the accessToken property: Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.
Parameters:
Returns:
withId
public FacebookPage withId(String id)
Set the id property: Page id.
Parameters:
Returns: