code: def asDictionary(self):
          
          template = {
              "type" : "esriSFS",
              "style" : self._style,
              "color" : self._color,
              "outline" : self._outline
          }
          return template
docs: returns object as dictionary