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

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

package com.pulumi.gcp.osconfig.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property apt An Apt Repository.
 * Structure is documented below.
 * @property goo A Goo Repository.
 * Structure is documented below.
 * @property yum A Yum Repository.
 * Structure is documented below.
 * @property zypper A Zypper Repository.
 * Structure is documented below.
 */
public data class GuestPoliciesPackageRepository(
    public val apt: GuestPoliciesPackageRepositoryApt? = null,
    public val goo: GuestPoliciesPackageRepositoryGoo? = null,
    public val yum: GuestPoliciesPackageRepositoryYum? = null,
    public val zypper: GuestPoliciesPackageRepositoryZypper? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.GuestPoliciesPackageRepository): GuestPoliciesPackageRepository = GuestPoliciesPackageRepository(
            apt = javaType.apt().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesPackageRepositoryApt.Companion.toKotlin(args0)
                })
            }).orElse(null),
            goo = javaType.goo().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesPackageRepositoryGoo.Companion.toKotlin(args0)
                })
            }).orElse(null),
            yum = javaType.yum().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesPackageRepositoryYum.Companion.toKotlin(args0)
                })
            }).orElse(null),
            zypper = javaType.zypper().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesPackageRepositoryZypper.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy