WebChatSite Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. Site - com.
azure. resourcemanager. botservice. models. WebChatSite
- com.
- com.
public final class WebChatSite
extends Site
A site for the Webchat channel.
Constructor Summary
| Constructor | Description |
|---|---|
| WebChatSite() |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
| Boolean |
isTokenEnabled()
Get the is |
| String |
key()
Get the key property: Primary key. |
| String |
key2()
Get the key2 property: Secondary key. |
| String |
siteId()
Get the site |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Web |
withAppId(String appId)
Set the app |
|
Web |
withEtag(String etag)
Set the etag property: Entity Tag. |
|
Web |
withIsBlockUserUploadEnabled(Boolean isBlockUserUploadEnabled)
Set the is |
|
Web |
withIsDetailedLoggingEnabled(Boolean isDetailedLoggingEnabled)
Set the is |
|
Web |
withIsEnabled(boolean isEnabled)
Set the is |
|
Web |
withIsEndpointParametersEnabled(Boolean isEndpointParametersEnabled)
Set the is |
|
Web |
withIsNoStorageEnabled(Boolean isNoStorageEnabled)
Set the is |
|
Web |
withIsSecureSiteEnabled(Boolean isSecureSiteEnabled)
Set the is |
|
Web |
withIsV1Enabled(Boolean isV1Enabled)
Set the isV1Enabled property: Whether this site is enabled for Bot Framework V1 protocol. |
|
Web |
withIsV3Enabled(Boolean isV3Enabled)
Set the isV3Enabled property: Whether this site is enabled for Bot Framework V3 protocol. |
|
Web |
withIsWebchatPreviewEnabled(Boolean isWebchatPreviewEnabled)
Set the is |
|
Web |
withIsWebChatSpeechEnabled(Boolean isWebChatSpeechEnabled)
Set the is |
|
Web |
withSiteName(String siteName)
Set the site |
|
Web |
withTenantId(String tenantId)
Set the tenant |
|
Web |
withTrustedOrigins(List<String> trustedOrigins)
Set the trusted |
Methods inherited from Site
Methods inherited from java.lang.Object
Constructor Details
WebChatSite
public WebChatSite()
Creates an instance of WebChatSite class.
Method Details
fromJson
public static WebChatSite fromJson(JsonReader jsonReader)
Reads an instance of WebChatSite from the JsonReader.
Parameters:
Returns:
Throws:
isTokenEnabled
public Boolean isTokenEnabled()
Get the isTokenEnabled property: Whether this site is token enabled for channel.
Overrides:
WebChatSite.isTokenEnabled()Returns:
key
public String key()
Get the key property: Primary key. Value only returned through POST to the action Channel List API, otherwise empty.
Overrides:
WebChatSite.key()Returns:
key2
public String key2()
Get the key2 property: Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.
Overrides:
WebChatSite.key2()Returns:
siteId
public String siteId()
Get the siteId property: Site Id.
Overrides:
WebChatSite.siteId()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WebChatSite.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
WebChatSite.validate()withAppId
public WebChatSite withAppId(String appId)
Set the appId property: DirectLine application id.
Overrides:
WebChatSite.withAppId(String appId)Parameters:
withEtag
public WebChatSite withEtag(String etag)
Set the etag property: Entity Tag.
Overrides:
WebChatSite.withEtag(String etag)Parameters:
withIsBlockUserUploadEnabled
public WebChatSite withIsBlockUserUploadEnabled(Boolean isBlockUserUploadEnabled)
Set the isBlockUserUploadEnabled property: Whether this site is enabled for block user upload.
Overrides:
WebChatSite.withIsBlockUserUploadEnabled(Boolean isBlockUserUploadEnabled)Parameters:
withIsDetailedLoggingEnabled
public WebChatSite withIsDetailedLoggingEnabled(Boolean isDetailedLoggingEnabled)
Set the isDetailedLoggingEnabled property: Whether this site is disabled detailed logging for.
Overrides:
WebChatSite.withIsDetailedLoggingEnabled(Boolean isDetailedLoggingEnabled)Parameters:
withIsEnabled
public WebChatSite withIsEnabled(boolean isEnabled)
Set the isEnabled property: Whether this site is enabled for DirectLine channel.
Overrides:
WebChatSite.withIsEnabled(boolean isEnabled)Parameters:
withIsEndpointParametersEnabled
public WebChatSite withIsEndpointParametersEnabled(Boolean isEndpointParametersEnabled)
Set the isEndpointParametersEnabled property: Whether this site is EndpointParameters enabled for channel.
Overrides:
WebChatSite.withIsEndpointParametersEnabled(Boolean isEndpointParametersEnabled)Parameters:
withIsNoStorageEnabled
public WebChatSite withIsNoStorageEnabled(Boolean isNoStorageEnabled)
Set the isNoStorageEnabled property: Whether this no-storage site is disabled detailed logging for.
Overrides:
WebChatSite.withIsNoStorageEnabled(Boolean isNoStorageEnabled)Parameters:
withIsSecureSiteEnabled
public WebChatSite withIsSecureSiteEnabled(Boolean isSecureSiteEnabled)
Set the isSecureSiteEnabled property: Whether this site is enabled for authentication with Bot Framework.
Overrides:
WebChatSite.withIsSecureSiteEnabled(Boolean isSecureSiteEnabled)Parameters:
withIsV1Enabled
public WebChatSite withIsV1Enabled(Boolean isV1Enabled)
Set the isV1Enabled property: Whether this site is enabled for Bot Framework V1 protocol.
Overrides:
WebChatSite.withIsV1Enabled(Boolean isV1Enabled)Parameters:
withIsV3Enabled
public WebChatSite withIsV3Enabled(Boolean isV3Enabled)
Set the isV3Enabled property: Whether this site is enabled for Bot Framework V3 protocol.
Overrides:
WebChatSite.withIsV3Enabled(Boolean isV3Enabled)Parameters:
withIsWebchatPreviewEnabled
public WebChatSite withIsWebchatPreviewEnabled(Boolean isWebchatPreviewEnabled)
Set the isWebchatPreviewEnabled property: Whether this site is enabled for preview versions of Webchat.
Overrides:
WebChatSite.withIsWebchatPreviewEnabled(Boolean isWebchatPreviewEnabled)Parameters:
withIsWebChatSpeechEnabled
public WebChatSite withIsWebChatSpeechEnabled(Boolean isWebChatSpeechEnabled)
Set the isWebChatSpeechEnabled property: Whether this site is enabled for Webchat Speech.
Overrides:
WebChatSite.withIsWebChatSpeechEnabled(Boolean isWebChatSpeechEnabled)Parameters:
withSiteName
public WebChatSite withSiteName(String siteName)
Set the siteName property: Site name.
Overrides:
WebChatSite.withSiteName(String siteName)Parameters:
withTenantId
public WebChatSite withTenantId(String tenantId)
Set the tenantId property: Tenant Id.
Overrides:
WebChatSite.withTenantId(String tenantId)Parameters:
withTrustedOrigins
public WebChatSite withTrustedOrigins(List<String> trustedOrigins)
Set the trustedOrigins property: List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.
Overrides:
WebChatSite.withTrustedOrigins(List<String> trustedOrigins)Parameters: