UptimeCheckConfigContentMatcher

data class UptimeCheckConfigContentMatcher(val content: String, val jsonPathMatcher: UptimeCheckConfigContentMatcherJsonPathMatcher? = null, val matcher: String? = null)

Constructors

Link copied to clipboard
constructor(content: String, jsonPathMatcher: UptimeCheckConfigContentMatcherJsonPathMatcher? = null, matcher: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

String or regex content to match (max 1024 bytes)

Link copied to clipboard

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

Link copied to clipboard
val matcher: String? = null

The type of content matcher that will be applied to the server output, compared to the content string when the check is run. Default value is CONTAINS_STRING. Possible values are: CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX, MATCHES_JSON_PATH, NOT_MATCHES_JSON_PATH.