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

com.pulumi.azurenative.securityinsights.kotlin.outputs.GetInsightsResultsMetadataResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.securityinsights.kotlin.outputs

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

/**
 * Get Insights result metadata.
 * @property errors information about the failed queries
 * @property totalCount the total items found for the insights request
 */
public data class GetInsightsResultsMetadataResponse(
    public val errors: List? = null,
    public val totalCount: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.securityinsights.outputs.GetInsightsResultsMetadataResponse): GetInsightsResultsMetadataResponse = GetInsightsResultsMetadataResponse(
            errors = javaType.errors().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.securityinsights.kotlin.outputs.GetInsightsErrorKindResponse.Companion.toKotlin(args0)
                })
            }),
            totalCount = javaType.totalCount(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy