private String doesNotMatch;
private String contains;
private String matchesJsonPath;
public ValuePattern asValuePattern() {
ValuePattern pattern = new ValuePattern();
pattern.setEqualTo(equalTo);
pattern.setEqualToJson(equalToJson);
pattern.setEqualToXml(equalToXml);
pattern.setMatchesXPath(matchingXPath);
pattern.setJsonCompareMode(jsonCompareMode);
pattern.setMatches(matches);
pattern.setDoesNotMatch(doesNotMatch);
pattern.setContains(contains);
pattern.setMatchesJsonPaths(matchesJsonPath);
return pattern;
}