Skip to content

Commit 95f3b0d

Browse files
committed
由吴玲发起的CLOUDAPI SDK自动发布, BUILD_ID=227, 版本号:4.3.0
发布日志: 1, Add Apigateway SDK for Python.
1 parent ee0d571 commit 95f3b0d

File tree

97 files changed

+4157
-0
lines changed

Some content is hidden

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

97 files changed

+4157
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2017-12-27 Version: 4.3.0
2+
1, Add Apigateway SDK for Python.
3+
4+

aliyun-python-sdk-cloudapi/MANIFEST.in

Whitespace-only changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
aliyun-python-sdk-cloudapi
2+
This is the cloudapi module of Aliyun Python SDK.
3+
4+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
5+
6+
This module works on Python versions:
7+
8+
2.6.5 and greater
9+
Documentation:
10+
11+
Please visit http://develop.aliyun.com/sdk/python
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "4.3.0"

aliyun-python-sdk-cloudapi/aliyunsdkcloudapi/request/__init__.py

Whitespace-only changes.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class AbolishApiRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'CloudAPI', '2016-07-14', 'AbolishApi','apigateway')
25+
26+
def get_StageName(self):
27+
return self.get_query_params().get('StageName')
28+
29+
def set_StageName(self,StageName):
30+
self.add_query_param('StageName',StageName)
31+
32+
def get_GroupId(self):
33+
return self.get_query_params().get('GroupId')
34+
35+
def set_GroupId(self,GroupId):
36+
self.add_query_param('GroupId',GroupId)
37+
38+
def get_ApiId(self):
39+
return self.get_query_params().get('ApiId')
40+
41+
def set_ApiId(self,ApiId):
42+
self.add_query_param('ApiId',ApiId)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class AddCatalogRelationRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'CloudAPI', '2016-07-14', 'AddCatalogRelation','apigateway')
25+
26+
def get_CatalogId(self):
27+
return self.get_query_params().get('CatalogId')
28+
29+
def set_CatalogId(self,CatalogId):
30+
self.add_query_param('CatalogId',CatalogId)
31+
32+
def get_ApiId(self):
33+
return self.get_query_params().get('ApiId')
34+
35+
def set_ApiId(self,ApiId):
36+
self.add_query_param('ApiId',ApiId)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class AddCatalogRelationsRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'CloudAPI', '2016-07-14', 'AddCatalogRelations','apigateway')
25+
26+
def get_CatalogId(self):
27+
return self.get_query_params().get('CatalogId')
28+
29+
def set_CatalogId(self,CatalogId):
30+
self.add_query_param('CatalogId',CatalogId)
31+
32+
def get_ApiIds(self):
33+
return self.get_query_params().get('ApiIds')
34+
35+
def set_ApiIds(self,ApiIds):
36+
self.add_query_param('ApiIds',ApiIds)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class AddTrafficSpecialControlRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'CloudAPI', '2016-07-14', 'AddTrafficSpecialControl','apigateway')
25+
26+
def get_TrafficControlId(self):
27+
return self.get_query_params().get('TrafficControlId')
28+
29+
def set_TrafficControlId(self,TrafficControlId):
30+
self.add_query_param('TrafficControlId',TrafficControlId)
31+
32+
def get_SpecialKey(self):
33+
return self.get_query_params().get('SpecialKey')
34+
35+
def set_SpecialKey(self,SpecialKey):
36+
self.add_query_param('SpecialKey',SpecialKey)
37+
38+
def get_TrafficValue(self):
39+
return self.get_query_params().get('TrafficValue')
40+
41+
def set_TrafficValue(self,TrafficValue):
42+
self.add_query_param('TrafficValue',TrafficValue)
43+
44+
def get_SpecialType(self):
45+
return self.get_query_params().get('SpecialType')
46+
47+
def set_SpecialType(self,SpecialType):
48+
self.add_query_param('SpecialType',SpecialType)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class ClearCatalogRelationsRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'CloudAPI', '2016-07-14', 'ClearCatalogRelations','apigateway')
25+
26+
def get_CatalogId(self):
27+
return self.get_query_params().get('CatalogId')
28+
29+
def set_CatalogId(self,CatalogId):
30+
self.add_query_param('CatalogId',CatalogId)

0 commit comments

Comments
 (0)