def to_array(self):
        """
        Serializes this PassportElementErrorUnspecified to a dictionary.

        :return: dictionary representation of this object.
        :rtype: dict
        """
        array = super(PassportElementErrorUnspecified, self).to_array()
        array['source'] = u(self.source)  # py2: type unicode, py3: type str

        array['type'] = u(self.type)  # py2: type unicode, py3: type str

        array['element_hash'] = u(self.element_hash)  # py2: type unicode, py3: type str

        array['message'] = u(self.message)  # py2: type unicode, py3: type str

        return array
Serializes this PassportElementErrorUnspecified to a dictionary.

        :return: dictionary representation of this object.
        :rtype: dict