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

com.pulumi.azure.automation.kotlin.outputs.SourceControlSecurity.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.automation.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property refreshToken The refresh token of specified rpeo.
 * @property token The access token of specified repo.
 * @property tokenType Specify the token type, possible values are `PersonalAccessToken` and `Oauth`.
 */
public data class SourceControlSecurity(
    public val refreshToken: String? = null,
    public val token: String,
    public val tokenType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.SourceControlSecurity): SourceControlSecurity = SourceControlSecurity(
            refreshToken = javaType.refreshToken().map({ args0 -> args0 }).orElse(null),
            token = javaType.token(),
            tokenType = javaType.tokenType(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy