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

com.pulumi.kubernetes.batch.v1beta1.kotlin.outputs.CronJobStatusPatch.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: 4.18.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.batch.v1beta1.kotlin.outputs

import com.pulumi.kubernetes.core.v1.kotlin.outputs.ObjectReferencePatch
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * CronJobStatus represents the current state of a cron job.
 * @property active A list of pointers to currently running jobs.
 * @property lastScheduleTime Information when was the last time the job was successfully scheduled.
 */
public data class CronJobStatusPatch(
    public val active: List? = null,
    public val lastScheduleTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.batch.v1beta1.outputs.CronJobStatusPatch): CronJobStatusPatch = CronJobStatusPatch(
            active = javaType.active().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.core.v1.kotlin.outputs.ObjectReferencePatch.Companion.toKotlin(args0)
                })
            }),
            lastScheduleTime = javaType.lastScheduleTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy