WebAclCustomResponseBody

data class WebAclCustomResponseBody(val content: String, val contentType: String, val key: String)

Constructors

Link copied to clipboard
constructor(content: String, contentType: String, key: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Payload of the custom response.

Link copied to clipboard

Type of content in the payload that you are defining in the content argument. Valid values are TEXT_PLAIN, TEXT_HTML, or APPLICATION_JSON.

Link copied to clipboard
val key: String

Unique key identifying the custom response body. This is referenced by the custom_response_body_key argument in the custom_response block.