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

com.pulumi.azurenative.elastic.kotlin.outputs.OpenAIIntegrationPropertiesResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.elastic.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Open AI Integration details.
 * @property key Value of API key for Open AI resource
 * @property lastRefreshAt Last Update Timestamp for key updation
 * @property openAIResourceEndpoint The API endpoint for Open AI resource
 * @property openAIResourceId The resource name of Open AI resource
 */
public data class OpenAIIntegrationPropertiesResponse(
    public val key: String? = null,
    public val lastRefreshAt: String,
    public val openAIResourceEndpoint: String? = null,
    public val openAIResourceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.elastic.outputs.OpenAIIntegrationPropertiesResponse): OpenAIIntegrationPropertiesResponse = OpenAIIntegrationPropertiesResponse(
            key = javaType.key().map({ args0 -> args0 }).orElse(null),
            lastRefreshAt = javaType.lastRefreshAt(),
            openAIResourceEndpoint = javaType.openAIResourceEndpoint().map({ args0 -> args0 }).orElse(null),
            openAIResourceId = javaType.openAIResourceId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy