Setter for **self.__languages** attribute.

        :param value: Attribute value.
        :type value: list

def languages(self, value):
        """
        Setter for **self.__languages** attribute.

        :param value: Attribute value.
        :type value: list
        """

        if value is not None:
            assert type(value) is list, "'{0}' attribute: '{1}' type is not 'list'!".format("languages", value)
            for element in value:
                assert type(element) is Language, "'{0}' attribute: '{1}' type is not 'Language'!".format(
                    "languages", element)
        self.beginResetModel()
        self.__languages = value
        self.endResetModel()