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

com.pulumi.azurenative.management.kotlin.outputs.GetEntityResult.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.management.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Describes the result of the request to view entities.
 * @property count Total count of records that match the filter
 * @property nextLink The URL to use for getting the next set of results.
 * @property value The list of entities.
 */
public data class GetEntityResult(
    public val count: Int,
    public val nextLink: String,
    public val `value`: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.management.outputs.GetEntityResult): GetEntityResult = GetEntityResult(
            count = javaType.count(),
            nextLink = javaType.nextLink(),
            `value` = javaType.`value`().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.management.kotlin.outputs.EntityInfoResponse.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy