Skip to content

Commit 338e25a

Browse files
committed
Supported console.
1 parent 2582a5f commit 338e25a

File tree

11 files changed

+198
-0
lines changed

11 files changed

+198
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2021-02-04 Version: 1.0.0
2+
- Supported console.
3+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 1999-present Alibaba Group Holding Ltd.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.rst ChangeLog.txt
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=============================================================
2+
aliyun-python-sdk-safconsole
3+
=============================================================
4+
5+
.. This is the safconsole module of Aliyun Python SDK.
6+
7+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
8+
9+
This module works on Python versions:
10+
11+
2.6.5 and greater
12+
13+
**Documentation:**
14+
15+
Please visit `http://develop.aliyun.com/sdk/python <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.0'

aliyun-python-sdk-safconsole/aliyunsdksafconsole/request/__init__.py

Whitespace-only changes.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 RevokeFeedbackRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'safconsole', '2021-01-12', 'RevokeFeedback','safconsole')
26+
self.set_method('POST')
27+
28+
def get_SampleType(self):
29+
return self.get_body_params().get('SampleType')
30+
31+
def set_SampleType(self,SampleType):
32+
self.add_body_params('SampleType', SampleType)
33+
34+
def get_Value(self):
35+
return self.get_body_params().get('Value')
36+
37+
def set_Value(self,Value):
38+
self.add_body_params('Value', Value)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 SendFeedbackRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'safconsole', '2021-01-12', 'SendFeedback','safconsole')
26+
self.set_method('POST')
27+
28+
def get_RiskLabel(self):
29+
return self.get_query_params().get('RiskLabel')
30+
31+
def set_RiskLabel(self,RiskLabel):
32+
self.add_query_param('RiskLabel',RiskLabel)
33+
34+
def get_SampleType(self):
35+
return self.get_query_params().get('SampleType')
36+
37+
def set_SampleType(self,SampleType):
38+
self.add_query_param('SampleType',SampleType)
39+
40+
def get_Value(self):
41+
return self.get_query_params().get('Value')
42+
43+
def set_Value(self,Value):
44+
self.add_query_param('Value',Value)

aliyun-python-sdk-safconsole/aliyunsdksafconsole/request/v20210112/__init__.py

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[metadata]
2+
license_file = LICENSE
3+
4+
[bdist_wheel]
5+
universal = 1

0 commit comments

Comments
 (0)