tencentcloud-sdk-python-intl-en 3.0.1191__py2.py3-none-any.whl → 3.0.1193__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client.py +3 -3
- tencentcloud/cvm/v20170312/errorcodes.py +1 -1
- tencentcloud/cvm/v20170312/models.py +358 -268
- tencentcloud/intlpartnersmgt/v20220928/errorcodes.py +27 -0
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +54 -7
- tencentcloud/intlpartnersmgt/v20220928/models.py +391 -0
- tencentcloud/trabbit/__init__.py +0 -0
- tencentcloud/trabbit/v20230418/__init__.py +0 -0
- tencentcloud/trabbit/v20230418/errorcodes.py +75 -0
- tencentcloud/trabbit/v20230418/models.py +8101 -0
- tencentcloud/trabbit/v20230418/trabbit_client.py +693 -0
- {tencentcloud_sdk_python_intl_en-3.0.1191.dist-info → tencentcloud_sdk_python_intl_en-3.0.1193.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1191.dist-info → tencentcloud_sdk_python_intl_en-3.0.1193.dist-info}/RECORD +16 -11
- {tencentcloud_sdk_python_intl_en-3.0.1191.dist-info → tencentcloud_sdk_python_intl_en-3.0.1193.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1191.dist-info → tencentcloud_sdk_python_intl_en-3.0.1193.dist-info}/top_level.txt +0 -0
|
@@ -20,6 +20,9 @@ AUTHFAILURE = 'AuthFailure'
|
|
|
20
20
|
# Operation failed.
|
|
21
21
|
FAILEDOPERATION = 'FailedOperation'
|
|
22
22
|
|
|
23
|
+
# The account type is not a corporate account.
|
|
24
|
+
FAILEDOPERATION_ACCOUNTTYPENOTCOMPANY = 'FailedOperation.AccountTypeNotCompany'
|
|
25
|
+
|
|
23
26
|
# The account balance is insufficient.
|
|
24
27
|
FAILEDOPERATION_BALANCEINSUFFICIENT = 'FailedOperation.BalanceInsufficient'
|
|
25
28
|
|
|
@@ -53,6 +56,21 @@ FAILEDOPERATION_MAILISREGISTERED = 'FailedOperation.MailIsRegistered'
|
|
|
53
56
|
# The number of registered accounts for the current mobile number has reached the maximum limit. Please change the phone number and try again.
|
|
54
57
|
FAILEDOPERATION_PHONEBINDUPPER = 'FailedOperation.PhoneBindUpper'
|
|
55
58
|
|
|
59
|
+
# Real-Name pending approval.
|
|
60
|
+
FAILEDOPERATION_REALNAMEINAPPROVAL = 'FailedOperation.RealNameInApproval'
|
|
61
|
+
|
|
62
|
+
# User has not completed enterprise identity verification.
|
|
63
|
+
FAILEDOPERATION_REALNAMENOTCOMPLETED = 'FailedOperation.RealNameNotCompleted'
|
|
64
|
+
|
|
65
|
+
# Identity audit was rejected.
|
|
66
|
+
FAILEDOPERATION_REALNAMEREJECT = 'FailedOperation.RealNameReject'
|
|
67
|
+
|
|
68
|
+
# Illegal real-name type.
|
|
69
|
+
FAILEDOPERATION_REALNAMETYPEILLEGAL = 'FailedOperation.RealNameTypeIllegal'
|
|
70
|
+
|
|
71
|
+
# Unsubmitted application for second-level reseller.
|
|
72
|
+
FAILEDOPERATION_RESELLERNOTAPPLY = 'FailedOperation.ResellerNotApply'
|
|
73
|
+
|
|
56
74
|
# The interval between sending invitation links is less than three minutes. Please try again later.
|
|
57
75
|
FAILEDOPERATION_SENDMAILLIMIT180 = 'FailedOperation.SendMailLimit180'
|
|
58
76
|
|
|
@@ -68,6 +86,9 @@ FAILEDOPERATION_TRADEINFOINCORRECT = 'FailedOperation.TradeInfoIncorrect'
|
|
|
68
86
|
# Tencent cloud ka account cannot become a sub-customer.
|
|
69
87
|
FAILEDOPERATION_UINALREADYKA = 'FailedOperation.UinAlreadyKA'
|
|
70
88
|
|
|
89
|
+
# The uin has already applied to become a reseller.
|
|
90
|
+
FAILEDOPERATION_UINAPPLIEDAGENT = 'FailedOperation.UinAppliedAgent'
|
|
91
|
+
|
|
71
92
|
# Invalid UIN
|
|
72
93
|
FAILEDOPERATION_UININVALID = 'FailedOperation.UinInvalid'
|
|
73
94
|
|
|
@@ -155,9 +176,15 @@ INVALIDPARAMETERVALUE_PHONENUMEMPTY = 'InvalidParameterValue.PhoneNumEmpty'
|
|
|
155
176
|
# The primary industry id or secondary industry id is empty.
|
|
156
177
|
INVALIDPARAMETERVALUE_TRADEINFOEMPTY = 'InvalidParameterValue.TradeInfoEmpty'
|
|
157
178
|
|
|
179
|
+
# The user has already applied to become a sub - customer of another reseller.
|
|
180
|
+
INVALIDPARAMETERVALUE_UINALREADYAPPLIEDCLIENT = 'InvalidParameterValue.UinAlreadyAppliedClient'
|
|
181
|
+
|
|
158
182
|
# The user has become a sub-customer of another reseller.
|
|
159
183
|
INVALIDPARAMETERVALUE_UINALREADYCLIENT = 'InvalidParameterValue.UinAlreadyClient'
|
|
160
184
|
|
|
185
|
+
# The user has become a second - level reseller of another partner.
|
|
186
|
+
INVALIDPARAMETERVALUE_UINALREADYRESELLER = 'InvalidParameterValue.UinAlreadyReseller'
|
|
187
|
+
|
|
161
188
|
# The user is a sub-account.
|
|
162
189
|
INVALIDPARAMETERVALUE_UINISSUBACCOUNT = 'InvalidParameterValue.UinIsSubAccount'
|
|
163
190
|
|
|
@@ -104,6 +104,30 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
104
104
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
105
105
|
|
|
106
106
|
|
|
107
|
+
def ApproveSubAgentApply(self, request):
|
|
108
|
+
"""This API is used to approve applications for second-level resellers.
|
|
109
|
+
Invocation Role: Distributor.
|
|
110
|
+
|
|
111
|
+
:param request: Request instance for ApproveSubAgentApply.
|
|
112
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.ApproveSubAgentApplyRequest`
|
|
113
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.ApproveSubAgentApplyResponse`
|
|
114
|
+
|
|
115
|
+
"""
|
|
116
|
+
try:
|
|
117
|
+
params = request._serialize()
|
|
118
|
+
headers = request.headers
|
|
119
|
+
body = self.call("ApproveSubAgentApply", params, headers=headers)
|
|
120
|
+
response = json.loads(body)
|
|
121
|
+
model = models.ApproveSubAgentApplyResponse()
|
|
122
|
+
model._deserialize(response["Response"])
|
|
123
|
+
return model
|
|
124
|
+
except Exception as e:
|
|
125
|
+
if isinstance(e, TencentCloudSDKException):
|
|
126
|
+
raise
|
|
127
|
+
else:
|
|
128
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
129
|
+
|
|
130
|
+
|
|
107
131
|
def CreateAccount(self, request):
|
|
108
132
|
"""This API is used to create Tencent Cloud customer accounts for distributor/second-level resellers.After the account is created, it will be automatically bound to the partner account.Note:
|
|
109
133
|
1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.
|
|
@@ -133,14 +157,13 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
133
157
|
|
|
134
158
|
|
|
135
159
|
def CreateAndSendClientInvitationMail(self, request):
|
|
136
|
-
"""This API is used to
|
|
137
|
-
|
|
138
|
-
2.
|
|
139
|
-
3.
|
|
140
|
-
|
|
141
|
-
Note:This API is used to manually send the invitation link to the customer if the specified email does not receive it.
|
|
160
|
+
"""This API is used to perform operations. Application for allowlist is required before usage. If needed, contact your business representative to request allowlisting. The specific usage process is as follows;.
|
|
161
|
+
This API is used to create an invitation link. You can send the invitation link to your designated email address.
|
|
162
|
+
2. Customers need to click the invitation link in the mailbox, fill in and submit relevant information.
|
|
163
|
+
3. After customer submission, you can view the application of this sub-customer on the customer management page and review it.
|
|
142
164
|
|
|
143
|
-
|
|
165
|
+
This API is used to handle cases where if the designated mailbox does not receive the invitation link, you can send the invitation link returned by the API to the customer manually.
|
|
166
|
+
Invocation roles: resellers, distributors, second-level reseller.
|
|
144
167
|
|
|
145
168
|
:param request: Request instance for CreateAndSendClientInvitationMail.
|
|
146
169
|
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.CreateAndSendClientInvitationMailRequest`
|
|
@@ -768,6 +791,30 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
768
791
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
769
792
|
|
|
770
793
|
|
|
794
|
+
def QueryPendingSubAgentsV2(self, request):
|
|
795
|
+
"""This API is used to query information of second-level resellers in application.
|
|
796
|
+
Invocation Role: Distributor.
|
|
797
|
+
|
|
798
|
+
:param request: Request instance for QueryPendingSubAgentsV2.
|
|
799
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryPendingSubAgentsV2Request`
|
|
800
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryPendingSubAgentsV2Response`
|
|
801
|
+
|
|
802
|
+
"""
|
|
803
|
+
try:
|
|
804
|
+
params = request._serialize()
|
|
805
|
+
headers = request.headers
|
|
806
|
+
body = self.call("QueryPendingSubAgentsV2", params, headers=headers)
|
|
807
|
+
response = json.loads(body)
|
|
808
|
+
model = models.QueryPendingSubAgentsV2Response()
|
|
809
|
+
model._deserialize(response["Response"])
|
|
810
|
+
return model
|
|
811
|
+
except Exception as e:
|
|
812
|
+
if isinstance(e, TencentCloudSDKException):
|
|
813
|
+
raise
|
|
814
|
+
else:
|
|
815
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
816
|
+
|
|
817
|
+
|
|
771
818
|
def QueryPolicyProductListByCode(self, request):
|
|
772
819
|
"""This API is used to query the product list information within the specified policy range. To call this API, contact your business manager to apply for adding it to the allowlist.
|
|
773
820
|
Callable roles: Distributor, Second-level reseller, Reseller
|
|
@@ -441,6 +441,100 @@ class ApproveClientApplyResponse(AbstractModel):
|
|
|
441
441
|
self._RequestId = params.get("RequestId")
|
|
442
442
|
|
|
443
443
|
|
|
444
|
+
class ApproveSubAgentApplyRequest(AbstractModel):
|
|
445
|
+
"""ApproveSubAgentApply request structure.
|
|
446
|
+
|
|
447
|
+
"""
|
|
448
|
+
|
|
449
|
+
def __init__(self):
|
|
450
|
+
r"""
|
|
451
|
+
:param _SubAgentUin: Second-level reseller UIN.
|
|
452
|
+
:type SubAgentUin: int
|
|
453
|
+
:param _ApproveType: Approval type. Only pass and reject are supported.
|
|
454
|
+
:type ApproveType: str
|
|
455
|
+
:param _RejectReason: Reason for rejection. Fill in only when ApproveType is reject.
|
|
456
|
+
:type RejectReason: str
|
|
457
|
+
"""
|
|
458
|
+
self._SubAgentUin = None
|
|
459
|
+
self._ApproveType = None
|
|
460
|
+
self._RejectReason = None
|
|
461
|
+
|
|
462
|
+
@property
|
|
463
|
+
def SubAgentUin(self):
|
|
464
|
+
"""Second-level reseller UIN.
|
|
465
|
+
:rtype: int
|
|
466
|
+
"""
|
|
467
|
+
return self._SubAgentUin
|
|
468
|
+
|
|
469
|
+
@SubAgentUin.setter
|
|
470
|
+
def SubAgentUin(self, SubAgentUin):
|
|
471
|
+
self._SubAgentUin = SubAgentUin
|
|
472
|
+
|
|
473
|
+
@property
|
|
474
|
+
def ApproveType(self):
|
|
475
|
+
"""Approval type. Only pass and reject are supported.
|
|
476
|
+
:rtype: str
|
|
477
|
+
"""
|
|
478
|
+
return self._ApproveType
|
|
479
|
+
|
|
480
|
+
@ApproveType.setter
|
|
481
|
+
def ApproveType(self, ApproveType):
|
|
482
|
+
self._ApproveType = ApproveType
|
|
483
|
+
|
|
484
|
+
@property
|
|
485
|
+
def RejectReason(self):
|
|
486
|
+
"""Reason for rejection. Fill in only when ApproveType is reject.
|
|
487
|
+
:rtype: str
|
|
488
|
+
"""
|
|
489
|
+
return self._RejectReason
|
|
490
|
+
|
|
491
|
+
@RejectReason.setter
|
|
492
|
+
def RejectReason(self, RejectReason):
|
|
493
|
+
self._RejectReason = RejectReason
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
def _deserialize(self, params):
|
|
497
|
+
self._SubAgentUin = params.get("SubAgentUin")
|
|
498
|
+
self._ApproveType = params.get("ApproveType")
|
|
499
|
+
self._RejectReason = params.get("RejectReason")
|
|
500
|
+
memeber_set = set(params.keys())
|
|
501
|
+
for name, value in vars(self).items():
|
|
502
|
+
property_name = name[1:]
|
|
503
|
+
if property_name in memeber_set:
|
|
504
|
+
memeber_set.remove(property_name)
|
|
505
|
+
if len(memeber_set) > 0:
|
|
506
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
class ApproveSubAgentApplyResponse(AbstractModel):
|
|
511
|
+
"""ApproveSubAgentApply response structure.
|
|
512
|
+
|
|
513
|
+
"""
|
|
514
|
+
|
|
515
|
+
def __init__(self):
|
|
516
|
+
r"""
|
|
517
|
+
: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.
|
|
518
|
+
:type RequestId: str
|
|
519
|
+
"""
|
|
520
|
+
self._RequestId = None
|
|
521
|
+
|
|
522
|
+
@property
|
|
523
|
+
def RequestId(self):
|
|
524
|
+
"""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.
|
|
525
|
+
:rtype: str
|
|
526
|
+
"""
|
|
527
|
+
return self._RequestId
|
|
528
|
+
|
|
529
|
+
@RequestId.setter
|
|
530
|
+
def RequestId(self, RequestId):
|
|
531
|
+
self._RequestId = RequestId
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
def _deserialize(self, params):
|
|
535
|
+
self._RequestId = params.get("RequestId")
|
|
536
|
+
|
|
537
|
+
|
|
444
538
|
class BillDetailData(AbstractModel):
|
|
445
539
|
"""Customer bill details
|
|
446
540
|
|
|
@@ -1508,8 +1602,18 @@ class CreateAndSendClientInvitationMailRequest(AbstractModel):
|
|
|
1508
1602
|
r"""
|
|
1509
1603
|
:param _Email: Email address that receives the customer invitation link.
|
|
1510
1604
|
:type Email: str
|
|
1605
|
+
:param _InvitationRole: Invite a role.
|
|
1606
|
+
Note: if no value is passed, it defaults to the sub - customer.
|
|
1607
|
+
Client: customer.
|
|
1608
|
+
SubAgent: second-level reseller.
|
|
1609
|
+
:type InvitationRole: str
|
|
1610
|
+
:param _MaterialUrl: Specifies the application material.
|
|
1611
|
+
Note: this field takes effect only in the scenario of inviting a second-level reseller.
|
|
1612
|
+
:type MaterialUrl: str
|
|
1511
1613
|
"""
|
|
1512
1614
|
self._Email = None
|
|
1615
|
+
self._InvitationRole = None
|
|
1616
|
+
self._MaterialUrl = None
|
|
1513
1617
|
|
|
1514
1618
|
@property
|
|
1515
1619
|
def Email(self):
|
|
@@ -1522,9 +1626,37 @@ class CreateAndSendClientInvitationMailRequest(AbstractModel):
|
|
|
1522
1626
|
def Email(self, Email):
|
|
1523
1627
|
self._Email = Email
|
|
1524
1628
|
|
|
1629
|
+
@property
|
|
1630
|
+
def InvitationRole(self):
|
|
1631
|
+
"""Invite a role.
|
|
1632
|
+
Note: if no value is passed, it defaults to the sub - customer.
|
|
1633
|
+
Client: customer.
|
|
1634
|
+
SubAgent: second-level reseller.
|
|
1635
|
+
:rtype: str
|
|
1636
|
+
"""
|
|
1637
|
+
return self._InvitationRole
|
|
1638
|
+
|
|
1639
|
+
@InvitationRole.setter
|
|
1640
|
+
def InvitationRole(self, InvitationRole):
|
|
1641
|
+
self._InvitationRole = InvitationRole
|
|
1642
|
+
|
|
1643
|
+
@property
|
|
1644
|
+
def MaterialUrl(self):
|
|
1645
|
+
"""Specifies the application material.
|
|
1646
|
+
Note: this field takes effect only in the scenario of inviting a second-level reseller.
|
|
1647
|
+
:rtype: str
|
|
1648
|
+
"""
|
|
1649
|
+
return self._MaterialUrl
|
|
1650
|
+
|
|
1651
|
+
@MaterialUrl.setter
|
|
1652
|
+
def MaterialUrl(self, MaterialUrl):
|
|
1653
|
+
self._MaterialUrl = MaterialUrl
|
|
1654
|
+
|
|
1525
1655
|
|
|
1526
1656
|
def _deserialize(self, params):
|
|
1527
1657
|
self._Email = params.get("Email")
|
|
1658
|
+
self._InvitationRole = params.get("InvitationRole")
|
|
1659
|
+
self._MaterialUrl = params.get("MaterialUrl")
|
|
1528
1660
|
memeber_set = set(params.keys())
|
|
1529
1661
|
for name, value in vars(self).items():
|
|
1530
1662
|
property_name = name[1:]
|
|
@@ -6245,6 +6377,265 @@ class QueryPendingCustomersItem(AbstractModel):
|
|
|
6245
6377
|
|
|
6246
6378
|
|
|
6247
6379
|
|
|
6380
|
+
class QueryPendingSubAgentsV2Request(AbstractModel):
|
|
6381
|
+
"""QueryPendingSubAgentsV2 request structure.
|
|
6382
|
+
|
|
6383
|
+
"""
|
|
6384
|
+
|
|
6385
|
+
def __init__(self):
|
|
6386
|
+
r"""
|
|
6387
|
+
:param _Page: Page number. starts from 1.
|
|
6388
|
+
:type Page: int
|
|
6389
|
+
:param _PageSize: Specifies the number of items per page. value range: supports up to 100.
|
|
6390
|
+
:type PageSize: int
|
|
6391
|
+
"""
|
|
6392
|
+
self._Page = None
|
|
6393
|
+
self._PageSize = None
|
|
6394
|
+
|
|
6395
|
+
@property
|
|
6396
|
+
def Page(self):
|
|
6397
|
+
"""Page number. starts from 1.
|
|
6398
|
+
:rtype: int
|
|
6399
|
+
"""
|
|
6400
|
+
return self._Page
|
|
6401
|
+
|
|
6402
|
+
@Page.setter
|
|
6403
|
+
def Page(self, Page):
|
|
6404
|
+
self._Page = Page
|
|
6405
|
+
|
|
6406
|
+
@property
|
|
6407
|
+
def PageSize(self):
|
|
6408
|
+
"""Specifies the number of items per page. value range: supports up to 100.
|
|
6409
|
+
:rtype: int
|
|
6410
|
+
"""
|
|
6411
|
+
return self._PageSize
|
|
6412
|
+
|
|
6413
|
+
@PageSize.setter
|
|
6414
|
+
def PageSize(self, PageSize):
|
|
6415
|
+
self._PageSize = PageSize
|
|
6416
|
+
|
|
6417
|
+
|
|
6418
|
+
def _deserialize(self, params):
|
|
6419
|
+
self._Page = params.get("Page")
|
|
6420
|
+
self._PageSize = params.get("PageSize")
|
|
6421
|
+
memeber_set = set(params.keys())
|
|
6422
|
+
for name, value in vars(self).items():
|
|
6423
|
+
property_name = name[1:]
|
|
6424
|
+
if property_name in memeber_set:
|
|
6425
|
+
memeber_set.remove(property_name)
|
|
6426
|
+
if len(memeber_set) > 0:
|
|
6427
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6428
|
+
|
|
6429
|
+
|
|
6430
|
+
|
|
6431
|
+
class QueryPendingSubAgentsV2Response(AbstractModel):
|
|
6432
|
+
"""QueryPendingSubAgentsV2 response structure.
|
|
6433
|
+
|
|
6434
|
+
"""
|
|
6435
|
+
|
|
6436
|
+
def __init__(self):
|
|
6437
|
+
r"""
|
|
6438
|
+
:param _Data: Application in progress second-level reseller information.
|
|
6439
|
+
:type Data: list of QueryPendingSubAgentsV2ResponseData
|
|
6440
|
+
:param _Total: Number of second-level resellers in application.
|
|
6441
|
+
:type Total: int
|
|
6442
|
+
: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.
|
|
6443
|
+
:type RequestId: str
|
|
6444
|
+
"""
|
|
6445
|
+
self._Data = None
|
|
6446
|
+
self._Total = None
|
|
6447
|
+
self._RequestId = None
|
|
6448
|
+
|
|
6449
|
+
@property
|
|
6450
|
+
def Data(self):
|
|
6451
|
+
"""Application in progress second-level reseller information.
|
|
6452
|
+
:rtype: list of QueryPendingSubAgentsV2ResponseData
|
|
6453
|
+
"""
|
|
6454
|
+
return self._Data
|
|
6455
|
+
|
|
6456
|
+
@Data.setter
|
|
6457
|
+
def Data(self, Data):
|
|
6458
|
+
self._Data = Data
|
|
6459
|
+
|
|
6460
|
+
@property
|
|
6461
|
+
def Total(self):
|
|
6462
|
+
"""Number of second-level resellers in application.
|
|
6463
|
+
:rtype: int
|
|
6464
|
+
"""
|
|
6465
|
+
return self._Total
|
|
6466
|
+
|
|
6467
|
+
@Total.setter
|
|
6468
|
+
def Total(self, Total):
|
|
6469
|
+
self._Total = Total
|
|
6470
|
+
|
|
6471
|
+
@property
|
|
6472
|
+
def RequestId(self):
|
|
6473
|
+
"""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.
|
|
6474
|
+
:rtype: str
|
|
6475
|
+
"""
|
|
6476
|
+
return self._RequestId
|
|
6477
|
+
|
|
6478
|
+
@RequestId.setter
|
|
6479
|
+
def RequestId(self, RequestId):
|
|
6480
|
+
self._RequestId = RequestId
|
|
6481
|
+
|
|
6482
|
+
|
|
6483
|
+
def _deserialize(self, params):
|
|
6484
|
+
if params.get("Data") is not None:
|
|
6485
|
+
self._Data = []
|
|
6486
|
+
for item in params.get("Data"):
|
|
6487
|
+
obj = QueryPendingSubAgentsV2ResponseData()
|
|
6488
|
+
obj._deserialize(item)
|
|
6489
|
+
self._Data.append(obj)
|
|
6490
|
+
self._Total = params.get("Total")
|
|
6491
|
+
self._RequestId = params.get("RequestId")
|
|
6492
|
+
|
|
6493
|
+
|
|
6494
|
+
class QueryPendingSubAgentsV2ResponseData(AbstractModel):
|
|
6495
|
+
"""Information of second-level reseller application in progress.
|
|
6496
|
+
|
|
6497
|
+
"""
|
|
6498
|
+
|
|
6499
|
+
def __init__(self):
|
|
6500
|
+
r"""
|
|
6501
|
+
:param _SubAgentUin: Second-level reseller UIN.
|
|
6502
|
+
:type SubAgentUin: int
|
|
6503
|
+
:param _Name: Name
|
|
6504
|
+
:type Name: str
|
|
6505
|
+
:param _Mobile: Mobile number.
|
|
6506
|
+
:type Mobile: str
|
|
6507
|
+
:param _Email: Specifies the mailbox.
|
|
6508
|
+
:type Email: str
|
|
6509
|
+
:param _ApplyTime: Application time
|
|
6510
|
+
:type ApplyTime: str
|
|
6511
|
+
:param _Status: Approval status
|
|
6512
|
+
|
|
6513
|
+
{Reviewing: pending review}.
|
|
6514
|
+
:type Status: str
|
|
6515
|
+
:param _MaterialUrl: Application material.
|
|
6516
|
+
:type MaterialUrl: str
|
|
6517
|
+
:param _AuthState: Identity verification status -1: file not uploaded 0: pending review 1: under review; 2: review error; 3: approved.
|
|
6518
|
+
:type AuthState: int
|
|
6519
|
+
"""
|
|
6520
|
+
self._SubAgentUin = None
|
|
6521
|
+
self._Name = None
|
|
6522
|
+
self._Mobile = None
|
|
6523
|
+
self._Email = None
|
|
6524
|
+
self._ApplyTime = None
|
|
6525
|
+
self._Status = None
|
|
6526
|
+
self._MaterialUrl = None
|
|
6527
|
+
self._AuthState = None
|
|
6528
|
+
|
|
6529
|
+
@property
|
|
6530
|
+
def SubAgentUin(self):
|
|
6531
|
+
"""Second-level reseller UIN.
|
|
6532
|
+
:rtype: int
|
|
6533
|
+
"""
|
|
6534
|
+
return self._SubAgentUin
|
|
6535
|
+
|
|
6536
|
+
@SubAgentUin.setter
|
|
6537
|
+
def SubAgentUin(self, SubAgentUin):
|
|
6538
|
+
self._SubAgentUin = SubAgentUin
|
|
6539
|
+
|
|
6540
|
+
@property
|
|
6541
|
+
def Name(self):
|
|
6542
|
+
"""Name
|
|
6543
|
+
:rtype: str
|
|
6544
|
+
"""
|
|
6545
|
+
return self._Name
|
|
6546
|
+
|
|
6547
|
+
@Name.setter
|
|
6548
|
+
def Name(self, Name):
|
|
6549
|
+
self._Name = Name
|
|
6550
|
+
|
|
6551
|
+
@property
|
|
6552
|
+
def Mobile(self):
|
|
6553
|
+
"""Mobile number.
|
|
6554
|
+
:rtype: str
|
|
6555
|
+
"""
|
|
6556
|
+
return self._Mobile
|
|
6557
|
+
|
|
6558
|
+
@Mobile.setter
|
|
6559
|
+
def Mobile(self, Mobile):
|
|
6560
|
+
self._Mobile = Mobile
|
|
6561
|
+
|
|
6562
|
+
@property
|
|
6563
|
+
def Email(self):
|
|
6564
|
+
"""Specifies the mailbox.
|
|
6565
|
+
:rtype: str
|
|
6566
|
+
"""
|
|
6567
|
+
return self._Email
|
|
6568
|
+
|
|
6569
|
+
@Email.setter
|
|
6570
|
+
def Email(self, Email):
|
|
6571
|
+
self._Email = Email
|
|
6572
|
+
|
|
6573
|
+
@property
|
|
6574
|
+
def ApplyTime(self):
|
|
6575
|
+
"""Application time
|
|
6576
|
+
:rtype: str
|
|
6577
|
+
"""
|
|
6578
|
+
return self._ApplyTime
|
|
6579
|
+
|
|
6580
|
+
@ApplyTime.setter
|
|
6581
|
+
def ApplyTime(self, ApplyTime):
|
|
6582
|
+
self._ApplyTime = ApplyTime
|
|
6583
|
+
|
|
6584
|
+
@property
|
|
6585
|
+
def Status(self):
|
|
6586
|
+
"""Approval status
|
|
6587
|
+
|
|
6588
|
+
{Reviewing: pending review}.
|
|
6589
|
+
:rtype: str
|
|
6590
|
+
"""
|
|
6591
|
+
return self._Status
|
|
6592
|
+
|
|
6593
|
+
@Status.setter
|
|
6594
|
+
def Status(self, Status):
|
|
6595
|
+
self._Status = Status
|
|
6596
|
+
|
|
6597
|
+
@property
|
|
6598
|
+
def MaterialUrl(self):
|
|
6599
|
+
"""Application material.
|
|
6600
|
+
:rtype: str
|
|
6601
|
+
"""
|
|
6602
|
+
return self._MaterialUrl
|
|
6603
|
+
|
|
6604
|
+
@MaterialUrl.setter
|
|
6605
|
+
def MaterialUrl(self, MaterialUrl):
|
|
6606
|
+
self._MaterialUrl = MaterialUrl
|
|
6607
|
+
|
|
6608
|
+
@property
|
|
6609
|
+
def AuthState(self):
|
|
6610
|
+
"""Identity verification status -1: file not uploaded 0: pending review 1: under review; 2: review error; 3: approved.
|
|
6611
|
+
:rtype: int
|
|
6612
|
+
"""
|
|
6613
|
+
return self._AuthState
|
|
6614
|
+
|
|
6615
|
+
@AuthState.setter
|
|
6616
|
+
def AuthState(self, AuthState):
|
|
6617
|
+
self._AuthState = AuthState
|
|
6618
|
+
|
|
6619
|
+
|
|
6620
|
+
def _deserialize(self, params):
|
|
6621
|
+
self._SubAgentUin = params.get("SubAgentUin")
|
|
6622
|
+
self._Name = params.get("Name")
|
|
6623
|
+
self._Mobile = params.get("Mobile")
|
|
6624
|
+
self._Email = params.get("Email")
|
|
6625
|
+
self._ApplyTime = params.get("ApplyTime")
|
|
6626
|
+
self._Status = params.get("Status")
|
|
6627
|
+
self._MaterialUrl = params.get("MaterialUrl")
|
|
6628
|
+
self._AuthState = params.get("AuthState")
|
|
6629
|
+
memeber_set = set(params.keys())
|
|
6630
|
+
for name, value in vars(self).items():
|
|
6631
|
+
property_name = name[1:]
|
|
6632
|
+
if property_name in memeber_set:
|
|
6633
|
+
memeber_set.remove(property_name)
|
|
6634
|
+
if len(memeber_set) > 0:
|
|
6635
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6636
|
+
|
|
6637
|
+
|
|
6638
|
+
|
|
6248
6639
|
class QueryPolicyProductListByCodeRequest(AbstractModel):
|
|
6249
6640
|
"""QueryPolicyProductListByCode request structure.
|
|
6250
6641
|
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# CAM signature/authentication error.
|
|
18
|
+
AUTHFAILURE = 'AuthFailure'
|
|
19
|
+
|
|
20
|
+
# DryRun operation means the request will be successful, but the DryRun parameter is passed.
|
|
21
|
+
DRYRUNOPERATION = 'DryRunOperation'
|
|
22
|
+
|
|
23
|
+
# Operation failed.
|
|
24
|
+
FAILEDOPERATION = 'FailedOperation'
|
|
25
|
+
|
|
26
|
+
# Internal error.
|
|
27
|
+
INTERNALERROR = 'InternalError'
|
|
28
|
+
|
|
29
|
+
# Invalid Filter
|
|
30
|
+
INVALIDFILTER = 'InvalidFilter'
|
|
31
|
+
|
|
32
|
+
# Parameter error.
|
|
33
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
|
34
|
+
|
|
35
|
+
# Parameter value error.
|
|
36
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
37
|
+
|
|
38
|
+
# The quota limit is exceeded.
|
|
39
|
+
LIMITEXCEEDED = 'LimitExceeded'
|
|
40
|
+
|
|
41
|
+
# Parameters are missing
|
|
42
|
+
MISSINGPARAMETER = 'MissingParameter'
|
|
43
|
+
|
|
44
|
+
# Operation denied.
|
|
45
|
+
OPERATIONDENIED = 'OperationDenied'
|
|
46
|
+
|
|
47
|
+
# Region error.
|
|
48
|
+
REGIONERROR = 'RegionError'
|
|
49
|
+
|
|
50
|
+
# Request limit exceeded.
|
|
51
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
|
52
|
+
|
|
53
|
+
# The resource is occupied.
|
|
54
|
+
RESOURCEINUSE = 'ResourceInUse'
|
|
55
|
+
|
|
56
|
+
# Insufficient resources.
|
|
57
|
+
RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
|
58
|
+
|
|
59
|
+
# The resource does not exist.
|
|
60
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
61
|
+
|
|
62
|
+
# Resources are unavailable.
|
|
63
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
64
|
+
|
|
65
|
+
# Resources are sold out.
|
|
66
|
+
RESOURCESSOLDOUT = 'ResourcesSoldOut'
|
|
67
|
+
|
|
68
|
+
# Unauthorized operation.
|
|
69
|
+
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
70
|
+
|
|
71
|
+
# Unknown parameter error.
|
|
72
|
+
UNKNOWNPARAMETER = 'UnknownParameter'
|
|
73
|
+
|
|
74
|
+
# The operation is not supported.
|
|
75
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|