toValue method
Implementation
String toValue() {
switch (this) {
case PredicateType.iPMatch:
return 'IPMatch';
case PredicateType.byteMatch:
return 'ByteMatch';
case PredicateType.sqlInjectionMatch:
return 'SqlInjectionMatch';
case PredicateType.geoMatch:
return 'GeoMatch';
case PredicateType.sizeConstraint:
return 'SizeConstraint';
case PredicateType.xssMatch:
return 'XssMatch';
case PredicateType.regexMatch:
return 'RegexMatch';
}
}