|
| 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 | + |
| 22 | +class DescribeAvailabilityZonesRequest(RpcRequest): |
| 23 | + |
| 24 | + def __init__(self): |
| 25 | + RpcRequest.__init__(self, 'Dds', '2015-12-01', 'DescribeAvailabilityZones','dds') |
| 26 | + self.set_method('POST') |
| 27 | + |
| 28 | + def get_ResourceOwnerId(self): # Long |
| 29 | + return self.get_query_params().get('ResourceOwnerId') |
| 30 | + |
| 31 | + def set_ResourceOwnerId(self, ResourceOwnerId): # Long |
| 32 | + self.add_query_param('ResourceOwnerId', ResourceOwnerId) |
| 33 | + def get_StorageType(self): # String |
| 34 | + return self.get_query_params().get('StorageType') |
| 35 | + |
| 36 | + def set_StorageType(self, StorageType): # String |
| 37 | + self.add_query_param('StorageType', StorageType) |
| 38 | + def get_ResourceGroupId(self): # String |
| 39 | + return self.get_query_params().get('ResourceGroupId') |
| 40 | + |
| 41 | + def set_ResourceGroupId(self, ResourceGroupId): # String |
| 42 | + self.add_query_param('ResourceGroupId', ResourceGroupId) |
| 43 | + def get_SecurityToken(self): # String |
| 44 | + return self.get_query_params().get('SecurityToken') |
| 45 | + |
| 46 | + def set_SecurityToken(self, SecurityToken): # String |
| 47 | + self.add_query_param('SecurityToken', SecurityToken) |
| 48 | + def get_ExcludeZoneId(self): # String |
| 49 | + return self.get_query_params().get('ExcludeZoneId') |
| 50 | + |
| 51 | + def set_ExcludeZoneId(self, ExcludeZoneId): # String |
| 52 | + self.add_query_param('ExcludeZoneId', ExcludeZoneId) |
| 53 | + def get_ExcludeSecondaryZoneId(self): # String |
| 54 | + return self.get_query_params().get('ExcludeSecondaryZoneId') |
| 55 | + |
| 56 | + def set_ExcludeSecondaryZoneId(self, ExcludeSecondaryZoneId): # String |
| 57 | + self.add_query_param('ExcludeSecondaryZoneId', ExcludeSecondaryZoneId) |
| 58 | + def get_InstanceChargeType(self): # String |
| 59 | + return self.get_query_params().get('InstanceChargeType') |
| 60 | + |
| 61 | + def set_InstanceChargeType(self, InstanceChargeType): # String |
| 62 | + self.add_query_param('InstanceChargeType', InstanceChargeType) |
| 63 | + def get_ResourceOwnerAccount(self): # String |
| 64 | + return self.get_query_params().get('ResourceOwnerAccount') |
| 65 | + |
| 66 | + def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String |
| 67 | + self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) |
| 68 | + def get_OwnerAccount(self): # String |
| 69 | + return self.get_query_params().get('OwnerAccount') |
| 70 | + |
| 71 | + def set_OwnerAccount(self, OwnerAccount): # String |
| 72 | + self.add_query_param('OwnerAccount', OwnerAccount) |
| 73 | + def get_MongoType(self): # String |
| 74 | + return self.get_query_params().get('MongoType') |
| 75 | + |
| 76 | + def set_MongoType(self, MongoType): # String |
| 77 | + self.add_query_param('MongoType', MongoType) |
| 78 | + def get_OwnerId(self): # Long |
| 79 | + return self.get_query_params().get('OwnerId') |
| 80 | + |
| 81 | + def set_OwnerId(self, OwnerId): # Long |
| 82 | + self.add_query_param('OwnerId', OwnerId) |
| 83 | + def get_StorageSupport(self): # String |
| 84 | + return self.get_query_params().get('StorageSupport') |
| 85 | + |
| 86 | + def set_StorageSupport(self, StorageSupport): # String |
| 87 | + self.add_query_param('StorageSupport', StorageSupport) |
| 88 | + def get_DbType(self): # String |
| 89 | + return self.get_query_params().get('DbType') |
| 90 | + |
| 91 | + def set_DbType(self, DbType): # String |
| 92 | + self.add_query_param('DbType', DbType) |
| 93 | + def get_AcceptLanguage(self): # String |
| 94 | + return self.get_query_params().get('AcceptLanguage') |
| 95 | + |
| 96 | + def set_AcceptLanguage(self, AcceptLanguage): # String |
| 97 | + self.add_query_param('AcceptLanguage', AcceptLanguage) |
| 98 | + def get_ZoneId(self): # String |
| 99 | + return self.get_query_params().get('ZoneId') |
| 100 | + |
| 101 | + def set_ZoneId(self, ZoneId): # String |
| 102 | + self.add_query_param('ZoneId', ZoneId) |
0 commit comments