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