toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case WafActionType.block:
      return 'BLOCK';
    case WafActionType.allow:
      return 'ALLOW';
    case WafActionType.count:
      return 'COUNT';
  }
}