com.pulumi.azure.automation.kotlin.outputs.RunBookDraftParameter.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.automation.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property defaultValue Specifies the default value of the parameter.
* @property key The name of the parameter.
* @property mandatory Whether this parameter is mandatory.
* @property position Specifies the position of the parameter.
* @property type Specifies the type of this parameter.
*/
public data class RunBookDraftParameter(
public val defaultValue: String? = null,
public val key: String,
public val mandatory: Boolean? = null,
public val position: Int? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.RunBookDraftParameter):
RunBookDraftParameter = RunBookDraftParameter(
defaultValue = javaType.defaultValue().map({ args0 -> args0 }).orElse(null),
key = javaType.key(),
mandatory = javaType.mandatory().map({ args0 -> args0 }).orElse(null),
position = javaType.position().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy