code: def to_dict(self):
          # type: () -> OrderedDict
          
  
          d = OrderedDict()
          if self.typeid:
              d["typeid"] = self.typeid
  
          for k in self.call_types:
              # check_camel_case(k)
              d[k] = serialize_object(getattr(self, k))
  
          return d
docs: Create a dictionary representation of object attributes
  
          Returns:
              OrderedDict serialised version of self