class_docstr: Wraps a Swagger operation into a Postman Request
class_docstr_tok: ["Wraps","a","Swagger","operation","into","a","Postman","Request"]
code: def as_dict(self, urlvars=False):
      url, variables = self.process_url(urlvars)
      return clean(
          {
              "id": self.id,
              "method": self.method,
              "name": self.operation["operationId"],
              "description": self.operation.get("summary"),
              "url": url,
              "headers": self.headers,
              "collectionId": self.collection.id,
              "folder": self.folder,
              "pathVariables": variables,
              "time": int(time()),
          }
      )
  
imports: from __future__ import unicode_literals, absolute_import
  from time import time
  from uuid import uuid5, NAMESPACE_URL
  from six import iteritems
  from six.moves.urllib.parse import urlencode
label_desc: Use image node_id 6 for calling the Request obj's underlying member method code with example usage: obj.as_dict(urlvars) and returns: clean