WebAclCustomResponseBody class

Constructors

WebAclCustomResponseBody({required Input<String> content, required Input<String> contentType, required Input<String> key})
Creates a new WebAclCustomResponseBody. content Payload of the custom response. contentType Type of content in the payload that you are defining in the content argument. Valid values are TEXT_PLAIN, TEXT_HTML, or APPLICATION_JSON. key Unique key identifying the custom response body. This is referenced by the customResponseBodyKey argument in the customResponse block.
const
WebAclCustomResponseBody.fromMap(Map<String, dynamic> map)
factory

Properties

content → Input<String>
Payload of the custom response.
final
contentType → Input<String>
Type of content in the payload that you are defining in the content argument. Valid values are TEXT_PLAIN, TEXT_HTML, or APPLICATION_JSON.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Input<String>
Unique key identifying the custom response body. This is referenced by the customResponseBodyKey argument in the customResponse block.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited