com.pulumi.cloudflare.kotlin.outputs.RateLimitActionResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property body The body to return, the content here should conform to the `content_type`.
* @property contentType The content-type of the body. Available values: `text/plain`, `text/xml`, `application/json`.
*/
public data class RateLimitActionResponse(
public val body: String,
public val contentType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RateLimitActionResponse): RateLimitActionResponse = RateLimitActionResponse(
body = javaType.body(),
contentType = javaType.contentType(),
)
}
}