Skip to content

Commit 951c9a3

Browse files
committed
Add Network Assistant openapi sdk
1 parent e83f9ea commit 951c9a3

18 files changed

+951
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2019-06-13 Version: 1.0.0
2+
Add Network Assistant openapi sdk
3+

aliyun-python-sdk-netana/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-netana
2+
This is the netana 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.0'

aliyun-python-sdk-netana/aliyunsdknetana/request/__init__.py

Whitespace-only changes.
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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 CreateNetworkDiagnosticRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Netana', '2018-10-18', 'CreateNetworkDiagnostic','Netana')
25+
26+
def get_ResourceOwnerId(self):
27+
return self.get_query_params().get('ResourceOwnerId')
28+
29+
def set_ResourceOwnerId(self,ResourceOwnerId):
30+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
31+
32+
def get_RequestParams(self):
33+
return self.get_query_params().get('RequestParams')
34+
35+
def set_RequestParams(self,RequestParams):
36+
self.add_query_param('RequestParams',RequestParams)
37+
38+
def get_InstanceId(self):
39+
return self.get_query_params().get('InstanceId')
40+
41+
def set_InstanceId(self,InstanceId):
42+
self.add_query_param('InstanceId',InstanceId)
43+
44+
def get_ResourceOwnerAccount(self):
45+
return self.get_query_params().get('ResourceOwnerAccount')
46+
47+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
48+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
49+
50+
def get_UserRequestId(self):
51+
return self.get_query_params().get('UserRequestId')
52+
53+
def set_UserRequestId(self,UserRequestId):
54+
self.add_query_param('UserRequestId',UserRequestId)
55+
56+
def get_Type(self):
57+
return self.get_query_params().get('Type')
58+
59+
def set_Type(self,Type):
60+
self.add_query_param('Type',Type)
61+
62+
def get_RequestApiName(self):
63+
return self.get_query_params().get('RequestApiName')
64+
65+
def set_RequestApiName(self,RequestApiName):
66+
self.add_query_param('RequestApiName',RequestApiName)
67+
68+
def get_ErrorCode(self):
69+
return self.get_query_params().get('ErrorCode')
70+
71+
def set_ErrorCode(self,ErrorCode):
72+
self.add_query_param('ErrorCode',ErrorCode)
73+
74+
def get_ProductType(self):
75+
return self.get_query_params().get('ProductType')
76+
77+
def set_ProductType(self,ProductType):
78+
self.add_query_param('ProductType',ProductType)
79+
80+
def get_ResponseParams(self):
81+
return self.get_query_params().get('ResponseParams')
82+
83+
def set_ResponseParams(self,ResponseParams):
84+
self.add_query_param('ResponseParams',ResponseParams)
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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 CreateNetworkQuotaRequestRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Netana', '2018-10-18', 'CreateNetworkQuotaRequest','Netana')
25+
26+
def get_RequestReason(self):
27+
return self.get_query_params().get('RequestReason')
28+
29+
def set_RequestReason(self,RequestReason):
30+
self.add_query_param('RequestReason',RequestReason)
31+
32+
def get_ResourceOwnerId(self):
33+
return self.get_query_params().get('ResourceOwnerId')
34+
35+
def set_ResourceOwnerId(self,ResourceOwnerId):
36+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
37+
38+
def get_Product(self):
39+
return self.get_query_params().get('Product')
40+
41+
def set_Product(self,Product):
42+
self.add_query_param('Product',Product)
43+
44+
def get_QuotaPublicityName(self):
45+
return self.get_query_params().get('QuotaPublicityName')
46+
47+
def set_QuotaPublicityName(self,QuotaPublicityName):
48+
self.add_query_param('QuotaPublicityName',QuotaPublicityName)
49+
50+
def get_ResourceOwnerAccount(self):
51+
return self.get_query_params().get('ResourceOwnerAccount')
52+
53+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
54+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
55+
56+
def get_RequestQuantity(self):
57+
return self.get_query_params().get('RequestQuantity')
58+
59+
def set_RequestQuantity(self,RequestQuantity):
60+
self.add_query_param('RequestQuantity',RequestQuantity)
61+
62+
def get_MobilePhone(self):
63+
return self.get_query_params().get('MobilePhone')
64+
65+
def set_MobilePhone(self,MobilePhone):
66+
self.add_query_param('MobilePhone',MobilePhone)
67+
68+
def get_ResourceType(self):
69+
return self.get_query_params().get('ResourceType')
70+
71+
def set_ResourceType(self,ResourceType):
72+
self.add_query_param('ResourceType',ResourceType)
73+
74+
def get_Email(self):
75+
return self.get_query_params().get('Email')
76+
77+
def set_Email(self,Email):
78+
self.add_query_param('Email',Email)
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 DescribeDiagnosticConfigRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Netana', '2018-10-18', 'DescribeDiagnosticConfig','Netana')
25+
26+
def get_ResourceOwnerId(self):
27+
return self.get_query_params().get('ResourceOwnerId')
28+
29+
def set_ResourceOwnerId(self,ResourceOwnerId):
30+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
31+
32+
def get_ResourceOwnerAccount(self):
33+
return self.get_query_params().get('ResourceOwnerAccount')
34+
35+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
36+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
37+
38+
def get_ProductType(self):
39+
return self.get_query_params().get('ProductType')
40+
41+
def set_ProductType(self,ProductType):
42+
self.add_query_param('ProductType',ProductType)
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 DescribeIpLocationAndIspRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Netana', '2018-10-18', 'DescribeIpLocationAndIsp','Netana')
25+
26+
def get_IpAddress(self):
27+
return self.get_query_params().get('IpAddress')
28+
29+
def set_IpAddress(self,IpAddress):
30+
self.add_query_param('IpAddress',IpAddress)
31+
32+
def get_ResourceOwnerId(self):
33+
return self.get_query_params().get('ResourceOwnerId')
34+
35+
def set_ResourceOwnerId(self,ResourceOwnerId):
36+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
37+
38+
def get_ResourceOwnerAccount(self):
39+
return self.get_query_params().get('ResourceOwnerAccount')
40+
41+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
42+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
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 DescribeIpv6LocationAndIspRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Netana', '2018-10-18', 'DescribeIpv6LocationAndIsp','Netana')
25+
26+
def get_IpAddress(self):
27+
return self.get_query_params().get('IpAddress')
28+
29+
def set_IpAddress(self,IpAddress):
30+
self.add_query_param('IpAddress',IpAddress)
31+
32+
def get_ResourceOwnerId(self):
33+
return self.get_query_params().get('ResourceOwnerId')
34+
35+
def set_ResourceOwnerId(self,ResourceOwnerId):
36+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
37+
38+
def get_ResourceOwnerAccount(self):
39+
return self.get_query_params().get('ResourceOwnerAccount')
40+
41+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
42+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)

0 commit comments

Comments
 (0)