toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AppReplicationStatus.readyForConfiguration:
      return 'READY_FOR_CONFIGURATION';
    case AppReplicationStatus.configurationInProgress:
      return 'CONFIGURATION_IN_PROGRESS';
    case AppReplicationStatus.configurationInvalid:
      return 'CONFIGURATION_INVALID';
    case AppReplicationStatus.readyForReplication:
      return 'READY_FOR_REPLICATION';
    case AppReplicationStatus.validationInProgress:
      return 'VALIDATION_IN_PROGRESS';
    case AppReplicationStatus.replicationPending:
      return 'REPLICATION_PENDING';
    case AppReplicationStatus.replicationInProgress:
      return 'REPLICATION_IN_PROGRESS';
    case AppReplicationStatus.replicated:
      return 'REPLICATED';
    case AppReplicationStatus.partiallyReplicated:
      return 'PARTIALLY_REPLICATED';
    case AppReplicationStatus.deltaReplicationInProgress:
      return 'DELTA_REPLICATION_IN_PROGRESS';
    case AppReplicationStatus.deltaReplicated:
      return 'DELTA_REPLICATED';
    case AppReplicationStatus.deltaReplicationFailed:
      return 'DELTA_REPLICATION_FAILED';
    case AppReplicationStatus.replicationFailed:
      return 'REPLICATION_FAILED';
    case AppReplicationStatus.replicationStopping:
      return 'REPLICATION_STOPPING';
    case AppReplicationStatus.replicationStopFailed:
      return 'REPLICATION_STOP_FAILED';
    case AppReplicationStatus.replicationStopped:
      return 'REPLICATION_STOPPED';
  }
}