toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChangeStatus.preparing:
      return 'PREPARING';
    case ChangeStatus.applying:
      return 'APPLYING';
    case ChangeStatus.succeeded:
      return 'SUCCEEDED';
    case ChangeStatus.cancelled:
      return 'CANCELLED';
    case ChangeStatus.failed:
      return 'FAILED';
  }
}