DirectLineChannelProperties Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. DirectLineChannelProperties
- com.
Implements
public final class DirectLineChannelProperties
implements JsonSerializable<DirectLineChannelProperties>
The parameters to provide for the Direct Line channel.
Constructor Summary
| Constructor | Description |
|---|---|
| DirectLineChannelProperties() |
Creates an instance of Direct |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
directLineEmbedCode()
Get the direct |
| String |
extensionKey1()
Get the extension |
| String |
extensionKey2()
Get the extension |
|
static
Direct |
fromJson(JsonReader jsonReader)
Reads an instance of Direct |
|
List<Direct |
sites()
Get the sites property: The list of Direct Line sites. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Direct |
withDirectLineEmbedCode(String directLineEmbedCode)
Set the direct |
|
Direct |
withExtensionKey1(String extensionKey1)
Set the extension |
|
Direct |
withExtensionKey2(String extensionKey2)
Set the extension |
|
Direct |
withSites(List<DirectLineSite> sites)
Set the sites property: The list of Direct Line sites. |
Methods inherited from java.lang.Object
Constructor Details
DirectLineChannelProperties
public DirectLineChannelProperties()
Creates an instance of DirectLineChannelProperties class.
Method Details
directLineEmbedCode
public String directLineEmbedCode()
Get the directLineEmbedCode property: Direct Line embed code of the resource.
Returns:
extensionKey1
public String extensionKey1()
Get the extensionKey1 property: The extensionKey1.
Returns:
extensionKey2
public String extensionKey2()
Get the extensionKey2 property: The extensionKey2.
Returns:
fromJson
public static DirectLineChannelProperties fromJson(JsonReader jsonReader)
Reads an instance of DirectLineChannelProperties from the JsonReader.
Parameters:
Returns:
Throws:
sites
public List<DirectLineSite> sites()
Get the sites property: The list of Direct Line sites.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDirectLineEmbedCode
public DirectLineChannelProperties withDirectLineEmbedCode(String directLineEmbedCode)
Set the directLineEmbedCode property: Direct Line embed code of the resource.
Parameters:
Returns:
withExtensionKey1
public DirectLineChannelProperties withExtensionKey1(String extensionKey1)
Set the extensionKey1 property: The extensionKey1.
Parameters:
Returns:
withExtensionKey2
public DirectLineChannelProperties withExtensionKey2(String extensionKey2)
Set the extensionKey2 property: The extensionKey2.
Parameters:
Returns:
withSites
public DirectLineChannelProperties withSites(List<DirectLineSite> sites)
Set the sites property: The list of Direct Line sites.
Parameters:
Returns: