def METHOD_NAME(self, indexerid, language=None, indexer=None, thumb=False):
    class __TVShow(object):
        def __init__(self, __indexerid, __language, __indexer):
            self.indexerid = __indexerid
            self.indexer = __indexer or settings.INDEXER_DEFAULT
            self.lang = __language or settings.INDEXER_DEFAULT_LANGUAGE
    return self.series_poster_url(__TVShow(indexerid, language, indexer), thumb)