Skip to content

Commit 0456791

Browse files
committed
OPENANALYTICS SDK Auto Released By shenshi,Version:1.0.1
发布日志: 1, Update Dependency
1 parent 99140e7 commit 0456791

16 files changed

+441
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2019-03-15 Version: 1.0.1
2+
1, Update Dependency
3+

aliyun-python-sdk-openanalytics/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-openanalytics
2+
This is the openanalytics 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__ = "1.0.1"

aliyun-python-sdk-openanalytics/aliyunsdkopenanalytics/request/__init__.py

Whitespace-only changes.
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 CloseProductAccountRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'openanalytics', '2018-03-01', 'CloseProductAccount','openanalytics')
25+
26+
def get_ProductCode(self):
27+
return self.get_body_params().get('ProductCode')
28+
29+
def set_ProductCode(self,ProductCode):
30+
self.add_body_params('ProductCode', ProductCode)
31+
32+
def get_ProductAccessKey(self):
33+
return self.get_body_params().get('ProductAccessKey')
34+
35+
def set_ProductAccessKey(self,ProductAccessKey):
36+
self.add_body_params('ProductAccessKey', ProductAccessKey)
37+
38+
def get_TargetUid(self):
39+
return self.get_body_params().get('TargetUid')
40+
41+
def set_TargetUid(self,TargetUid):
42+
self.add_body_params('TargetUid', TargetUid)
43+
44+
def get_TargetArnRole(self):
45+
return self.get_body_params().get('TargetArnRole')
46+
47+
def set_TargetArnRole(self,TargetArnRole):
48+
self.add_body_params('TargetArnRole', TargetArnRole)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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 DescribeRegionListRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'openanalytics', '2018-03-01', 'DescribeRegionList','openanalytics')
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 GetAllowIPRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'openanalytics', '2018-03-01', 'GetAllowIP','openanalytics')
25+
26+
def get_UserID(self):
27+
return self.get_body_params().get('UserID')
28+
29+
def set_UserID(self,UserID):
30+
self.add_body_params('UserID', UserID)
31+
32+
def get_NetworkType(self):
33+
return self.get_body_params().get('NetworkType')
34+
35+
def set_NetworkType(self,NetworkType):
36+
self.add_body_params('NetworkType', NetworkType)
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 GetEndPointByDomainRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'openanalytics', '2018-03-01', 'GetEndPointByDomain','openanalytics')
25+
26+
def get_UserID(self):
27+
return self.get_body_params().get('UserID')
28+
29+
def set_UserID(self,UserID):
30+
self.add_body_params('UserID', UserID)
31+
32+
def get_DomainURL(self):
33+
return self.get_body_params().get('DomainURL')
34+
35+
def set_DomainURL(self,DomainURL):
36+
self.add_body_params('DomainURL', DomainURL)
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 GetProductStatusRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'openanalytics', '2018-03-01', 'GetProductStatus','openanalytics')
25+
26+
def get_ProductCode(self):
27+
return self.get_body_params().get('ProductCode')
28+
29+
def set_ProductCode(self,ProductCode):
30+
self.add_body_params('ProductCode', ProductCode)
31+
32+
def get_ProductAccessKey(self):
33+
return self.get_body_params().get('ProductAccessKey')
34+
35+
def set_ProductAccessKey(self,ProductAccessKey):
36+
self.add_body_params('ProductAccessKey', ProductAccessKey)
37+
38+
def get_TargetUid(self):
39+
return self.get_body_params().get('TargetUid')
40+
41+
def set_TargetUid(self,TargetUid):
42+
self.add_body_params('TargetUid', TargetUid)
43+
44+
def get_TargetArnRole(self):
45+
return self.get_body_params().get('TargetArnRole')
46+
47+
def set_TargetArnRole(self,TargetArnRole):
48+
self.add_body_params('TargetArnRole', TargetArnRole)

0 commit comments

Comments
 (0)