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

com.pulumi.azurenative.scheduler.kotlin.outputs.JobCollectionQuotaResponse.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.scheduler.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property maxJobCount Gets or set the maximum job count.
 * @property maxJobOccurrence Gets or sets the maximum job occurrence.
 * @property maxRecurrence Gets or set the maximum recurrence.
 */
public data class JobCollectionQuotaResponse(
    public val maxJobCount: Int? = null,
    public val maxJobOccurrence: Int? = null,
    public val maxRecurrence: JobMaxRecurrenceResponse? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.scheduler.outputs.JobCollectionQuotaResponse): JobCollectionQuotaResponse = JobCollectionQuotaResponse(
            maxJobCount = javaType.maxJobCount().map({ args0 -> args0 }).orElse(null),
            maxJobOccurrence = javaType.maxJobOccurrence().map({ args0 -> args0 }).orElse(null),
            maxRecurrence = javaType.maxRecurrence().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.scheduler.kotlin.outputs.JobMaxRecurrenceResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy