diff --git a/docs/GraphqlQuestionDetail.md b/docs/GraphqlQuestionDetail.md index e97b286..c02634f 100644 --- a/docs/GraphqlQuestionDetail.md +++ b/docs/GraphqlQuestionDetail.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **bound_topic_id** | **str** | | [optional] **title** | **str** | | [optional] **title_slug** | **str** | | [optional] +**category_title** | **str** | | [optional] **frequency** | **float** | | [optional] **freq_bar** | **float** | | [optional] **content** | **str** | | [optional] diff --git a/leetcode/models/graphql_question_detail.py b/leetcode/models/graphql_question_detail.py index 9fdb0fd..0d3498a 100644 --- a/leetcode/models/graphql_question_detail.py +++ b/leetcode/models/graphql_question_detail.py @@ -35,6 +35,7 @@ class GraphqlQuestionDetail(object): "bound_topic_id": "str", "title": "str", "title_slug": "str", + "category_title": "str", "frequency": "float", "freq_bar": "float", "content": "str", @@ -76,6 +77,7 @@ class GraphqlQuestionDetail(object): "bound_topic_id": "boundTopicId", "title": "title", "title_slug": "titleSlug", + "category_title": "categoryTitle", "frequency": "frequency", "freq_bar": "freqBar", "content": "content", @@ -118,6 +120,7 @@ def __init__( bound_topic_id=None, title=None, title_slug=None, + category_title=None, frequency=None, freq_bar=None, content=None, @@ -158,6 +161,7 @@ def __init__( self._bound_topic_id = None self._title = None self._title_slug = None + self._category_title = None self._frequency = None self._freq_bar = None self._content = None @@ -202,6 +206,8 @@ def __init__( self.title = title if title_slug is not None: self.title_slug = title_slug + if category_title is not None: + self.category_title = category_title if frequency is not None: self.frequency = frequency if freq_bar is not None: @@ -374,6 +380,27 @@ def title_slug(self, title_slug): self._title_slug = title_slug + @property + def category_title(self): + """Gets the category_title of this GraphqlQuestionDetail. # noqa: E501 + + + :return: The category_title of this GraphqlQuestionDetail. # noqa: E501 + :rtype: str + """ + return self._category_title + + @category_title.setter + def category_title(self, category_title): + """Sets the category_title of this GraphqlQuestionDetail. + + + :param category_title: The category_title of this GraphqlQuestionDetail. # noqa: E501 + :type: str + """ + + self._category_title = category_title + @property def frequency(self): """Gets the frequency of this GraphqlQuestionDetail. # noqa: E501 diff --git a/setup.py b/setup.py index 2810149..1323596 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import find_packages, setup # noqa: H301 NAME = "python-leetcode" -VERSION = "1.2.0" +VERSION = "1.2.1" with open("README.md") as readme: DESCRIPTION: str = readme.read()