toStartReplicationTaskTypeValue method

StartReplicationTaskTypeValue toStartReplicationTaskTypeValue()

Implementation

StartReplicationTaskTypeValue toStartReplicationTaskTypeValue() {
  switch (this) {
    case 'start-replication':
      return StartReplicationTaskTypeValue.startReplication;
    case 'resume-processing':
      return StartReplicationTaskTypeValue.resumeProcessing;
    case 'reload-target':
      return StartReplicationTaskTypeValue.reloadTarget;
  }
  throw Exception('$this is not known in enum StartReplicationTaskTypeValue');
}