toValue method
Implementation
String toValue() {
switch (this) {
case RetentionAction.none:
return 'NONE';
case RetentionAction.delete:
return 'DELETE';
case RetentionAction.permanentlyDelete:
return 'PERMANENTLY_DELETE';
}
}