toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ApplicationStatus.deleting:
      return 'DELETING';
    case ApplicationStatus.starting:
      return 'STARTING';
    case ApplicationStatus.stopping:
      return 'STOPPING';
    case ApplicationStatus.ready:
      return 'READY';
    case ApplicationStatus.running:
      return 'RUNNING';
    case ApplicationStatus.updating:
      return 'UPDATING';
  }
}