def __init__(self,
                 maxArticleCount = 100,
                 updatesAfterTm = None,
                 updatesAfterMinsAgo = None,
                 updatesUntilTm = None,
                 updatesUntilMinsAgo = None,
                 mandatorySourceLocation = False,
                 returnInfo = None):
        """
        get the list of articles that were recently added to the Event Registry and match the selected criteria
        @param maxArticleCount: the maximum number of articles to return in the call (the number can be even higher than 100 but in case more articles
            are returned, the call will also use more tokens)
        @param updatesAfterTm: the time after which the articles were added (returned by previous call to the same method)
        @param updatesAfterMinsAgo: how many minutes into the past should we check (set either this or updatesAfterTm property, but not both)
        @param updatesUntilTm: what is the latest time when the articles were added (in case you don't want the most recent articles)
        @param updatesUntilMinsAgo: how many minutes ago was the latest time when the articles were added
        @param mandatorySourceLocation: return only articles for which we know the source's geographic location
        @param returnInfo: what details should be included in the returned information
        """
        assert maxArticleCount <= 1000
        assert updatesAfterTm == None or updatesAfterMinsAgo == None, "You should specify either updatesAfterTm or updatesAfterMinsAgo parameter, but not both"
        assert updatesUntilTm == None or updatesUntilMinsAgo == None, "You should specify either updatesUntilTm or updatesUntilMinsAgo parameter, but not both"
        self.resultType = "recentActivityArticles"
        self.recentActivityArticlesMaxArticleCount  = maxArticleCount
        if updatesAfterTm != None:
            self.recentActivityArticlesUpdatesAfterTm = QueryParamsBase.encodeDateTime(updatesAfterTm)
        if updatesAfterMinsAgo != None:
            self.recentActivityArticlesUpdatesAfterMinsAgo = updatesAfterMinsAgo
        if updatesUntilTm != None:
            self.recentActivityArticlesUpdatesUntilTm = QueryParamsBase.encodeDateTime(updatesUntilTm)
        if updatesUntilMinsAgo != None:
            self.recentActivityArticlesUpdatesUntilMinsAgo = updatesUntilMinsAgo
        self.recentActivityArticlesMaxArticleCount = maxArticleCount
        self.recentActivityArticlesMandatorySourceLocation = mandatorySourceLocation
        if returnInfo != None:
            self.__dict__.update(returnInfo.getParams("recentActivityArticles"))
def __init__ ( self , maxArticleCount = 100 , updatesAfterTm = None , updatesAfterMinsAgo = None , updatesUntilTm = None , updatesUntilMinsAgo = None , mandatorySourceLocation = False , returnInfo = None ) : assert maxArticleCount <= 1000 assert updatesAfterTm == None or updatesAfterMinsAgo == None , "You should specify either updatesAfterTm or updatesAfterMinsAgo parameter, but not both" assert updatesUntilTm == None or updatesUntilMinsAgo == None , "You should specify either updatesUntilTm or updatesUntilMinsAgo parameter, but not both" self . resultType = "recentActivityArticles" self . recentActivityArticlesMaxArticleCount = maxArticleCount if updatesAfterTm != None : self . recentActivityArticlesUpdatesAfterTm = QueryParamsBase . encodeDateTime ( updatesAfterTm ) if updatesAfterMinsAgo != None : self . recentActivityArticlesUpdatesAfterMinsAgo = updatesAfterMinsAgo if updatesUntilTm != None : self . recentActivityArticlesUpdatesUntilTm = QueryParamsBase . encodeDateTime ( updatesUntilTm ) if updatesUntilMinsAgo != None : self . recentActivityArticlesUpdatesUntilMinsAgo = updatesUntilMinsAgo self . recentActivityArticlesMaxArticleCount = maxArticleCount self . recentActivityArticlesMandatorySourceLocation = mandatorySourceLocation if returnInfo != None : self . __dict__ . update ( returnInfo . getParams ( "recentActivityArticles" ) )
get the list of articles that were recently added to the Event Registry and match the selected criteria
        @param maxArticleCount: the maximum number of articles to return in the call (the number can be even higher than 100 but in case more articles
            are returned, the call will also use more tokens)
        @param updatesAfterTm: the time after which the articles were added (returned by previous call to the same method)
        @param updatesAfterMinsAgo: how many minutes into the past should we check (set either this or updatesAfterTm property, but not both)
        @param updatesUntilTm: what is the latest time when the articles were added (in case you don't want the most recent articles)
        @param updatesUntilMinsAgo: how many minutes ago was the latest time when the articles were added
        @param mandatorySourceLocation: return only articles for which we know the source's geographic location
        @param returnInfo: what details should be included in the returned information