toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case WafRuleType.regular:
      return 'REGULAR';
    case WafRuleType.rateBased:
      return 'RATE_BASED';
    case WafRuleType.group:
      return 'GROUP';
  }
}