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