com.pulumi.digitalocean.kotlin.outputs.AppDedicatedIp.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property id The ID of the app.
* @property ip The IP address of the dedicated egress IP.
* @property status The status of the dedicated egress IP: 'UNKNOWN', 'ASSIGNING', 'ASSIGNED', or 'REMOVED'
*/
public data class AppDedicatedIp(
public val id: String? = null,
public val ip: String? = null,
public val status: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.AppDedicatedIp): AppDedicatedIp =
AppDedicatedIp(
id = javaType.id().map({ args0 -> args0 }).orElse(null),
ip = javaType.ip().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
)
}
}