
com.pulumi.azurenative.apicenter.kotlin.outputs.GetApiDefinitionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apicenter.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* API definition entity.
* @property description API definition description.
* @property id Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
* @property name The name of the resource
* @property specification API specification details.
* @property systemData Azure Resource Manager metadata containing createdBy and modifiedBy information.
* @property title API definition title.
* @property type The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
public data class GetApiDefinitionResult(
public val description: String? = null,
public val id: String,
public val name: String,
public val specification: ApiDefinitionPropertiesSpecificationResponse,
public val systemData: SystemDataResponse,
public val title: String,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.apicenter.outputs.GetApiDefinitionResult): GetApiDefinitionResult = GetApiDefinitionResult(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
name = javaType.name(),
specification = javaType.specification().let({ args0 ->
com.pulumi.azurenative.apicenter.kotlin.outputs.ApiDefinitionPropertiesSpecificationResponse.Companion.toKotlin(args0)
}),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.apicenter.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
title = javaType.title(),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy