com.pulumi.azure.automation.kotlin.outputs.RunBookDraft.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property contentLink A `publish_content_link` block as defined above.
* @property creationTime
* @property editModeEnabled Whether the draft in edit mode.
* @property lastModifiedTime
* @property outputTypes Specifies the output types of the runbook.
* @property parameters A list of `parameters` block as defined below.
*/
public data class RunBookDraft(
public val contentLink: RunBookDraftContentLink? = null,
public val creationTime: String? = null,
public val editModeEnabled: Boolean? = null,
public val lastModifiedTime: String? = null,
public val outputTypes: List? = null,
public val parameters: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.RunBookDraft): RunBookDraft =
RunBookDraft(
contentLink = javaType.contentLink().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.automation.kotlin.outputs.RunBookDraftContentLink.Companion.toKotlin(args0)
})
}).orElse(null),
creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
editModeEnabled = javaType.editModeEnabled().map({ args0 -> args0 }).orElse(null),
lastModifiedTime = javaType.lastModifiedTime().map({ args0 -> args0 }).orElse(null),
outputTypes = javaType.outputTypes().map({ args0 -> args0 }),
parameters = javaType.parameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.automation.kotlin.outputs.RunBookDraftParameter.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy