ListenerRuleActionFixedResponse class
Constructors
-
ListenerRuleActionFixedResponse({required Input<
String> contentType, Input<String?> ? messageBody, Input<String?> ? statusCode}) -
Creates a new ListenerRuleActionFixedResponse.
contentTypeThe content type. Valid values aretext/plain,text/css,text/html,application/javascriptandapplication/json.messageBodyThe message body.statusCodeThe HTTP response code. Valid values are2XX,4XX, or5XX.const -
ListenerRuleActionFixedResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
contentType
→ Input<
String> -
The content type. Valid values are
text/plain,text/css,text/html,application/javascriptandapplication/json.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
messageBody
→ Input<
String?> ? -
The message body.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statusCode
→ Input<
String?> ? -
The HTTP response code. Valid values are
2XX,4XX, or5XX.final
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