All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.digitalocean.kotlin.outputs.GetSpacesBucketsResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 4.38.0.0
Show newest version
@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