RuleGroupCustomResponseBody class

Constructors

RuleGroupCustomResponseBody({required Input<String> content, required Input<String> contentType, required Input<String> key})
Creates a new RuleGroupCustomResponseBody. content The payload of the custom response. contentType The 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 A unique key identifying the custom response body. This is referenced by the customResponseBodyKey argument in the Custom Response block.
const
RuleGroupCustomResponseBody.fromMap(Map<String, dynamic> map)
factory

Properties

content → Input<String>
The payload of the custom response.
final
contentType → Input<String>
The 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>
A unique key identifying the custom response body. This is referenced by the customResponseBodyKey argument in the Custom Response 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