byteplus-python-sdk-v2 3.0.54__py2.py3-none-any.whl → 3.0.55__py2.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.
Files changed (33) hide show
  1. {byteplus_python_sdk_v2-3.0.54.dist-info → byteplus_python_sdk_v2-3.0.55.dist-info}/METADATA +1 -1
  2. {byteplus_python_sdk_v2-3.0.54.dist-info → byteplus_python_sdk_v2-3.0.55.dist-info}/RECORD +33 -14
  3. {byteplus_python_sdk_v2-3.0.54.dist-info → byteplus_python_sdk_v2-3.0.55.dist-info}/top_level.txt +1 -0
  4. byteplussdkcloudmonitor/__init__.py +10 -0
  5. byteplussdkcloudmonitor/api/cloudmonitor_api.py +97 -0
  6. byteplussdkcloudmonitor/models/__init__.py +10 -0
  7. byteplussdkcloudmonitor/models/contact_send_result_for_list_alert_output.py +227 -0
  8. byteplussdkcloudmonitor/models/data_for_list_alert_group_output.py +27 -1
  9. byteplussdkcloudmonitor/models/data_for_list_alert_output.py +331 -0
  10. byteplussdkcloudmonitor/models/get_metric_data_request.py +27 -1
  11. byteplussdkcloudmonitor/models/list_alert_request.py +228 -0
  12. byteplussdkcloudmonitor/models/list_alert_response.py +227 -0
  13. byteplussdkcloudmonitor/models/metric_condition_for_list_alert_output.py +201 -0
  14. byteplussdkcloudmonitor/models/metric_data_result_for_get_metric_data_output.py +29 -3
  15. byteplussdkcloudmonitor/models/send_alert_contact_for_list_alert_output.py +175 -0
  16. byteplussdkcloudmonitor/models/send_alert_notification_for_list_alert_output.py +331 -0
  17. byteplussdkcloudmonitor/models/send_alert_ooss_for_list_alert_output.py +227 -0
  18. byteplussdkcloudmonitor/models/send_alert_result_for_list_alert_output.py +201 -0
  19. byteplussdkcloudmonitor/models/send_alert_webhook_for_list_alert_output.py +253 -0
  20. byteplussdkcore/api_client.py +1 -1
  21. byteplussdkcore/configuration.py +1 -1
  22. byteplussdkvs20260714/__init__.py +26 -0
  23. byteplussdkvs20260714/api/__init__.py +6 -0
  24. byteplussdkvs20260714/api/vs20260714_api.py +131 -0
  25. byteplussdkvs20260714/models/__init__.py +22 -0
  26. byteplussdkvs20260714/models/create_voice_task_request.py +387 -0
  27. byteplussdkvs20260714/models/create_voice_task_response.py +175 -0
  28. byteplussdkvs20260714/models/data_for_create_voice_task_output.py +123 -0
  29. byteplussdkvs20260714/models/number_info_list_for_create_voice_task_input.py +149 -0
  30. byteplussdkvs20260714/models/voice_content_for_create_voice_task_input.py +279 -0
  31. {byteplus_python_sdk_v2-3.0.54.dist-info → byteplus_python_sdk_v2-3.0.55.dist-info}/WHEEL +0 -0
  32. {byteplus_python_sdk_v2-3.0.54.dist-info → byteplus_python_sdk_v2-3.0.55.dist-info}/licenses/LICENSE.txt +0 -0
  33. {byteplus_python_sdk_v2-3.0.54.dist-info → byteplus_python_sdk_v2-3.0.55.dist-info}/licenses/NOTICE.md +0 -0
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vs20260714
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from byteplussdkcore.configuration import Configuration
20
+
21
+
22
+ class NumberInfoListForCreateVoiceTaskInput(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'callee_number': 'str',
37
+ 'param_obj': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'callee_number': 'calleeNumber',
42
+ 'param_obj': 'paramObj'
43
+ }
44
+
45
+ def __init__(self, callee_number=None, param_obj=None, _configuration=None): # noqa: E501
46
+ """NumberInfoListForCreateVoiceTaskInput - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._callee_number = None
52
+ self._param_obj = None
53
+ self.discriminator = None
54
+
55
+ if callee_number is not None:
56
+ self.callee_number = callee_number
57
+ if param_obj is not None:
58
+ self.param_obj = param_obj
59
+
60
+ @property
61
+ def callee_number(self):
62
+ """Gets the callee_number of this NumberInfoListForCreateVoiceTaskInput. # noqa: E501
63
+
64
+
65
+ :return: The callee_number of this NumberInfoListForCreateVoiceTaskInput. # noqa: E501
66
+ :rtype: str
67
+ """
68
+ return self._callee_number
69
+
70
+ @callee_number.setter
71
+ def callee_number(self, callee_number):
72
+ """Sets the callee_number of this NumberInfoListForCreateVoiceTaskInput.
73
+
74
+
75
+ :param callee_number: The callee_number of this NumberInfoListForCreateVoiceTaskInput. # noqa: E501
76
+ :type: str
77
+ """
78
+
79
+ self._callee_number = callee_number
80
+
81
+ @property
82
+ def param_obj(self):
83
+ """Gets the param_obj of this NumberInfoListForCreateVoiceTaskInput. # noqa: E501
84
+
85
+
86
+ :return: The param_obj of this NumberInfoListForCreateVoiceTaskInput. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._param_obj
90
+
91
+ @param_obj.setter
92
+ def param_obj(self, param_obj):
93
+ """Sets the param_obj of this NumberInfoListForCreateVoiceTaskInput.
94
+
95
+
96
+ :param param_obj: The param_obj of this NumberInfoListForCreateVoiceTaskInput. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._param_obj = param_obj
101
+
102
+ def to_dict(self):
103
+ """Returns the model properties as a dict"""
104
+ result = {}
105
+
106
+ for attr, _ in six.iteritems(self.swagger_types):
107
+ value = getattr(self, attr)
108
+ if isinstance(value, list):
109
+ result[attr] = list(map(
110
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
+ value
112
+ ))
113
+ elif hasattr(value, "to_dict"):
114
+ result[attr] = value.to_dict()
115
+ elif isinstance(value, dict):
116
+ result[attr] = dict(map(
117
+ lambda item: (item[0], item[1].to_dict())
118
+ if hasattr(item[1], "to_dict") else item,
119
+ value.items()
120
+ ))
121
+ else:
122
+ result[attr] = value
123
+ if issubclass(NumberInfoListForCreateVoiceTaskInput, dict):
124
+ for key, value in self.items():
125
+ result[key] = value
126
+
127
+ return result
128
+
129
+ def to_str(self):
130
+ """Returns the string representation of the model"""
131
+ return pprint.pformat(self.to_dict())
132
+
133
+ def __repr__(self):
134
+ """For `print` and `pprint`"""
135
+ return self.to_str()
136
+
137
+ def __eq__(self, other):
138
+ """Returns true if both objects are equal"""
139
+ if not isinstance(other, NumberInfoListForCreateVoiceTaskInput):
140
+ return False
141
+
142
+ return self.to_dict() == other.to_dict()
143
+
144
+ def __ne__(self, other):
145
+ """Returns true if both objects are not equal"""
146
+ if not isinstance(other, NumberInfoListForCreateVoiceTaskInput):
147
+ return True
148
+
149
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,279 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vs20260714
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from byteplussdkcore.configuration import Configuration
20
+
21
+
22
+ class VoiceContentForCreateVoiceTaskInput(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'base_file': 'str',
37
+ 'file_name': 'str',
38
+ 'source': 'int',
39
+ 'text': 'str',
40
+ 'tts_language': 'str',
41
+ 'tts_speed': 'int',
42
+ 'voice_id': 'str'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'base_file': 'baseFile',
47
+ 'file_name': 'fileName',
48
+ 'source': 'source',
49
+ 'text': 'text',
50
+ 'tts_language': 'ttsLanguage',
51
+ 'tts_speed': 'ttsSpeed',
52
+ 'voice_id': 'voiceId'
53
+ }
54
+
55
+ def __init__(self, base_file=None, file_name=None, source=None, text=None, tts_language=None, tts_speed=None, voice_id=None, _configuration=None): # noqa: E501
56
+ """VoiceContentForCreateVoiceTaskInput - a model defined in Swagger""" # noqa: E501
57
+ if _configuration is None:
58
+ _configuration = Configuration()
59
+ self._configuration = _configuration
60
+
61
+ self._base_file = None
62
+ self._file_name = None
63
+ self._source = None
64
+ self._text = None
65
+ self._tts_language = None
66
+ self._tts_speed = None
67
+ self._voice_id = None
68
+ self.discriminator = None
69
+
70
+ if base_file is not None:
71
+ self.base_file = base_file
72
+ if file_name is not None:
73
+ self.file_name = file_name
74
+ if source is not None:
75
+ self.source = source
76
+ if text is not None:
77
+ self.text = text
78
+ if tts_language is not None:
79
+ self.tts_language = tts_language
80
+ if tts_speed is not None:
81
+ self.tts_speed = tts_speed
82
+ if voice_id is not None:
83
+ self.voice_id = voice_id
84
+
85
+ @property
86
+ def base_file(self):
87
+ """Gets the base_file of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
88
+
89
+
90
+ :return: The base_file of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
91
+ :rtype: str
92
+ """
93
+ return self._base_file
94
+
95
+ @base_file.setter
96
+ def base_file(self, base_file):
97
+ """Sets the base_file of this VoiceContentForCreateVoiceTaskInput.
98
+
99
+
100
+ :param base_file: The base_file of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
101
+ :type: str
102
+ """
103
+
104
+ self._base_file = base_file
105
+
106
+ @property
107
+ def file_name(self):
108
+ """Gets the file_name of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
109
+
110
+
111
+ :return: The file_name of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
112
+ :rtype: str
113
+ """
114
+ return self._file_name
115
+
116
+ @file_name.setter
117
+ def file_name(self, file_name):
118
+ """Sets the file_name of this VoiceContentForCreateVoiceTaskInput.
119
+
120
+
121
+ :param file_name: The file_name of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
122
+ :type: str
123
+ """
124
+
125
+ self._file_name = file_name
126
+
127
+ @property
128
+ def source(self):
129
+ """Gets the source of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
130
+
131
+
132
+ :return: The source of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
133
+ :rtype: int
134
+ """
135
+ return self._source
136
+
137
+ @source.setter
138
+ def source(self, source):
139
+ """Sets the source of this VoiceContentForCreateVoiceTaskInput.
140
+
141
+
142
+ :param source: The source of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
143
+ :type: int
144
+ """
145
+
146
+ self._source = source
147
+
148
+ @property
149
+ def text(self):
150
+ """Gets the text of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
151
+
152
+
153
+ :return: The text of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
154
+ :rtype: str
155
+ """
156
+ return self._text
157
+
158
+ @text.setter
159
+ def text(self, text):
160
+ """Sets the text of this VoiceContentForCreateVoiceTaskInput.
161
+
162
+
163
+ :param text: The text of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
164
+ :type: str
165
+ """
166
+
167
+ self._text = text
168
+
169
+ @property
170
+ def tts_language(self):
171
+ """Gets the tts_language of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
172
+
173
+
174
+ :return: The tts_language of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
175
+ :rtype: str
176
+ """
177
+ return self._tts_language
178
+
179
+ @tts_language.setter
180
+ def tts_language(self, tts_language):
181
+ """Sets the tts_language of this VoiceContentForCreateVoiceTaskInput.
182
+
183
+
184
+ :param tts_language: The tts_language of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
185
+ :type: str
186
+ """
187
+
188
+ self._tts_language = tts_language
189
+
190
+ @property
191
+ def tts_speed(self):
192
+ """Gets the tts_speed of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
193
+
194
+
195
+ :return: The tts_speed of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
196
+ :rtype: int
197
+ """
198
+ return self._tts_speed
199
+
200
+ @tts_speed.setter
201
+ def tts_speed(self, tts_speed):
202
+ """Sets the tts_speed of this VoiceContentForCreateVoiceTaskInput.
203
+
204
+
205
+ :param tts_speed: The tts_speed of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
206
+ :type: int
207
+ """
208
+
209
+ self._tts_speed = tts_speed
210
+
211
+ @property
212
+ def voice_id(self):
213
+ """Gets the voice_id of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
214
+
215
+
216
+ :return: The voice_id of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
217
+ :rtype: str
218
+ """
219
+ return self._voice_id
220
+
221
+ @voice_id.setter
222
+ def voice_id(self, voice_id):
223
+ """Sets the voice_id of this VoiceContentForCreateVoiceTaskInput.
224
+
225
+
226
+ :param voice_id: The voice_id of this VoiceContentForCreateVoiceTaskInput. # noqa: E501
227
+ :type: str
228
+ """
229
+
230
+ self._voice_id = voice_id
231
+
232
+ def to_dict(self):
233
+ """Returns the model properties as a dict"""
234
+ result = {}
235
+
236
+ for attr, _ in six.iteritems(self.swagger_types):
237
+ value = getattr(self, attr)
238
+ if isinstance(value, list):
239
+ result[attr] = list(map(
240
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
241
+ value
242
+ ))
243
+ elif hasattr(value, "to_dict"):
244
+ result[attr] = value.to_dict()
245
+ elif isinstance(value, dict):
246
+ result[attr] = dict(map(
247
+ lambda item: (item[0], item[1].to_dict())
248
+ if hasattr(item[1], "to_dict") else item,
249
+ value.items()
250
+ ))
251
+ else:
252
+ result[attr] = value
253
+ if issubclass(VoiceContentForCreateVoiceTaskInput, dict):
254
+ for key, value in self.items():
255
+ result[key] = value
256
+
257
+ return result
258
+
259
+ def to_str(self):
260
+ """Returns the string representation of the model"""
261
+ return pprint.pformat(self.to_dict())
262
+
263
+ def __repr__(self):
264
+ """For `print` and `pprint`"""
265
+ return self.to_str()
266
+
267
+ def __eq__(self, other):
268
+ """Returns true if both objects are equal"""
269
+ if not isinstance(other, VoiceContentForCreateVoiceTaskInput):
270
+ return False
271
+
272
+ return self.to_dict() == other.to_dict()
273
+
274
+ def __ne__(self, other):
275
+ """Returns true if both objects are not equal"""
276
+ if not isinstance(other, VoiceContentForCreateVoiceTaskInput):
277
+ return True
278
+
279
+ return self.to_dict() != other.to_dict()