byteplus-python-sdk-v2 3.0.53__py2.py3-none-any.whl → 3.0.54__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 (38) hide show
  1. {byteplus_python_sdk_v2-3.0.53.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/METADATA +1 -1
  2. {byteplus_python_sdk_v2-3.0.53.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/RECORD +38 -27
  3. {byteplus_python_sdk_v2-3.0.53.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/top_level.txt +1 -0
  4. byteplussdkclawsentry/__init__.py +24 -0
  5. byteplussdkclawsentry/api/__init__.py +6 -0
  6. byteplussdkclawsentry/api/clawsentry_api.py +131 -0
  7. byteplussdkclawsentry/models/__init__.py +20 -0
  8. byteplussdkclawsentry/models/base_for_create_claw_input.py +126 -0
  9. byteplussdkclawsentry/models/create_claw_request.py +251 -0
  10. byteplussdkclawsentry/models/create_claw_response.py +279 -0
  11. byteplussdkcore/api_client.py +1 -1
  12. byteplussdkcore/configuration.py +1 -1
  13. byteplussdkcore/endpoint/providers/default_provider.py +7 -0
  14. byteplussdkcore/endpoint/providers/standard_provider.py +1 -0
  15. byteplussdkcpaas/__init__.py +4 -0
  16. byteplussdkcpaas/models/__init__.py +4 -0
  17. byteplussdkcpaas/models/create_template_v2_request.py +27 -1
  18. byteplussdkcpaas/models/data_for_get_template_v2_output.py +79 -1
  19. byteplussdkcpaas/models/element_style_for_create_template_v2_input.py +497 -3
  20. byteplussdkcpaas/models/element_style_for_get_template_v2_output.py +497 -3
  21. byteplussdkcpaas/models/extend_attrs_for_create_template_v2_input.py +79 -1
  22. byteplussdkcpaas/models/extend_attrs_for_get_template_v2_output.py +79 -1
  23. byteplussdkcpaas/models/item_for_create_template_v2_input.py +149 -0
  24. byteplussdkcpaas/models/item_for_get_template_v2_output.py +149 -0
  25. byteplussdkcpaas/models/page_dto_list_for_create_template_v2_input.py +29 -3
  26. byteplussdkcpaas/models/page_dto_list_for_get_template_v2_output.py +29 -3
  27. byteplussdkcpaas/models/page_element_dto_list_for_create_template_v2_input.py +29 -3
  28. byteplussdkcpaas/models/page_element_dto_list_for_get_template_v2_output.py +29 -3
  29. byteplussdkcpaas/models/template_button_list_for_create_template_v2_input.py +227 -0
  30. byteplussdkcpaas/models/template_button_list_for_get_template_v2_output.py +227 -0
  31. byteplussdkcpaas/models/template_list_for_create_template_v2_input.py +235 -1
  32. byteplussdkcpaas/models/template_list_for_get_template_v2_output.py +235 -1
  33. byteplussdkcpaas/models/template_status_for_list_template_v2_output.py +79 -1
  34. byteplussdkcpaas/models/variables_dto_list_for_create_template_v2_input.py +27 -1
  35. byteplussdkcpaas/models/variables_dto_list_for_get_template_v2_output.py +27 -1
  36. {byteplus_python_sdk_v2-3.0.53.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/WHEEL +0 -0
  37. {byteplus_python_sdk_v2-3.0.53.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/licenses/LICENSE.txt +0 -0
  38. {byteplus_python_sdk_v2-3.0.53.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/licenses/NOTICE.md +0 -0
@@ -0,0 +1,251 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ clawsentry
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 CreateClawRequest(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': 'BaseForCreateClawInput',
37
+ 'claw_type': 'str',
38
+ 'external_claw_id': 'str',
39
+ 'name': 'str',
40
+ 'source': 'str'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'base': 'Base',
45
+ 'claw_type': 'ClawType',
46
+ 'external_claw_id': 'ExternalClawID',
47
+ 'name': 'Name',
48
+ 'source': 'Source'
49
+ }
50
+
51
+ def __init__(self, base=None, claw_type=None, external_claw_id=None, name=None, source=None, _configuration=None): # noqa: E501
52
+ """CreateClawRequest - a model defined in Swagger""" # noqa: E501
53
+ if _configuration is None:
54
+ _configuration = Configuration()
55
+ self._configuration = _configuration
56
+
57
+ self._base = None
58
+ self._claw_type = None
59
+ self._external_claw_id = None
60
+ self._name = None
61
+ self._source = None
62
+ self.discriminator = None
63
+
64
+ if base is not None:
65
+ self.base = base
66
+ if claw_type is not None:
67
+ self.claw_type = claw_type
68
+ self.external_claw_id = external_claw_id
69
+ if name is not None:
70
+ self.name = name
71
+ if source is not None:
72
+ self.source = source
73
+
74
+ @property
75
+ def base(self):
76
+ """Gets the base of this CreateClawRequest. # noqa: E501
77
+
78
+
79
+ :return: The base of this CreateClawRequest. # noqa: E501
80
+ :rtype: BaseForCreateClawInput
81
+ """
82
+ return self._base
83
+
84
+ @base.setter
85
+ def base(self, base):
86
+ """Sets the base of this CreateClawRequest.
87
+
88
+
89
+ :param base: The base of this CreateClawRequest. # noqa: E501
90
+ :type: BaseForCreateClawInput
91
+ """
92
+
93
+ self._base = base
94
+
95
+ @property
96
+ def claw_type(self):
97
+ """Gets the claw_type of this CreateClawRequest. # noqa: E501
98
+
99
+
100
+ :return: The claw_type of this CreateClawRequest. # noqa: E501
101
+ :rtype: str
102
+ """
103
+ return self._claw_type
104
+
105
+ @claw_type.setter
106
+ def claw_type(self, claw_type):
107
+ """Sets the claw_type of this CreateClawRequest.
108
+
109
+
110
+ :param claw_type: The claw_type of this CreateClawRequest. # noqa: E501
111
+ :type: str
112
+ """
113
+ allowed_values = ["arkclaw", "openclaw", "hermes", "hibot", "doubao", "opencode", "codex", "coco", "trae"] # noqa: E501
114
+ if (self._configuration.client_side_validation and
115
+ claw_type not in allowed_values):
116
+ raise ValueError(
117
+ "Invalid value for `claw_type` ({0}), must be one of {1}" # noqa: E501
118
+ .format(claw_type, allowed_values)
119
+ )
120
+
121
+ self._claw_type = claw_type
122
+
123
+ @property
124
+ def external_claw_id(self):
125
+ """Gets the external_claw_id of this CreateClawRequest. # noqa: E501
126
+
127
+
128
+ :return: The external_claw_id of this CreateClawRequest. # noqa: E501
129
+ :rtype: str
130
+ """
131
+ return self._external_claw_id
132
+
133
+ @external_claw_id.setter
134
+ def external_claw_id(self, external_claw_id):
135
+ """Sets the external_claw_id of this CreateClawRequest.
136
+
137
+
138
+ :param external_claw_id: The external_claw_id of this CreateClawRequest. # noqa: E501
139
+ :type: str
140
+ """
141
+ if self._configuration.client_side_validation and external_claw_id is None:
142
+ raise ValueError("Invalid value for `external_claw_id`, must not be `None`") # noqa: E501
143
+ if (self._configuration.client_side_validation and
144
+ external_claw_id is not None and len(external_claw_id) > 256):
145
+ raise ValueError("Invalid value for `external_claw_id`, length must be less than or equal to `256`") # noqa: E501
146
+ if (self._configuration.client_side_validation and
147
+ external_claw_id is not None and len(external_claw_id) < 1):
148
+ raise ValueError("Invalid value for `external_claw_id`, length must be greater than or equal to `1`") # noqa: E501
149
+
150
+ self._external_claw_id = external_claw_id
151
+
152
+ @property
153
+ def name(self):
154
+ """Gets the name of this CreateClawRequest. # noqa: E501
155
+
156
+
157
+ :return: The name of this CreateClawRequest. # noqa: E501
158
+ :rtype: str
159
+ """
160
+ return self._name
161
+
162
+ @name.setter
163
+ def name(self, name):
164
+ """Sets the name of this CreateClawRequest.
165
+
166
+
167
+ :param name: The name of this CreateClawRequest. # noqa: E501
168
+ :type: str
169
+ """
170
+ if (self._configuration.client_side_validation and
171
+ name is not None and len(name) > 100):
172
+ raise ValueError("Invalid value for `name`, length must be less than or equal to `100`") # noqa: E501
173
+
174
+ self._name = name
175
+
176
+ @property
177
+ def source(self):
178
+ """Gets the source of this CreateClawRequest. # noqa: E501
179
+
180
+
181
+ :return: The source of this CreateClawRequest. # noqa: E501
182
+ :rtype: str
183
+ """
184
+ return self._source
185
+
186
+ @source.setter
187
+ def source(self, source):
188
+ """Sets the source of this CreateClawRequest.
189
+
190
+
191
+ :param source: The source of this CreateClawRequest. # noqa: E501
192
+ :type: str
193
+ """
194
+ allowed_values = ["arkclaw", "third_party", "hibot"] # noqa: E501
195
+ if (self._configuration.client_side_validation and
196
+ source not in allowed_values):
197
+ raise ValueError(
198
+ "Invalid value for `source` ({0}), must be one of {1}" # noqa: E501
199
+ .format(source, allowed_values)
200
+ )
201
+
202
+ self._source = source
203
+
204
+ def to_dict(self):
205
+ """Returns the model properties as a dict"""
206
+ result = {}
207
+
208
+ for attr, _ in six.iteritems(self.swagger_types):
209
+ value = getattr(self, attr)
210
+ if isinstance(value, list):
211
+ result[attr] = list(map(
212
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
213
+ value
214
+ ))
215
+ elif hasattr(value, "to_dict"):
216
+ result[attr] = value.to_dict()
217
+ elif isinstance(value, dict):
218
+ result[attr] = dict(map(
219
+ lambda item: (item[0], item[1].to_dict())
220
+ if hasattr(item[1], "to_dict") else item,
221
+ value.items()
222
+ ))
223
+ else:
224
+ result[attr] = value
225
+ if issubclass(CreateClawRequest, dict):
226
+ for key, value in self.items():
227
+ result[key] = value
228
+
229
+ return result
230
+
231
+ def to_str(self):
232
+ """Returns the string representation of the model"""
233
+ return pprint.pformat(self.to_dict())
234
+
235
+ def __repr__(self):
236
+ """For `print` and `pprint`"""
237
+ return self.to_str()
238
+
239
+ def __eq__(self, other):
240
+ """Returns true if both objects are equal"""
241
+ if not isinstance(other, CreateClawRequest):
242
+ return False
243
+
244
+ return self.to_dict() == other.to_dict()
245
+
246
+ def __ne__(self, other):
247
+ """Returns true if both objects are not equal"""
248
+ if not isinstance(other, CreateClawRequest):
249
+ return True
250
+
251
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,279 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ clawsentry
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 CreateClawResponse(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
+ 'center_endpoint': 'str',
37
+ 'claw_api_key': 'str',
38
+ 'claw_id': 'str',
39
+ 'conf_version': 'str',
40
+ 'gateway_endpoint': 'str',
41
+ 'lumen_endpoint': 'str',
42
+ 'scheme': 'str'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'center_endpoint': 'CenterEndpoint',
47
+ 'claw_api_key': 'ClawApiKey',
48
+ 'claw_id': 'ClawID',
49
+ 'conf_version': 'ConfVersion',
50
+ 'gateway_endpoint': 'GatewayEndpoint',
51
+ 'lumen_endpoint': 'LumenEndpoint',
52
+ 'scheme': 'Scheme'
53
+ }
54
+
55
+ def __init__(self, center_endpoint=None, claw_api_key=None, claw_id=None, conf_version=None, gateway_endpoint=None, lumen_endpoint=None, scheme=None, _configuration=None): # noqa: E501
56
+ """CreateClawResponse - a model defined in Swagger""" # noqa: E501
57
+ if _configuration is None:
58
+ _configuration = Configuration()
59
+ self._configuration = _configuration
60
+
61
+ self._center_endpoint = None
62
+ self._claw_api_key = None
63
+ self._claw_id = None
64
+ self._conf_version = None
65
+ self._gateway_endpoint = None
66
+ self._lumen_endpoint = None
67
+ self._scheme = None
68
+ self.discriminator = None
69
+
70
+ if center_endpoint is not None:
71
+ self.center_endpoint = center_endpoint
72
+ if claw_api_key is not None:
73
+ self.claw_api_key = claw_api_key
74
+ if claw_id is not None:
75
+ self.claw_id = claw_id
76
+ if conf_version is not None:
77
+ self.conf_version = conf_version
78
+ if gateway_endpoint is not None:
79
+ self.gateway_endpoint = gateway_endpoint
80
+ if lumen_endpoint is not None:
81
+ self.lumen_endpoint = lumen_endpoint
82
+ if scheme is not None:
83
+ self.scheme = scheme
84
+
85
+ @property
86
+ def center_endpoint(self):
87
+ """Gets the center_endpoint of this CreateClawResponse. # noqa: E501
88
+
89
+
90
+ :return: The center_endpoint of this CreateClawResponse. # noqa: E501
91
+ :rtype: str
92
+ """
93
+ return self._center_endpoint
94
+
95
+ @center_endpoint.setter
96
+ def center_endpoint(self, center_endpoint):
97
+ """Sets the center_endpoint of this CreateClawResponse.
98
+
99
+
100
+ :param center_endpoint: The center_endpoint of this CreateClawResponse. # noqa: E501
101
+ :type: str
102
+ """
103
+
104
+ self._center_endpoint = center_endpoint
105
+
106
+ @property
107
+ def claw_api_key(self):
108
+ """Gets the claw_api_key of this CreateClawResponse. # noqa: E501
109
+
110
+
111
+ :return: The claw_api_key of this CreateClawResponse. # noqa: E501
112
+ :rtype: str
113
+ """
114
+ return self._claw_api_key
115
+
116
+ @claw_api_key.setter
117
+ def claw_api_key(self, claw_api_key):
118
+ """Sets the claw_api_key of this CreateClawResponse.
119
+
120
+
121
+ :param claw_api_key: The claw_api_key of this CreateClawResponse. # noqa: E501
122
+ :type: str
123
+ """
124
+
125
+ self._claw_api_key = claw_api_key
126
+
127
+ @property
128
+ def claw_id(self):
129
+ """Gets the claw_id of this CreateClawResponse. # noqa: E501
130
+
131
+
132
+ :return: The claw_id of this CreateClawResponse. # noqa: E501
133
+ :rtype: str
134
+ """
135
+ return self._claw_id
136
+
137
+ @claw_id.setter
138
+ def claw_id(self, claw_id):
139
+ """Sets the claw_id of this CreateClawResponse.
140
+
141
+
142
+ :param claw_id: The claw_id of this CreateClawResponse. # noqa: E501
143
+ :type: str
144
+ """
145
+
146
+ self._claw_id = claw_id
147
+
148
+ @property
149
+ def conf_version(self):
150
+ """Gets the conf_version of this CreateClawResponse. # noqa: E501
151
+
152
+
153
+ :return: The conf_version of this CreateClawResponse. # noqa: E501
154
+ :rtype: str
155
+ """
156
+ return self._conf_version
157
+
158
+ @conf_version.setter
159
+ def conf_version(self, conf_version):
160
+ """Sets the conf_version of this CreateClawResponse.
161
+
162
+
163
+ :param conf_version: The conf_version of this CreateClawResponse. # noqa: E501
164
+ :type: str
165
+ """
166
+
167
+ self._conf_version = conf_version
168
+
169
+ @property
170
+ def gateway_endpoint(self):
171
+ """Gets the gateway_endpoint of this CreateClawResponse. # noqa: E501
172
+
173
+
174
+ :return: The gateway_endpoint of this CreateClawResponse. # noqa: E501
175
+ :rtype: str
176
+ """
177
+ return self._gateway_endpoint
178
+
179
+ @gateway_endpoint.setter
180
+ def gateway_endpoint(self, gateway_endpoint):
181
+ """Sets the gateway_endpoint of this CreateClawResponse.
182
+
183
+
184
+ :param gateway_endpoint: The gateway_endpoint of this CreateClawResponse. # noqa: E501
185
+ :type: str
186
+ """
187
+
188
+ self._gateway_endpoint = gateway_endpoint
189
+
190
+ @property
191
+ def lumen_endpoint(self):
192
+ """Gets the lumen_endpoint of this CreateClawResponse. # noqa: E501
193
+
194
+
195
+ :return: The lumen_endpoint of this CreateClawResponse. # noqa: E501
196
+ :rtype: str
197
+ """
198
+ return self._lumen_endpoint
199
+
200
+ @lumen_endpoint.setter
201
+ def lumen_endpoint(self, lumen_endpoint):
202
+ """Sets the lumen_endpoint of this CreateClawResponse.
203
+
204
+
205
+ :param lumen_endpoint: The lumen_endpoint of this CreateClawResponse. # noqa: E501
206
+ :type: str
207
+ """
208
+
209
+ self._lumen_endpoint = lumen_endpoint
210
+
211
+ @property
212
+ def scheme(self):
213
+ """Gets the scheme of this CreateClawResponse. # noqa: E501
214
+
215
+
216
+ :return: The scheme of this CreateClawResponse. # noqa: E501
217
+ :rtype: str
218
+ """
219
+ return self._scheme
220
+
221
+ @scheme.setter
222
+ def scheme(self, scheme):
223
+ """Sets the scheme of this CreateClawResponse.
224
+
225
+
226
+ :param scheme: The scheme of this CreateClawResponse. # noqa: E501
227
+ :type: str
228
+ """
229
+
230
+ self._scheme = scheme
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(CreateClawResponse, 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, CreateClawResponse):
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, CreateClawResponse):
277
+ return True
278
+
279
+ return self.to_dict() != other.to_dict()
@@ -68,7 +68,7 @@ class ApiClient(object):
68
68
  self.default_headers[header_name] = header_value
69
69
  self.cookie = cookie
70
70
  # Set default User-Agent.
71
- self.user_agent = 'byteplus-python-sdk-v2/3.0.53'
71
+ self.user_agent = 'byteplus-python-sdk-v2/3.0.54'
72
72
  self.client_side_validation = configuration.client_side_validation
73
73
 
74
74
  self.interceptor_chain = InterceptorChain()
@@ -287,7 +287,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
287
287
  "OS: {env}\n" \
288
288
  "Python Version: {pyversion}\n" \
289
289
  "Version of the API: 0.1.0\n" \
290
- "SDK Package Version: 3.0.53".\
290
+ "SDK Package Version: 3.0.54".\
291
291
  format(env=sys.platform, pyversion=sys.version)
292
292
 
293
293
  @property
@@ -233,6 +233,13 @@ default_endpoint = {
233
233
  region_endpoint_map={},
234
234
  fallback_endpoint=fallback_endpoint,
235
235
  ),
236
+ 'clawsentry': ServiceEndpointInfo(
237
+ service='clawsentry',
238
+ is_global=False,
239
+ global_endpoint='',
240
+ region_endpoint_map={},
241
+ fallback_endpoint=fallback_endpoint,
242
+ ),
236
243
  }
237
244
 
238
245
 
@@ -168,6 +168,7 @@ ServiceInfos = {
168
168
  "cpaas": ServiceInfo("cpaas", True),
169
169
  "kickart": ServiceInfo("kickart", True),
170
170
  "vs": ServiceInfo("vs", True),
171
+ "clawsentry": ServiceInfo("clawsentry", False),
171
172
  }
172
173
 
173
174
 
@@ -34,6 +34,8 @@ from byteplussdkcpaas.models.extend_attrs_for_create_template_v2_input import Ex
34
34
  from byteplussdkcpaas.models.extend_attrs_for_get_template_v2_output import ExtendAttrsForGetTemplateV2Output
35
35
  from byteplussdkcpaas.models.get_template_v2_request import GetTemplateV2Request
36
36
  from byteplussdkcpaas.models.get_template_v2_response import GetTemplateV2Response
37
+ from byteplussdkcpaas.models.item_for_create_template_v2_input import ItemForCreateTemplateV2Input
38
+ from byteplussdkcpaas.models.item_for_get_template_v2_output import ItemForGetTemplateV2Output
37
39
  from byteplussdkcpaas.models.list_template_v2_request import ListTemplateV2Request
38
40
  from byteplussdkcpaas.models.list_template_v2_response import ListTemplateV2Response
39
41
  from byteplussdkcpaas.models.page_dto_list_for_create_template_v2_input import PageDTOListForCreateTemplateV2Input
@@ -49,6 +51,8 @@ from byteplussdkcpaas.models.send_batch_message_request import SendBatchMessageR
49
51
  from byteplussdkcpaas.models.send_batch_message_response import SendBatchMessageResponse
50
52
  from byteplussdkcpaas.models.send_message_request import SendMessageRequest
51
53
  from byteplussdkcpaas.models.send_message_response import SendMessageResponse
54
+ from byteplussdkcpaas.models.template_button_list_for_create_template_v2_input import TemplateButtonListForCreateTemplateV2Input
55
+ from byteplussdkcpaas.models.template_button_list_for_get_template_v2_output import TemplateButtonListForGetTemplateV2Output
52
56
  from byteplussdkcpaas.models.template_list_for_create_template_v2_input import TemplateListForCreateTemplateV2Input
53
57
  from byteplussdkcpaas.models.template_list_for_get_template_v2_output import TemplateListForGetTemplateV2Output
54
58
  from byteplussdkcpaas.models.template_status_for_list_template_v2_output import TemplateStatusForListTemplateV2Output
@@ -30,6 +30,8 @@ from byteplussdkcpaas.models.extend_attrs_for_create_template_v2_input import Ex
30
30
  from byteplussdkcpaas.models.extend_attrs_for_get_template_v2_output import ExtendAttrsForGetTemplateV2Output
31
31
  from byteplussdkcpaas.models.get_template_v2_request import GetTemplateV2Request
32
32
  from byteplussdkcpaas.models.get_template_v2_response import GetTemplateV2Response
33
+ from byteplussdkcpaas.models.item_for_create_template_v2_input import ItemForCreateTemplateV2Input
34
+ from byteplussdkcpaas.models.item_for_get_template_v2_output import ItemForGetTemplateV2Output
33
35
  from byteplussdkcpaas.models.list_template_v2_request import ListTemplateV2Request
34
36
  from byteplussdkcpaas.models.list_template_v2_response import ListTemplateV2Response
35
37
  from byteplussdkcpaas.models.page_dto_list_for_create_template_v2_input import PageDTOListForCreateTemplateV2Input
@@ -45,6 +47,8 @@ from byteplussdkcpaas.models.send_batch_message_request import SendBatchMessageR
45
47
  from byteplussdkcpaas.models.send_batch_message_response import SendBatchMessageResponse
46
48
  from byteplussdkcpaas.models.send_message_request import SendMessageRequest
47
49
  from byteplussdkcpaas.models.send_message_response import SendMessageResponse
50
+ from byteplussdkcpaas.models.template_button_list_for_create_template_v2_input import TemplateButtonListForCreateTemplateV2Input
51
+ from byteplussdkcpaas.models.template_button_list_for_get_template_v2_output import TemplateButtonListForGetTemplateV2Output
48
52
  from byteplussdkcpaas.models.template_list_for_create_template_v2_input import TemplateListForCreateTemplateV2Input
49
53
  from byteplussdkcpaas.models.template_list_for_get_template_v2_output import TemplateListForGetTemplateV2Output
50
54
  from byteplussdkcpaas.models.template_status_for_list_template_v2_output import TemplateStatusForListTemplateV2Output
@@ -37,6 +37,7 @@ class CreateTemplateV2Request(object):
37
37
  'enable_short_url': 'str',
38
38
  'language': 'str',
39
39
  'scene_template_name': 'str',
40
+ 'send_audit': 'str',
40
41
  'signature': 'str',
41
42
  'sub_account_id': 'str',
42
43
  'template_list': 'list[TemplateListForCreateTemplateV2Input]',
@@ -48,13 +49,14 @@ class CreateTemplateV2Request(object):
48
49
  'enable_short_url': 'EnableShortUrl',
49
50
  'language': 'Language',
50
51
  'scene_template_name': 'SceneTemplateName',
52
+ 'send_audit': 'SendAudit',
51
53
  'signature': 'Signature',
52
54
  'sub_account_id': 'SubAccountId',
53
55
  'template_list': 'TemplateList',
54
56
  'waba_id': 'WabaId'
55
57
  }
56
58
 
57
- def __init__(self, business_type=None, enable_short_url=None, language=None, scene_template_name=None, signature=None, sub_account_id=None, template_list=None, waba_id=None, _configuration=None): # noqa: E501
59
+ def __init__(self, business_type=None, enable_short_url=None, language=None, scene_template_name=None, send_audit=None, signature=None, sub_account_id=None, template_list=None, waba_id=None, _configuration=None): # noqa: E501
58
60
  """CreateTemplateV2Request - a model defined in Swagger""" # noqa: E501
59
61
  if _configuration is None:
60
62
  _configuration = Configuration()
@@ -64,6 +66,7 @@ class CreateTemplateV2Request(object):
64
66
  self._enable_short_url = None
65
67
  self._language = None
66
68
  self._scene_template_name = None
69
+ self._send_audit = None
67
70
  self._signature = None
68
71
  self._sub_account_id = None
69
72
  self._template_list = None
@@ -77,6 +80,8 @@ class CreateTemplateV2Request(object):
77
80
  if language is not None:
78
81
  self.language = language
79
82
  self.scene_template_name = scene_template_name
83
+ if send_audit is not None:
84
+ self.send_audit = send_audit
80
85
  if signature is not None:
81
86
  self.signature = signature
82
87
  if sub_account_id is not None:
@@ -172,6 +177,27 @@ class CreateTemplateV2Request(object):
172
177
 
173
178
  self._scene_template_name = scene_template_name
174
179
 
180
+ @property
181
+ def send_audit(self):
182
+ """Gets the send_audit of this CreateTemplateV2Request. # noqa: E501
183
+
184
+
185
+ :return: The send_audit of this CreateTemplateV2Request. # noqa: E501
186
+ :rtype: str
187
+ """
188
+ return self._send_audit
189
+
190
+ @send_audit.setter
191
+ def send_audit(self, send_audit):
192
+ """Sets the send_audit of this CreateTemplateV2Request.
193
+
194
+
195
+ :param send_audit: The send_audit of this CreateTemplateV2Request. # noqa: E501
196
+ :type: str
197
+ """
198
+
199
+ self._send_audit = send_audit
200
+
175
201
  @property
176
202
  def signature(self):
177
203
  """Gets the signature of this CreateTemplateV2Request. # noqa: E501