![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.outputs.RateLimitMatch.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.Suppress
/**
*
* @property request Matches HTTP requests (from the client to Cloudflare).
* @property response Matches HTTP responses before they are returned to the client from Cloudflare. If this is defined, then the entire counting of traffic occurs at this stage.
*/
public data class RateLimitMatch(
public val request: RateLimitMatchRequest? = null,
public val response: RateLimitMatchResponse? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RateLimitMatch): RateLimitMatch =
RateLimitMatch(
request = javaType.request().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.RateLimitMatchRequest.Companion.toKotlin(args0)
})
}).orElse(null),
response = javaType.response().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.RateLimitMatchResponse.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy