WebChatChannelProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.botservice.models.WebChatChannelProperties

Implements

public final class WebChatChannelProperties
implements JsonSerializable<WebChatChannelProperties>

The parameters to provide for the Web Chat channel.

Constructor Summary

Constructor Description
WebChatChannelProperties()

Creates an instance of WebChatChannelProperties class.

Method Summary

Modifier and Type Method and Description
static WebChatChannelProperties fromJson(JsonReader jsonReader)

Reads an instance of WebChatChannelProperties from the JsonReader.

List<WebChatSite> sites()

Get the sites property: The list of Web Chat sites.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String webChatEmbedCode()

Get the webChatEmbedCode property: Web chat control embed code.

WebChatChannelProperties withSites(List<WebChatSite> sites)

Set the sites property: The list of Web Chat sites.

Methods inherited from java.lang.Object

Constructor Details

WebChatChannelProperties

public WebChatChannelProperties()

Creates an instance of WebChatChannelProperties class.

Method Details

fromJson

public static WebChatChannelProperties fromJson(JsonReader jsonReader)

Reads an instance of WebChatChannelProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WebChatChannelProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WebChatChannelProperties.

sites

public List<WebChatSite> sites()

Get the sites property: The list of Web Chat sites.

Returns:

the sites value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

webChatEmbedCode

public String webChatEmbedCode()

Get the webChatEmbedCode property: Web chat control embed code.

Returns:

the webChatEmbedCode value.

withSites

public WebChatChannelProperties withSites(List<WebChatSite> sites)

Set the sites property: The list of Web Chat sites.

Parameters:

sites - the sites value to set.

Returns:

the WebChatChannelProperties object itself.

Applies to