toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DataRepositoryLifecycle.creating:
      return 'CREATING';
    case DataRepositoryLifecycle.available:
      return 'AVAILABLE';
    case DataRepositoryLifecycle.misconfigured:
      return 'MISCONFIGURED';
    case DataRepositoryLifecycle.updating:
      return 'UPDATING';
    case DataRepositoryLifecycle.deleting:
      return 'DELETING';
  }
}