toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SchemaVersionStatus.available:
      return 'AVAILABLE';
    case SchemaVersionStatus.pending:
      return 'PENDING';
    case SchemaVersionStatus.failure:
      return 'FAILURE';
    case SchemaVersionStatus.deleting:
      return 'DELETING';
  }
}