![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.outputs.GetCustomApiResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.web.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A custom API
* @property etag Resource ETag
* @property id Resource id
* @property location Resource location
* @property name Resource name
* @property properties Custom API properties
* @property tags Resource tags
* @property type Resource type
*/
public data class GetCustomApiResult(
public val etag: String? = null,
public val id: String,
public val location: String? = null,
public val name: String,
public val properties: CustomApiPropertiesDefinitionResponse,
public val tags: Map? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.web.outputs.GetCustomApiResult): GetCustomApiResult = GetCustomApiResult(
etag = javaType.etag().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
location = javaType.location().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
properties = javaType.properties().let({ args0 ->
com.pulumi.azurenative.web.kotlin.outputs.CustomApiPropertiesDefinitionResponse.Companion.toKotlin(args0)
}),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy