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

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

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

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

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * Renewal settings for renewable Offers.
 * @property enableRenewal If false, the plan will be completed at the end date.
 * @property paymentCycle Describes how frequently the reseller will be billed, such as once per month.
 * @property paymentPlan Describes how a reseller will be billed.
 * @property resizeUnitCount If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the number of active units at renewal time.
 */
public data class GoogleCloudChannelV1RenewalSettingsResponse(
    public val enableRenewal: Boolean,
    public val paymentCycle: GoogleCloudChannelV1PeriodResponse,
    public val paymentPlan: String,
    public val resizeUnitCount: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.cloudchannel.v1.outputs.GoogleCloudChannelV1RenewalSettingsResponse): GoogleCloudChannelV1RenewalSettingsResponse = GoogleCloudChannelV1RenewalSettingsResponse(
            enableRenewal = javaType.enableRenewal(),
            paymentCycle = javaType.paymentCycle().let({ args0 ->
                com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GoogleCloudChannelV1PeriodResponse.Companion.toKotlin(args0)
            }),
            paymentPlan = javaType.paymentPlan(),
            resizeUnitCount = javaType.resizeUnitCount(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy