toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Origination.allow:
      return 'ALLOW';
    case Origination.deny:
      return 'DENY';
  }
}