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