Skip to content

Commit 80c42a0

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for livesaas-Python-2023-08-01-online-1426-2025_08_05_10_37_05
1 parent ca3a8a1 commit 80c42a0

File tree

84 files changed

+15602
-1495
lines changed

Some content is hidden

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

84 files changed

+15602
-1495
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "4.0.9",
3-
"meta_commit": "253fa71ed837e52556b6a4f2837f11d39a49f74c"
2+
"lasted": "4.0.10",
3+
"meta_commit": "46de61b46064f0d10c3c5e5e3495c0507dfffa59"
44
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "4.0.9"
6+
VERSION = "4.0.10"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6767
self.default_headers[header_name] = header_value
6868
self.cookie = cookie
6969
# Set default User-Agent.
70-
self.user_agent = 'volcstack-python-sdk/4.0.9'
70+
self.user_agent = 'volcstack-python-sdk/4.0.10'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def to_debug_report(self):
267267
"OS: {env}\n" \
268268
"Python Version: {pyversion}\n" \
269269
"Version of the API: 0.1.0\n" \
270-
"SDK Package Version: 4.0.9".\
270+
"SDK Package Version: 4.0.10".\
271271
format(env=sys.platform, pyversion=sys.version)
272272

273273
@property

volcenginesdklivesaas20230801/__init__.py

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

volcenginesdklivesaas20230801/api/livesaas20230801_api.py

Lines changed: 4094 additions & 1475 deletions
Large diffs are not rendered by default.

volcenginesdklivesaas20230801/models/__init__.py

Lines changed: 72 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
# coding: utf-8
2+
3+
"""
4+
livesaas20230801
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 AddActivityRobotCommentRepositoryRequest(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+
'activity_id': 'int',
37+
'robot_comment_config': 'RobotCommentConfigForAddActivityRobotCommentRepositoryInput'
38+
}
39+
40+
attribute_map = {
41+
'activity_id': 'ActivityId',
42+
'robot_comment_config': 'RobotCommentConfig'
43+
}
44+
45+
def __init__(self, activity_id=None, robot_comment_config=None, _configuration=None): # noqa: E501
46+
"""AddActivityRobotCommentRepositoryRequest - a model defined in Swagger""" # noqa: E501
47+
if _configuration is None:
48+
_configuration = Configuration()
49+
self._configuration = _configuration
50+
51+
self._activity_id = None
52+
self._robot_comment_config = None
53+
self.discriminator = None
54+
55+
self.activity_id = activity_id
56+
if robot_comment_config is not None:
57+
self.robot_comment_config = robot_comment_config
58+
59+
@property
60+
def activity_id(self):
61+
"""Gets the activity_id of this AddActivityRobotCommentRepositoryRequest. # noqa: E501
62+
63+
64+
:return: The activity_id of this AddActivityRobotCommentRepositoryRequest. # noqa: E501
65+
:rtype: int
66+
"""
67+
return self._activity_id
68+
69+
@activity_id.setter
70+
def activity_id(self, activity_id):
71+
"""Sets the activity_id of this AddActivityRobotCommentRepositoryRequest.
72+
73+
74+
:param activity_id: The activity_id of this AddActivityRobotCommentRepositoryRequest. # noqa: E501
75+
:type: int
76+
"""
77+
if self._configuration.client_side_validation and activity_id is None:
78+
raise ValueError("Invalid value for `activity_id`, must not be `None`") # noqa: E501
79+
80+
self._activity_id = activity_id
81+
82+
@property
83+
def robot_comment_config(self):
84+
"""Gets the robot_comment_config of this AddActivityRobotCommentRepositoryRequest. # noqa: E501
85+
86+
87+
:return: The robot_comment_config of this AddActivityRobotCommentRepositoryRequest. # noqa: E501
88+
:rtype: RobotCommentConfigForAddActivityRobotCommentRepositoryInput
89+
"""
90+
return self._robot_comment_config
91+
92+
@robot_comment_config.setter
93+
def robot_comment_config(self, robot_comment_config):
94+
"""Sets the robot_comment_config of this AddActivityRobotCommentRepositoryRequest.
95+
96+
97+
:param robot_comment_config: The robot_comment_config of this AddActivityRobotCommentRepositoryRequest. # noqa: E501
98+
:type: RobotCommentConfigForAddActivityRobotCommentRepositoryInput
99+
"""
100+
101+
self._robot_comment_config = robot_comment_config
102+
103+
def to_dict(self):
104+
"""Returns the model properties as a dict"""
105+
result = {}
106+
107+
for attr, _ in six.iteritems(self.swagger_types):
108+
value = getattr(self, attr)
109+
if isinstance(value, list):
110+
result[attr] = list(map(
111+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
112+
value
113+
))
114+
elif hasattr(value, "to_dict"):
115+
result[attr] = value.to_dict()
116+
elif isinstance(value, dict):
117+
result[attr] = dict(map(
118+
lambda item: (item[0], item[1].to_dict())
119+
if hasattr(item[1], "to_dict") else item,
120+
value.items()
121+
))
122+
else:
123+
result[attr] = value
124+
if issubclass(AddActivityRobotCommentRepositoryRequest, dict):
125+
for key, value in self.items():
126+
result[key] = value
127+
128+
return result
129+
130+
def to_str(self):
131+
"""Returns the string representation of the model"""
132+
return pprint.pformat(self.to_dict())
133+
134+
def __repr__(self):
135+
"""For `print` and `pprint`"""
136+
return self.to_str()
137+
138+
def __eq__(self, other):
139+
"""Returns true if both objects are equal"""
140+
if not isinstance(other, AddActivityRobotCommentRepositoryRequest):
141+
return False
142+
143+
return self.to_dict() == other.to_dict()
144+
145+
def __ne__(self, other):
146+
"""Returns true if both objects are not equal"""
147+
if not isinstance(other, AddActivityRobotCommentRepositoryRequest):
148+
return True
149+
150+
return self.to_dict() != other.to_dict()
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# coding: utf-8
2+
3+
"""
4+
livesaas20230801
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 AddActivityRobotCommentRepositoryResponse(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+
'robot_comment_repository_id': 'int'
37+
}
38+
39+
attribute_map = {
40+
'robot_comment_repository_id': 'RobotCommentRepositoryId'
41+
}
42+
43+
def __init__(self, robot_comment_repository_id=None, _configuration=None): # noqa: E501
44+
"""AddActivityRobotCommentRepositoryResponse - a model defined in Swagger""" # noqa: E501
45+
if _configuration is None:
46+
_configuration = Configuration()
47+
self._configuration = _configuration
48+
49+
self._robot_comment_repository_id = None
50+
self.discriminator = None
51+
52+
if robot_comment_repository_id is not None:
53+
self.robot_comment_repository_id = robot_comment_repository_id
54+
55+
@property
56+
def robot_comment_repository_id(self):
57+
"""Gets the robot_comment_repository_id of this AddActivityRobotCommentRepositoryResponse. # noqa: E501
58+
59+
60+
:return: The robot_comment_repository_id of this AddActivityRobotCommentRepositoryResponse. # noqa: E501
61+
:rtype: int
62+
"""
63+
return self._robot_comment_repository_id
64+
65+
@robot_comment_repository_id.setter
66+
def robot_comment_repository_id(self, robot_comment_repository_id):
67+
"""Sets the robot_comment_repository_id of this AddActivityRobotCommentRepositoryResponse.
68+
69+
70+
:param robot_comment_repository_id: The robot_comment_repository_id of this AddActivityRobotCommentRepositoryResponse. # noqa: E501
71+
:type: int
72+
"""
73+
74+
self._robot_comment_repository_id = robot_comment_repository_id
75+
76+
def to_dict(self):
77+
"""Returns the model properties as a dict"""
78+
result = {}
79+
80+
for attr, _ in six.iteritems(self.swagger_types):
81+
value = getattr(self, attr)
82+
if isinstance(value, list):
83+
result[attr] = list(map(
84+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85+
value
86+
))
87+
elif hasattr(value, "to_dict"):
88+
result[attr] = value.to_dict()
89+
elif isinstance(value, dict):
90+
result[attr] = dict(map(
91+
lambda item: (item[0], item[1].to_dict())
92+
if hasattr(item[1], "to_dict") else item,
93+
value.items()
94+
))
95+
else:
96+
result[attr] = value
97+
if issubclass(AddActivityRobotCommentRepositoryResponse, dict):
98+
for key, value in self.items():
99+
result[key] = value
100+
101+
return result
102+
103+
def to_str(self):
104+
"""Returns the string representation of the model"""
105+
return pprint.pformat(self.to_dict())
106+
107+
def __repr__(self):
108+
"""For `print` and `pprint`"""
109+
return self.to_str()
110+
111+
def __eq__(self, other):
112+
"""Returns true if both objects are equal"""
113+
if not isinstance(other, AddActivityRobotCommentRepositoryResponse):
114+
return False
115+
116+
return self.to_dict() == other.to_dict()
117+
118+
def __ne__(self, other):
119+
"""Returns true if both objects are not equal"""
120+
if not isinstance(other, AddActivityRobotCommentRepositoryResponse):
121+
return True
122+
123+
return self.to_dict() != other.to_dict()

0 commit comments

Comments
 (0)