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

com.pulumi.googlenative.testing.v1.kotlin.outputs.ShardResponse.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.testing.v1.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * Output only. Details about the shard.
 * @property numShards The total number of shards.
 * @property shardIndex The index of the shard among all the shards.
 * @property testTargetsForShard Test targets for each shard. Only set for manual sharding.
 */
public data class ShardResponse(
    public val numShards: Int,
    public val shardIndex: Int,
    public val testTargetsForShard: TestTargetsForShardResponse,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.testing.v1.outputs.ShardResponse): ShardResponse = ShardResponse(
            numShards = javaType.numShards(),
            shardIndex = javaType.shardIndex(),
            testTargetsForShard = javaType.testTargetsForShard().let({ args0 ->
                com.pulumi.googlenative.testing.v1.kotlin.outputs.TestTargetsForShardResponse.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy