toValue method
Implementation
String toValue() {
switch (this) {
case AttackPropertyIdentifier.destinationUrl:
return 'DESTINATION_URL';
case AttackPropertyIdentifier.referrer:
return 'REFERRER';
case AttackPropertyIdentifier.sourceAsn:
return 'SOURCE_ASN';
case AttackPropertyIdentifier.sourceCountry:
return 'SOURCE_COUNTRY';
case AttackPropertyIdentifier.sourceIpAddress:
return 'SOURCE_IP_ADDRESS';
case AttackPropertyIdentifier.sourceUserAgent:
return 'SOURCE_USER_AGENT';
case AttackPropertyIdentifier.wordpressPingbackReflector:
return 'WORDPRESS_PINGBACK_REFLECTOR';
case AttackPropertyIdentifier.wordpressPingbackSource:
return 'WORDPRESS_PINGBACK_SOURCE';
}
}