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

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

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

package com.pulumi.digitalocean.kotlin.outputs

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

/**
 * A collection of values returned by getAccount.
 * @property dropletLimit The total number of droplets current user or team may have active at one time.
 * @property email The email address used by the current user to register for DigitalOcean.
 * @property emailVerified If true, the user has verified their account via email. False otherwise.
 * @property floatingIpLimit The total number of floating IPs the current user or team may have.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property status This value is one of "active", "warning" or "locked".
 * @property statusMessage A human-readable message giving more details about the status of the account.
 * @property uuid The unique universal identifier for the current user.
 */
public data class GetAccountResult(
    public val dropletLimit: Int,
    public val email: String,
    public val emailVerified: Boolean,
    public val floatingIpLimit: Int,
    public val id: String,
    public val status: String,
    public val statusMessage: String,
    public val uuid: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetAccountResult): GetAccountResult = GetAccountResult(
            dropletLimit = javaType.dropletLimit(),
            email = javaType.email(),
            emailVerified = javaType.emailVerified(),
            floatingIpLimit = javaType.floatingIpLimit(),
            id = javaType.id(),
            status = javaType.status(),
            statusMessage = javaType.statusMessage(),
            uuid = javaType.uuid(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy