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

com.pulumi.googlenative.containeranalysis.v1.kotlin.outputs.CommandResponse.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.containeranalysis.v1.kotlin.outputs

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

/**
 * Command describes a step performed as part of the build pipeline.
 * @property args Command-line arguments used when executing this command.
 * @property dir Working directory (relative to project source root) used when running this command.
 * @property env Environment variables set before running this command.
 * @property name Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
 * @property waitFor The ID(s) of the command(s) that this command depends on.
 */
public data class CommandResponse(
    public val args: List,
    public val dir: String,
    public val env: List,
    public val name: String,
    public val waitFor: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.containeranalysis.v1.outputs.CommandResponse): CommandResponse = CommandResponse(
            args = javaType.args().map({ args0 -> args0 }),
            dir = javaType.dir(),
            env = javaType.env().map({ args0 -> args0 }),
            name = javaType.name(),
            waitFor = javaType.waitFor().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy