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