toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ApiCacheStatus.available:
      return 'AVAILABLE';
    case ApiCacheStatus.creating:
      return 'CREATING';
    case ApiCacheStatus.deleting:
      return 'DELETING';
    case ApiCacheStatus.modifying:
      return 'MODIFYING';
    case ApiCacheStatus.failed:
      return 'FAILED';
  }
}