![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.devhub.kotlin.outputs.GetGitHubOAuthResult.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.devhub.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* URL used to authorize the Developer Hub GitHub App
* @property authURL URL for authorizing the Developer Hub GitHub App
* @property token OAuth token used to make calls to GitHub
*/
public data class GetGitHubOAuthResult(
public val authURL: String? = null,
public val token: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.devhub.outputs.GetGitHubOAuthResult): GetGitHubOAuthResult = GetGitHubOAuthResult(
authURL = javaType.authURL().map({ args0 -> args0 }).orElse(null),
token = javaType.token().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy