toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReplicationRunState.pending:
      return 'PENDING';
    case ReplicationRunState.missed:
      return 'MISSED';
    case ReplicationRunState.active:
      return 'ACTIVE';
    case ReplicationRunState.failed:
      return 'FAILED';
    case ReplicationRunState.completed:
      return 'COMPLETED';
    case ReplicationRunState.deleting:
      return 'DELETING';
    case ReplicationRunState.deleted:
      return 'DELETED';
  }
}