Class WebChatSite
java.lang.Object
com.azure.resourcemanager.botservice.models.WebChatSite
- Direct Known Subclasses:
Site
A site for the Webchat channel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the isEnabled property: Whether this site is enabled for DirectLine channel.boolean
Get the isWebchatPreviewEnabled property: Whether this site is enabled for preview versions of Webchat.key()
Get the key property: Primary key.key2()
Get the key2 property: Secondary key.siteId()
Get the siteId property: Site Id.siteName()
Get the siteName property: Site name.void
validate()
Validates the instance.withIsEnabled
(boolean isEnabled) Set the isEnabled property: Whether this site is enabled for DirectLine channel.withIsWebchatPreviewEnabled
(boolean isWebchatPreviewEnabled) Set the isWebchatPreviewEnabled property: Whether this site is enabled for preview versions of Webchat.withSiteName
(String siteName) Set the siteName property: Site name.
-
Constructor Details
-
WebChatSite
public WebChatSite()
-
-
Method Details
-
siteId
Get the siteId property: Site Id.- Returns:
- the siteId value.
-
siteName
Get the siteName property: Site name.- Returns:
- the siteName value.
-
withSiteName
Set the siteName property: Site name.- Parameters:
siteName
- the siteName value to set.- Returns:
- the WebChatSite object itself.
-
key
Get the key property: Primary key. Value only returned through POST to the action Channel List API, otherwise empty.- Returns:
- the key value.
-
key2
Get the key2 property: Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.- Returns:
- the key2 value.
-
isEnabled
public boolean isEnabled()Get the isEnabled property: Whether this site is enabled for DirectLine channel.- Returns:
- the isEnabled value.
-
withIsEnabled
Set the isEnabled property: Whether this site is enabled for DirectLine channel.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the WebChatSite object itself.
-
isWebchatPreviewEnabled
public boolean isWebchatPreviewEnabled()Get the isWebchatPreviewEnabled property: Whether this site is enabled for preview versions of Webchat.- Returns:
- the isWebchatPreviewEnabled value.
-
withIsWebchatPreviewEnabled
Set the isWebchatPreviewEnabled property: Whether this site is enabled for preview versions of Webchat.- Parameters:
isWebchatPreviewEnabled
- the isWebchatPreviewEnabled value to set.- Returns:
- the WebChatSite object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-