Class WebChatSite
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.WebChatSite
-
-
Constructor Summary
Constructors Constructor Description WebChatSite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled()
Get the isEnabled property: Whether this site is enabled for DirectLine channel.boolean
isWebchatPreviewEnabled()
Get the isWebchatPreviewEnabled property: Whether this site is enabled for preview versions of Webchat.String
key()
Get the key property: Primary key.String
key2()
Get the key2 property: Secondary key.String
siteId()
Get the siteId property: Site Id.String
siteName()
Get the siteName property: Site name.void
validate()
Validates the instance.WebChatSite
withIsEnabled(boolean isEnabled)
Set the isEnabled property: Whether this site is enabled for DirectLine channel.WebChatSite
withIsWebchatPreviewEnabled(boolean isWebchatPreviewEnabled)
Set the isWebchatPreviewEnabled property: Whether this site is enabled for preview versions of Webchat.WebChatSite
withSiteName(String siteName)
Set the siteName property: Site name.
-
-
-
Method Detail
-
siteId
public String siteId()
Get the siteId property: Site Id.- Returns:
- the siteId value.
-
siteName
public String siteName()
Get the siteName property: Site name.- Returns:
- the siteName value.
-
withSiteName
public WebChatSite withSiteName(String siteName)
Set the siteName property: Site name.- Parameters:
siteName
- the siteName value to set.- Returns:
- the WebChatSite object itself.
-
key
public String 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
public String 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
public WebChatSite withIsEnabled(boolean isEnabled)
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
public WebChatSite withIsWebchatPreviewEnabled(boolean isWebchatPreviewEnabled)
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.
-
-