FacebookChannel Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. Channel - com.
azure. resourcemanager. botservice. models. FacebookChannel
- com.
- com.
public final class FacebookChannel
extends Channel
Facebook channel definition.
Constructor Summary
| Constructor | Description |
|---|---|
| FacebookChannel() |
Creates an instance of Facebook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
channelName()
Get the channel |
|
static
Facebook |
fromJson(JsonReader jsonReader)
Reads an instance of Facebook |
|
Facebook |
properties()
Get the properties property: The set of properties specific to bot facebook channel. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Facebook |
withEtag(String etag)
Set the etag property: Entity Tag of the resource. |
|
Facebook |
withLocation(String location)
Set the location property: Specifies the location of the resource. |
|
Facebook |
withProperties(FacebookChannelProperties properties)
Set the properties property: The set of properties specific to bot facebook channel. |
Methods inherited from Channel
Methods inherited from java.lang.Object
Constructor Details
FacebookChannel
public FacebookChannel()
Creates an instance of FacebookChannel class.
Method Details
channelName
public String channelName()
Get the channelName property: The channel name.
Overrides:
FacebookChannel.channelName()Returns:
fromJson
public static FacebookChannel fromJson(JsonReader jsonReader)
Reads an instance of FacebookChannel from the JsonReader.
Parameters:
Returns:
Throws:
properties
public FacebookChannelProperties properties()
Get the properties property: The set of properties specific to bot facebook channel.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FacebookChannel.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
FacebookChannel.validate()withEtag
public FacebookChannel withEtag(String etag)
Set the etag property: Entity Tag of the resource.
Overrides:
FacebookChannel.withEtag(String etag)Parameters:
withLocation
public FacebookChannel withLocation(String location)
Set the location property: Specifies the location of the resource.
Overrides:
FacebookChannel.withLocation(String location)Parameters:
withProperties
public FacebookChannel withProperties(FacebookChannelProperties properties)
Set the properties property: The set of properties specific to bot facebook channel.
Parameters:
Returns: