![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apigatewayv2.kotlin.outputs.GetModelResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.apigatewayv2.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
/**
*
* @property contentType The content-type for the model, for example, "application/json".
* @property description The description of the model.
* @property modelId The model ID.
* @property name The name of the model.
* @property schema The schema for the model. For application/json models, this should be JSON schema draft 4 model.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ApiGatewayV2::Model` for more information about the expected schema for this property.
*/
public data class GetModelResult(
public val contentType: String? = null,
public val description: String? = null,
public val modelId: String? = null,
public val name: String? = null,
public val schema: Any? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apigatewayv2.outputs.GetModelResult): GetModelResult = GetModelResult(
contentType = javaType.contentType().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
modelId = javaType.modelId().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
schema = javaType.schema().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy