Skip to content

Commit

Permalink
Python version.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Feb 19, 2021
1 parent 5b7fe28 commit e7b3eb2
Show file tree
Hide file tree
Showing 14 changed files with 287 additions and 42 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-et-industry-openapi/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2021-02-19 Version: 3.6
- Python version.

2020-10-14 Version: 3.6
- Python version.

Expand Down
13 changes: 13 additions & 0 deletions aliyun-python-sdk-et-industry-openapi/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 1999-present Alibaba Group Holding Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
1 change: 1 addition & 0 deletions aliyun-python-sdk-et-industry-openapi/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE README.rst ChangeLog.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RoaRequest

class GetMqttConnectRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'GetMqttConnect')
self.set_uri_pattern('/api/igate/collaboration/pop/getmqttconnect')
self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')

def set_Request(self,Request):
self.add_body_params('Request', Request)
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RoaRequest

class GetNonceRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'GetNonce')
self.set_uri_pattern('/api/igate/collaboration/pop/getnonce')
self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')

def set_Request(self,Request):
self.add_body_params('Request', Request)
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RoaRequest

class ListMeasurePointListByNodeCodePageRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'ListMeasurePointListByNodeCodePage')
self.set_uri_pattern('/api/igate/node/pop/measurepointlistbynodecodepage')
self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')

def set_Request(self,Request):
self.add_body_params('Request', Request)
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RoaRequest

class QueryFieldLatestBySourcePointRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'QueryFieldLatestBySourcePoint')
self.set_uri_pattern('/api/igate/timeseries/query/pop/multifieldlatestbysourcepoint')
self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')

def set_Request(self,Request):
self.add_body_params('Request', Request)
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RoaRequest

class QueryIndustryDeviceDataRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'QueryIndustryDeviceData')
self.set_uri_pattern('/api/igate/timeseries/query/pop/multifieldlatest')
self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')

def set_Request(self,Request):
self.add_body_params('Request', Request)
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RoaRequest

class QueryIndustryDeviceLimitsDataRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'QueryIndustryDeviceLimitsData')
self.set_uri_pattern('/api/igate/timeseries/query/pop/multifieldrange')
self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')

def set_Request(self,Request):
self.add_body_params('Request', Request)
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RoaRequest

class QueryIndustryDeviceStatusDataRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'QueryIndustryDeviceStatusData')
self.set_uri_pattern('/api/igate/timeseries/query/pop/multifieldrangestatus')
self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')

def set_Request(self,Request):
self.add_body_params('Request', Request)
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RoaRequest

class SourcePointBatchRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'SourcePointBatch')
self.set_uri_pattern('/api/igate/timeseries/upload/pop/sourcepointbatch')
self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')

def set_Request(self,Request):
self.add_body_params('Request', Request)
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,13 @@
# under the License.

from aliyunsdkcore.request import RoaRequest
from aliyunsdket_industry_openapi.endpoint import endpoint_data

class UploadIndustryDeviceDataRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'et-industry-openapi', '2020-08-24', 'UploadIndustryDeviceData')
self.set_uri_pattern('/api/igate/timeseries/upload/pop/multifieldbatch')
self.set_method('POST')
if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

self.set_method('POST')

def get_Request(self):
return self.get_body_params().get('Request')
Expand Down
5 changes: 5 additions & 0 deletions aliyun-python-sdk-et-industry-openapi/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[metadata]
license_file = LICENSE

[bdist_wheel]
universal = 1

0 comments on commit e7b3eb2

Please sign in to comment.