Пример #1
0
    def __init__(self,
                 id=None,
                 image=None,
                 hidden=False,
                 width=None,
                 height=None,
                 local_vars_configuration=None):  # noqa: E501
        """ScreenShot - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._image = None
        self._hidden = None
        self._width = None
        self._height = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if image is not None:
            self.image = image
        if hidden is not None:
            self.hidden = hidden
        if width is not None:
            self.width = width
        if height is not None:
            self.height = height
Пример #2
0
    def __init__(self,
                 id=None,
                 name=None,
                 slug=None,
                 games_count=None,
                 image_background=None,
                 description=None,
                 local_vars_configuration=None):  # noqa: E501
        """DeveloperSingle - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._slug = None
        self._games_count = None
        self._image_background = None
        self._description = None
        self.discriminator = None

        if id is not None:
            self.id = id
        self.name = name
        if slug is not None:
            self.slug = slug
        if games_count is not None:
            self.games_count = games_count
        if image_background is not None:
            self.image_background = image_background
        if description is not None:
            self.description = description
Пример #3
0
    def __init__(self,
                 id=None,
                 name=None,
                 description=None,
                 image=None,
                 percent=None,
                 local_vars_configuration=None):  # noqa: E501
        """ParentAchievement - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._description = None
        self._image = None
        self._percent = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if description is not None:
            self.description = description
        if image is not None:
            self.image = image
        if percent is not None:
            self.percent = percent
Пример #4
0
    def __init__(self,
                 id=None,
                 name=None,
                 preview=None,
                 data=None,
                 local_vars_configuration=None):  # noqa: E501
        """Movie - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._preview = None
        self._data = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if preview is not None:
            self.preview = preview
        if data is not None:
            self.data = data
Пример #5
0
    def __init__(self,
                 id=None,
                 name=None,
                 slug=None,
                 image=None,
                 image_background=None,
                 description=None,
                 games_count=None,
                 reviews_count=None,
                 rating=None,
                 rating_top=None,
                 updated=None,
                 local_vars_configuration=None):  # noqa: E501
        """PersonSingle - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._slug = None
        self._image = None
        self._image_background = None
        self._description = None
        self._games_count = None
        self._reviews_count = None
        self._rating = None
        self._rating_top = None
        self._updated = None
        self.discriminator = None

        if id is not None:
            self.id = id
        self.name = name
        if slug is not None:
            self.slug = slug
        if image is not None:
            self.image = image
        if image_background is not None:
            self.image_background = image_background
        if description is not None:
            self.description = description
        if games_count is not None:
            self.games_count = games_count
        if reviews_count is not None:
            self.reviews_count = reviews_count
        if rating is not None:
            self.rating = rating
        if rating_top is not None:
            self.rating_top = rating_top
        if updated is not None:
            self.updated = updated
Пример #6
0
    def __init__(self, count=None, next=None, previous=None, results=None, local_vars_configuration=None):  # noqa: E501
        """InlineResponse200 - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._count = None
        self._next = None
        self._previous = None
        self._results = None
        self.discriminator = None

        self.count = count
        self.next = next
        self.previous = previous
        self.results = results
Пример #7
0
    def __init__(self, id=None, external_id=None, channel_id=None, channel_title=None, name=None, description=None, created=None, view_count=None, comments_count=None, like_count=None, dislike_count=None, favorite_count=None, thumbnails=None, local_vars_configuration=None):  # noqa: E501
        """Youtube - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._external_id = None
        self._channel_id = None
        self._channel_title = None
        self._name = None
        self._description = None
        self._created = None
        self._view_count = None
        self._comments_count = None
        self._like_count = None
        self._dislike_count = None
        self._favorite_count = None
        self._thumbnails = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if external_id is not None:
            self.external_id = external_id
        if channel_id is not None:
            self.channel_id = channel_id
        if channel_title is not None:
            self.channel_title = channel_title
        if name is not None:
            self.name = name
        if description is not None:
            self.description = description
        if created is not None:
            self.created = created
        if view_count is not None:
            self.view_count = view_count
        if comments_count is not None:
            self.comments_count = comments_count
        if like_count is not None:
            self.like_count = like_count
        if dislike_count is not None:
            self.dislike_count = dislike_count
        if favorite_count is not None:
            self.favorite_count = favorite_count
        if thumbnails is not None:
            self.thumbnails = thumbnails
Пример #8
0
    def __init__(self,
                 metascore=None,
                 url=None,
                 local_vars_configuration=None):  # noqa: E501
        """GamePlatformMetacritic - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._metascore = None
        self._url = None
        self.discriminator = None

        if metascore is not None:
            self.metascore = metascore
        if url is not None:
            self.url = url
Пример #9
0
    def __init__(self,
                 id=None,
                 external_id=None,
                 name=None,
                 description=None,
                 created=None,
                 published=None,
                 thumbnail=None,
                 view_count=None,
                 language=None,
                 local_vars_configuration=None):  # noqa: E501
        """Twitch - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._external_id = None
        self._name = None
        self._description = None
        self._created = None
        self._published = None
        self._thumbnail = None
        self._view_count = None
        self._language = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if external_id is not None:
            self.external_id = external_id
        if name is not None:
            self.name = name
        if description is not None:
            self.description = description
        if created is not None:
            self.created = created
        if published is not None:
            self.published = published
        if thumbnail is not None:
            self.thumbnail = thumbnail
        if view_count is not None:
            self.view_count = view_count
        if language is not None:
            self.language = language
Пример #10
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'github.com/uburuntu/rawg'
        self.client_side_validation = configuration.client_side_validation
Пример #11
0
    def __init__(self, id=None, game_id=None, store_id=None, url=None, local_vars_configuration=None):  # noqa: E501
        """GameStoreFull - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._game_id = None
        self._store_id = None
        self._url = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if game_id is not None:
            self.game_id = game_id
        if store_id is not None:
            self.store_id = store_id
        self.url = url
Пример #12
0
    def __init__(self,
                 id=None,
                 name=None,
                 text=None,
                 image=None,
                 url=None,
                 username=None,
                 username_url=None,
                 created=None,
                 local_vars_configuration=None):  # noqa: E501
        """Reddit - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._text = None
        self._image = None
        self._url = None
        self._username = None
        self._username_url = None
        self._created = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if text is not None:
            self.text = text
        if image is not None:
            self.image = image
        if url is not None:
            self.url = url
        if username is not None:
            self.username = username
        if username_url is not None:
            self.username_url = username_url
        if created is not None:
            self.created = created
Пример #13
0
    def __init__(self,
                 id=None,
                 name=None,
                 slug=None,
                 local_vars_configuration=None):  # noqa: E501
        """Position - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._slug = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if slug is not None:
            self.slug = slug
Пример #14
0
    def __init__(self,
                 id=None,
                 name=None,
                 slug=None,
                 platforms=None,
                 local_vars_configuration=None):  # noqa: E501
        """PlatformParentSingle - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._slug = None
        self._platforms = None
        self.discriminator = None

        if id is not None:
            self.id = id
        self.name = name
        if slug is not None:
            self.slug = slug
        self.platforms = platforms
Пример #15
0
    def __init__(self,
                 id=None,
                 name=None,
                 slug=None,
                 games_count=None,
                 image_background=None,
                 image=None,
                 year_start=None,
                 year_end=None,
                 local_vars_configuration=None):  # noqa: E501
        """Platform - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._slug = None
        self._games_count = None
        self._image_background = None
        self._image = None
        self._year_start = None
        self._year_end = None
        self.discriminator = None

        if id is not None:
            self.id = id
        self.name = name
        if slug is not None:
            self.slug = slug
        if games_count is not None:
            self.games_count = games_count
        if image_background is not None:
            self.image_background = image_background
        self.image = image
        self.year_start = year_start
        self.year_end = year_end
Пример #16
0
    def __init__(self,
                 id=None,
                 slug=None,
                 name=None,
                 released=None,
                 tba=None,
                 background_image=None,
                 rating=None,
                 rating_top=None,
                 ratings=None,
                 ratings_count=None,
                 reviews_text_count=None,
                 added=None,
                 added_by_status=None,
                 metacritic=None,
                 playtime=None,
                 suggestions_count=None,
                 local_vars_configuration=None):  # noqa: E501
        """Game - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._slug = None
        self._name = None
        self._released = None
        self._tba = None
        self._background_image = None
        self._rating = None
        self._rating_top = None
        self._ratings = None
        self._ratings_count = None
        self._reviews_text_count = None
        self._added = None
        self._added_by_status = None
        self._metacritic = None
        self._playtime = None
        self._suggestions_count = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if slug is not None:
            self.slug = slug
        if name is not None:
            self.name = name
        if released is not None:
            self.released = released
        if tba is not None:
            self.tba = tba
        if background_image is not None:
            self.background_image = background_image
        self.rating = rating
        if rating_top is not None:
            self.rating_top = rating_top
        if ratings is not None:
            self.ratings = ratings
        if ratings_count is not None:
            self.ratings_count = ratings_count
        if reviews_text_count is not None:
            self.reviews_text_count = reviews_text_count
        if added is not None:
            self.added = added
        if added_by_status is not None:
            self.added_by_status = added_by_status
        if metacritic is not None:
            self.metacritic = metacritic
        if playtime is not None:
            self.playtime = playtime
        if suggestions_count is not None:
            self.suggestions_count = suggestions_count
Пример #17
0
    def __init__(self,
                 id=None,
                 slug=None,
                 name=None,
                 name_original=None,
                 description=None,
                 metacritic=None,
                 metacritic_platforms=None,
                 released=None,
                 tba=None,
                 updated=None,
                 background_image=None,
                 background_image_additional=None,
                 website=None,
                 rating=None,
                 rating_top=None,
                 ratings=None,
                 reactions=None,
                 added=None,
                 added_by_status=None,
                 playtime=None,
                 screenshots_count=None,
                 movies_count=None,
                 creators_count=None,
                 achievements_count=None,
                 parent_achievements_count=None,
                 reddit_url=None,
                 reddit_name=None,
                 reddit_description=None,
                 reddit_logo=None,
                 reddit_count=None,
                 twitch_count=None,
                 youtube_count=None,
                 reviews_text_count=None,
                 ratings_count=None,
                 suggestions_count=None,
                 alternative_names=None,
                 metacritic_url=None,
                 parents_count=None,
                 additions_count=None,
                 game_series_count=None,
                 local_vars_configuration=None):  # noqa: E501
        """GameSingle - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._slug = None
        self._name = None
        self._name_original = None
        self._description = None
        self._metacritic = None
        self._metacritic_platforms = None
        self._released = None
        self._tba = None
        self._updated = None
        self._background_image = None
        self._background_image_additional = None
        self._website = None
        self._rating = None
        self._rating_top = None
        self._ratings = None
        self._reactions = None
        self._added = None
        self._added_by_status = None
        self._playtime = None
        self._screenshots_count = None
        self._movies_count = None
        self._creators_count = None
        self._achievements_count = None
        self._parent_achievements_count = None
        self._reddit_url = None
        self._reddit_name = None
        self._reddit_description = None
        self._reddit_logo = None
        self._reddit_count = None
        self._twitch_count = None
        self._youtube_count = None
        self._reviews_text_count = None
        self._ratings_count = None
        self._suggestions_count = None
        self._alternative_names = None
        self._metacritic_url = None
        self._parents_count = None
        self._additions_count = None
        self._game_series_count = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if slug is not None:
            self.slug = slug
        if name is not None:
            self.name = name
        if name_original is not None:
            self.name_original = name_original
        if description is not None:
            self.description = description
        if metacritic is not None:
            self.metacritic = metacritic
        if metacritic_platforms is not None:
            self.metacritic_platforms = metacritic_platforms
        if released is not None:
            self.released = released
        if tba is not None:
            self.tba = tba
        if updated is not None:
            self.updated = updated
        if background_image is not None:
            self.background_image = background_image
        if background_image_additional is not None:
            self.background_image_additional = background_image_additional
        if website is not None:
            self.website = website
        self.rating = rating
        if rating_top is not None:
            self.rating_top = rating_top
        if ratings is not None:
            self.ratings = ratings
        if reactions is not None:
            self.reactions = reactions
        if added is not None:
            self.added = added
        if added_by_status is not None:
            self.added_by_status = added_by_status
        if playtime is not None:
            self.playtime = playtime
        if screenshots_count is not None:
            self.screenshots_count = screenshots_count
        if movies_count is not None:
            self.movies_count = movies_count
        if creators_count is not None:
            self.creators_count = creators_count
        if achievements_count is not None:
            self.achievements_count = achievements_count
        if parent_achievements_count is not None:
            self.parent_achievements_count = parent_achievements_count
        if reddit_url is not None:
            self.reddit_url = reddit_url
        if reddit_name is not None:
            self.reddit_name = reddit_name
        if reddit_description is not None:
            self.reddit_description = reddit_description
        if reddit_logo is not None:
            self.reddit_logo = reddit_logo
        if reddit_count is not None:
            self.reddit_count = reddit_count
        if twitch_count is not None:
            self.twitch_count = twitch_count
        if youtube_count is not None:
            self.youtube_count = youtube_count
        if reviews_text_count is not None:
            self.reviews_text_count = reviews_text_count
        if ratings_count is not None:
            self.ratings_count = ratings_count
        if suggestions_count is not None:
            self.suggestions_count = suggestions_count
        if alternative_names is not None:
            self.alternative_names = alternative_names
        if metacritic_url is not None:
            self.metacritic_url = metacritic_url
        if parents_count is not None:
            self.parents_count = parents_count
        if additions_count is not None:
            self.additions_count = additions_count
        if game_series_count is not None:
            self.game_series_count = game_series_count