Skip to content

Commit a1ca4a3

Browse files
committed
Support Sms Verification for Dypnsapi.
1 parent e8200be commit a1ca4a3

19 files changed

+560
-197
lines changed

aliyun-python-sdk-dypnsapi/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-09-22 Version: 1.1.4
2+
- Support Sms Verification for Dypnsapi.
3+
14
2020-06-18 Version: 1.1.3
25
- Add GetAuthToken OpenAPI.
36

aliyun-python-sdk-dypnsapi/LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 1999-present Alibaba Group Holding Ltd.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.rst ChangeLog.txt
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.3'
1+
__version__ = '1.1.4'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkdypnsapi.endpoint import endpoint_data
22+
23+
class CheckServiceLinkedRoleForDeletingRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'CheckServiceLinkedRoleForDeleting')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_ResourceOwnerId(self): # Long
35+
return self.get_query_params().get('ResourceOwnerId')
36+
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_DeletionTaskId(self): # String
40+
return self.get_query_params().get('DeletionTaskId')
41+
42+
def set_DeletionTaskId(self, DeletionTaskId): # String
43+
self.add_query_param('DeletionTaskId', DeletionTaskId)
44+
def get_AccountId(self): # String
45+
return self.get_query_params().get('AccountId')
46+
47+
def set_AccountId(self, AccountId): # String
48+
self.add_query_param('AccountId', AccountId)
49+
def get_ServiceName(self): # String
50+
return self.get_query_params().get('ServiceName')
51+
52+
def set_ServiceName(self, ServiceName): # String
53+
self.add_query_param('ServiceName', ServiceName)
54+
def get_ResourceOwnerAccount(self): # String
55+
return self.get_query_params().get('ResourceOwnerAccount')
56+
57+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
58+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
59+
def get_OwnerId(self): # Long
60+
return self.get_query_params().get('OwnerId')
61+
62+
def set_OwnerId(self, OwnerId): # Long
63+
self.add_query_param('OwnerId', OwnerId)
64+
def get_SPIRegionId(self): # String
65+
return self.get_query_params().get('SPIRegionId')
66+
67+
def set_SPIRegionId(self, SPIRegionId): # String
68+
self.add_query_param('SPIRegionId', SPIRegionId)
69+
def get_RoleArn(self): # String
70+
return self.get_query_params().get('RoleArn')
71+
72+
def set_RoleArn(self, RoleArn): # String
73+
self.add_query_param('RoleArn', RoleArn)

aliyun-python-sdk-dypnsapi/aliyunsdkdypnsapi/request/v20170525/CreateVerifySchemeRequest.py

Lines changed: 30 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -23,64 +23,56 @@
2323
class CreateVerifySchemeRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'CreateVerifyScheme','dypns')
27-
self.set_method('POST')
26+
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'CreateVerifyScheme')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_BundleId(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_BundleId(self): # String
4140
return self.get_query_params().get('BundleId')
4241

43-
def set_BundleId(self,BundleId):
44-
self.add_query_param('BundleId',BundleId)
45-
46-
def get_AppName(self):
42+
def set_BundleId(self, BundleId): # String
43+
self.add_query_param('BundleId', BundleId)
44+
def get_AppName(self): # String
4745
return self.get_query_params().get('AppName')
4846

49-
def set_AppName(self,AppName):
50-
self.add_query_param('AppName',AppName)
51-
52-
def get_PackSign(self):
47+
def set_AppName(self, AppName): # String
48+
self.add_query_param('AppName', AppName)
49+
def get_PackSign(self): # String
5350
return self.get_query_params().get('PackSign')
5451

55-
def set_PackSign(self,PackSign):
56-
self.add_query_param('PackSign',PackSign)
57-
58-
def get_PackName(self):
52+
def set_PackSign(self, PackSign): # String
53+
self.add_query_param('PackSign', PackSign)
54+
def get_PackName(self): # String
5955
return self.get_query_params().get('PackName')
6056

61-
def set_PackName(self,PackName):
62-
self.add_query_param('PackName',PackName)
63-
64-
def get_ResourceOwnerAccount(self):
57+
def set_PackName(self, PackName): # String
58+
self.add_query_param('PackName', PackName)
59+
def get_ResourceOwnerAccount(self): # String
6560
return self.get_query_params().get('ResourceOwnerAccount')
6661

67-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
68-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
69-
70-
def get_OsType(self):
62+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
63+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
64+
def get_OsType(self): # String
7165
return self.get_query_params().get('OsType')
7266

73-
def set_OsType(self,OsType):
74-
self.add_query_param('OsType',OsType)
75-
76-
def get_OwnerId(self):
67+
def set_OsType(self, OsType): # String
68+
self.add_query_param('OsType', OsType)
69+
def get_OwnerId(self): # Long
7770
return self.get_query_params().get('OwnerId')
7871

79-
def set_OwnerId(self,OwnerId):
80-
self.add_query_param('OwnerId',OwnerId)
81-
82-
def get_SchemeName(self):
72+
def set_OwnerId(self, OwnerId): # Long
73+
self.add_query_param('OwnerId', OwnerId)
74+
def get_SchemeName(self): # String
8375
return self.get_query_params().get('SchemeName')
8476

85-
def set_SchemeName(self,SchemeName):
86-
self.add_query_param('SchemeName',SchemeName)
77+
def set_SchemeName(self, SchemeName): # String
78+
self.add_query_param('SchemeName', SchemeName)

aliyun-python-sdk-dypnsapi/aliyunsdkdypnsapi/request/v20170525/DeleteVerifySchemeRequest.py

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,36 @@
2323
class DeleteVerifySchemeRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'DeleteVerifyScheme','dypns')
27-
self.set_method('POST')
26+
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'DeleteVerifyScheme')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_ResourceOwnerAccount(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ResourceOwnerAccount(self): # String
4140
return self.get_query_params().get('ResourceOwnerAccount')
4241

43-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
44-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
45-
46-
def get_OwnerId(self):
42+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
43+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
44+
def get_OwnerId(self): # Long
4745
return self.get_query_params().get('OwnerId')
4846

49-
def set_OwnerId(self,OwnerId):
50-
self.add_query_param('OwnerId',OwnerId)
51-
52-
def get_SchemeCode(self):
47+
def set_OwnerId(self, OwnerId): # Long
48+
self.add_query_param('OwnerId', OwnerId)
49+
def get_SchemeCode(self): # String
5350
return self.get_query_params().get('SchemeCode')
5451

55-
def set_SchemeCode(self,SchemeCode):
56-
self.add_query_param('SchemeCode',SchemeCode)
57-
58-
def get_CustomerId(self):
52+
def set_SchemeCode(self, SchemeCode): # String
53+
self.add_query_param('SchemeCode', SchemeCode)
54+
def get_CustomerId(self): # Long
5955
return self.get_query_params().get('CustomerId')
6056

61-
def set_CustomerId(self,CustomerId):
62-
self.add_query_param('CustomerId',CustomerId)
57+
def set_CustomerId(self, CustomerId): # Long
58+
self.add_query_param('CustomerId', CustomerId)

aliyun-python-sdk-dypnsapi/aliyunsdkdypnsapi/request/v20170525/DescribeVerifySchemeRequest.py

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,36 @@
2323
class DescribeVerifySchemeRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'DescribeVerifyScheme','dypns')
27-
self.set_method('POST')
26+
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'DescribeVerifyScheme')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_ResourceOwnerAccount(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ResourceOwnerAccount(self): # String
4140
return self.get_query_params().get('ResourceOwnerAccount')
4241

43-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
44-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
45-
46-
def get_OwnerId(self):
42+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
43+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
44+
def get_OwnerId(self): # Long
4745
return self.get_query_params().get('OwnerId')
4846

49-
def set_OwnerId(self,OwnerId):
50-
self.add_query_param('OwnerId',OwnerId)
51-
52-
def get_SchemeCode(self):
47+
def set_OwnerId(self, OwnerId): # Long
48+
self.add_query_param('OwnerId', OwnerId)
49+
def get_SchemeCode(self): # String
5350
return self.get_query_params().get('SchemeCode')
5451

55-
def set_SchemeCode(self,SchemeCode):
56-
self.add_query_param('SchemeCode',SchemeCode)
57-
58-
def get_CustomerId(self):
52+
def set_SchemeCode(self, SchemeCode): # String
53+
self.add_query_param('SchemeCode', SchemeCode)
54+
def get_CustomerId(self): # Long
5955
return self.get_query_params().get('CustomerId')
6056

61-
def set_CustomerId(self,CustomerId):
62-
self.add_query_param('CustomerId',CustomerId)
57+
def set_CustomerId(self, CustomerId): # Long
58+
self.add_query_param('CustomerId', CustomerId)

aliyun-python-sdk-dypnsapi/aliyunsdkdypnsapi/request/v20170525/GetAuthTokenRequest.py

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,36 @@
2323
class GetAuthTokenRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'GetAuthToken','dypns')
27-
self.set_method('POST')
26+
RpcRequest.__init__(self, 'Dypnsapi', '2017-05-25', 'GetAuthToken')
27+
self.set_method('POST')
28+
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
3132
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3233

33-
34-
def get_ResourceOwnerId(self):
34+
def get_ResourceOwnerId(self): # Long
3535
return self.get_query_params().get('ResourceOwnerId')
3636

37-
def set_ResourceOwnerId(self,ResourceOwnerId):
38-
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
39-
40-
def get_ResourceOwnerAccount(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ResourceOwnerAccount(self): # String
4140
return self.get_query_params().get('ResourceOwnerAccount')
4241

43-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
44-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
45-
46-
def get_Origin(self):
42+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
43+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
44+
def get_Origin(self): # String
4745
return self.get_query_params().get('Origin')
4846

49-
def set_Origin(self,Origin):
50-
self.add_query_param('Origin',Origin)
51-
52-
def get_OwnerId(self):
47+
def set_Origin(self, Origin): # String
48+
self.add_query_param('Origin', Origin)
49+
def get_OwnerId(self): # Long
5350
return self.get_query_params().get('OwnerId')
5451

55-
def set_OwnerId(self,OwnerId):
56-
self.add_query_param('OwnerId',OwnerId)
57-
58-
def get_Url(self):
52+
def set_OwnerId(self, OwnerId): # Long
53+
self.add_query_param('OwnerId', OwnerId)
54+
def get_Url(self): # String
5955
return self.get_query_params().get('Url')
6056

61-
def set_Url(self,Url):
62-
self.add_query_param('Url',Url)
57+
def set_Url(self, Url): # String
58+
self.add_query_param('Url', Url)

0 commit comments

Comments
 (0)