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

com.pulumi.gcp.securesourcemanager.kotlin.outputs.RepositoryInitialConfig.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.securesourcemanager.kotlin.outputs

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

/**
 *
 * @property defaultBranch Default branch name of the repository.
 * @property gitignores List of gitignore template names user can choose from.
 * Valid values can be viewed at https://cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories#initialconfig.
 * @property license License template name user can choose from.
 * Valid values can be viewed at https://cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories#initialconfig.
 * @property readme README template name.
 * Valid values can be viewed at https://cloud.google.com/secure-source-manager/docs/reference/rest/v1/projects.locations.repositories#initialconfig.
 */
public data class RepositoryInitialConfig(
    public val defaultBranch: String? = null,
    public val gitignores: List? = null,
    public val license: String? = null,
    public val readme: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.securesourcemanager.outputs.RepositoryInitialConfig): RepositoryInitialConfig = RepositoryInitialConfig(
            defaultBranch = javaType.defaultBranch().map({ args0 -> args0 }).orElse(null),
            gitignores = javaType.gitignores().map({ args0 -> args0 }),
            license = javaType.license().map({ args0 -> args0 }).orElse(null),
            readme = javaType.readme().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy