toValue method
Implementation
String toValue() {
switch (this) {
case ResourceStatus.available:
return 'AVAILABLE';
case ResourceStatus.zonalResourceInaccessible:
return 'ZONAL_RESOURCE_INACCESSIBLE';
case ResourceStatus.limitExceeded:
return 'LIMIT_EXCEEDED';
case ResourceStatus.unavailable:
return 'UNAVAILABLE';
case ResourceStatus.pending:
return 'PENDING';
}
}