com.pulumi.kubernetes.events.v1beta1.kotlin.outputs.EventSeriesPatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-kotlin Show documentation
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.kubernetes.events.v1beta1.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.
* @property count Number of occurrences in this series up to the last heartbeat time
* @property lastObservedTime Time when last Event from the series was seen before last heartbeat.
* @property state Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18
*/
public data class EventSeriesPatch(
public val count: Int? = null,
public val lastObservedTime: String? = null,
public val state: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.events.v1beta1.outputs.EventSeriesPatch): EventSeriesPatch = EventSeriesPatch(
count = javaType.count().map({ args0 -> args0 }).orElse(null),
lastObservedTime = javaType.lastObservedTime().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy