Skip to content

Commit 963d80b

Browse files
committed
Openapi support querydisplay.
1 parent 8aae13a commit 963d80b

File tree

63 files changed

+1157
-1353
lines changed

Some content is hidden

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

63 files changed

+1157
-1353
lines changed

aliyun-python-sdk-gpdb/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-12-21 Version: 1.1.2
2+
- Openapi support querydisplay.
3+
14
2021-11-25 Version: 1.1.1
25
- Support encryption cloud disk sdk.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.1'
1+
__version__ = '1.1.2'

aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/AddBuDBInstanceRelationRequest.py

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,26 @@
2323
class AddBuDBInstanceRelationRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'AddBuDBInstanceRelation','gpdb')
27-
self.set_method('POST')
26+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'AddBuDBInstanceRelation')
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_DBInstanceId(self):
34+
def get_DBInstanceId(self): # String
3535
return self.get_query_params().get('DBInstanceId')
3636

37-
def set_DBInstanceId(self,DBInstanceId):
38-
self.add_query_param('DBInstanceId',DBInstanceId)
39-
40-
def get_OwnerId(self):
37+
def set_DBInstanceId(self, DBInstanceId): # String
38+
self.add_query_param('DBInstanceId', DBInstanceId)
39+
def get_OwnerId(self): # Long
4140
return self.get_query_params().get('OwnerId')
4241

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

49-
def set_BusinessUnit(self,BusinessUnit):
50-
self.add_query_param('BusinessUnit',BusinessUnit)
47+
def set_BusinessUnit(self, BusinessUnit): # String
48+
self.add_query_param('BusinessUnit', BusinessUnit)

aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/AllocateInstancePublicConnectionRequest.py

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,52 +23,46 @@
2323
class AllocateInstancePublicConnectionRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'AllocateInstancePublicConnection','gpdb')
27-
self.set_method('POST')
26+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'AllocateInstancePublicConnection')
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_ConnectionStringPrefix(self):
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ConnectionStringPrefix(self): # String
4140
return self.get_query_params().get('ConnectionStringPrefix')
4241

43-
def set_ConnectionStringPrefix(self,ConnectionStringPrefix):
44-
self.add_query_param('ConnectionStringPrefix',ConnectionStringPrefix)
45-
46-
def get_AddressType(self):
42+
def set_ConnectionStringPrefix(self, ConnectionStringPrefix): # String
43+
self.add_query_param('ConnectionStringPrefix', ConnectionStringPrefix)
44+
def get_AddressType(self): # String
4745
return self.get_query_params().get('AddressType')
4846

49-
def set_AddressType(self,AddressType):
50-
self.add_query_param('AddressType',AddressType)
51-
52-
def get_DBInstanceId(self):
47+
def set_AddressType(self, AddressType): # String
48+
self.add_query_param('AddressType', AddressType)
49+
def get_DBInstanceId(self): # String
5350
return self.get_query_params().get('DBInstanceId')
5451

55-
def set_DBInstanceId(self,DBInstanceId):
56-
self.add_query_param('DBInstanceId',DBInstanceId)
57-
58-
def get_ResourceOwnerAccount(self):
52+
def set_DBInstanceId(self, DBInstanceId): # String
53+
self.add_query_param('DBInstanceId', DBInstanceId)
54+
def get_ResourceOwnerAccount(self): # String
5955
return self.get_query_params().get('ResourceOwnerAccount')
6056

61-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
62-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
63-
64-
def get_OwnerId(self):
57+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
58+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
59+
def get_OwnerId(self): # Long
6560
return self.get_query_params().get('OwnerId')
6661

67-
def set_OwnerId(self,OwnerId):
68-
self.add_query_param('OwnerId',OwnerId)
69-
70-
def get_Port(self):
62+
def set_OwnerId(self, OwnerId): # Long
63+
self.add_query_param('OwnerId', OwnerId)
64+
def get_Port(self): # String
7165
return self.get_query_params().get('Port')
7266

73-
def set_Port(self,Port):
74-
self.add_query_param('Port',Port)
67+
def set_Port(self, Port): # String
68+
self.add_query_param('Port', Port)

aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/CheckServiceLinkedRoleRequest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@
2323
class CheckServiceLinkedRoleRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'CheckServiceLinkedRole','gpdb')
27-
self.set_method('POST')
26+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'CheckServiceLinkedRole')
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())
33+

aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/CreateAccountRequest.py

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,46 +23,41 @@
2323
class CreateAccountRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'CreateAccount','gpdb')
27-
self.set_method('POST')
26+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'CreateAccount')
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_AccountDescription(self):
34+
def get_AccountDescription(self): # String
3535
return self.get_query_params().get('AccountDescription')
3636

37-
def set_AccountDescription(self,AccountDescription):
38-
self.add_query_param('AccountDescription',AccountDescription)
39-
40-
def get_AccountName(self):
37+
def set_AccountDescription(self, AccountDescription): # String
38+
self.add_query_param('AccountDescription', AccountDescription)
39+
def get_AccountName(self): # String
4140
return self.get_query_params().get('AccountName')
4241

43-
def set_AccountName(self,AccountName):
44-
self.add_query_param('AccountName',AccountName)
45-
46-
def get_DBInstanceId(self):
42+
def set_AccountName(self, AccountName): # String
43+
self.add_query_param('AccountName', AccountName)
44+
def get_DBInstanceId(self): # String
4745
return self.get_query_params().get('DBInstanceId')
4846

49-
def set_DBInstanceId(self,DBInstanceId):
50-
self.add_query_param('DBInstanceId',DBInstanceId)
51-
52-
def get_OwnerId(self):
47+
def set_DBInstanceId(self, DBInstanceId): # String
48+
self.add_query_param('DBInstanceId', DBInstanceId)
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_AccountPassword(self):
52+
def set_OwnerId(self, OwnerId): # Long
53+
self.add_query_param('OwnerId', OwnerId)
54+
def get_AccountPassword(self): # String
5955
return self.get_query_params().get('AccountPassword')
6056

61-
def set_AccountPassword(self,AccountPassword):
62-
self.add_query_param('AccountPassword',AccountPassword)
63-
64-
def get_DatabaseName(self):
57+
def set_AccountPassword(self, AccountPassword): # String
58+
self.add_query_param('AccountPassword', AccountPassword)
59+
def get_DatabaseName(self): # String
6560
return self.get_query_params().get('DatabaseName')
6661

67-
def set_DatabaseName(self,DatabaseName):
68-
self.add_query_param('DatabaseName',DatabaseName)
62+
def set_DatabaseName(self, DatabaseName): # String
63+
self.add_query_param('DatabaseName', DatabaseName)

0 commit comments

Comments
 (0)