com.pulumi.gcp.diagflow.kotlin.outputs.FulfillmentGenericWebService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.diagflow.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property password The password for HTTP Basic authentication.
* @property requestHeaders The HTTP request headers to send together with fulfillment requests.
* @property uri The fulfillment URI for receiving POST requests. It must use https protocol.
* @property username The user name for HTTP Basic authentication.
*/
public data class FulfillmentGenericWebService(
public val password: String? = null,
public val requestHeaders: Map? = null,
public val uri: String,
public val username: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.FulfillmentGenericWebService): FulfillmentGenericWebService = FulfillmentGenericWebService(
password = javaType.password().map({ args0 -> args0 }).orElse(null),
requestHeaders = javaType.requestHeaders().map({ args0 -> args0.key.to(args0.value) }).toMap(),
uri = javaType.uri(),
username = javaType.username().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy