Skip to content

Commit 7ba71f7

Browse files
author
BitsAdmin
committed
Merge branch 'livesaas-Python-2020-06-01-online-1371-2025_07_17_15_02_52' into 'integration_2025-07-24_1018981540354'
feat: [development task] livesaas-1371-Python (1482784) See merge request iaasng/volcengine-python-sdk!719
2 parents 12a1a35 + 7856ce5 commit 7ba71f7

File tree

2 files changed

+80
-2
lines changed

2 files changed

+80
-2
lines changed

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)