Skip to content

Commit cebd902

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for livesaas-Python-2020-06-01-online-1371-2025_07_17_15_02_52
1 parent bc7e7a7 commit cebd902

File tree

6 files changed

+85
-7
lines changed

6 files changed

+85
-7
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.5",
3-
"meta_commit": "6ddbdb61ac1227f631777e6b3945f9237d27ee7c"
2+
"lasted": "4.0.6",
3+
"meta_commit": "9c4da1720868616f67556fcd88adec6532b0b726"
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.5"
6+
VERSION = "4.0.6"
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.5'
70+
self.user_agent = 'volcstack-python-sdk/4.0.6'
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
@@ -264,7 +264,7 @@ def to_debug_report(self):
264264
"OS: {env}\n" \
265265
"Python Version: {pyversion}\n" \
266266
"Version of the API: 0.1.0\n" \
267-
"SDK Package Version: 4.0.5".\
267+
"SDK Package Version: 4.0.6".\
268268
format(env=sys.platform, pyversion=sys.version)
269269

270270
@property

volcenginesdklivesaas/models/get_page_watch_data_apiv2_request.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,34 @@ class GetPageWatchDataAPIV2Request(object):
3535
swagger_types = {
3636
'activity_id': 'int',
3737
'channel': 'str',
38+
'line_id': 'int',
3839
'play_status': 'int'
3940
}
4041

4142
attribute_map = {
4243
'activity_id': 'ActivityId',
4344
'channel': 'Channel',
45+
'line_id': 'LineId',
4446
'play_status': 'PlayStatus'
4547
}
4648

47-
def __init__(self, activity_id=None, channel=None, play_status=None, _configuration=None): # noqa: E501
49+
def __init__(self, activity_id=None, channel=None, line_id=None, play_status=None, _configuration=None): # noqa: E501
4850
"""GetPageWatchDataAPIV2Request - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
5153
self._configuration = _configuration
5254

5355
self._activity_id = None
5456
self._channel = None
57+
self._line_id = None
5558
self._play_status = None
5659
self.discriminator = None
5760

5861
self.activity_id = activity_id
5962
if channel is not None:
6063
self.channel = channel
64+
if line_id is not None:
65+
self.line_id = line_id
6166
if play_status is not None:
6267
self.play_status = play_status
6368

@@ -105,6 +110,27 @@ def channel(self, channel):
105110

106111
self._channel = channel
107112

113+
@property
114+
def line_id(self):
115+
"""Gets the line_id of this GetPageWatchDataAPIV2Request. # noqa: E501
116+
117+
118+
:return: The line_id of this GetPageWatchDataAPIV2Request. # noqa: E501
119+
:rtype: int
120+
"""
121+
return self._line_id
122+
123+
@line_id.setter
124+
def line_id(self, line_id):
125+
"""Sets the line_id of this GetPageWatchDataAPIV2Request.
126+
127+
128+
:param line_id: The line_id of this GetPageWatchDataAPIV2Request. # noqa: E501
129+
:type: int
130+
"""
131+
132+
self._line_id = line_id
133+
108134
@property
109135
def play_status(self):
110136
"""Gets the play_status of this GetPageWatchDataAPIV2Request. # noqa: E501

volcenginesdklivesaas/models/media_for_list_medias_api_output.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,29 @@ class MediaForListMediasAPIOutput(object):
3636
'cover_image': 'str',
3737
'create_time': 'int',
3838
'duration': 'int',
39+
'end_time': 'int',
3940
'media_id': 'str',
4041
'name': 'str',
4142
'online_status': 'int',
4243
'source_type': 'int',
44+
'start_time': 'int',
4345
'vid': 'str'
4446
}
4547

4648
attribute_map = {
4749
'cover_image': 'CoverImage',
4850
'create_time': 'CreateTime',
4951
'duration': 'Duration',
52+
'end_time': 'EndTime',
5053
'media_id': 'MediaId',
5154
'name': 'Name',
5255
'online_status': 'OnlineStatus',
5356
'source_type': 'SourceType',
57+
'start_time': 'StartTime',
5458
'vid': 'Vid'
5559
}
5660

57-
def __init__(self, cover_image=None, create_time=None, duration=None, media_id=None, name=None, online_status=None, source_type=None, vid=None, _configuration=None): # noqa: E501
61+
def __init__(self, cover_image=None, create_time=None, duration=None, end_time=None, media_id=None, name=None, online_status=None, source_type=None, start_time=None, vid=None, _configuration=None): # noqa: E501
5862
"""MediaForListMediasAPIOutput - a model defined in Swagger""" # noqa: E501
5963
if _configuration is None:
6064
_configuration = Configuration()
@@ -63,10 +67,12 @@ def __init__(self, cover_image=None, create_time=None, duration=None, media_id=N
6367
self._cover_image = None
6468
self._create_time = None
6569
self._duration = None
70+
self._end_time = None
6671
self._media_id = None
6772
self._name = None
6873
self._online_status = None
6974
self._source_type = None
75+
self._start_time = None
7076
self._vid = None
7177
self.discriminator = None
7278

@@ -76,6 +82,8 @@ def __init__(self, cover_image=None, create_time=None, duration=None, media_id=N
7682
self.create_time = create_time
7783
if duration is not None:
7884
self.duration = duration
85+
if end_time is not None:
86+
self.end_time = end_time
7987
if media_id is not None:
8088
self.media_id = media_id
8189
if name is not None:
@@ -84,6 +92,8 @@ def __init__(self, cover_image=None, create_time=None, duration=None, media_id=N
8492
self.online_status = online_status
8593
if source_type is not None:
8694
self.source_type = source_type
95+
if start_time is not None:
96+
self.start_time = start_time
8797
if vid is not None:
8898
self.vid = vid
8999

@@ -150,6 +160,27 @@ def duration(self, duration):
150160

151161
self._duration = duration
152162

163+
@property
164+
def end_time(self):
165+
"""Gets the end_time of this MediaForListMediasAPIOutput. # noqa: E501
166+
167+
168+
:return: The end_time of this MediaForListMediasAPIOutput. # noqa: E501
169+
:rtype: int
170+
"""
171+
return self._end_time
172+
173+
@end_time.setter
174+
def end_time(self, end_time):
175+
"""Sets the end_time of this MediaForListMediasAPIOutput.
176+
177+
178+
:param end_time: The end_time of this MediaForListMediasAPIOutput. # noqa: E501
179+
:type: int
180+
"""
181+
182+
self._end_time = end_time
183+
153184
@property
154185
def media_id(self):
155186
"""Gets the media_id of this MediaForListMediasAPIOutput. # noqa: E501
@@ -234,6 +265,27 @@ def source_type(self, source_type):
234265

235266
self._source_type = source_type
236267

268+
@property
269+
def start_time(self):
270+
"""Gets the start_time of this MediaForListMediasAPIOutput. # noqa: E501
271+
272+
273+
:return: The start_time of this MediaForListMediasAPIOutput. # noqa: E501
274+
:rtype: int
275+
"""
276+
return self._start_time
277+
278+
@start_time.setter
279+
def start_time(self, start_time):
280+
"""Sets the start_time of this MediaForListMediasAPIOutput.
281+
282+
283+
:param start_time: The start_time of this MediaForListMediasAPIOutput. # noqa: E501
284+
:type: int
285+
"""
286+
287+
self._start_time = start_time
288+
237289
@property
238290
def vid(self):
239291
"""Gets the vid of this MediaForListMediasAPIOutput. # noqa: E501

0 commit comments

Comments
 (0)