toValue method
Implementation
String toValue() {
switch (this) {
case ScalingPlanStatusCode.active:
return 'Active';
case ScalingPlanStatusCode.activeWithProblems:
return 'ActiveWithProblems';
case ScalingPlanStatusCode.creationInProgress:
return 'CreationInProgress';
case ScalingPlanStatusCode.creationFailed:
return 'CreationFailed';
case ScalingPlanStatusCode.deletionInProgress:
return 'DeletionInProgress';
case ScalingPlanStatusCode.deletionFailed:
return 'DeletionFailed';
case ScalingPlanStatusCode.updateInProgress:
return 'UpdateInProgress';
case ScalingPlanStatusCode.updateFailed:
return 'UpdateFailed';
}
}