toValue method
Implementation
String toValue() {
switch (this) {
case AdminStatus.enabled:
return 'ENABLED';
case AdminStatus.disableInProgress:
return 'DISABLE_IN_PROGRESS';
}
}
String toValue() {
switch (this) {
case AdminStatus.enabled:
return 'ENABLED';
case AdminStatus.disableInProgress:
return 'DISABLE_IN_PROGRESS';
}
}