JsonPathMatcherArgs

data class JsonPathMatcherArgs(val jsonMatcher: Output<JsonPathMatcherJsonMatcher>? = null, val jsonPath: Output<String>? = null) : ConvertibleToJava<JsonPathMatcherArgs>

Information needed to perform a JSONPath content match. Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH.

Constructors

Link copied to clipboard
constructor(jsonMatcher: Output<JsonPathMatcherJsonMatcher>? = null, jsonPath: Output<String>? = null)

Properties

Link copied to clipboard

The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)

Link copied to clipboard
val jsonPath: Output<String>? = null

JSONPath within the response output pointing to the expected ContentMatcher::content to match against.

Functions

Link copied to clipboard
open override fun toJava(): JsonPathMatcherArgs