Skip to content

Commit 2723baf

Browse files
author
BitsAdmin
committed
Merge branch 'livesaas-Python-2023-08-01-online-1391-2025_07_24_12_16_06' into 'integration_2025-07-24_1018981540354'
feat: [development task] livesaas-1391-Python (1482779) See merge request iaasng/volcengine-python-sdk!714
2 parents 0803b77 + da6eb93 commit 2723baf

File tree

175 files changed

+10350
-27491
lines changed

Some content is hidden

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

175 files changed

+10350
-27491
lines changed

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "4.0.6",
2+
"lasted": "4.0.7",
33
"meta_commit": "40c5557c2de12014ef34419cc5622e773d83613e"
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.6"
6+
VERSION = "4.0.7"
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.6'
70+
self.user_agent = 'volcstack-python-sdk/4.0.7'
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.6".\
267+
"SDK Package Version: 4.0.7".\
268268
format(env=sys.platform, pyversion=sys.version)
269269

270270
@property

volcenginesdklivesaas20230801/__init__.py

Lines changed: 44 additions & 139 deletions
Large diffs are not rendered by default.

volcenginesdklivesaas20230801/api/livesaas20230801_api.py

Lines changed: 1824 additions & 5122 deletions
Large diffs are not rendered by default.

volcenginesdklivesaas20230801/models/__init__.py

Lines changed: 44 additions & 139 deletions
Large diffs are not rendered by default.

volcenginesdklivesaas20230801/models/activity_coupon_for_create_activity_coupons_input.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class ActivityCouponForCreateActivityCouponsInput(object):
3838
'coupon_id': 'int',
3939
'cut_off_time': 'int',
4040
'duration': 'int',
41+
'is_watch_live_limit': 'int',
4142
'rule': 'int'
4243
}
4344

@@ -47,10 +48,11 @@ class ActivityCouponForCreateActivityCouponsInput(object):
4748
'coupon_id': 'CouponId',
4849
'cut_off_time': 'CutOffTime',
4950
'duration': 'Duration',
51+
'is_watch_live_limit': 'IsWatchLiveLimit',
5052
'rule': 'Rule'
5153
}
5254

53-
def __init__(self, allow_close_icon=None, count=None, coupon_id=None, cut_off_time=None, duration=None, rule=None, _configuration=None): # noqa: E501
55+
def __init__(self, allow_close_icon=None, count=None, coupon_id=None, cut_off_time=None, duration=None, is_watch_live_limit=None, rule=None, _configuration=None): # noqa: E501
5456
"""ActivityCouponForCreateActivityCouponsInput - a model defined in Swagger""" # noqa: E501
5557
if _configuration is None:
5658
_configuration = Configuration()
@@ -61,6 +63,7 @@ def __init__(self, allow_close_icon=None, count=None, coupon_id=None, cut_off_ti
6163
self._coupon_id = None
6264
self._cut_off_time = None
6365
self._duration = None
66+
self._is_watch_live_limit = None
6467
self._rule = None
6568
self.discriminator = None
6669

@@ -74,6 +77,8 @@ def __init__(self, allow_close_icon=None, count=None, coupon_id=None, cut_off_ti
7477
self.cut_off_time = cut_off_time
7578
if duration is not None:
7679
self.duration = duration
80+
if is_watch_live_limit is not None:
81+
self.is_watch_live_limit = is_watch_live_limit
7782
if rule is not None:
7883
self.rule = rule
7984

@@ -182,6 +187,27 @@ def duration(self, duration):
182187

183188
self._duration = duration
184189

190+
@property
191+
def is_watch_live_limit(self):
192+
"""Gets the is_watch_live_limit of this ActivityCouponForCreateActivityCouponsInput. # noqa: E501
193+
194+
195+
:return: The is_watch_live_limit of this ActivityCouponForCreateActivityCouponsInput. # noqa: E501
196+
:rtype: int
197+
"""
198+
return self._is_watch_live_limit
199+
200+
@is_watch_live_limit.setter
201+
def is_watch_live_limit(self, is_watch_live_limit):
202+
"""Sets the is_watch_live_limit of this ActivityCouponForCreateActivityCouponsInput.
203+
204+
205+
:param is_watch_live_limit: The is_watch_live_limit of this ActivityCouponForCreateActivityCouponsInput. # noqa: E501
206+
:type: int
207+
"""
208+
209+
self._is_watch_live_limit = is_watch_live_limit
210+
185211
@property
186212
def rule(self):
187213
"""Gets the rule of this ActivityCouponForCreateActivityCouponsInput. # noqa: E501

volcenginesdklivesaas20230801/models/activity_coupon_for_list_activity_coupons_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class ActivityCouponForListActivityCouponsOutput(object):
4040
'duration': 'int',
4141
'end_time': 'int',
4242
'id': 'int',
43+
'is_watch_live_limit': 'int',
4344
'pickup_count': 'int',
4445
'pickup_people_count': 'int',
4546
'rule': 'int',
@@ -55,14 +56,15 @@ class ActivityCouponForListActivityCouponsOutput(object):
5556
'duration': 'Duration',
5657
'end_time': 'EndTime',
5758
'id': 'Id',
59+
'is_watch_live_limit': 'IsWatchLiveLimit',
5860
'pickup_count': 'PickupCount',
5961
'pickup_people_count': 'PickupPeopleCount',
6062
'rule': 'Rule',
6163
'send_time': 'SendTime',
6264
'status': 'Status'
6365
}
6466

65-
def __init__(self, allow_close_icon=None, count=None, coupon=None, cut_off_time=None, duration=None, end_time=None, id=None, pickup_count=None, pickup_people_count=None, rule=None, send_time=None, status=None, _configuration=None): # noqa: E501
67+
def __init__(self, allow_close_icon=None, count=None, coupon=None, cut_off_time=None, duration=None, end_time=None, id=None, is_watch_live_limit=None, pickup_count=None, pickup_people_count=None, rule=None, send_time=None, status=None, _configuration=None): # noqa: E501
6668
"""ActivityCouponForListActivityCouponsOutput - a model defined in Swagger""" # noqa: E501
6769
if _configuration is None:
6870
_configuration = Configuration()
@@ -75,6 +77,7 @@ def __init__(self, allow_close_icon=None, count=None, coupon=None, cut_off_time=
7577
self._duration = None
7678
self._end_time = None
7779
self._id = None
80+
self._is_watch_live_limit = None
7881
self._pickup_count = None
7982
self._pickup_people_count = None
8083
self._rule = None
@@ -96,6 +99,8 @@ def __init__(self, allow_close_icon=None, count=None, coupon=None, cut_off_time=
9699
self.end_time = end_time
97100
if id is not None:
98101
self.id = id
102+
if is_watch_live_limit is not None:
103+
self.is_watch_live_limit = is_watch_live_limit
99104
if pickup_count is not None:
100105
self.pickup_count = pickup_count
101106
if pickup_people_count is not None:
@@ -254,6 +259,27 @@ def id(self, id):
254259

255260
self._id = id
256261

262+
@property
263+
def is_watch_live_limit(self):
264+
"""Gets the is_watch_live_limit of this ActivityCouponForListActivityCouponsOutput. # noqa: E501
265+
266+
267+
:return: The is_watch_live_limit of this ActivityCouponForListActivityCouponsOutput. # noqa: E501
268+
:rtype: int
269+
"""
270+
return self._is_watch_live_limit
271+
272+
@is_watch_live_limit.setter
273+
def is_watch_live_limit(self, is_watch_live_limit):
274+
"""Sets the is_watch_live_limit of this ActivityCouponForListActivityCouponsOutput.
275+
276+
277+
:param is_watch_live_limit: The is_watch_live_limit of this ActivityCouponForListActivityCouponsOutput. # noqa: E501
278+
:type: int
279+
"""
280+
281+
self._is_watch_live_limit = is_watch_live_limit
282+
257283
@property
258284
def pickup_count(self):
259285
"""Gets the pickup_count of this ActivityCouponForListActivityCouponsOutput. # noqa: E501

volcenginesdklivesaas20230801/models/creator_for_get_video_traffic_pay_data_input.py renamed to volcenginesdklivesaas20230801/models/activity_creator_for_get_live_link_duration_data_input.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from volcenginesdkcore.configuration import Configuration
2020

2121

22-
class CreatorForGetVideoTrafficPayDataInput(object):
22+
class ActivityCreatorForGetLiveLinkDurationDataInput(object):
2323
"""NOTE: This class is auto generated by the swagger code generator program.
2424
2525
Do not edit the class manually.
@@ -43,7 +43,7 @@ class CreatorForGetVideoTrafficPayDataInput(object):
4343
}
4444

4545
def __init__(self, is_main_account=None, sub_account_name=None, _configuration=None): # noqa: E501
46-
"""CreatorForGetVideoTrafficPayDataInput - a model defined in Swagger""" # noqa: E501
46+
"""ActivityCreatorForGetLiveLinkDurationDataInput - a model defined in Swagger""" # noqa: E501
4747
if _configuration is None:
4848
_configuration = Configuration()
4949
self._configuration = _configuration
@@ -59,41 +59,41 @@ def __init__(self, is_main_account=None, sub_account_name=None, _configuration=N
5959

6060
@property
6161
def is_main_account(self):
62-
"""Gets the is_main_account of this CreatorForGetVideoTrafficPayDataInput. # noqa: E501
62+
"""Gets the is_main_account of this ActivityCreatorForGetLiveLinkDurationDataInput. # noqa: E501
6363
6464
65-
:return: The is_main_account of this CreatorForGetVideoTrafficPayDataInput. # noqa: E501
65+
:return: The is_main_account of this ActivityCreatorForGetLiveLinkDurationDataInput. # noqa: E501
6666
:rtype: bool
6767
"""
6868
return self._is_main_account
6969

7070
@is_main_account.setter
7171
def is_main_account(self, is_main_account):
72-
"""Sets the is_main_account of this CreatorForGetVideoTrafficPayDataInput.
72+
"""Sets the is_main_account of this ActivityCreatorForGetLiveLinkDurationDataInput.
7373
7474
75-
:param is_main_account: The is_main_account of this CreatorForGetVideoTrafficPayDataInput. # noqa: E501
75+
:param is_main_account: The is_main_account of this ActivityCreatorForGetLiveLinkDurationDataInput. # noqa: E501
7676
:type: bool
7777
"""
7878

7979
self._is_main_account = is_main_account
8080

8181
@property
8282
def sub_account_name(self):
83-
"""Gets the sub_account_name of this CreatorForGetVideoTrafficPayDataInput. # noqa: E501
83+
"""Gets the sub_account_name of this ActivityCreatorForGetLiveLinkDurationDataInput. # noqa: E501
8484
8585
86-
:return: The sub_account_name of this CreatorForGetVideoTrafficPayDataInput. # noqa: E501
86+
:return: The sub_account_name of this ActivityCreatorForGetLiveLinkDurationDataInput. # noqa: E501
8787
:rtype: str
8888
"""
8989
return self._sub_account_name
9090

9191
@sub_account_name.setter
9292
def sub_account_name(self, sub_account_name):
93-
"""Sets the sub_account_name of this CreatorForGetVideoTrafficPayDataInput.
93+
"""Sets the sub_account_name of this ActivityCreatorForGetLiveLinkDurationDataInput.
9494
9595
96-
:param sub_account_name: The sub_account_name of this CreatorForGetVideoTrafficPayDataInput. # noqa: E501
96+
:param sub_account_name: The sub_account_name of this ActivityCreatorForGetLiveLinkDurationDataInput. # noqa: E501
9797
:type: str
9898
"""
9999

@@ -120,7 +120,7 @@ def to_dict(self):
120120
))
121121
else:
122122
result[attr] = value
123-
if issubclass(CreatorForGetVideoTrafficPayDataInput, dict):
123+
if issubclass(ActivityCreatorForGetLiveLinkDurationDataInput, dict):
124124
for key, value in self.items():
125125
result[key] = value
126126

@@ -136,14 +136,14 @@ def __repr__(self):
136136

137137
def __eq__(self, other):
138138
"""Returns true if both objects are equal"""
139-
if not isinstance(other, CreatorForGetVideoTrafficPayDataInput):
139+
if not isinstance(other, ActivityCreatorForGetLiveLinkDurationDataInput):
140140
return False
141141

142142
return self.to_dict() == other.to_dict()
143143

144144
def __ne__(self, other):
145145
"""Returns true if both objects are not equal"""
146-
if not isinstance(other, CreatorForGetVideoTrafficPayDataInput):
146+
if not isinstance(other, ActivityCreatorForGetLiveLinkDurationDataInput):
147147
return True
148148

149149
return self.to_dict() != other.to_dict()

0 commit comments

Comments
 (0)