huaweicloudsdkosm 3.1.164__py3-none-any.whl → 3.1.166__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of huaweicloudsdkosm might be problematic. Click here for more details.

Files changed (69) hide show
  1. huaweicloudsdkosm/v2/__init__.py +0 -60
  2. huaweicloudsdkosm/v2/model/__init__.py +0 -60
  3. huaweicloudsdkosm/v2/osm_async_client.py +45 -1130
  4. huaweicloudsdkosm/v2/osm_client.py +45 -1130
  5. {huaweicloudsdkosm-3.1.164.dist-info → huaweicloudsdkosm-3.1.166.dist-info}/METADATA +9 -10
  6. {huaweicloudsdkosm-3.1.164.dist-info → huaweicloudsdkosm-3.1.166.dist-info}/RECORD +8 -69
  7. {huaweicloudsdkosm-3.1.164.dist-info → huaweicloudsdkosm-3.1.166.dist-info}/WHEEL +1 -2
  8. huaweicloudsdkosm/v2/model/answer.py +0 -227
  9. huaweicloudsdkosm/v2/model/answer_detail.py +0 -194
  10. huaweicloudsdkosm/v2/model/answer_info.py +0 -231
  11. huaweicloudsdkosm/v2/model/answer_qa_pair.py +0 -318
  12. huaweicloudsdkosm/v2/model/article.py +0 -347
  13. huaweicloudsdkosm/v2/model/ask_question_req.py +0 -316
  14. huaweicloudsdkosm/v2/model/cbs_flow_entry.py +0 -144
  15. huaweicloudsdkosm/v2/model/create_ask_question_request.py +0 -197
  16. huaweicloudsdkosm/v2/model/create_ask_question_response.py +0 -232
  17. huaweicloudsdkosm/v2/model/create_evaluate_request.py +0 -253
  18. huaweicloudsdkosm/v2/model/create_evaluate_response.py +0 -174
  19. huaweicloudsdkosm/v2/model/create_qa_ask_request.py +0 -197
  20. huaweicloudsdkosm/v2/model/create_qa_ask_response.py +0 -282
  21. huaweicloudsdkosm/v2/model/create_qa_feedbacks_request.py +0 -226
  22. huaweicloudsdkosm/v2/model/create_qa_feedbacks_response.py +0 -174
  23. huaweicloudsdkosm/v2/model/create_question_in_session_request.py +0 -225
  24. huaweicloudsdkosm/v2/model/create_question_in_session_response.py +0 -232
  25. huaweicloudsdkosm/v2/model/create_session_request.py +0 -172
  26. huaweicloudsdkosm/v2/model/create_session_response.py +0 -174
  27. huaweicloudsdkosm/v2/model/evaluate_request_req.py +0 -115
  28. huaweicloudsdkosm/v2/model/extend_question.py +0 -144
  29. huaweicloudsdkosm/v2/model/feedback_option.py +0 -144
  30. huaweicloudsdkosm/v2/model/lang_result.py +0 -144
  31. huaweicloudsdkosm/v2/model/list_articles_request.py +0 -226
  32. huaweicloudsdkosm/v2/model/list_articles_response.py +0 -174
  33. huaweicloudsdkosm/v2/model/list_feedback_option_request.py +0 -230
  34. huaweicloudsdkosm/v2/model/list_feedback_option_response.py +0 -174
  35. huaweicloudsdkosm/v2/model/list_notices_request.py +0 -198
  36. huaweicloudsdkosm/v2/model/list_notices_response.py +0 -174
  37. huaweicloudsdkosm/v2/model/list_recommend_words_request.py +0 -260
  38. huaweicloudsdkosm/v2/model/list_recommend_words_response.py +0 -203
  39. huaweicloudsdkosm/v2/model/list_tools_request.py +0 -198
  40. huaweicloudsdkosm/v2/model/list_tools_response.py +0 -174
  41. huaweicloudsdkosm/v2/model/notice.py +0 -199
  42. huaweicloudsdkosm/v2/model/qa_ask_req.py +0 -346
  43. huaweicloudsdkosm/v2/model/qa_feedback_req.py +0 -345
  44. huaweicloudsdkosm/v2/model/qa_flow_hit_node_vo.py +0 -202
  45. huaweicloudsdkosm/v2/model/qa_flow_hit_result.py +0 -198
  46. huaweicloudsdkosm/v2/model/qa_graph_answer.py +0 -202
  47. huaweicloudsdkosm/v2/model/qa_pair.py +0 -289
  48. huaweicloudsdkosm/v2/model/qabot_answer.py +0 -347
  49. huaweicloudsdkosm/v2/model/query_associated_question_req.py +0 -172
  50. huaweicloudsdkosm/v2/model/recommend_word.py +0 -285
  51. huaweicloudsdkosm/v2/model/relation_theme.py +0 -144
  52. huaweicloudsdkosm/v2/model/relevance_qapair.py +0 -173
  53. huaweicloudsdkosm/v2/model/search_articles_req.py +0 -201
  54. huaweicloudsdkosm/v2/model/search_notices_req.py +0 -143
  55. huaweicloudsdkosm/v2/model/search_qa_pairs_req.py +0 -144
  56. huaweicloudsdkosm/v2/model/search_tools_req.py +0 -201
  57. huaweicloudsdkosm/v2/model/session_ask_question_req.py +0 -288
  58. huaweicloudsdkosm/v2/model/show_associated_questions_request.py +0 -197
  59. huaweicloudsdkosm/v2/model/show_associated_questions_response.py +0 -174
  60. huaweicloudsdkosm/v2/model/show_qa_pair_detail_request.py +0 -200
  61. huaweicloudsdkosm/v2/model/show_qa_pair_detail_response.py +0 -170
  62. huaweicloudsdkosm/v2/model/show_qa_pairs_request.py +0 -225
  63. huaweicloudsdkosm/v2/model/show_qa_pairs_response.py +0 -174
  64. huaweicloudsdkosm/v2/model/show_theme_request.py +0 -259
  65. huaweicloudsdkosm/v2/model/show_theme_response.py +0 -232
  66. huaweicloudsdkosm/v2/model/simple_qa_pair.py +0 -173
  67. huaweicloudsdkosm/v2/model/tool.py +0 -287
  68. huaweicloudsdkosm-3.1.164.dist-info/top_level.txt +0 -1
  69. {huaweicloudsdkosm-3.1.164.dist-info → huaweicloudsdkosm-3.1.166.dist-info/licenses}/LICENSE +0 -0
@@ -1,230 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
-
7
-
8
- class ListFeedbackOptionRequest:
9
-
10
- """
11
- Attributes:
12
- openapi_types (dict): The key is attribute name
13
- and the value is attribute type.
14
- attribute_map (dict): The key is attribute name
15
- and the value is json key in definition.
16
- """
17
- sensitive_list = []
18
-
19
- openapi_types = {
20
- 'x_service_key': 'str',
21
- 'x_site': 'str',
22
- 'x_language': 'str',
23
- 'status': 'str',
24
- 'feedback_source': 'str'
25
- }
26
-
27
- attribute_map = {
28
- 'x_service_key': 'x-service-key',
29
- 'x_site': 'x-site',
30
- 'x_language': 'x-language',
31
- 'status': 'status',
32
- 'feedback_source': 'feedback_source'
33
- }
34
-
35
- def __init__(self, x_service_key=None, x_site=None, x_language=None, status=None, feedback_source=None):
36
- r"""ListFeedbackOptionRequest
37
-
38
- The model defined in huaweicloud sdk
39
-
40
- :param x_service_key: 调用智能客服服务标志。
41
- :type x_service_key: str
42
- :param x_site: 站点标记,0-中国站 1-国际站
43
- :type x_site: str
44
- :param x_language: 区域语言简写,en-us zh-cn
45
- :type x_language: str
46
- :param status: - UNPUBLISHED: - PUBLISH:
47
- :type status: str
48
- :param feedback_source: - FAQ: - FLOW:
49
- :type feedback_source: str
50
- """
51
-
52
-
53
-
54
- self._x_service_key = None
55
- self._x_site = None
56
- self._x_language = None
57
- self._status = None
58
- self._feedback_source = None
59
- self.discriminator = None
60
-
61
- if x_service_key is not None:
62
- self.x_service_key = x_service_key
63
- if x_site is not None:
64
- self.x_site = x_site
65
- if x_language is not None:
66
- self.x_language = x_language
67
- self.status = status
68
- if feedback_source is not None:
69
- self.feedback_source = feedback_source
70
-
71
- @property
72
- def x_service_key(self):
73
- r"""Gets the x_service_key of this ListFeedbackOptionRequest.
74
-
75
- 调用智能客服服务标志。
76
-
77
- :return: The x_service_key of this ListFeedbackOptionRequest.
78
- :rtype: str
79
- """
80
- return self._x_service_key
81
-
82
- @x_service_key.setter
83
- def x_service_key(self, x_service_key):
84
- r"""Sets the x_service_key of this ListFeedbackOptionRequest.
85
-
86
- 调用智能客服服务标志。
87
-
88
- :param x_service_key: The x_service_key of this ListFeedbackOptionRequest.
89
- :type x_service_key: str
90
- """
91
- self._x_service_key = x_service_key
92
-
93
- @property
94
- def x_site(self):
95
- r"""Gets the x_site of this ListFeedbackOptionRequest.
96
-
97
- 站点标记,0-中国站 1-国际站
98
-
99
- :return: The x_site of this ListFeedbackOptionRequest.
100
- :rtype: str
101
- """
102
- return self._x_site
103
-
104
- @x_site.setter
105
- def x_site(self, x_site):
106
- r"""Sets the x_site of this ListFeedbackOptionRequest.
107
-
108
- 站点标记,0-中国站 1-国际站
109
-
110
- :param x_site: The x_site of this ListFeedbackOptionRequest.
111
- :type x_site: str
112
- """
113
- self._x_site = x_site
114
-
115
- @property
116
- def x_language(self):
117
- r"""Gets the x_language of this ListFeedbackOptionRequest.
118
-
119
- 区域语言简写,en-us zh-cn
120
-
121
- :return: The x_language of this ListFeedbackOptionRequest.
122
- :rtype: str
123
- """
124
- return self._x_language
125
-
126
- @x_language.setter
127
- def x_language(self, x_language):
128
- r"""Sets the x_language of this ListFeedbackOptionRequest.
129
-
130
- 区域语言简写,en-us zh-cn
131
-
132
- :param x_language: The x_language of this ListFeedbackOptionRequest.
133
- :type x_language: str
134
- """
135
- self._x_language = x_language
136
-
137
- @property
138
- def status(self):
139
- r"""Gets the status of this ListFeedbackOptionRequest.
140
-
141
- - UNPUBLISHED: - PUBLISH:
142
-
143
- :return: The status of this ListFeedbackOptionRequest.
144
- :rtype: str
145
- """
146
- return self._status
147
-
148
- @status.setter
149
- def status(self, status):
150
- r"""Sets the status of this ListFeedbackOptionRequest.
151
-
152
- - UNPUBLISHED: - PUBLISH:
153
-
154
- :param status: The status of this ListFeedbackOptionRequest.
155
- :type status: str
156
- """
157
- self._status = status
158
-
159
- @property
160
- def feedback_source(self):
161
- r"""Gets the feedback_source of this ListFeedbackOptionRequest.
162
-
163
- - FAQ: - FLOW:
164
-
165
- :return: The feedback_source of this ListFeedbackOptionRequest.
166
- :rtype: str
167
- """
168
- return self._feedback_source
169
-
170
- @feedback_source.setter
171
- def feedback_source(self, feedback_source):
172
- r"""Sets the feedback_source of this ListFeedbackOptionRequest.
173
-
174
- - FAQ: - FLOW:
175
-
176
- :param feedback_source: The feedback_source of this ListFeedbackOptionRequest.
177
- :type feedback_source: str
178
- """
179
- self._feedback_source = feedback_source
180
-
181
- def to_dict(self):
182
- """Returns the model properties as a dict"""
183
- result = {}
184
-
185
- for attr, _ in six.iteritems(self.openapi_types):
186
- value = getattr(self, attr)
187
- if isinstance(value, list):
188
- result[attr] = list(map(
189
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
190
- value
191
- ))
192
- elif hasattr(value, "to_dict"):
193
- result[attr] = value.to_dict()
194
- elif isinstance(value, dict):
195
- result[attr] = dict(map(
196
- lambda item: (item[0], item[1].to_dict())
197
- if hasattr(item[1], "to_dict") else item,
198
- value.items()
199
- ))
200
- else:
201
- if attr in self.sensitive_list:
202
- result[attr] = "****"
203
- else:
204
- result[attr] = value
205
-
206
- return result
207
-
208
- def to_str(self):
209
- """Returns the string representation of the model"""
210
- import simplejson as json
211
- if six.PY2:
212
- import sys
213
- reload(sys)
214
- sys.setdefaultencoding("utf-8")
215
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
216
-
217
- def __repr__(self):
218
- """For `print`"""
219
- return self.to_str()
220
-
221
- def __eq__(self, other):
222
- """Returns true if both objects are equal"""
223
- if not isinstance(other, ListFeedbackOptionRequest):
224
- return False
225
-
226
- return self.__dict__ == other.__dict__
227
-
228
- def __ne__(self, other):
229
- """Returns true if both objects are not equal"""
230
- return not self == other
@@ -1,174 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.sdk_response import SdkResponse
6
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
-
8
-
9
- class ListFeedbackOptionResponse(SdkResponse):
10
-
11
- """
12
- Attributes:
13
- openapi_types (dict): The key is attribute name
14
- and the value is attribute type.
15
- attribute_map (dict): The key is attribute name
16
- and the value is json key in definition.
17
- """
18
- sensitive_list = []
19
-
20
- openapi_types = {
21
- 'error_code': 'str',
22
- 'error_msg': 'str',
23
- 'feedback_options': 'list[FeedbackOption]'
24
- }
25
-
26
- attribute_map = {
27
- 'error_code': 'error_code',
28
- 'error_msg': 'error_msg',
29
- 'feedback_options': 'feedback_options'
30
- }
31
-
32
- def __init__(self, error_code=None, error_msg=None, feedback_options=None):
33
- r"""ListFeedbackOptionResponse
34
-
35
- The model defined in huaweicloud sdk
36
-
37
- :param error_code: 错误码
38
- :type error_code: str
39
- :param error_msg: 错误描述
40
- :type error_msg: str
41
- :param feedback_options: 选项列表
42
- :type feedback_options: list[:class:`huaweicloudsdkosm.v2.FeedbackOption`]
43
- """
44
-
45
- super(ListFeedbackOptionResponse, self).__init__()
46
-
47
- self._error_code = None
48
- self._error_msg = None
49
- self._feedback_options = None
50
- self.discriminator = None
51
-
52
- if error_code is not None:
53
- self.error_code = error_code
54
- if error_msg is not None:
55
- self.error_msg = error_msg
56
- if feedback_options is not None:
57
- self.feedback_options = feedback_options
58
-
59
- @property
60
- def error_code(self):
61
- r"""Gets the error_code of this ListFeedbackOptionResponse.
62
-
63
- 错误码
64
-
65
- :return: The error_code of this ListFeedbackOptionResponse.
66
- :rtype: str
67
- """
68
- return self._error_code
69
-
70
- @error_code.setter
71
- def error_code(self, error_code):
72
- r"""Sets the error_code of this ListFeedbackOptionResponse.
73
-
74
- 错误码
75
-
76
- :param error_code: The error_code of this ListFeedbackOptionResponse.
77
- :type error_code: str
78
- """
79
- self._error_code = error_code
80
-
81
- @property
82
- def error_msg(self):
83
- r"""Gets the error_msg of this ListFeedbackOptionResponse.
84
-
85
- 错误描述
86
-
87
- :return: The error_msg of this ListFeedbackOptionResponse.
88
- :rtype: str
89
- """
90
- return self._error_msg
91
-
92
- @error_msg.setter
93
- def error_msg(self, error_msg):
94
- r"""Sets the error_msg of this ListFeedbackOptionResponse.
95
-
96
- 错误描述
97
-
98
- :param error_msg: The error_msg of this ListFeedbackOptionResponse.
99
- :type error_msg: str
100
- """
101
- self._error_msg = error_msg
102
-
103
- @property
104
- def feedback_options(self):
105
- r"""Gets the feedback_options of this ListFeedbackOptionResponse.
106
-
107
- 选项列表
108
-
109
- :return: The feedback_options of this ListFeedbackOptionResponse.
110
- :rtype: list[:class:`huaweicloudsdkosm.v2.FeedbackOption`]
111
- """
112
- return self._feedback_options
113
-
114
- @feedback_options.setter
115
- def feedback_options(self, feedback_options):
116
- r"""Sets the feedback_options of this ListFeedbackOptionResponse.
117
-
118
- 选项列表
119
-
120
- :param feedback_options: The feedback_options of this ListFeedbackOptionResponse.
121
- :type feedback_options: list[:class:`huaweicloudsdkosm.v2.FeedbackOption`]
122
- """
123
- self._feedback_options = feedback_options
124
-
125
- def to_dict(self):
126
- """Returns the model properties as a dict"""
127
- result = {}
128
-
129
- for attr, _ in six.iteritems(self.openapi_types):
130
- value = getattr(self, attr)
131
- if isinstance(value, list):
132
- result[attr] = list(map(
133
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
134
- value
135
- ))
136
- elif hasattr(value, "to_dict"):
137
- result[attr] = value.to_dict()
138
- elif isinstance(value, dict):
139
- result[attr] = dict(map(
140
- lambda item: (item[0], item[1].to_dict())
141
- if hasattr(item[1], "to_dict") else item,
142
- value.items()
143
- ))
144
- else:
145
- if attr in self.sensitive_list:
146
- result[attr] = "****"
147
- else:
148
- result[attr] = value
149
-
150
- return result
151
-
152
- def to_str(self):
153
- """Returns the string representation of the model"""
154
- import simplejson as json
155
- if six.PY2:
156
- import sys
157
- reload(sys)
158
- sys.setdefaultencoding("utf-8")
159
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
160
-
161
- def __repr__(self):
162
- """For `print`"""
163
- return self.to_str()
164
-
165
- def __eq__(self, other):
166
- """Returns true if both objects are equal"""
167
- if not isinstance(other, ListFeedbackOptionResponse):
168
- return False
169
-
170
- return self.__dict__ == other.__dict__
171
-
172
- def __ne__(self, other):
173
- """Returns true if both objects are not equal"""
174
- return not self == other
@@ -1,198 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
-
7
-
8
- class ListNoticesRequest:
9
-
10
- """
11
- Attributes:
12
- openapi_types (dict): The key is attribute name
13
- and the value is attribute type.
14
- attribute_map (dict): The key is attribute name
15
- and the value is json key in definition.
16
- """
17
- sensitive_list = []
18
-
19
- openapi_types = {
20
- 'x_service_key': 'str',
21
- 'x_site': 'str',
22
- 'x_language': 'str',
23
- 'body': 'SearchNoticesReq'
24
- }
25
-
26
- attribute_map = {
27
- 'x_service_key': 'x-service-key',
28
- 'x_site': 'x-site',
29
- 'x_language': 'x-language',
30
- 'body': 'body'
31
- }
32
-
33
- def __init__(self, x_service_key=None, x_site=None, x_language=None, body=None):
34
- r"""ListNoticesRequest
35
-
36
- The model defined in huaweicloud sdk
37
-
38
- :param x_service_key: 调用智能客服服务标志。
39
- :type x_service_key: str
40
- :param x_site: 站点标记,0-中国站 1-国际站
41
- :type x_site: str
42
- :param x_language: 区域语言简写,en-us zh-cn
43
- :type x_language: str
44
- :param body: Body of the ListNoticesRequest
45
- :type body: :class:`huaweicloudsdkosm.v2.SearchNoticesReq`
46
- """
47
-
48
-
49
-
50
- self._x_service_key = None
51
- self._x_site = None
52
- self._x_language = None
53
- self._body = None
54
- self.discriminator = None
55
-
56
- if x_service_key is not None:
57
- self.x_service_key = x_service_key
58
- if x_site is not None:
59
- self.x_site = x_site
60
- if x_language is not None:
61
- self.x_language = x_language
62
- if body is not None:
63
- self.body = body
64
-
65
- @property
66
- def x_service_key(self):
67
- r"""Gets the x_service_key of this ListNoticesRequest.
68
-
69
- 调用智能客服服务标志。
70
-
71
- :return: The x_service_key of this ListNoticesRequest.
72
- :rtype: str
73
- """
74
- return self._x_service_key
75
-
76
- @x_service_key.setter
77
- def x_service_key(self, x_service_key):
78
- r"""Sets the x_service_key of this ListNoticesRequest.
79
-
80
- 调用智能客服服务标志。
81
-
82
- :param x_service_key: The x_service_key of this ListNoticesRequest.
83
- :type x_service_key: str
84
- """
85
- self._x_service_key = x_service_key
86
-
87
- @property
88
- def x_site(self):
89
- r"""Gets the x_site of this ListNoticesRequest.
90
-
91
- 站点标记,0-中国站 1-国际站
92
-
93
- :return: The x_site of this ListNoticesRequest.
94
- :rtype: str
95
- """
96
- return self._x_site
97
-
98
- @x_site.setter
99
- def x_site(self, x_site):
100
- r"""Sets the x_site of this ListNoticesRequest.
101
-
102
- 站点标记,0-中国站 1-国际站
103
-
104
- :param x_site: The x_site of this ListNoticesRequest.
105
- :type x_site: str
106
- """
107
- self._x_site = x_site
108
-
109
- @property
110
- def x_language(self):
111
- r"""Gets the x_language of this ListNoticesRequest.
112
-
113
- 区域语言简写,en-us zh-cn
114
-
115
- :return: The x_language of this ListNoticesRequest.
116
- :rtype: str
117
- """
118
- return self._x_language
119
-
120
- @x_language.setter
121
- def x_language(self, x_language):
122
- r"""Sets the x_language of this ListNoticesRequest.
123
-
124
- 区域语言简写,en-us zh-cn
125
-
126
- :param x_language: The x_language of this ListNoticesRequest.
127
- :type x_language: str
128
- """
129
- self._x_language = x_language
130
-
131
- @property
132
- def body(self):
133
- r"""Gets the body of this ListNoticesRequest.
134
-
135
- :return: The body of this ListNoticesRequest.
136
- :rtype: :class:`huaweicloudsdkosm.v2.SearchNoticesReq`
137
- """
138
- return self._body
139
-
140
- @body.setter
141
- def body(self, body):
142
- r"""Sets the body of this ListNoticesRequest.
143
-
144
- :param body: The body of this ListNoticesRequest.
145
- :type body: :class:`huaweicloudsdkosm.v2.SearchNoticesReq`
146
- """
147
- self._body = body
148
-
149
- def to_dict(self):
150
- """Returns the model properties as a dict"""
151
- result = {}
152
-
153
- for attr, _ in six.iteritems(self.openapi_types):
154
- value = getattr(self, attr)
155
- if isinstance(value, list):
156
- result[attr] = list(map(
157
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
158
- value
159
- ))
160
- elif hasattr(value, "to_dict"):
161
- result[attr] = value.to_dict()
162
- elif isinstance(value, dict):
163
- result[attr] = dict(map(
164
- lambda item: (item[0], item[1].to_dict())
165
- if hasattr(item[1], "to_dict") else item,
166
- value.items()
167
- ))
168
- else:
169
- if attr in self.sensitive_list:
170
- result[attr] = "****"
171
- else:
172
- result[attr] = value
173
-
174
- return result
175
-
176
- def to_str(self):
177
- """Returns the string representation of the model"""
178
- import simplejson as json
179
- if six.PY2:
180
- import sys
181
- reload(sys)
182
- sys.setdefaultencoding("utf-8")
183
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
184
-
185
- def __repr__(self):
186
- """For `print`"""
187
- return self.to_str()
188
-
189
- def __eq__(self, other):
190
- """Returns true if both objects are equal"""
191
- if not isinstance(other, ListNoticesRequest):
192
- return False
193
-
194
- return self.__dict__ == other.__dict__
195
-
196
- def __ne__(self, other):
197
- """Returns true if both objects are not equal"""
198
- return not self == other