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

com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GoogleCloudChannelV1CommitmentSettingsResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Commitment settings for commitment-based offers.
 * @property endTime Commitment end timestamp.
 * @property renewalSettings Optional. Renewal settings applicable for a commitment-based Offer.
 * @property startTime Commitment start timestamp.
 */
public data class GoogleCloudChannelV1CommitmentSettingsResponse(
    public val endTime: String,
    public val renewalSettings: GoogleCloudChannelV1RenewalSettingsResponse,
    public val startTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.cloudchannel.v1.outputs.GoogleCloudChannelV1CommitmentSettingsResponse): GoogleCloudChannelV1CommitmentSettingsResponse =
            GoogleCloudChannelV1CommitmentSettingsResponse(
                endTime = javaType.endTime(),
                renewalSettings = javaType.renewalSettings().let({ args0 ->
                    com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GoogleCloudChannelV1RenewalSettingsResponse.Companion.toKotlin(args0)
                }),
                startTime = javaType.startTime(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy