Skip to content

Commit dce01cb

Browse files
author
BitsAdmin
committed
Merge 'id-Python-2025-10-30-online-1931-2025_12_11_15_23_24' into 'integration_2025-12-11_1093011093762'
feat: [development task] id-1931-Python (1924211) See merge request: !965
2 parents 0929610 + b0cbb8c commit dce01cb

File tree

157 files changed

+34863
-531
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+34863
-531
lines changed

volcenginesdkid/__init__.py

Lines changed: 133 additions & 0 deletions
Large diffs are not rendered by default.

volcenginesdkid/api/id_api.py

Lines changed: 2635 additions & 501 deletions
Large diffs are not rendered by default.

volcenginesdkid/models/__init__.py

Lines changed: 133 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
# coding: utf-8
2+
3+
"""
4+
id
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 volcenginesdkcore.configuration import Configuration
20+
21+
22+
class ApiSpecForBatchCreateRoutesInput(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_type': 'str',
37+
'action_value': 'str',
38+
'extractors': 'list[ExtractorForBatchCreateRoutesInput]',
39+
'identifier_type': 'int',
40+
'identifier_value': 'str',
41+
'response_filters': 'list[ResponseFilterForBatchCreateRoutesInput]'
42+
}
43+
44+
attribute_map = {
45+
'action_type': 'ActionType',
46+
'action_value': 'ActionValue',
47+
'extractors': 'Extractors',
48+
'identifier_type': 'IdentifierType',
49+
'identifier_value': 'IdentifierValue',
50+
'response_filters': 'ResponseFilters'
51+
}
52+
53+
def __init__(self, action_type=None, action_value=None, extractors=None, identifier_type=None, identifier_value=None, response_filters=None, _configuration=None): # noqa: E501
54+
"""ApiSpecForBatchCreateRoutesInput - a model defined in Swagger""" # noqa: E501
55+
if _configuration is None:
56+
_configuration = Configuration()
57+
self._configuration = _configuration
58+
59+
self._action_type = None
60+
self._action_value = None
61+
self._extractors = None
62+
self._identifier_type = None
63+
self._identifier_value = None
64+
self._response_filters = None
65+
self.discriminator = None
66+
67+
if action_type is not None:
68+
self.action_type = action_type
69+
if action_value is not None:
70+
self.action_value = action_value
71+
if extractors is not None:
72+
self.extractors = extractors
73+
if identifier_type is not None:
74+
self.identifier_type = identifier_type
75+
if identifier_value is not None:
76+
self.identifier_value = identifier_value
77+
if response_filters is not None:
78+
self.response_filters = response_filters
79+
80+
@property
81+
def action_type(self):
82+
"""Gets the action_type of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
83+
84+
85+
:return: The action_type of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
86+
:rtype: str
87+
"""
88+
return self._action_type
89+
90+
@action_type.setter
91+
def action_type(self, action_type):
92+
"""Sets the action_type of this ApiSpecForBatchCreateRoutesInput.
93+
94+
95+
:param action_type: The action_type of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
96+
:type: str
97+
"""
98+
99+
self._action_type = action_type
100+
101+
@property
102+
def action_value(self):
103+
"""Gets the action_value of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
104+
105+
106+
:return: The action_value of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
107+
:rtype: str
108+
"""
109+
return self._action_value
110+
111+
@action_value.setter
112+
def action_value(self, action_value):
113+
"""Sets the action_value of this ApiSpecForBatchCreateRoutesInput.
114+
115+
116+
:param action_value: The action_value of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
117+
:type: str
118+
"""
119+
120+
self._action_value = action_value
121+
122+
@property
123+
def extractors(self):
124+
"""Gets the extractors of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
125+
126+
127+
:return: The extractors of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
128+
:rtype: list[ExtractorForBatchCreateRoutesInput]
129+
"""
130+
return self._extractors
131+
132+
@extractors.setter
133+
def extractors(self, extractors):
134+
"""Sets the extractors of this ApiSpecForBatchCreateRoutesInput.
135+
136+
137+
:param extractors: The extractors of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
138+
:type: list[ExtractorForBatchCreateRoutesInput]
139+
"""
140+
141+
self._extractors = extractors
142+
143+
@property
144+
def identifier_type(self):
145+
"""Gets the identifier_type of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
146+
147+
148+
:return: The identifier_type of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
149+
:rtype: int
150+
"""
151+
return self._identifier_type
152+
153+
@identifier_type.setter
154+
def identifier_type(self, identifier_type):
155+
"""Sets the identifier_type of this ApiSpecForBatchCreateRoutesInput.
156+
157+
158+
:param identifier_type: The identifier_type of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
159+
:type: int
160+
"""
161+
162+
self._identifier_type = identifier_type
163+
164+
@property
165+
def identifier_value(self):
166+
"""Gets the identifier_value of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
167+
168+
169+
:return: The identifier_value of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
170+
:rtype: str
171+
"""
172+
return self._identifier_value
173+
174+
@identifier_value.setter
175+
def identifier_value(self, identifier_value):
176+
"""Sets the identifier_value of this ApiSpecForBatchCreateRoutesInput.
177+
178+
179+
:param identifier_value: The identifier_value of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
180+
:type: str
181+
"""
182+
183+
self._identifier_value = identifier_value
184+
185+
@property
186+
def response_filters(self):
187+
"""Gets the response_filters of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
188+
189+
190+
:return: The response_filters of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
191+
:rtype: list[ResponseFilterForBatchCreateRoutesInput]
192+
"""
193+
return self._response_filters
194+
195+
@response_filters.setter
196+
def response_filters(self, response_filters):
197+
"""Sets the response_filters of this ApiSpecForBatchCreateRoutesInput.
198+
199+
200+
:param response_filters: The response_filters of this ApiSpecForBatchCreateRoutesInput. # noqa: E501
201+
:type: list[ResponseFilterForBatchCreateRoutesInput]
202+
"""
203+
204+
self._response_filters = response_filters
205+
206+
def to_dict(self):
207+
"""Returns the model properties as a dict"""
208+
result = {}
209+
210+
for attr, _ in six.iteritems(self.swagger_types):
211+
value = getattr(self, attr)
212+
if isinstance(value, list):
213+
result[attr] = list(map(
214+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
215+
value
216+
))
217+
elif hasattr(value, "to_dict"):
218+
result[attr] = value.to_dict()
219+
elif isinstance(value, dict):
220+
result[attr] = dict(map(
221+
lambda item: (item[0], item[1].to_dict())
222+
if hasattr(item[1], "to_dict") else item,
223+
value.items()
224+
))
225+
else:
226+
result[attr] = value
227+
if issubclass(ApiSpecForBatchCreateRoutesInput, dict):
228+
for key, value in self.items():
229+
result[key] = value
230+
231+
return result
232+
233+
def to_str(self):
234+
"""Returns the string representation of the model"""
235+
return pprint.pformat(self.to_dict())
236+
237+
def __repr__(self):
238+
"""For `print` and `pprint`"""
239+
return self.to_str()
240+
241+
def __eq__(self, other):
242+
"""Returns true if both objects are equal"""
243+
if not isinstance(other, ApiSpecForBatchCreateRoutesInput):
244+
return False
245+
246+
return self.to_dict() == other.to_dict()
247+
248+
def __ne__(self, other):
249+
"""Returns true if both objects are not equal"""
250+
if not isinstance(other, ApiSpecForBatchCreateRoutesInput):
251+
return True
252+
253+
return self.to_dict() != other.to_dict()

0 commit comments

Comments
 (0)