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

com.pulumi.googlenative.dns.v1beta2.kotlin.outputs.GetChangeResult.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.dns.v1beta2.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property additions Which ResourceRecordSets to add?
 * @property deletions Which ResourceRecordSets to remove? Must match existing data exactly.
 * @property isServing If the DNS queries for the zone will be served.
 * @property kind
 * @property startTime The time that this operation was started by the server (output only). This is in RFC3339 text format.
 * @property status Status of the operation (output only). A status of "done" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
 */
public data class GetChangeResult(
    public val additions: List,
    public val deletions: List,
    public val isServing: Boolean,
    public val kind: String,
    public val startTime: String,
    public val status: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dns.v1beta2.outputs.GetChangeResult): GetChangeResult = GetChangeResult(
            additions = javaType.additions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.dns.v1beta2.kotlin.outputs.ResourceRecordSetResponse.Companion.toKotlin(args0)
                })
            }),
            deletions = javaType.deletions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.dns.v1beta2.kotlin.outputs.ResourceRecordSetResponse.Companion.toKotlin(args0)
                })
            }),
            isServing = javaType.isServing(),
            kind = javaType.kind(),
            startTime = javaType.startTime(),
            status = javaType.status(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy