com.pulumi.azurenative.testbase.kotlin.inputs.HighlightedFileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.testbase.kotlin.inputs
import com.pulumi.azurenative.testbase.inputs.HighlightedFileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The information of a highlighted file that user should pay attention to.
* @property path The path of the highlighted file.
* @property sections The name of sections to highlight.
* @property visited A flag to save whether this file is viewed by user.
*/
public data class HighlightedFileArgs(
public val path: Output,
public val sections: Output>? = null,
public val visited: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.testbase.inputs.HighlightedFileArgs =
com.pulumi.azurenative.testbase.inputs.HighlightedFileArgs.builder()
.path(path.applyValue({ args0 -> args0 }))
.sections(sections?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.visited(visited?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HighlightedFileArgs].
*/
@PulumiTagMarker
public class HighlightedFileArgsBuilder internal constructor() {
private var path: Output? = null
private var sections: Output>? = null
private var visited: Output? = null
/**
* @param value The path of the highlighted file.
*/
@JvmName("pppccdukqqkmtxdc")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value The name of sections to highlight.
*/
@JvmName("qijtkuflhyygkmke")
public suspend fun sections(`value`: Output>) {
this.sections = value
}
@JvmName("chmxucyiismtbktj")
public suspend fun sections(vararg values: Output) {
this.sections = Output.all(values.asList())
}
/**
* @param values The name of sections to highlight.
*/
@JvmName("minuavfvydpuoijt")
public suspend fun sections(values: List