toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PoolStatus.active:
      return 'ACTIVE';
    case PoolStatus.deleted:
      return 'DELETED';
  }
}