toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BackupType.automated:
      return 'AUTOMATED';
    case BackupType.manual:
      return 'MANUAL';
  }
}