JsonPathMatcherResponse class
Information needed to perform a JSONPath content match. Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH.
Constructors
-
JsonPathMatcherResponse({required Input<
String> jsonMatcher, required Input<String> jsonPath}) -
Creates a new JsonPathMatcherResponse.
jsonMatcherThe type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)jsonPathJSONPath within the response output pointing to the expected ContentMatcher::content to match against.const -
JsonPathMatcherResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jsonMatcher
→ Input<
String> -
The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
final
-
jsonPath
→ Input<
String> -
JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
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