![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.GetSpacesBucketsResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getSpacesBuckets.
* @property buckets A list of Spaces buckets satisfying any `filter` and `sort` criteria. Each bucket has the following attributes:
* @property filters
* @property id The provider-assigned unique ID for this managed resource.
* @property sorts
*/
public data class GetSpacesBucketsResult(
public val buckets: List,
public val filters: List? = null,
public val id: String,
public val sorts: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetSpacesBucketsResult): GetSpacesBucketsResult = GetSpacesBucketsResult(
buckets = javaType.buckets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetSpacesBucketsBucket.Companion.toKotlin(args0)
})
}),
filters = javaType.filters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetSpacesBucketsFilter.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
sorts = javaType.sorts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetSpacesBucketsSort.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy