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
@@ -34,15 +34,17 @@ class PageElementDTOListForCreateTemplateV2Input(object):
34
34
  """
35
35
  swagger_types = {
36
36
  'element_style': 'ElementStyleForCreateTemplateV2Input',
37
- 'element_type': 'str'
37
+ 'element_type': 'str',
38
+ 'order_id': 'int'
38
39
  }
39
40
 
40
41
  attribute_map = {
41
42
  'element_style': 'ElementStyle',
42
- 'element_type': 'ElementType'
43
+ 'element_type': 'ElementType',
44
+ 'order_id': 'OrderId'
43
45
  }
44
46
 
45
- def __init__(self, element_style=None, element_type=None, _configuration=None): # noqa: E501
47
+ def __init__(self, element_style=None, element_type=None, order_id=None, _configuration=None): # noqa: E501
46
48
  """PageElementDTOListForCreateTemplateV2Input - a model defined in Swagger""" # noqa: E501
47
49
  if _configuration is None:
48
50
  _configuration = Configuration()
@@ -50,12 +52,15 @@ class PageElementDTOListForCreateTemplateV2Input(object):
50
52
 
51
53
  self._element_style = None
52
54
  self._element_type = None
55
+ self._order_id = None
53
56
  self.discriminator = None
54
57
 
55
58
  if element_style is not None:
56
59
  self.element_style = element_style
57
60
  if element_type is not None:
58
61
  self.element_type = element_type
62
+ if order_id is not None:
63
+ self.order_id = order_id
59
64
 
60
65
  @property
61
66
  def element_style(self):
@@ -99,6 +104,27 @@ class PageElementDTOListForCreateTemplateV2Input(object):
99
104
 
100
105
  self._element_type = element_type
101
106
 
107
+ @property
108
+ def order_id(self):
109
+ """Gets the order_id of this PageElementDTOListForCreateTemplateV2Input. # noqa: E501
110
+
111
+
112
+ :return: The order_id of this PageElementDTOListForCreateTemplateV2Input. # noqa: E501
113
+ :rtype: int
114
+ """
115
+ return self._order_id
116
+
117
+ @order_id.setter
118
+ def order_id(self, order_id):
119
+ """Sets the order_id of this PageElementDTOListForCreateTemplateV2Input.
120
+
121
+
122
+ :param order_id: The order_id of this PageElementDTOListForCreateTemplateV2Input. # noqa: E501
123
+ :type: int
124
+ """
125
+
126
+ self._order_id = order_id
127
+
102
128
  def to_dict(self):
103
129
  """Returns the model properties as a dict"""
104
130
  result = {}
@@ -34,15 +34,17 @@ class PageElementDTOListForGetTemplateV2Output(object):
34
34
  """
35
35
  swagger_types = {
36
36
  'element_style': 'ElementStyleForGetTemplateV2Output',
37
- 'element_type': 'str'
37
+ 'element_type': 'str',
38
+ 'order_id': 'int'
38
39
  }
39
40
 
40
41
  attribute_map = {
41
42
  'element_style': 'ElementStyle',
42
- 'element_type': 'ElementType'
43
+ 'element_type': 'ElementType',
44
+ 'order_id': 'OrderId'
43
45
  }
44
46
 
45
- def __init__(self, element_style=None, element_type=None, _configuration=None): # noqa: E501
47
+ def __init__(self, element_style=None, element_type=None, order_id=None, _configuration=None): # noqa: E501
46
48
  """PageElementDTOListForGetTemplateV2Output - a model defined in Swagger""" # noqa: E501
47
49
  if _configuration is None:
48
50
  _configuration = Configuration()
@@ -50,12 +52,15 @@ class PageElementDTOListForGetTemplateV2Output(object):
50
52
 
51
53
  self._element_style = None
52
54
  self._element_type = None
55
+ self._order_id = None
53
56
  self.discriminator = None
54
57
 
55
58
  if element_style is not None:
56
59
  self.element_style = element_style
57
60
  if element_type is not None:
58
61
  self.element_type = element_type
62
+ if order_id is not None:
63
+ self.order_id = order_id
59
64
 
60
65
  @property
61
66
  def element_style(self):
@@ -99,6 +104,27 @@ class PageElementDTOListForGetTemplateV2Output(object):
99
104
 
100
105
  self._element_type = element_type
101
106
 
107
+ @property
108
+ def order_id(self):
109
+ """Gets the order_id of this PageElementDTOListForGetTemplateV2Output. # noqa: E501
110
+
111
+
112
+ :return: The order_id of this PageElementDTOListForGetTemplateV2Output. # noqa: E501
113
+ :rtype: int
114
+ """
115
+ return self._order_id
116
+
117
+ @order_id.setter
118
+ def order_id(self, order_id):
119
+ """Sets the order_id of this PageElementDTOListForGetTemplateV2Output.
120
+
121
+
122
+ :param order_id: The order_id of this PageElementDTOListForGetTemplateV2Output. # noqa: E501
123
+ :type: int
124
+ """
125
+
126
+ self._order_id = order_id
127
+
102
128
  def to_dict(self):
103
129
  """Returns the model properties as a dict"""
104
130
  result = {}
@@ -0,0 +1,227 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ cpaas
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 TemplateButtonListForCreateTemplateV2Input(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
+ 'action': 'ActionForCreateTemplateV2Input',
37
+ 'element_type': 'str',
38
+ 'link_name': 'str',
39
+ 'link_type': 'str',
40
+ 'order_id': 'int'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'action': 'Action',
45
+ 'element_type': 'ElementType',
46
+ 'link_name': 'LinkName',
47
+ 'link_type': 'LinkType',
48
+ 'order_id': 'OrderId'
49
+ }
50
+
51
+ def __init__(self, action=None, element_type=None, link_name=None, link_type=None, order_id=None, _configuration=None): # noqa: E501
52
+ """TemplateButtonListForCreateTemplateV2Input - a model defined in Swagger""" # noqa: E501
53
+ if _configuration is None:
54
+ _configuration = Configuration()
55
+ self._configuration = _configuration
56
+
57
+ self._action = None
58
+ self._element_type = None
59
+ self._link_name = None
60
+ self._link_type = None
61
+ self._order_id = None
62
+ self.discriminator = None
63
+
64
+ if action is not None:
65
+ self.action = action
66
+ if element_type is not None:
67
+ self.element_type = element_type
68
+ if link_name is not None:
69
+ self.link_name = link_name
70
+ if link_type is not None:
71
+ self.link_type = link_type
72
+ if order_id is not None:
73
+ self.order_id = order_id
74
+
75
+ @property
76
+ def action(self):
77
+ """Gets the action of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
78
+
79
+
80
+ :return: The action of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
81
+ :rtype: ActionForCreateTemplateV2Input
82
+ """
83
+ return self._action
84
+
85
+ @action.setter
86
+ def action(self, action):
87
+ """Sets the action of this TemplateButtonListForCreateTemplateV2Input.
88
+
89
+
90
+ :param action: The action of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
91
+ :type: ActionForCreateTemplateV2Input
92
+ """
93
+
94
+ self._action = action
95
+
96
+ @property
97
+ def element_type(self):
98
+ """Gets the element_type of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
99
+
100
+
101
+ :return: The element_type of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
102
+ :rtype: str
103
+ """
104
+ return self._element_type
105
+
106
+ @element_type.setter
107
+ def element_type(self, element_type):
108
+ """Sets the element_type of this TemplateButtonListForCreateTemplateV2Input.
109
+
110
+
111
+ :param element_type: The element_type of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
112
+ :type: str
113
+ """
114
+
115
+ self._element_type = element_type
116
+
117
+ @property
118
+ def link_name(self):
119
+ """Gets the link_name of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
120
+
121
+
122
+ :return: The link_name of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
123
+ :rtype: str
124
+ """
125
+ return self._link_name
126
+
127
+ @link_name.setter
128
+ def link_name(self, link_name):
129
+ """Sets the link_name of this TemplateButtonListForCreateTemplateV2Input.
130
+
131
+
132
+ :param link_name: The link_name of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
133
+ :type: str
134
+ """
135
+
136
+ self._link_name = link_name
137
+
138
+ @property
139
+ def link_type(self):
140
+ """Gets the link_type of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
141
+
142
+
143
+ :return: The link_type of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
144
+ :rtype: str
145
+ """
146
+ return self._link_type
147
+
148
+ @link_type.setter
149
+ def link_type(self, link_type):
150
+ """Sets the link_type of this TemplateButtonListForCreateTemplateV2Input.
151
+
152
+
153
+ :param link_type: The link_type of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
154
+ :type: str
155
+ """
156
+
157
+ self._link_type = link_type
158
+
159
+ @property
160
+ def order_id(self):
161
+ """Gets the order_id of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
162
+
163
+
164
+ :return: The order_id of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
165
+ :rtype: int
166
+ """
167
+ return self._order_id
168
+
169
+ @order_id.setter
170
+ def order_id(self, order_id):
171
+ """Sets the order_id of this TemplateButtonListForCreateTemplateV2Input.
172
+
173
+
174
+ :param order_id: The order_id of this TemplateButtonListForCreateTemplateV2Input. # noqa: E501
175
+ :type: int
176
+ """
177
+
178
+ self._order_id = order_id
179
+
180
+ def to_dict(self):
181
+ """Returns the model properties as a dict"""
182
+ result = {}
183
+
184
+ for attr, _ in six.iteritems(self.swagger_types):
185
+ value = getattr(self, attr)
186
+ if isinstance(value, list):
187
+ result[attr] = list(map(
188
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
189
+ value
190
+ ))
191
+ elif hasattr(value, "to_dict"):
192
+ result[attr] = value.to_dict()
193
+ elif isinstance(value, dict):
194
+ result[attr] = dict(map(
195
+ lambda item: (item[0], item[1].to_dict())
196
+ if hasattr(item[1], "to_dict") else item,
197
+ value.items()
198
+ ))
199
+ else:
200
+ result[attr] = value
201
+ if issubclass(TemplateButtonListForCreateTemplateV2Input, dict):
202
+ for key, value in self.items():
203
+ result[key] = value
204
+
205
+ return result
206
+
207
+ def to_str(self):
208
+ """Returns the string representation of the model"""
209
+ return pprint.pformat(self.to_dict())
210
+
211
+ def __repr__(self):
212
+ """For `print` and `pprint`"""
213
+ return self.to_str()
214
+
215
+ def __eq__(self, other):
216
+ """Returns true if both objects are equal"""
217
+ if not isinstance(other, TemplateButtonListForCreateTemplateV2Input):
218
+ return False
219
+
220
+ return self.to_dict() == other.to_dict()
221
+
222
+ def __ne__(self, other):
223
+ """Returns true if both objects are not equal"""
224
+ if not isinstance(other, TemplateButtonListForCreateTemplateV2Input):
225
+ return True
226
+
227
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,227 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ cpaas
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 TemplateButtonListForGetTemplateV2Output(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
+ 'action': 'ActionForGetTemplateV2Output',
37
+ 'element_type': 'str',
38
+ 'link_name': 'str',
39
+ 'link_type': 'str',
40
+ 'order_id': 'int'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'action': 'Action',
45
+ 'element_type': 'ElementType',
46
+ 'link_name': 'LinkName',
47
+ 'link_type': 'LinkType',
48
+ 'order_id': 'OrderId'
49
+ }
50
+
51
+ def __init__(self, action=None, element_type=None, link_name=None, link_type=None, order_id=None, _configuration=None): # noqa: E501
52
+ """TemplateButtonListForGetTemplateV2Output - a model defined in Swagger""" # noqa: E501
53
+ if _configuration is None:
54
+ _configuration = Configuration()
55
+ self._configuration = _configuration
56
+
57
+ self._action = None
58
+ self._element_type = None
59
+ self._link_name = None
60
+ self._link_type = None
61
+ self._order_id = None
62
+ self.discriminator = None
63
+
64
+ if action is not None:
65
+ self.action = action
66
+ if element_type is not None:
67
+ self.element_type = element_type
68
+ if link_name is not None:
69
+ self.link_name = link_name
70
+ if link_type is not None:
71
+ self.link_type = link_type
72
+ if order_id is not None:
73
+ self.order_id = order_id
74
+
75
+ @property
76
+ def action(self):
77
+ """Gets the action of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
78
+
79
+
80
+ :return: The action of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
81
+ :rtype: ActionForGetTemplateV2Output
82
+ """
83
+ return self._action
84
+
85
+ @action.setter
86
+ def action(self, action):
87
+ """Sets the action of this TemplateButtonListForGetTemplateV2Output.
88
+
89
+
90
+ :param action: The action of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
91
+ :type: ActionForGetTemplateV2Output
92
+ """
93
+
94
+ self._action = action
95
+
96
+ @property
97
+ def element_type(self):
98
+ """Gets the element_type of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
99
+
100
+
101
+ :return: The element_type of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
102
+ :rtype: str
103
+ """
104
+ return self._element_type
105
+
106
+ @element_type.setter
107
+ def element_type(self, element_type):
108
+ """Sets the element_type of this TemplateButtonListForGetTemplateV2Output.
109
+
110
+
111
+ :param element_type: The element_type of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
112
+ :type: str
113
+ """
114
+
115
+ self._element_type = element_type
116
+
117
+ @property
118
+ def link_name(self):
119
+ """Gets the link_name of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
120
+
121
+
122
+ :return: The link_name of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
123
+ :rtype: str
124
+ """
125
+ return self._link_name
126
+
127
+ @link_name.setter
128
+ def link_name(self, link_name):
129
+ """Sets the link_name of this TemplateButtonListForGetTemplateV2Output.
130
+
131
+
132
+ :param link_name: The link_name of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
133
+ :type: str
134
+ """
135
+
136
+ self._link_name = link_name
137
+
138
+ @property
139
+ def link_type(self):
140
+ """Gets the link_type of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
141
+
142
+
143
+ :return: The link_type of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
144
+ :rtype: str
145
+ """
146
+ return self._link_type
147
+
148
+ @link_type.setter
149
+ def link_type(self, link_type):
150
+ """Sets the link_type of this TemplateButtonListForGetTemplateV2Output.
151
+
152
+
153
+ :param link_type: The link_type of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
154
+ :type: str
155
+ """
156
+
157
+ self._link_type = link_type
158
+
159
+ @property
160
+ def order_id(self):
161
+ """Gets the order_id of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
162
+
163
+
164
+ :return: The order_id of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
165
+ :rtype: int
166
+ """
167
+ return self._order_id
168
+
169
+ @order_id.setter
170
+ def order_id(self, order_id):
171
+ """Sets the order_id of this TemplateButtonListForGetTemplateV2Output.
172
+
173
+
174
+ :param order_id: The order_id of this TemplateButtonListForGetTemplateV2Output. # noqa: E501
175
+ :type: int
176
+ """
177
+
178
+ self._order_id = order_id
179
+
180
+ def to_dict(self):
181
+ """Returns the model properties as a dict"""
182
+ result = {}
183
+
184
+ for attr, _ in six.iteritems(self.swagger_types):
185
+ value = getattr(self, attr)
186
+ if isinstance(value, list):
187
+ result[attr] = list(map(
188
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
189
+ value
190
+ ))
191
+ elif hasattr(value, "to_dict"):
192
+ result[attr] = value.to_dict()
193
+ elif isinstance(value, dict):
194
+ result[attr] = dict(map(
195
+ lambda item: (item[0], item[1].to_dict())
196
+ if hasattr(item[1], "to_dict") else item,
197
+ value.items()
198
+ ))
199
+ else:
200
+ result[attr] = value
201
+ if issubclass(TemplateButtonListForGetTemplateV2Output, dict):
202
+ for key, value in self.items():
203
+ result[key] = value
204
+
205
+ return result
206
+
207
+ def to_str(self):
208
+ """Returns the string representation of the model"""
209
+ return pprint.pformat(self.to_dict())
210
+
211
+ def __repr__(self):
212
+ """For `print` and `pprint`"""
213
+ return self.to_str()
214
+
215
+ def __eq__(self, other):
216
+ """Returns true if both objects are equal"""
217
+ if not isinstance(other, TemplateButtonListForGetTemplateV2Output):
218
+ return False
219
+
220
+ return self.to_dict() == other.to_dict()
221
+
222
+ def __ne__(self, other):
223
+ """Returns true if both objects are not equal"""
224
+ if not isinstance(other, TemplateButtonListForGetTemplateV2Output):
225
+ return True
226
+
227
+ return self.to_dict() != other.to_dict()