code: def users_list(self, permission_set=None, role=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/users#list-users"
          api_path = "/api/v2/users.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if permission_set:
              api_query.update({
                  "permission_set": permission_set,
              })
          if role:
              api_query.update({
                  "role": role,
              })
          return self.call(api_path, query=api_query, **kwargsf users_list(self, permission_set=None, role=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/users#list-users"
          api_path = "/api/v2/users.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if permission_set:
              api_query.update({
                  "permission_set": permission_set,
              })
          if role:
              api_query.update({
                  "role": role,
              })
          return self.call(api_path, query=api_query, **kwargs)
docs: https://developer.zendesk.com/rest_api/docs/core/users#list-users