![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.outputs.GitHubResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* The configuration settings of the GitHub provider.
* @property enabled false
if the GitHub provider should not be enabled despite the set registration; otherwise, true
.
* @property login The configuration settings of the login flow.
* @property registration The configuration settings of the app registration for the GitHub provider.
*/
public data class GitHubResponse(
public val enabled: Boolean? = null,
public val login: LoginScopesResponse? = null,
public val registration: ClientRegistrationResponse? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.web.outputs.GitHubResponse): GitHubResponse = GitHubResponse(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
login = javaType.login().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.web.kotlin.outputs.LoginScopesResponse.Companion.toKotlin(args0)
})
}).orElse(null),
registration = javaType.registration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.web.kotlin.outputs.ClientRegistrationResponse.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy