def to_dict(self):
        # type: () -> OrderedDict
        """Create a dictionary representation of object attributes

        Returns:
            OrderedDict serialised version of self
        """

        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