toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BackupStatus.creating:
      return 'CREATING';
    case BackupStatus.deleted:
      return 'DELETED';
    case BackupStatus.available:
      return 'AVAILABLE';
  }
}