def flags(self, value):
        """
        Setter for **self.__flags** attribute.

        :param value: Attribute value.
        :type value: int
        """

        if value is not None:
            assert type(value) is int, "'{0}' attribute: '{1}' type is not 'int'!".format("flags", value)
        self.__flags = value
Setter for **self.__flags** attribute.

        :param value: Attribute value.
        :type value: int