code: def list_subscriptions(self, target_id=None, ids=None, query_flags=None):
          
          query_parameters = {}
          if target_id is not None:
              query_parameters['targetId'] = self._serialize.query('target_id', target_id, 'str')
          if ids is not None:
              ids = ",".join(ids)
              query_parameters['ids'] = self._serialize.query('ids', ids, 'str')
          if query_flags is not None:
              query_parameters['queryFlags'] = self._serialize.query('query_flags', query_flags, 'str')
          response = self._send(http_method='GET',
                                location_id='70f911d6-abac-488c-85b3-a206bf57e165',
                                version='5.0-preview.1',
                                query_parameters=query_parameters)
          return self._deserialize('[NotificationSubscription]', self._unwrap_collection(response))
docs: ListSubscriptions.
          [Preview API]
          :param str target_id:
          :param [str] ids:
          :param str query_flags:
          :rtype: [NotificationSubscription]