@@ -33,6 +33,7 @@ class GraphqlQuestionDetail(object):
33
33
'bound_topic_id' : 'str' ,
34
34
'title' : 'str' ,
35
35
'frequency' : 'float' ,
36
+ 'freq_bar' : 'float' ,
36
37
'content' : 'str' ,
37
38
'translated_title' : 'str' ,
38
39
'translated_content' : 'str' ,
@@ -41,15 +42,19 @@ class GraphqlQuestionDetail(object):
41
42
'likes' : 'int' ,
42
43
'dislikes' : 'int' ,
43
44
'is_liked' : 'bool' ,
45
+ 'is_favor' : 'bool' ,
44
46
'similar_questions' : 'str' ,
45
47
'contributors' : 'list[GraphqlQuestionContributor]' ,
46
48
'lang_to_valid_playground' : 'str' ,
47
49
'topic_tags' : 'list[GraphqlQuestionTopicTag]' ,
48
50
'company_tag_stats' : 'str' ,
49
51
'code_snippets' : 'list[GraphqlQuestionCodeSnippet]' ,
50
52
'stats' : 'str' ,
53
+ 'ac_rate' : 'float' ,
51
54
'hints' : 'list[str]' ,
52
55
'solution' : 'AnyOfGraphqlQuestionDetailSolution' ,
56
+ 'has_solution' : 'bool' ,
57
+ 'has_video_solution' : 'bool' ,
53
58
'status' : 'str' ,
54
59
'sample_test_case' : 'str' ,
55
60
'judger_available' : 'bool' ,
@@ -68,6 +73,7 @@ class GraphqlQuestionDetail(object):
68
73
'bound_topic_id' : 'boundTopicId' ,
69
74
'title' : 'title' ,
70
75
'frequency' : 'frequency' ,
76
+ 'freq_bar' : 'freqBar' ,
71
77
'content' : 'content' ,
72
78
'translated_title' : 'translatedTitle' ,
73
79
'translated_content' : 'translatedContent' ,
@@ -76,15 +82,19 @@ class GraphqlQuestionDetail(object):
76
82
'likes' : 'likes' ,
77
83
'dislikes' : 'dislikes' ,
78
84
'is_liked' : 'isLiked' ,
85
+ 'is_favor' : 'isFavor' ,
79
86
'similar_questions' : 'similarQuestions' ,
80
87
'contributors' : 'contributors' ,
81
88
'lang_to_valid_playground' : 'langToValidPlayground' ,
82
89
'topic_tags' : 'topicTags' ,
83
90
'company_tag_stats' : 'companyTagStats' ,
84
91
'code_snippets' : 'codeSnippets' ,
85
92
'stats' : 'stats' ,
93
+ 'ac_rate' : 'acRate' ,
86
94
'hints' : 'hints' ,
87
95
'solution' : 'solution' ,
96
+ 'has_solution' : 'hasSolution' ,
97
+ 'has_video_solution' : 'hasVideoSolution' ,
88
98
'status' : 'status' ,
89
99
'sample_test_case' : 'sampleTestCase' ,
90
100
'judger_available' : 'judgerAvailable' ,
@@ -97,13 +107,14 @@ class GraphqlQuestionDetail(object):
97
107
'code_definition' : 'codeDefinition'
98
108
}
99
109
100
- def __init__ (self , question_id = None , question_frontend_id = None , bound_topic_id = None , title = None , frequency = None , content = None , translated_title = None , translated_content = None , is_paid_only = None , difficulty = None , likes = None , dislikes = None , is_liked = None , similar_questions = None , contributors = None , lang_to_valid_playground = None , topic_tags = None , company_tag_stats = None , code_snippets = None , stats = None , hints = None , solution = None , status = None , sample_test_case = None , judger_available = None , judge_type = None , mysql_schemas = None , enable_run_code = None , enable_test_mode = None , env_info = None , meta_data = None , code_definition = None ): # noqa: E501
110
+ def __init__ (self , question_id = None , question_frontend_id = None , bound_topic_id = None , title = None , frequency = None , freq_bar = None , content = None , translated_title = None , translated_content = None , is_paid_only = None , difficulty = None , likes = None , dislikes = None , is_liked = None , is_favor = None , similar_questions = None , contributors = None , lang_to_valid_playground = None , topic_tags = None , company_tag_stats = None , code_snippets = None , stats = None , ac_rate = None , hints = None , solution = None , has_solution = None , has_video_solution = None , status = None , sample_test_case = None , judger_available = None , judge_type = None , mysql_schemas = None , enable_run_code = None , enable_test_mode = None , env_info = None , meta_data = None , code_definition = None ): # noqa: E501
101
111
"""GraphqlQuestionDetail - a model defined in Swagger""" # noqa: E501
102
112
self ._question_id = None
103
113
self ._question_frontend_id = None
104
114
self ._bound_topic_id = None
105
115
self ._title = None
106
116
self ._frequency = None
117
+ self ._freq_bar = None
107
118
self ._content = None
108
119
self ._translated_title = None
109
120
self ._translated_content = None
@@ -112,15 +123,19 @@ def __init__(self, question_id=None, question_frontend_id=None, bound_topic_id=N
112
123
self ._likes = None
113
124
self ._dislikes = None
114
125
self ._is_liked = None
126
+ self ._is_favor = None
115
127
self ._similar_questions = None
116
128
self ._contributors = None
117
129
self ._lang_to_valid_playground = None
118
130
self ._topic_tags = None
119
131
self ._company_tag_stats = None
120
132
self ._code_snippets = None
121
133
self ._stats = None
134
+ self ._ac_rate = None
122
135
self ._hints = None
123
136
self ._solution = None
137
+ self ._has_solution = None
138
+ self ._has_video_solution = None
124
139
self ._status = None
125
140
self ._sample_test_case = None
126
141
self ._judger_available = None
@@ -142,6 +157,8 @@ def __init__(self, question_id=None, question_frontend_id=None, bound_topic_id=N
142
157
self .title = title
143
158
if frequency is not None :
144
159
self .frequency = frequency
160
+ if freq_bar is not None :
161
+ self .freq_bar = freq_bar
145
162
if content is not None :
146
163
self .content = content
147
164
if translated_title is not None :
@@ -158,6 +175,8 @@ def __init__(self, question_id=None, question_frontend_id=None, bound_topic_id=N
158
175
self .dislikes = dislikes
159
176
if is_liked is not None :
160
177
self .is_liked = is_liked
178
+ if is_favor is not None :
179
+ self .is_favor = is_favor
161
180
if similar_questions is not None :
162
181
self .similar_questions = similar_questions
163
182
if contributors is not None :
@@ -172,10 +191,16 @@ def __init__(self, question_id=None, question_frontend_id=None, bound_topic_id=N
172
191
self .code_snippets = code_snippets
173
192
if stats is not None :
174
193
self .stats = stats
194
+ if ac_rate is not None :
195
+ self .ac_rate = ac_rate
175
196
if hints is not None :
176
197
self .hints = hints
177
198
if solution is not None :
178
199
self .solution = solution
200
+ if has_solution is not None :
201
+ self .has_solution = has_solution
202
+ if has_video_solution is not None :
203
+ self .has_video_solution = has_video_solution
179
204
if status is not None :
180
205
self .status = status
181
206
if sample_test_case is not None :
@@ -302,6 +327,27 @@ def frequency(self, frequency):
302
327
303
328
self ._frequency = frequency
304
329
330
+ @property
331
+ def freq_bar (self ):
332
+ """Gets the freq_bar of this GraphqlQuestionDetail. # noqa: E501
333
+
334
+
335
+ :return: The freq_bar of this GraphqlQuestionDetail. # noqa: E501
336
+ :rtype: float
337
+ """
338
+ return self ._freq_bar
339
+
340
+ @freq_bar .setter
341
+ def freq_bar (self , freq_bar ):
342
+ """Sets the freq_bar of this GraphqlQuestionDetail.
343
+
344
+
345
+ :param freq_bar: The freq_bar of this GraphqlQuestionDetail. # noqa: E501
346
+ :type: float
347
+ """
348
+
349
+ self ._freq_bar = freq_bar
350
+
305
351
@property
306
352
def content (self ):
307
353
"""Gets the content of this GraphqlQuestionDetail. # noqa: E501
@@ -470,6 +516,27 @@ def is_liked(self, is_liked):
470
516
471
517
self ._is_liked = is_liked
472
518
519
+ @property
520
+ def is_favor (self ):
521
+ """Gets the is_favor of this GraphqlQuestionDetail. # noqa: E501
522
+
523
+
524
+ :return: The is_favor of this GraphqlQuestionDetail. # noqa: E501
525
+ :rtype: bool
526
+ """
527
+ return self ._is_favor
528
+
529
+ @is_favor .setter
530
+ def is_favor (self , is_favor ):
531
+ """Sets the is_favor of this GraphqlQuestionDetail.
532
+
533
+
534
+ :param is_favor: The is_favor of this GraphqlQuestionDetail. # noqa: E501
535
+ :type: bool
536
+ """
537
+
538
+ self ._is_favor = is_favor
539
+
473
540
@property
474
541
def similar_questions (self ):
475
542
"""Gets the similar_questions of this GraphqlQuestionDetail. # noqa: E501
@@ -617,6 +684,27 @@ def stats(self, stats):
617
684
618
685
self ._stats = stats
619
686
687
+ @property
688
+ def ac_rate (self ):
689
+ """Gets the ac_rate of this GraphqlQuestionDetail. # noqa: E501
690
+
691
+
692
+ :return: The ac_rate of this GraphqlQuestionDetail. # noqa: E501
693
+ :rtype: float
694
+ """
695
+ return self ._ac_rate
696
+
697
+ @ac_rate .setter
698
+ def ac_rate (self , ac_rate ):
699
+ """Sets the ac_rate of this GraphqlQuestionDetail.
700
+
701
+
702
+ :param ac_rate: The ac_rate of this GraphqlQuestionDetail. # noqa: E501
703
+ :type: float
704
+ """
705
+
706
+ self ._ac_rate = ac_rate
707
+
620
708
@property
621
709
def hints (self ):
622
710
"""Gets the hints of this GraphqlQuestionDetail. # noqa: E501
@@ -659,6 +747,48 @@ def solution(self, solution):
659
747
660
748
self ._solution = solution
661
749
750
+ @property
751
+ def has_solution (self ):
752
+ """Gets the has_solution of this GraphqlQuestionDetail. # noqa: E501
753
+
754
+
755
+ :return: The has_solution of this GraphqlQuestionDetail. # noqa: E501
756
+ :rtype: bool
757
+ """
758
+ return self ._has_solution
759
+
760
+ @has_solution .setter
761
+ def has_solution (self , has_solution ):
762
+ """Sets the has_solution of this GraphqlQuestionDetail.
763
+
764
+
765
+ :param has_solution: The has_solution of this GraphqlQuestionDetail. # noqa: E501
766
+ :type: bool
767
+ """
768
+
769
+ self ._has_solution = has_solution
770
+
771
+ @property
772
+ def has_video_solution (self ):
773
+ """Gets the has_video_solution of this GraphqlQuestionDetail. # noqa: E501
774
+
775
+
776
+ :return: The has_video_solution of this GraphqlQuestionDetail. # noqa: E501
777
+ :rtype: bool
778
+ """
779
+ return self ._has_video_solution
780
+
781
+ @has_video_solution .setter
782
+ def has_video_solution (self , has_video_solution ):
783
+ """Sets the has_video_solution of this GraphqlQuestionDetail.
784
+
785
+
786
+ :param has_video_solution: The has_video_solution of this GraphqlQuestionDetail. # noqa: E501
787
+ :type: bool
788
+ """
789
+
790
+ self ._has_video_solution = has_video_solution
791
+
662
792
@property
663
793
def status (self ):
664
794
"""Gets the status of this GraphqlQuestionDetail. # noqa: E501
0 commit comments