Skip to content

Commit b461ea4

Browse files
author
BitsAdmin
committed
Merge 'acep-Python-2025-05-01-online-2216-2026_01_28_02_36_07' into 'integration_2026-01-29_1109128349954'
feat: [development task] ACEP-2216-Python (2075187) See merge request: !1040
2 parents 26f1ca1 + 1bdb108 commit b461ea4

File tree

154 files changed

+37132
-354
lines changed

Some content is hidden

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

154 files changed

+37132
-354
lines changed

volcenginesdkacep/__init__.py

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

volcenginesdkacep/api/acep_api.py

Lines changed: 4814 additions & 352 deletions
Large diffs are not rendered by default.

volcenginesdkacep/models/__init__.py

Lines changed: 149 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
# coding: utf-8
2+
3+
"""
4+
acep
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 AppCrashLogListForGetAppCrashLogOutput(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+
'crash_time': 'int',
37+
'msg': 'str',
38+
'package_name': 'str',
39+
'pod_id': 'str'
40+
}
41+
42+
attribute_map = {
43+
'crash_time': 'CrashTime',
44+
'msg': 'Msg',
45+
'package_name': 'PackageName',
46+
'pod_id': 'PodId'
47+
}
48+
49+
def __init__(self, crash_time=None, msg=None, package_name=None, pod_id=None, _configuration=None): # noqa: E501
50+
"""AppCrashLogListForGetAppCrashLogOutput - a model defined in Swagger""" # noqa: E501
51+
if _configuration is None:
52+
_configuration = Configuration()
53+
self._configuration = _configuration
54+
55+
self._crash_time = None
56+
self._msg = None
57+
self._package_name = None
58+
self._pod_id = None
59+
self.discriminator = None
60+
61+
if crash_time is not None:
62+
self.crash_time = crash_time
63+
if msg is not None:
64+
self.msg = msg
65+
if package_name is not None:
66+
self.package_name = package_name
67+
if pod_id is not None:
68+
self.pod_id = pod_id
69+
70+
@property
71+
def crash_time(self):
72+
"""Gets the crash_time of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
73+
74+
75+
:return: The crash_time of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
76+
:rtype: int
77+
"""
78+
return self._crash_time
79+
80+
@crash_time.setter
81+
def crash_time(self, crash_time):
82+
"""Sets the crash_time of this AppCrashLogListForGetAppCrashLogOutput.
83+
84+
85+
:param crash_time: The crash_time of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
86+
:type: int
87+
"""
88+
89+
self._crash_time = crash_time
90+
91+
@property
92+
def msg(self):
93+
"""Gets the msg of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
94+
95+
96+
:return: The msg of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
97+
:rtype: str
98+
"""
99+
return self._msg
100+
101+
@msg.setter
102+
def msg(self, msg):
103+
"""Sets the msg of this AppCrashLogListForGetAppCrashLogOutput.
104+
105+
106+
:param msg: The msg of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
107+
:type: str
108+
"""
109+
110+
self._msg = msg
111+
112+
@property
113+
def package_name(self):
114+
"""Gets the package_name of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
115+
116+
117+
:return: The package_name of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
118+
:rtype: str
119+
"""
120+
return self._package_name
121+
122+
@package_name.setter
123+
def package_name(self, package_name):
124+
"""Sets the package_name of this AppCrashLogListForGetAppCrashLogOutput.
125+
126+
127+
:param package_name: The package_name of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
128+
:type: str
129+
"""
130+
131+
self._package_name = package_name
132+
133+
@property
134+
def pod_id(self):
135+
"""Gets the pod_id of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
136+
137+
138+
:return: The pod_id of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
139+
:rtype: str
140+
"""
141+
return self._pod_id
142+
143+
@pod_id.setter
144+
def pod_id(self, pod_id):
145+
"""Sets the pod_id of this AppCrashLogListForGetAppCrashLogOutput.
146+
147+
148+
:param pod_id: The pod_id of this AppCrashLogListForGetAppCrashLogOutput. # noqa: E501
149+
:type: str
150+
"""
151+
152+
self._pod_id = pod_id
153+
154+
def to_dict(self):
155+
"""Returns the model properties as a dict"""
156+
result = {}
157+
158+
for attr, _ in six.iteritems(self.swagger_types):
159+
value = getattr(self, attr)
160+
if isinstance(value, list):
161+
result[attr] = list(map(
162+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
163+
value
164+
))
165+
elif hasattr(value, "to_dict"):
166+
result[attr] = value.to_dict()
167+
elif isinstance(value, dict):
168+
result[attr] = dict(map(
169+
lambda item: (item[0], item[1].to_dict())
170+
if hasattr(item[1], "to_dict") else item,
171+
value.items()
172+
))
173+
else:
174+
result[attr] = value
175+
if issubclass(AppCrashLogListForGetAppCrashLogOutput, dict):
176+
for key, value in self.items():
177+
result[key] = value
178+
179+
return result
180+
181+
def to_str(self):
182+
"""Returns the string representation of the model"""
183+
return pprint.pformat(self.to_dict())
184+
185+
def __repr__(self):
186+
"""For `print` and `pprint`"""
187+
return self.to_str()
188+
189+
def __eq__(self, other):
190+
"""Returns true if both objects are equal"""
191+
if not isinstance(other, AppCrashLogListForGetAppCrashLogOutput):
192+
return False
193+
194+
return self.to_dict() == other.to_dict()
195+
196+
def __ne__(self, other):
197+
"""Returns true if both objects are not equal"""
198+
if not isinstance(other, AppCrashLogListForGetAppCrashLogOutput):
199+
return True
200+
201+
return self.to_dict() != other.to_dict()

0 commit comments

Comments
 (0)