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

com.pulumi.azurenative.securityinsights.kotlin.outputs.EntityInsightItemResponse.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.securityinsights.kotlin.outputs

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

/**
 * Entity insight Item.
 * @property chartQueryResults Query results for table insights query.
 * @property queryId The query id of the insight
 * @property queryTimeInterval The Time interval that the query actually executed on.
 * @property tableQueryResults Query results for table insights query.
 */
public data class EntityInsightItemResponse(
    public val chartQueryResults: List? = null,
    public val queryId: String? = null,
    public val queryTimeInterval: EntityInsightItemResponseQueryTimeInterval? = null,
    public val tableQueryResults: InsightsTableResultResponse? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.securityinsights.outputs.EntityInsightItemResponse): EntityInsightItemResponse = EntityInsightItemResponse(
            chartQueryResults = javaType.chartQueryResults().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.securityinsights.kotlin.outputs.InsightsTableResultResponse.Companion.toKotlin(args0)
                })
            }),
            queryId = javaType.queryId().map({ args0 -> args0 }).orElse(null),
            queryTimeInterval = javaType.queryTimeInterval().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.securityinsights.kotlin.outputs.EntityInsightItemResponseQueryTimeInterval.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tableQueryResults = javaType.tableQueryResults().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.securityinsights.kotlin.outputs.InsightsTableResultResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy