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

com.pulumi.digitalocean.kotlin.outputs.KubernetesNodePoolNode.kt Maven / Gradle / Ivy

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

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property createdAt The date and time when the node was created.
 * @property dropletId The id of the node's droplet
 * @property id A unique ID that can be used to identify and reference the node.
 * @property name A name for the node pool.
 * @property status A string indicating the current status of the individual node.
 * @property updatedAt The date and time when the node was last updated.
 */
public data class KubernetesNodePoolNode(
    public val createdAt: String? = null,
    public val dropletId: String? = null,
    public val id: String? = null,
    public val name: String? = null,
    public val status: String? = null,
    public val updatedAt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.KubernetesNodePoolNode): KubernetesNodePoolNode = KubernetesNodePoolNode(
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            dropletId = javaType.dropletId().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 -> args0 }).orElse(null),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy