Class DirectLineSite
java.lang.Object
com.azure.resourcemanager.botservice.models.DirectLineSite
A site for the Direct Line channel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet 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.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.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.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.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.
-
Constructor Details
-
DirectLineSite
public DirectLineSite()
-
-
Method Details
-
siteId
Get the siteId property: Site Id.- Returns:
- the siteId value.
-
siteName
Get the siteName property: Site name.- Returns:
- the siteName value.
-
withSiteName
Set the siteName property: Site name.- Parameters:
siteName
- the siteName value to set.- Returns:
- the DirectLineSite object itself.
-
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
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
Set the isEnabled property: Whether this site is enabled for DirectLine channel.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the DirectLineSite 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 DirectLineSite 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 DirectLineSite 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 DirectLineSite 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 DirectLineSite 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 DirectLineSite object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-