toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SchemaStatus.processing:
      return 'PROCESSING';
    case SchemaStatus.active:
      return 'ACTIVE';
    case SchemaStatus.deleting:
      return 'DELETING';
    case SchemaStatus.failed:
      return 'FAILED';
    case SchemaStatus.success:
      return 'SUCCESS';
    case SchemaStatus.notApplicable:
      return 'NOT_APPLICABLE';
  }
}