![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.documentdb.kotlin.outputs.CassandraSchemaResponse.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.documentdb.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* Cosmos DB Cassandra table schema
* @property clusterKeys List of cluster key.
* @property columns List of Cassandra table columns.
* @property partitionKeys List of partition key.
*/
public data class CassandraSchemaResponse(
public val clusterKeys: List? = null,
public val columns: List? = null,
public val partitionKeys: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.documentdb.outputs.CassandraSchemaResponse): CassandraSchemaResponse = CassandraSchemaResponse(
clusterKeys = javaType.clusterKeys().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.documentdb.kotlin.outputs.ClusterKeyResponse.Companion.toKotlin(args0)
})
}),
columns = javaType.columns().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.documentdb.kotlin.outputs.ColumnResponse.Companion.toKotlin(args0)
})
}),
partitionKeys = javaType.partitionKeys().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.documentdb.kotlin.outputs.CassandraPartitionKeyResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy