com.pulumi.azurenative.web.kotlin.inputs.ApiReferenceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.ApiReferenceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property brandColor Brand color
* @property description The custom API description
* @property displayName The display name
* @property iconUri The icon URI
* @property id Resource reference id
* @property name The name of the API
* @property swagger The JSON representation of the swagger
* @property type Resource reference type
*/
public data class ApiReferenceArgs(
public val brandColor: Output? = null,
public val description: Output? = null,
public val displayName: Output? = null,
public val iconUri: Output? = null,
public val id: Output? = null,
public val name: Output? = null,
public val swagger: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.ApiReferenceArgs =
com.pulumi.azurenative.web.inputs.ApiReferenceArgs.builder()
.brandColor(brandColor?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.iconUri(iconUri?.applyValue({ args0 -> args0 }))
.id(id?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.swagger(swagger?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApiReferenceArgs].
*/
@PulumiTagMarker
public class ApiReferenceArgsBuilder internal constructor() {
private var brandColor: Output? = null
private var description: Output? = null
private var displayName: Output? = null
private var iconUri: Output? = null
private var id: Output? = null
private var name: Output? = null
private var swagger: Output? = null
private var type: Output? = null
/**
* @param value Brand color
*/
@JvmName("fpmsqoaxfdijhace")
public suspend fun brandColor(`value`: Output) {
this.brandColor = value
}
/**
* @param value The custom API description
*/
@JvmName("ivnagodvccaxdcbp")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The display name
*/
@JvmName("xqtcdbwlkoplcocs")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value The icon URI
*/
@JvmName("thhutgtisawiqdrs")
public suspend fun iconUri(`value`: Output) {
this.iconUri = value
}
/**
* @param value Resource reference id
*/
@JvmName("glnphgfwsefwasaf")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The name of the API
*/
@JvmName("qkefdohscdfcvymy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The JSON representation of the swagger
*/
@JvmName("qypycoapmghnfmew")
public suspend fun swagger(`value`: Output) {
this.swagger = value
}
/**
* @param value Resource reference type
*/
@JvmName("ryofsauduqaenrqk")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Brand color
*/
@JvmName("bnposcpxcpnagfup")
public suspend fun brandColor(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.brandColor = mapped
}
/**
* @param value The custom API description
*/
@JvmName("fehlurmxlelqghnr")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The display name
*/
@JvmName("ariujqhoqlnpqqmi")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayName = mapped
}
/**
* @param value The icon URI
*/
@JvmName("csslqyhirshlgedj")
public suspend fun iconUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iconUri = mapped
}
/**
* @param value Resource reference id
*/
@JvmName("rlfbxffjbmghuell")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The name of the API
*/
@JvmName("gvkhmfuypuuvnxgi")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The JSON representation of the swagger
*/
@JvmName("jxurhbtbewempoum")
public suspend fun swagger(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.swagger = mapped
}
/**
* @param value Resource reference type
*/
@JvmName("snvrwygobktnmeot")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): ApiReferenceArgs = ApiReferenceArgs(
brandColor = brandColor,
description = description,
displayName = displayName,
iconUri = iconUri,
id = id,
name = name,
swagger = swagger,
type = type,
)
}