code: def get_entries(self, user_scope, key=None):
          
          route_values = {}
          if user_scope is not None:
              route_values['userScope'] = self._serialize.url('user_scope', user_scope, 'str')
          if key is not None:
              route_values['key'] = self._serialize.url('key', key, 'str')
          response = self._send(http_method='GET',
                                location_id='cd006711-163d-4cd4-a597-b05bad2556ff',
                                version='5.0-preview.1',
                                route_values=route_values)
          return self._deserialize('{object}', self._unwrap_collection(response))
docs: GetEntries.
          [Preview API] Get all setting entries for the given user/all-users scope
          :param str user_scope: User-Scope at which to get the value. Should be "me" for the current user or "host" for all users.
          :param str key: Optional key under which to filter all the entries
          :rtype: {object}