code: def asDictionary(self):
          
          template = {
              "type" : "uniqueValue",
              "field1" : self._field1,
              "field2" : self._field2,
              "field3" : self._field3,
              "fieldDelimiter" : self._fieldDelimiter,
              "defaultSymbol" :  self._defaultSymbol.asDictionary,
              "defaultLabel" : self._defaultLabel,
              "uniqueValueInfos" : self._uniqueValueInfos,
              "rotationType": self._rotationType,
              "rotationExpression": self._rotationExpression
          }
          return template
docs: returns object as dictionary