com.pulumi.kubernetes.events.v1.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.v1.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. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.
* @property count count is the number of occurrences in this series up to the last heartbeat time.
* @property lastObservedTime lastObservedTime is the time when last Event from the series was seen before last heartbeat.
*/
public data class EventSeriesPatch(
public val count: Int? = null,
public val lastObservedTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.events.v1.outputs.EventSeriesPatch): EventSeriesPatch = EventSeriesPatch(
count = javaType.count().map({ args0 -> args0 }).orElse(null),
lastObservedTime = javaType.lastObservedTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy