tencentcloud-sdk-python-intl-en 3.0.1227__py2.py3-none-any.whl → 3.0.1229__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

@@ -354,7 +354,7 @@ class IntlpartnersmgtClient(AbstractClient):
354
354
 
355
355
 
356
356
  def DescribeCustomerBillDetailByDay(self, request):
357
- """This API is used to query the daily bill expenditure of cu by resellers.
357
+ """This API is used to query the daily bill expenditure of customer by resellers.
358
358
  Invocation Role: first-level reseller, second-level reseller, reseller.
359
359
 
360
360
  :param request: Request instance for DescribeCustomerBillDetailByDay.
@@ -462,7 +462,7 @@ class CreateDeviceResponse(AbstractModel):
462
462
  :type LoraAppKey: str
463
463
  :param _LoraNwkKey: NwkKey of a LoRa device, which is returned for a LoRa device
464
464
  :type LoraNwkKey: str
465
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
465
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
466
466
  :type RequestId: str
467
467
  """
468
468
  self._DeviceName = None
@@ -565,7 +565,7 @@ class CreateDeviceResponse(AbstractModel):
565
565
 
566
566
  @property
567
567
  def RequestId(self):
568
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
568
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
569
569
  :rtype: str
570
570
  """
571
571
  return self._RequestId
@@ -897,14 +897,14 @@ class DeleteDeviceResponse(AbstractModel):
897
897
 
898
898
  def __init__(self):
899
899
  r"""
900
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
900
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
901
901
  :type RequestId: str
902
902
  """
903
903
  self._RequestId = None
904
904
 
905
905
  @property
906
906
  def RequestId(self):
907
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
907
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
908
908
  :rtype: str
909
909
  """
910
910
  return self._RequestId
@@ -1258,7 +1258,7 @@ Note: this field may return `null`, indicating that no valid value is obtained.
1258
1258
  :param _CreateUserId: Account ID of the creator
1259
1259
  Note: this field may return `null`, indicating that no valid values can be obtained.
1260
1260
  :type CreateUserId: int
1261
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1261
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1262
1262
  :type RequestId: str
1263
1263
  """
1264
1264
  self._DeviceName = None
@@ -1422,6 +1422,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1422
1422
 
1423
1423
  @property
1424
1424
  def NbiotDeviceID(self):
1425
+ warnings.warn("parameter `NbiotDeviceID` is deprecated", DeprecationWarning)
1426
+
1425
1427
  """Device ID at the NB-IoT ISP
1426
1428
  :rtype: str
1427
1429
  """
@@ -1429,6 +1431,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1429
1431
 
1430
1432
  @NbiotDeviceID.setter
1431
1433
  def NbiotDeviceID(self, NbiotDeviceID):
1434
+ warnings.warn("parameter `NbiotDeviceID` is deprecated", DeprecationWarning)
1435
+
1432
1436
  self._NbiotDeviceID = NbiotDeviceID
1433
1437
 
1434
1438
  @property
@@ -1575,7 +1579,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1575
1579
 
1576
1580
  @property
1577
1581
  def RequestId(self):
1578
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1582
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1579
1583
  :rtype: str
1580
1584
  """
1581
1585
  return self._RequestId
@@ -1746,7 +1750,7 @@ class DescribeDevicesResponse(AbstractModel):
1746
1750
  :type TotalCount: int
1747
1751
  :param _Devices: List of device details
1748
1752
  :type Devices: list of DeviceInfo
1749
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1753
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1750
1754
  :type RequestId: str
1751
1755
  """
1752
1756
  self._TotalCount = None
@@ -1777,7 +1781,7 @@ class DescribeDevicesResponse(AbstractModel):
1777
1781
 
1778
1782
  @property
1779
1783
  def RequestId(self):
1780
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1784
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1781
1785
  :rtype: str
1782
1786
  """
1783
1787
  return self._RequestId
@@ -2575,6 +2579,8 @@ Note: this field may return `null`, indicating that no valid value is obtained.
2575
2579
 
2576
2580
  @property
2577
2581
  def NbiotDeviceID(self):
2582
+ warnings.warn("parameter `NbiotDeviceID` is deprecated", DeprecationWarning)
2583
+
2578
2584
  """Device ID at the NB-IoT ISP
2579
2585
  :rtype: str
2580
2586
  """
@@ -2582,6 +2588,8 @@ Note: this field may return `null`, indicating that no valid value is obtained.
2582
2588
 
2583
2589
  @NbiotDeviceID.setter
2584
2590
  def NbiotDeviceID(self, NbiotDeviceID):
2591
+ warnings.warn("parameter `NbiotDeviceID` is deprecated", DeprecationWarning)
2592
+
2585
2593
  self._NbiotDeviceID = NbiotDeviceID
2586
2594
 
2587
2595
  @property
@@ -3452,14 +3460,14 @@ class UpdateDeviceLogLevelResponse(AbstractModel):
3452
3460
 
3453
3461
  def __init__(self):
3454
3462
  r"""
3455
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3463
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3456
3464
  :type RequestId: str
3457
3465
  """
3458
3466
  self._RequestId = None
3459
3467
 
3460
3468
  @property
3461
3469
  def RequestId(self):
3462
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3470
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3463
3471
  :rtype: str
3464
3472
  """
3465
3473
  return self._RequestId
@@ -3546,14 +3554,14 @@ class UpdateDevicesEnableStateResponse(AbstractModel):
3546
3554
 
3547
3555
  def __init__(self):
3548
3556
  r"""
3549
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3557
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3550
3558
  :type RequestId: str
3551
3559
  """
3552
3560
  self._RequestId = None
3553
3561
 
3554
3562
  @property
3555
3563
  def RequestId(self):
3556
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3564
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3557
3565
  :rtype: str
3558
3566
  """
3559
3567
  return self._RequestId
@@ -2698,6 +2698,29 @@ class LiveClient(AbstractClient):
2698
2698
  raise TencentCloudSDKException(type(e).__name__, str(e))
2699
2699
 
2700
2700
 
2701
+ def StartLivePadStream(self, request):
2702
+ """Call this API to switch the live broadcast to standby footage.
2703
+
2704
+ :param request: Request instance for StartLivePadStream.
2705
+ :type request: :class:`tencentcloud.live.v20180801.models.StartLivePadStreamRequest`
2706
+ :rtype: :class:`tencentcloud.live.v20180801.models.StartLivePadStreamResponse`
2707
+
2708
+ """
2709
+ try:
2710
+ params = request._serialize()
2711
+ headers = request.headers
2712
+ body = self.call("StartLivePadStream", params, headers=headers)
2713
+ response = json.loads(body)
2714
+ model = models.StartLivePadStreamResponse()
2715
+ model._deserialize(response["Response"])
2716
+ return model
2717
+ except Exception as e:
2718
+ if isinstance(e, TencentCloudSDKException):
2719
+ raise
2720
+ else:
2721
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2722
+
2723
+
2701
2724
  def StopLiveRecord(self, request):
2702
2725
  """Note: Recording files are stored on the VOD platform. To use the recording feature, you need to activate a VOD account and ensure that it is available. After the recording files are stored, applicable fees (including storage fees and downstream playback traffic fees) will be charged according to the VOD billing method. For more information, please see the corresponding document.
2703
2726
 
@@ -22187,6 +22187,115 @@ Note: this field may return null, indicating that no valid values can be obtaine
22187
22187
 
22188
22188
 
22189
22189
 
22190
+ class StartLivePadStreamRequest(AbstractModel):
22191
+ """StartLivePadStream request structure.
22192
+
22193
+ """
22194
+
22195
+ def __init__(self):
22196
+ r"""
22197
+ :param _AppName: Ensure the streaming path uses the same AppName as the push/play URLs (default: 'live').
22198
+ :type AppName: str
22199
+ :param _PushDomainName: Your RTMP push domain.
22200
+ :type PushDomainName: str
22201
+ :param _StreamName: Your stream name.
22202
+ :type StreamName: str
22203
+ :param _Operator: Operator notes.
22204
+ :type Operator: str
22205
+ """
22206
+ self._AppName = None
22207
+ self._PushDomainName = None
22208
+ self._StreamName = None
22209
+ self._Operator = None
22210
+
22211
+ @property
22212
+ def AppName(self):
22213
+ """Ensure the streaming path uses the same AppName as the push/play URLs (default: 'live').
22214
+ :rtype: str
22215
+ """
22216
+ return self._AppName
22217
+
22218
+ @AppName.setter
22219
+ def AppName(self, AppName):
22220
+ self._AppName = AppName
22221
+
22222
+ @property
22223
+ def PushDomainName(self):
22224
+ """Your RTMP push domain.
22225
+ :rtype: str
22226
+ """
22227
+ return self._PushDomainName
22228
+
22229
+ @PushDomainName.setter
22230
+ def PushDomainName(self, PushDomainName):
22231
+ self._PushDomainName = PushDomainName
22232
+
22233
+ @property
22234
+ def StreamName(self):
22235
+ """Your stream name.
22236
+ :rtype: str
22237
+ """
22238
+ return self._StreamName
22239
+
22240
+ @StreamName.setter
22241
+ def StreamName(self, StreamName):
22242
+ self._StreamName = StreamName
22243
+
22244
+ @property
22245
+ def Operator(self):
22246
+ """Operator notes.
22247
+ :rtype: str
22248
+ """
22249
+ return self._Operator
22250
+
22251
+ @Operator.setter
22252
+ def Operator(self, Operator):
22253
+ self._Operator = Operator
22254
+
22255
+
22256
+ def _deserialize(self, params):
22257
+ self._AppName = params.get("AppName")
22258
+ self._PushDomainName = params.get("PushDomainName")
22259
+ self._StreamName = params.get("StreamName")
22260
+ self._Operator = params.get("Operator")
22261
+ memeber_set = set(params.keys())
22262
+ for name, value in vars(self).items():
22263
+ property_name = name[1:]
22264
+ if property_name in memeber_set:
22265
+ memeber_set.remove(property_name)
22266
+ if len(memeber_set) > 0:
22267
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22268
+
22269
+
22270
+
22271
+ class StartLivePadStreamResponse(AbstractModel):
22272
+ """StartLivePadStream response structure.
22273
+
22274
+ """
22275
+
22276
+ def __init__(self):
22277
+ r"""
22278
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
22279
+ :type RequestId: str
22280
+ """
22281
+ self._RequestId = None
22282
+
22283
+ @property
22284
+ def RequestId(self):
22285
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
22286
+ :rtype: str
22287
+ """
22288
+ return self._RequestId
22289
+
22290
+ @RequestId.setter
22291
+ def RequestId(self, RequestId):
22292
+ self._RequestId = RequestId
22293
+
22294
+
22295
+ def _deserialize(self, params):
22296
+ self._RequestId = params.get("RequestId")
22297
+
22298
+
22190
22299
  class StopLiveRecordRequest(AbstractModel):
22191
22300
  """StopLiveRecord request structure.
22192
22301