def initialize(self, id, timestamp=None, user=None, page=None,
                   comment=None, type=None, action=None, text=None,
                   params=None, deleted=None):

        self.id = int(id)
        """
        Log item ID : `int`
        """

        self.timestamp = none_or(timestamp, Timestamp)
        """
        log item timestamp : :class:`mwtypes.Timestamp`
        """

        self.user = none_or(user, User)
        """
        Contributing user metadata : :class:`mwtypes.User`
        """

        self.page = none_or(page, self.Page)
        """
        Related page : :class:`mwtypes.log_item.Page`
        """

        self.comment = none_or(comment, str)
        """
        Comment left with log item : `str`
        """

        self.type = none_or(type, str)
        """
        Type of log item : `str`
        """

        self.action = none_or(action, str)
        """
        Action of log item : `str`
        """

        self.text = none_or(text, str)
        """
        Content of text : `str`
        """

        self.params = none_or(params, str)
        """
        Content of params : `str`
        """

        self.deleted = none_or(deleted, self.Deleted)
        """
        The deleted/suppressed status of the log item.
        """
def initialize ( self , id , timestamp = None , user = None , page = None , comment = None , type = None , action = None , text = None , params = None , deleted = None ) : self . id = int ( id ) self . timestamp = none_or ( timestamp , Timestamp ) self . user = none_or ( user , User ) self . page = none_or ( page , self . Page ) self . comment = none_or ( comment , str ) self . type = none_or ( type , str ) self . action = none_or ( action , str ) self . text = none_or ( text , str ) self . params = none_or ( params , str ) self . deleted = none_or ( deleted , self . Deleted )
Log item ID : `int`