toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReplicationStatus.complete:
      return 'COMPLETE';
    case ReplicationStatus.pending:
      return 'PENDING';
    case ReplicationStatus.failed:
      return 'FAILED';
    case ReplicationStatus.replica:
      return 'REPLICA';
  }
}