toValue method
Implementation
String toValue() {
switch (this) {
case ArchiveState.enabled:
return 'ENABLED';
case ArchiveState.disabled:
return 'DISABLED';
case ArchiveState.creating:
return 'CREATING';
case ArchiveState.updating:
return 'UPDATING';
case ArchiveState.createFailed:
return 'CREATE_FAILED';
case ArchiveState.updateFailed:
return 'UPDATE_FAILED';
}
}