toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DBProxyStatus.available:
      return 'available';
    case DBProxyStatus.modifying:
      return 'modifying';
    case DBProxyStatus.incompatibleNetwork:
      return 'incompatible-network';
    case DBProxyStatus.insufficientResourceLimits:
      return 'insufficient-resource-limits';
    case DBProxyStatus.creating:
      return 'creating';
    case DBProxyStatus.deleting:
      return 'deleting';
    case DBProxyStatus.suspended:
      return 'suspended';
    case DBProxyStatus.suspending:
      return 'suspending';
    case DBProxyStatus.reactivating:
      return 'reactivating';
  }
}