Skip to content

Commit bc06f93

Browse files
committed
LINKWAN SDK Auto Released By yanfan.dy,Version:1.0.3
发布日志: 1, first python sdk
1 parent f59bca9 commit bc06f93

File tree

128 files changed

+5232
-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.

128 files changed

+5232
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2019-02-25 Version: 1.0.3
2+
1, first python sdk
3+

aliyun-python-sdk-linkwan/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-linkwan
2+
This is the linkwan 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.3"

aliyun-python-sdk-linkwan/aliyunsdklinkwan/request/__init__.py

Whitespace-only changes.
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 AcceptJoinPermissionAuthOrderRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'LinkWAN', '2018-12-30', 'AcceptJoinPermissionAuthOrder','linkwan')
25+
26+
def get_OrderId(self):
27+
return self.get_body_params().get('OrderId')
28+
29+
def set_OrderId(self,OrderId):
30+
self.add_body_params('OrderId', OrderId)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 AddNodeToGroupRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'LinkWAN', '2018-12-30', 'AddNodeToGroup','linkwan')
25+
self.set_protocol_type('https');
26+
27+
def get_DevEui(self):
28+
return self.get_body_params().get('DevEui')
29+
30+
def set_DevEui(self,DevEui):
31+
self.add_body_params('DevEui', DevEui)
32+
33+
def get_PinCode(self):
34+
return self.get_body_params().get('PinCode')
35+
36+
def set_PinCode(self,PinCode):
37+
self.add_body_params('PinCode', PinCode)
38+
39+
def get_NodeGroupId(self):
40+
return self.get_body_params().get('NodeGroupId')
41+
42+
def set_NodeGroupId(self,NodeGroupId):
43+
self.add_body_params('NodeGroupId', NodeGroupId)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 ApplyRoamingJoinPermissionRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'LinkWAN', '2018-12-30', 'ApplyRoamingJoinPermission','linkwan')
25+
self.set_protocol_type('https');
26+
27+
def get_ClassMode(self):
28+
return self.get_body_params().get('ClassMode')
29+
30+
def set_ClassMode(self,ClassMode):
31+
self.add_body_params('ClassMode', ClassMode)
32+
33+
def get_FreqBandPlanGroupId(self):
34+
return self.get_body_params().get('FreqBandPlanGroupId')
35+
36+
def set_FreqBandPlanGroupId(self,FreqBandPlanGroupId):
37+
self.add_body_params('FreqBandPlanGroupId', FreqBandPlanGroupId)
38+
39+
def get_JoinPermissionName(self):
40+
return self.get_body_params().get('JoinPermissionName')
41+
42+
def set_JoinPermissionName(self,JoinPermissionName):
43+
self.add_body_params('JoinPermissionName', JoinPermissionName)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 BindJoinPermissionToNodeGroupRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'LinkWAN', '2018-12-30', 'BindJoinPermissionToNodeGroup','linkwan')
25+
self.set_protocol_type('https');
26+
27+
def get_NodeGroupId(self):
28+
return self.get_body_params().get('NodeGroupId')
29+
30+
def set_NodeGroupId(self,NodeGroupId):
31+
self.add_body_params('NodeGroupId', NodeGroupId)
32+
33+
def get_JoinPermissionId(self):
34+
return self.get_body_params().get('JoinPermissionId')
35+
36+
def set_JoinPermissionId(self,JoinPermissionId):
37+
self.add_body_params('JoinPermissionId', JoinPermissionId)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 BindLabNodeToLabGatewayRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'LinkWAN', '2018-12-30', 'BindLabNodeToLabGateway','linkwan')
25+
self.set_protocol_type('https');
26+
27+
def get_DevEui(self):
28+
return self.get_body_params().get('DevEui')
29+
30+
def set_DevEui(self,DevEui):
31+
self.add_body_params('DevEui', DevEui)
32+
33+
def get_GwEui(self):
34+
return self.get_body_params().get('GwEui')
35+
36+
def set_GwEui(self,GwEui):
37+
self.add_body_params('GwEui', GwEui)

0 commit comments

Comments
 (0)