com.pulumi.azure.media.kotlin.outputs.ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.media.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property playbackDurationSeconds Playback duration.
* @property storageDurationSeconds Storage duration.
*/
public data class ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration(
public val playbackDurationSeconds: Int? = null,
public val storageDurationSeconds: Int? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.media.outputs.ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration):
ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration =
ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration(
playbackDurationSeconds = javaType.playbackDurationSeconds().map({ args0 -> args0 }).orElse(null),
storageDurationSeconds = javaType.storageDurationSeconds().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy