toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Status.creating:
      return 'CREATING';
    case Status.active:
      return 'ACTIVE';
    case Status.updating:
      return 'UPDATING';
    case Status.deleting:
      return 'DELETING';
  }
}