com.pulumi.azure.apimanagement.kotlin.outputs.ApiContact.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.apimanagement.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property email The email address of the contact person/organization.
* @property name The name of the contact person/organization.
* @property url Absolute URL of the contact information.
*/
public data class ApiContact(
public val email: String? = null,
public val name: String? = null,
public val url: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.ApiContact): ApiContact =
ApiContact(
email = javaType.email().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
url = javaType.url().map({ args0 -> args0 }).orElse(null),
)
}
}