toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DirectConnectGatewayState.pending:
      return 'pending';
    case DirectConnectGatewayState.available:
      return 'available';
    case DirectConnectGatewayState.deleting:
      return 'deleting';
    case DirectConnectGatewayState.deleted:
      return 'deleted';
  }
}