toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RecoveryPointStatus.completed:
      return 'COMPLETED';
    case RecoveryPointStatus.partial:
      return 'PARTIAL';
    case RecoveryPointStatus.deleting:
      return 'DELETING';
    case RecoveryPointStatus.expired:
      return 'EXPIRED';
  }
}