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

com.pulumi.azure.apimanagement.kotlin.outputs.ApiLicense.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.apimanagement.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property name The name of the license .
 * @property url Absolute URL of the license.
 */
public data class ApiLicense(
    public val name: String? = null,
    public val url: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.ApiLicense): ApiLicense =
            ApiLicense(
                name = javaType.name().map({ args0 -> args0 }).orElse(null),
                url = javaType.url().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy