tencentcloud-sdk-python-mna 3.0.1447__py2.py3-none-any.whl → 3.0.1451__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-mna might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +237 -0
- {tencentcloud_sdk_python_mna-3.0.1447.dist-info → tencentcloud_sdk_python_mna-3.0.1451.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_mna-3.0.1451.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_mna-3.0.1447.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_mna-3.0.1447.dist-info → tencentcloud_sdk_python_mna-3.0.1451.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_mna-3.0.1447.dist-info → tencentcloud_sdk_python_mna-3.0.1451.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -785,6 +785,29 @@ class MnaClient(AbstractClient):
|
|
|
785
785
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
786
786
|
|
|
787
787
|
|
|
788
|
+
def ReportOrder(self, request):
|
|
789
|
+
"""用户上报自定义的订单信息,多网聚合加速服务将相关信息进行保存
|
|
790
|
+
|
|
791
|
+
:param request: Request instance for ReportOrder.
|
|
792
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.ReportOrderRequest`
|
|
793
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.ReportOrderResponse`
|
|
794
|
+
|
|
795
|
+
"""
|
|
796
|
+
try:
|
|
797
|
+
params = request._serialize()
|
|
798
|
+
headers = request.headers
|
|
799
|
+
body = self.call("ReportOrder", params, headers=headers)
|
|
800
|
+
response = json.loads(body)
|
|
801
|
+
model = models.ReportOrderResponse()
|
|
802
|
+
model._deserialize(response["Response"])
|
|
803
|
+
return model
|
|
804
|
+
except Exception as e:
|
|
805
|
+
if isinstance(e, TencentCloudSDKException):
|
|
806
|
+
raise
|
|
807
|
+
else:
|
|
808
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
809
|
+
|
|
810
|
+
|
|
788
811
|
def SetNotifyUrl(self, request):
|
|
789
812
|
"""设置用户流量告警信息接口,通过该接口设置流量包告警阈值以及告警时回调的url和key
|
|
790
813
|
|
|
@@ -6273,6 +6273,117 @@ class OrderFlowPackageResponse(AbstractModel):
|
|
|
6273
6273
|
self._RequestId = params.get("RequestId")
|
|
6274
6274
|
|
|
6275
6275
|
|
|
6276
|
+
class OrderInfo(AbstractModel):
|
|
6277
|
+
"""返回上报的订单信息
|
|
6278
|
+
|
|
6279
|
+
"""
|
|
6280
|
+
|
|
6281
|
+
def __init__(self):
|
|
6282
|
+
r"""
|
|
6283
|
+
:param _Uin: 父帐号uin
|
|
6284
|
+
:type Uin: str
|
|
6285
|
+
:param _ProjectId: 项目id
|
|
6286
|
+
:type ProjectId: str
|
|
6287
|
+
:param _PackageType: 用量类型
|
|
6288
|
+
:type PackageType: str
|
|
6289
|
+
:param _OrderId: 订单编号唯一标识符
|
|
6290
|
+
:type OrderId: str
|
|
6291
|
+
:param _ReportMonth: 上报月份,默认当前月
|
|
6292
|
+
:type ReportMonth: str
|
|
6293
|
+
:param _Updated: 数据更新时间
|
|
6294
|
+
:type Updated: str
|
|
6295
|
+
"""
|
|
6296
|
+
self._Uin = None
|
|
6297
|
+
self._ProjectId = None
|
|
6298
|
+
self._PackageType = None
|
|
6299
|
+
self._OrderId = None
|
|
6300
|
+
self._ReportMonth = None
|
|
6301
|
+
self._Updated = None
|
|
6302
|
+
|
|
6303
|
+
@property
|
|
6304
|
+
def Uin(self):
|
|
6305
|
+
"""父帐号uin
|
|
6306
|
+
:rtype: str
|
|
6307
|
+
"""
|
|
6308
|
+
return self._Uin
|
|
6309
|
+
|
|
6310
|
+
@Uin.setter
|
|
6311
|
+
def Uin(self, Uin):
|
|
6312
|
+
self._Uin = Uin
|
|
6313
|
+
|
|
6314
|
+
@property
|
|
6315
|
+
def ProjectId(self):
|
|
6316
|
+
"""项目id
|
|
6317
|
+
:rtype: str
|
|
6318
|
+
"""
|
|
6319
|
+
return self._ProjectId
|
|
6320
|
+
|
|
6321
|
+
@ProjectId.setter
|
|
6322
|
+
def ProjectId(self, ProjectId):
|
|
6323
|
+
self._ProjectId = ProjectId
|
|
6324
|
+
|
|
6325
|
+
@property
|
|
6326
|
+
def PackageType(self):
|
|
6327
|
+
"""用量类型
|
|
6328
|
+
:rtype: str
|
|
6329
|
+
"""
|
|
6330
|
+
return self._PackageType
|
|
6331
|
+
|
|
6332
|
+
@PackageType.setter
|
|
6333
|
+
def PackageType(self, PackageType):
|
|
6334
|
+
self._PackageType = PackageType
|
|
6335
|
+
|
|
6336
|
+
@property
|
|
6337
|
+
def OrderId(self):
|
|
6338
|
+
"""订单编号唯一标识符
|
|
6339
|
+
:rtype: str
|
|
6340
|
+
"""
|
|
6341
|
+
return self._OrderId
|
|
6342
|
+
|
|
6343
|
+
@OrderId.setter
|
|
6344
|
+
def OrderId(self, OrderId):
|
|
6345
|
+
self._OrderId = OrderId
|
|
6346
|
+
|
|
6347
|
+
@property
|
|
6348
|
+
def ReportMonth(self):
|
|
6349
|
+
"""上报月份,默认当前月
|
|
6350
|
+
:rtype: str
|
|
6351
|
+
"""
|
|
6352
|
+
return self._ReportMonth
|
|
6353
|
+
|
|
6354
|
+
@ReportMonth.setter
|
|
6355
|
+
def ReportMonth(self, ReportMonth):
|
|
6356
|
+
self._ReportMonth = ReportMonth
|
|
6357
|
+
|
|
6358
|
+
@property
|
|
6359
|
+
def Updated(self):
|
|
6360
|
+
"""数据更新时间
|
|
6361
|
+
:rtype: str
|
|
6362
|
+
"""
|
|
6363
|
+
return self._Updated
|
|
6364
|
+
|
|
6365
|
+
@Updated.setter
|
|
6366
|
+
def Updated(self, Updated):
|
|
6367
|
+
self._Updated = Updated
|
|
6368
|
+
|
|
6369
|
+
|
|
6370
|
+
def _deserialize(self, params):
|
|
6371
|
+
self._Uin = params.get("Uin")
|
|
6372
|
+
self._ProjectId = params.get("ProjectId")
|
|
6373
|
+
self._PackageType = params.get("PackageType")
|
|
6374
|
+
self._OrderId = params.get("OrderId")
|
|
6375
|
+
self._ReportMonth = params.get("ReportMonth")
|
|
6376
|
+
self._Updated = params.get("Updated")
|
|
6377
|
+
memeber_set = set(params.keys())
|
|
6378
|
+
for name, value in vars(self).items():
|
|
6379
|
+
property_name = name[1:]
|
|
6380
|
+
if property_name in memeber_set:
|
|
6381
|
+
memeber_set.remove(property_name)
|
|
6382
|
+
if len(memeber_set) > 0:
|
|
6383
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6384
|
+
|
|
6385
|
+
|
|
6386
|
+
|
|
6276
6387
|
class OrderPerLicenseRequest(AbstractModel):
|
|
6277
6388
|
"""OrderPerLicense请求参数结构体
|
|
6278
6389
|
|
|
@@ -6416,6 +6527,132 @@ class OrderPerLicenseResponse(AbstractModel):
|
|
|
6416
6527
|
self._RequestId = params.get("RequestId")
|
|
6417
6528
|
|
|
6418
6529
|
|
|
6530
|
+
class ReportOrderRequest(AbstractModel):
|
|
6531
|
+
"""ReportOrder请求参数结构体
|
|
6532
|
+
|
|
6533
|
+
"""
|
|
6534
|
+
|
|
6535
|
+
def __init__(self):
|
|
6536
|
+
r"""
|
|
6537
|
+
:param _OrderId: 订单编号唯一标识符
|
|
6538
|
+
:type OrderId: str
|
|
6539
|
+
:param _ProjectId: 项目id
|
|
6540
|
+
:type ProjectId: str
|
|
6541
|
+
:param _PackageType: 用量类型
|
|
6542
|
+
:type PackageType: str
|
|
6543
|
+
:param _ReportMonth: 上报月份,默认当前月
|
|
6544
|
+
:type ReportMonth: str
|
|
6545
|
+
"""
|
|
6546
|
+
self._OrderId = None
|
|
6547
|
+
self._ProjectId = None
|
|
6548
|
+
self._PackageType = None
|
|
6549
|
+
self._ReportMonth = None
|
|
6550
|
+
|
|
6551
|
+
@property
|
|
6552
|
+
def OrderId(self):
|
|
6553
|
+
"""订单编号唯一标识符
|
|
6554
|
+
:rtype: str
|
|
6555
|
+
"""
|
|
6556
|
+
return self._OrderId
|
|
6557
|
+
|
|
6558
|
+
@OrderId.setter
|
|
6559
|
+
def OrderId(self, OrderId):
|
|
6560
|
+
self._OrderId = OrderId
|
|
6561
|
+
|
|
6562
|
+
@property
|
|
6563
|
+
def ProjectId(self):
|
|
6564
|
+
"""项目id
|
|
6565
|
+
:rtype: str
|
|
6566
|
+
"""
|
|
6567
|
+
return self._ProjectId
|
|
6568
|
+
|
|
6569
|
+
@ProjectId.setter
|
|
6570
|
+
def ProjectId(self, ProjectId):
|
|
6571
|
+
self._ProjectId = ProjectId
|
|
6572
|
+
|
|
6573
|
+
@property
|
|
6574
|
+
def PackageType(self):
|
|
6575
|
+
"""用量类型
|
|
6576
|
+
:rtype: str
|
|
6577
|
+
"""
|
|
6578
|
+
return self._PackageType
|
|
6579
|
+
|
|
6580
|
+
@PackageType.setter
|
|
6581
|
+
def PackageType(self, PackageType):
|
|
6582
|
+
self._PackageType = PackageType
|
|
6583
|
+
|
|
6584
|
+
@property
|
|
6585
|
+
def ReportMonth(self):
|
|
6586
|
+
"""上报月份,默认当前月
|
|
6587
|
+
:rtype: str
|
|
6588
|
+
"""
|
|
6589
|
+
return self._ReportMonth
|
|
6590
|
+
|
|
6591
|
+
@ReportMonth.setter
|
|
6592
|
+
def ReportMonth(self, ReportMonth):
|
|
6593
|
+
self._ReportMonth = ReportMonth
|
|
6594
|
+
|
|
6595
|
+
|
|
6596
|
+
def _deserialize(self, params):
|
|
6597
|
+
self._OrderId = params.get("OrderId")
|
|
6598
|
+
self._ProjectId = params.get("ProjectId")
|
|
6599
|
+
self._PackageType = params.get("PackageType")
|
|
6600
|
+
self._ReportMonth = params.get("ReportMonth")
|
|
6601
|
+
memeber_set = set(params.keys())
|
|
6602
|
+
for name, value in vars(self).items():
|
|
6603
|
+
property_name = name[1:]
|
|
6604
|
+
if property_name in memeber_set:
|
|
6605
|
+
memeber_set.remove(property_name)
|
|
6606
|
+
if len(memeber_set) > 0:
|
|
6607
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6608
|
+
|
|
6609
|
+
|
|
6610
|
+
|
|
6611
|
+
class ReportOrderResponse(AbstractModel):
|
|
6612
|
+
"""ReportOrder返回参数结构体
|
|
6613
|
+
|
|
6614
|
+
"""
|
|
6615
|
+
|
|
6616
|
+
def __init__(self):
|
|
6617
|
+
r"""
|
|
6618
|
+
:param _OrderInfo: 订单信息
|
|
6619
|
+
:type OrderInfo: :class:`tencentcloud.mna.v20210119.models.OrderInfo`
|
|
6620
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6621
|
+
:type RequestId: str
|
|
6622
|
+
"""
|
|
6623
|
+
self._OrderInfo = None
|
|
6624
|
+
self._RequestId = None
|
|
6625
|
+
|
|
6626
|
+
@property
|
|
6627
|
+
def OrderInfo(self):
|
|
6628
|
+
"""订单信息
|
|
6629
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.OrderInfo`
|
|
6630
|
+
"""
|
|
6631
|
+
return self._OrderInfo
|
|
6632
|
+
|
|
6633
|
+
@OrderInfo.setter
|
|
6634
|
+
def OrderInfo(self, OrderInfo):
|
|
6635
|
+
self._OrderInfo = OrderInfo
|
|
6636
|
+
|
|
6637
|
+
@property
|
|
6638
|
+
def RequestId(self):
|
|
6639
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6640
|
+
:rtype: str
|
|
6641
|
+
"""
|
|
6642
|
+
return self._RequestId
|
|
6643
|
+
|
|
6644
|
+
@RequestId.setter
|
|
6645
|
+
def RequestId(self, RequestId):
|
|
6646
|
+
self._RequestId = RequestId
|
|
6647
|
+
|
|
6648
|
+
|
|
6649
|
+
def _deserialize(self, params):
|
|
6650
|
+
if params.get("OrderInfo") is not None:
|
|
6651
|
+
self._OrderInfo = OrderInfo()
|
|
6652
|
+
self._OrderInfo._deserialize(params.get("OrderInfo"))
|
|
6653
|
+
self._RequestId = params.get("RequestId")
|
|
6654
|
+
|
|
6655
|
+
|
|
6419
6656
|
class SetNotifyUrlRequest(AbstractModel):
|
|
6420
6657
|
"""SetNotifyUrl请求参数结构体
|
|
6421
6658
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mna
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1451
|
|
4
4
|
Summary: Tencent Cloud Mna SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1451)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=NkL2G4Hv1SVeNM-38GbbncTqfPeeiEkFmNq_tiC_hzM,631
|
|
2
|
+
tencentcloud/mna/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/mna/v20210119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/mna/v20210119/errorcodes.py,sha256=2wcmxdCoYB6bazHxsPb9bvSQQiApYJQSImq77mV1usI,3606
|
|
5
|
+
tencentcloud/mna/v20210119/mna_client.py,sha256=YdTVwqwEe2Kd1wN50u6ePUqgwXKhhL79TzoAxtf_xWg,36698
|
|
6
|
+
tencentcloud/mna/v20210119/models.py,sha256=hsC9_05eoTJNX3z9no5sqLGhKsWIZywaFTilRvFIWRM,223441
|
|
7
|
+
tencentcloud_sdk_python_mna-3.0.1451.dist-info/METADATA,sha256=o-76lpfG2QLxbqwB4I-TagMgIyRIN8g5DZFUgVHuRac,1503
|
|
8
|
+
tencentcloud_sdk_python_mna-3.0.1451.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_mna-3.0.1451.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_mna-3.0.1451.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=Clabb3XxBDuEdLmg8E-OO3chnkbKm5mdLeZJzx_dS8c,631
|
|
2
|
-
tencentcloud/mna/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/mna/v20210119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/mna/v20210119/errorcodes.py,sha256=2wcmxdCoYB6bazHxsPb9bvSQQiApYJQSImq77mV1usI,3606
|
|
5
|
-
tencentcloud/mna/v20210119/mna_client.py,sha256=DUESz8U4mVFI-UVGKpa9iHl219DWu_Qo4eSs9UzoNWU,35793
|
|
6
|
-
tencentcloud/mna/v20210119/models.py,sha256=AKjbtLG4F3F-mGGr1KyxVA4L2SX2xbqfSCwFeJBcTFc,217090
|
|
7
|
-
tencentcloud_sdk_python_mna-3.0.1447.dist-info/METADATA,sha256=G7cf1wMrdD3-tzmL3F0-sLVWvfKVTn37j0nepaggVwI,1503
|
|
8
|
-
tencentcloud_sdk_python_mna-3.0.1447.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_mna-3.0.1447.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_mna-3.0.1447.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|