Class Site
java.lang.Object
com.azure.resourcemanager.botservice.models.WebChatSite
com.azure.resourcemanager.botservice.models.Site
A site for the channel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: Entity Tag.Get the isBlockUserUploadEnabled property: Whether this site is enabled for block user upload.boolean
Get the isEnabled property: Whether this site is enabled for DirectLine channel.Get the isSecureSiteEnabled property: Whether this site is enabled for authentication with Bot Framework.Get the isTokenEnabled property: Whether this site is token enabled for channel.boolean
Get the isV1Enabled property: Whether this site is enabled for Bot Framework V1 protocol.boolean
Get the isV3Enabled property: Whether this site is enabled for Bot Framework V1 protocol.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.Get the trustedOrigins property: List of Trusted Origin URLs for this site.void
validate()
Validates the instance.Set the etag property: Entity Tag.withIsBlockUserUploadEnabled
(Boolean isBlockUserUploadEnabled) Set the isBlockUserUploadEnabled property: Whether this site is enabled for block user upload.withIsEnabled
(boolean isEnabled) Set the isEnabled property: Whether this site is enabled for DirectLine channel.withIsSecureSiteEnabled
(Boolean isSecureSiteEnabled) Set the isSecureSiteEnabled property: Whether this site is enabled for authentication with Bot Framework.withIsTokenEnabled
(Boolean isTokenEnabled) Set the isTokenEnabled property: Whether this site is token enabled for channel.withIsV1Enabled
(boolean isV1Enabled) Set the isV1Enabled property: Whether this site is enabled for Bot Framework V1 protocol.withIsV3Enabled
(boolean isV3Enabled) Set the isV3Enabled property: Whether this site is enabled for Bot Framework V1 protocol.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.withTrustedOrigins
(List<String> trustedOrigins) Set the trustedOrigins property: List of Trusted Origin URLs for this site.Methods inherited from class com.azure.resourcemanager.botservice.models.WebChatSite
isWebchatPreviewEnabled
-
Constructor Details
-
Site
public Site()
-
-
Method Details
-
isTokenEnabled
Get the isTokenEnabled property: Whether this site is token enabled for channel.- Returns:
- the isTokenEnabled value.
-
withIsTokenEnabled
Set the isTokenEnabled property: Whether this site is token enabled for channel.- Parameters:
isTokenEnabled
- the isTokenEnabled value to set.- Returns:
- the Site object itself.
-
etag
Get the etag property: Entity Tag.- Returns:
- the etag value.
-
withEtag
Set the etag property: Entity Tag.- Parameters:
etag
- the etag value to set.- Returns:
- the Site object itself.
-
siteId
Get the siteId property: Site Id.- Overrides:
siteId
in classWebChatSite
- Returns:
- the siteId value.
-
siteName
Get the siteName property: Site name.- Overrides:
siteName
in classWebChatSite
- Returns:
- the siteName value.
-
withSiteName
Set the siteName property: Site name.- Overrides:
withSiteName
in classWebChatSite
- Parameters:
siteName
- the siteName value to set.- Returns:
- the Site object itself.
-
key
Get the key property: Primary key. Value only returned through POST to the action Channel List API, otherwise empty.- Overrides:
key
in classWebChatSite
- Returns:
- the key value.
-
key2
Get the key2 property: Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.- Overrides:
key2
in classWebChatSite
- Returns:
- the key2 value.
-
isEnabled
public boolean isEnabled()Get the isEnabled property: Whether this site is enabled for DirectLine channel.- Overrides:
isEnabled
in classWebChatSite
- Returns:
- the isEnabled value.
-
withIsEnabled
Set the isEnabled property: Whether this site is enabled for DirectLine channel.- Overrides:
withIsEnabled
in classWebChatSite
- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the Site object itself.
-
isV1Enabled
public boolean isV1Enabled()Get the isV1Enabled property: Whether this site is enabled for Bot Framework V1 protocol.- Returns:
- the isV1Enabled value.
-
withIsV1Enabled
Set the isV1Enabled property: Whether this site is enabled for Bot Framework V1 protocol.- Parameters:
isV1Enabled
- the isV1Enabled value to set.- Returns:
- the Site object itself.
-
isV3Enabled
public boolean isV3Enabled()Get the isV3Enabled property: Whether this site is enabled for Bot Framework V1 protocol.- Returns:
- the isV3Enabled value.
-
withIsV3Enabled
Set the isV3Enabled property: Whether this site is enabled for Bot Framework V1 protocol.- Parameters:
isV3Enabled
- the isV3Enabled value to set.- Returns:
- the Site object itself.
-
isSecureSiteEnabled
Get the isSecureSiteEnabled property: Whether this site is enabled for authentication with Bot Framework.- Returns:
- the isSecureSiteEnabled value.
-
withIsSecureSiteEnabled
Set the isSecureSiteEnabled property: Whether this site is enabled for authentication with Bot Framework.- Parameters:
isSecureSiteEnabled
- the isSecureSiteEnabled value to set.- Returns:
- the Site object itself.
-
isBlockUserUploadEnabled
Get the isBlockUserUploadEnabled property: Whether this site is enabled for block user upload.- Returns:
- the isBlockUserUploadEnabled value.
-
withIsBlockUserUploadEnabled
Set the isBlockUserUploadEnabled property: Whether this site is enabled for block user upload.- Parameters:
isBlockUserUploadEnabled
- the isBlockUserUploadEnabled value to set.- Returns:
- the Site object itself.
-
trustedOrigins
Get the trustedOrigins property: List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.- Returns:
- the trustedOrigins value.
-
withTrustedOrigins
Set the trustedOrigins property: List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.- Parameters:
trustedOrigins
- the trustedOrigins value to set.- Returns:
- the Site object itself.
-
withIsWebchatPreviewEnabled
Set the isWebchatPreviewEnabled property: Whether this site is enabled for preview versions of Webchat.- Overrides:
withIsWebchatPreviewEnabled
in classWebChatSite
- Parameters:
isWebchatPreviewEnabled
- the isWebchatPreviewEnabled value to set.- Returns:
- the WebChatSite object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classWebChatSite
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-