All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.bot.kotlin.outputs.ChannelDirectLineSite.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.bot.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property enabled Enables/Disables this site. Defaults to `true`.
 * @property endpointParametersEnabled Is the endpoint parameters enabled for this site?
 * @property enhancedAuthenticationEnabled Enables additional security measures for this site, see [Enhanced Directline Authentication Features](https://blog.botframework.com/2018/09/25/enhanced-direct-line-authentication-features). Disabled by default.
 * @property id Id for the site
 * @property key Primary key for accessing this site
 * @property key2 Secondary key for accessing this site
 * @property name The name of the site
 * @property storageEnabled Is the storage site enabled for detailed logging? Defaults to `true`.
 * @property trustedOrigins This field is required when `is_secure_site_enabled` is enabled. Determines which origins can establish a Directline conversation for this site.
 * @property userUploadEnabled Is the user upload enabled for this site? Defaults to `true`.
 * @property v1Allowed Enables v1 of the Directline protocol for this site. Defaults to `true`.
 * @property v3Allowed Enables v3 of the Directline protocol for this site. Defaults to `true`.
 */
public data class ChannelDirectLineSite(
    public val enabled: Boolean? = null,
    public val endpointParametersEnabled: Boolean? = null,
    public val enhancedAuthenticationEnabled: Boolean? = null,
    public val id: String? = null,
    public val key: String? = null,
    public val key2: String? = null,
    public val name: String,
    public val storageEnabled: Boolean? = null,
    public val trustedOrigins: List? = null,
    public val userUploadEnabled: Boolean? = null,
    public val v1Allowed: Boolean? = null,
    public val v3Allowed: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.bot.outputs.ChannelDirectLineSite):
            ChannelDirectLineSite = ChannelDirectLineSite(
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            endpointParametersEnabled = javaType.endpointParametersEnabled().map({ args0 ->
                args0
            }).orElse(null),
            enhancedAuthenticationEnabled = javaType.enhancedAuthenticationEnabled().map({ args0 ->
                args0
            }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            key = javaType.key().map({ args0 -> args0 }).orElse(null),
            key2 = javaType.key2().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            storageEnabled = javaType.storageEnabled().map({ args0 -> args0 }).orElse(null),
            trustedOrigins = javaType.trustedOrigins().map({ args0 -> args0 }),
            userUploadEnabled = javaType.userUploadEnabled().map({ args0 -> args0 }).orElse(null),
            v1Allowed = javaType.v1Allowed().map({ args0 -> args0 }).orElse(null),
            v3Allowed = javaType.v3Allowed().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy