com.pulumi.gcp.sourcerepo.kotlin.outputs.GetRepositoryResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.sourcerepo.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getRepository.
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property project
* @property pubsubConfigs
* @property size
* @property url
*/
public data class GetRepositoryResult(
public val id: String,
public val name: String,
public val project: String? = null,
public val pubsubConfigs: List,
public val size: Int,
public val url: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sourcerepo.outputs.GetRepositoryResult): GetRepositoryResult = GetRepositoryResult(
id = javaType.id(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
pubsubConfigs = javaType.pubsubConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.sourcerepo.kotlin.outputs.GetRepositoryPubsubConfig.Companion.toKotlin(args0)
})
}),
size = javaType.size(),
url = javaType.url(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy