forked from aliyun/aliyun-openapi-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
127 changed files
with
2,740 additions
and
1,488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "2.0.7" | ||
__version__ = '3.0.0' |
60 changes: 60 additions & 0 deletions
60
aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/ActivateInstanceRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
class ActivateInstanceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'ActivateInstance','kvstore') | ||
|
||
def get_ResourceOwnerId(self): | ||
return self.get_query_params().get('ResourceOwnerId') | ||
|
||
def set_ResourceOwnerId(self,ResourceOwnerId): | ||
self.add_query_param('ResourceOwnerId',ResourceOwnerId) | ||
|
||
def get_SecurityToken(self): | ||
return self.get_query_params().get('SecurityToken') | ||
|
||
def set_SecurityToken(self,SecurityToken): | ||
self.add_query_param('SecurityToken',SecurityToken) | ||
|
||
def get_ResourceOwnerAccount(self): | ||
return self.get_query_params().get('ResourceOwnerAccount') | ||
|
||
def set_ResourceOwnerAccount(self,ResourceOwnerAccount): | ||
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount) | ||
|
||
def get_OwnerAccount(self): | ||
return self.get_query_params().get('OwnerAccount') | ||
|
||
def set_OwnerAccount(self,OwnerAccount): | ||
self.add_query_param('OwnerAccount',OwnerAccount) | ||
|
||
def get_OwnerId(self): | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self,OwnerId): | ||
self.add_query_param('OwnerId',OwnerId) | ||
|
||
def get_InstanceId(self): | ||
return self.get_query_params().get('InstanceId') | ||
|
||
def set_InstanceId(self,InstanceId): | ||
self.add_query_param('InstanceId',InstanceId) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 108 additions & 0 deletions
108
...python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/AppendReplicaInstanceRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
class AppendReplicaInstanceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'AppendReplicaInstance','kvstore') | ||
|
||
def get_ResourceOwnerId(self): | ||
return self.get_query_params().get('ResourceOwnerId') | ||
|
||
def set_ResourceOwnerId(self,ResourceOwnerId): | ||
self.add_query_param('ResourceOwnerId',ResourceOwnerId) | ||
|
||
def get_ClientToken(self): | ||
return self.get_query_params().get('ClientToken') | ||
|
||
def set_ClientToken(self,ClientToken): | ||
self.add_query_param('ClientToken',ClientToken) | ||
|
||
def get_NetworkType(self): | ||
return self.get_query_params().get('NetworkType') | ||
|
||
def set_NetworkType(self,NetworkType): | ||
self.add_query_param('NetworkType',NetworkType) | ||
|
||
def get_SecurityToken(self): | ||
return self.get_query_params().get('SecurityToken') | ||
|
||
def set_SecurityToken(self,SecurityToken): | ||
self.add_query_param('SecurityToken',SecurityToken) | ||
|
||
def get_ReplicaId(self): | ||
return self.get_query_params().get('ReplicaId') | ||
|
||
def set_ReplicaId(self,ReplicaId): | ||
self.add_query_param('ReplicaId',ReplicaId) | ||
|
||
def get_Period(self): | ||
return self.get_query_params().get('Period') | ||
|
||
def set_Period(self,Period): | ||
self.add_query_param('Period',Period) | ||
|
||
def get_ResourceOwnerAccount(self): | ||
return self.get_query_params().get('ResourceOwnerAccount') | ||
|
||
def set_ResourceOwnerAccount(self,ResourceOwnerAccount): | ||
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount) | ||
|
||
def get_OwnerAccount(self): | ||
return self.get_query_params().get('OwnerAccount') | ||
|
||
def set_OwnerAccount(self,OwnerAccount): | ||
self.add_query_param('OwnerAccount',OwnerAccount) | ||
|
||
def get_OwnerId(self): | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self,OwnerId): | ||
self.add_query_param('OwnerId',OwnerId) | ||
|
||
def get_VSwitchId(self): | ||
return self.get_query_params().get('VSwitchId') | ||
|
||
def set_VSwitchId(self,VSwitchId): | ||
self.add_query_param('VSwitchId',VSwitchId) | ||
|
||
def get_InstanceName(self): | ||
return self.get_query_params().get('InstanceName') | ||
|
||
def set_InstanceName(self,InstanceName): | ||
self.add_query_param('InstanceName',InstanceName) | ||
|
||
def get_VpcId(self): | ||
return self.get_query_params().get('VpcId') | ||
|
||
def set_VpcId(self,VpcId): | ||
self.add_query_param('VpcId',VpcId) | ||
|
||
def get_ZoneId(self): | ||
return self.get_query_params().get('ZoneId') | ||
|
||
def set_ZoneId(self,ZoneId): | ||
self.add_query_param('ZoneId',ZoneId) | ||
|
||
def get_ChargeType(self): | ||
return self.get_query_params().get('ChargeType') | ||
|
||
def set_ChargeType(self,ChargeType): | ||
self.add_query_param('ChargeType',ChargeType) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.