Skip to content

Commit 8054691

Browse files
committed
LINKWAN SDK Auto Released By yanfan.dy,Version:1.0.1
发布日志: 1, fix bug: the 'Success' return value type is String but not Boolean, for CreateGateway and DeleteGateway method 2, fix bug: the 'Longitude', 'Latitude' return value type is Long but not Float, for GetGateway method
1 parent b02aa9a commit 8054691

File tree

368 files changed

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

368 files changed

+26871
-0
lines changed

aliyun-java-sdk-linkwan/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2019-01-18 Version: 1.0.1
2+
1, fix bug: the 'Success' return value type is String but not Boolean, for CreateGateway and DeleteGateway method
3+
2, fix bug: the 'Longitude', 'Latitude' return value type is Long but not Float, for GetGateway method
4+

aliyun-java-sdk-linkwan/pom.xml

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>com.aliyun</groupId>
4+
<artifactId>aliyun-java-sdk-linkwan</artifactId>
5+
<packaging>jar</packaging>
6+
<version>1.0.1</version>
7+
<name>aliyun-java-sdk-linkwan</name>
8+
<url>http://www.aliyun.com</url>
9+
<description>Aliyun Open API SDK for Java
10+
11+
Copyright (C) Alibaba Cloud Computing
12+
All rights reserved.
13+
14+
版权所有 (C)阿里云计算有限公司
15+
16+
http://www.aliyun.com</description>
17+
18+
<distributionManagement>
19+
<snapshotRepository>
20+
<id>sonatype-nexus-snapshots</id>
21+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
22+
</snapshotRepository>
23+
<repository>
24+
<id>sonatype-nexus-staging</id>
25+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
26+
</repository>
27+
</distributionManagement>
28+
29+
<dependencies>
30+
<dependency>
31+
<groupId>com.aliyun</groupId>
32+
<artifactId>aliyun-java-sdk-core</artifactId>
33+
<optional>true</optional>
34+
<version>4.1.1</version>
35+
</dependency>
36+
</dependencies>
37+
<licenses>
38+
<license>
39+
<name></name>
40+
<url></url>
41+
<distribution></distribution>
42+
</license>
43+
</licenses>
44+
<scm>
45+
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
46+
<developerConnection>scm:git:git@github.com:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
47+
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
48+
</scm>
49+
<developers>
50+
<developer>
51+
<id>aliyunproducts</id>
52+
<name>Aliyun SDK</name>
53+
<email>aliyunsdk@aliyun.com</email>
54+
</developer>
55+
</developers>
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<artifactId>maven-compiler-plugin</artifactId>
60+
<version>2.3.2</version>
61+
<configuration>
62+
<source>1.6</source>
63+
<target>1.6</target>
64+
<encoding>UTF-8</encoding>
65+
</configuration>
66+
</plugin>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
69+
<artifactId>maven-jar-plugin</artifactId>
70+
<version>2.3.2</version>
71+
<configuration>
72+
<excludes>
73+
</excludes>
74+
</configuration>
75+
</plugin>
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-surefire-plugin</artifactId>
79+
<version>2.10</version>
80+
<configuration>
81+
<argLine>-Dfile.encoding=UTF-8</argLine>
82+
</configuration>
83+
</plugin>
84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-javadoc-plugin</artifactId>
87+
<version>2.8</version>
88+
<configuration>
89+
<encoding>UTF-8</encoding>
90+
</configuration>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-gpg-plugin</artifactId>
95+
<version>1.5</version>
96+
<executions>
97+
<execution>
98+
<id>sign-artifacts</id>
99+
<phase>verify</phase>
100+
<goals>
101+
<goal>sign</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.sonatype.plugins</groupId>
108+
<artifactId>nexus-staging-maven-plugin</artifactId>
109+
<version>1.6.3</version>
110+
<extensions>true</extensions>
111+
<configuration>
112+
<serverId>sonatype-nexus-staging</serverId>
113+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
114+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
115+
</configuration>
116+
</plugin>
117+
</plugins>
118+
</build>
119+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.linkwan.model.v20181230;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class AcceptJoinPermissionAuthOrderRequest extends RpcAcsRequest<AcceptJoinPermissionAuthOrderResponse> {
24+
25+
public AcceptJoinPermissionAuthOrderRequest() {
26+
super("LinkWAN", "2018-12-30", "AcceptJoinPermissionAuthOrder", "linkwan");
27+
}
28+
29+
private String orderId;
30+
31+
public String getOrderId() {
32+
return this.orderId;
33+
}
34+
35+
public void setOrderId(String orderId) {
36+
this.orderId = orderId;
37+
if(orderId != null){
38+
putBodyParameter("OrderId", orderId);
39+
}
40+
}
41+
42+
@Override
43+
public Class<AcceptJoinPermissionAuthOrderResponse> getResponseClass() {
44+
return AcceptJoinPermissionAuthOrderResponse.class;
45+
}
46+
47+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.linkwan.model.v20181230;
16+
17+
import java.util.Map;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.linkwan.transform.v20181230.AcceptJoinPermissionAuthOrderResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class AcceptJoinPermissionAuthOrderResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private Boolean success;
31+
32+
public String getRequestId() {
33+
return this.requestId;
34+
}
35+
36+
public void setRequestId(String requestId) {
37+
this.requestId = requestId;
38+
}
39+
40+
public Boolean getSuccess() {
41+
return this.success;
42+
}
43+
44+
public void setSuccess(Boolean success) {
45+
this.success = success;
46+
}
47+
48+
@Override
49+
public AcceptJoinPermissionAuthOrderResponse getInstance(UnmarshallerContext context) {
50+
return AcceptJoinPermissionAuthOrderResponseUnmarshaller.unmarshall(this, context);
51+
}
52+
53+
@Override
54+
public boolean checkShowJsonItemName() {
55+
return false;
56+
}
57+
}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.linkwan.model.v20181230;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class AddNodeToGroupRequest extends RpcAcsRequest<AddNodeToGroupResponse> {
25+
26+
public AddNodeToGroupRequest() {
27+
super("LinkWAN", "2018-12-30", "AddNodeToGroup", "linkwan");
28+
setProtocol(ProtocolType.HTTPS);
29+
}
30+
31+
private String devEui;
32+
33+
private String pinCode;
34+
35+
private String nodeGroupId;
36+
37+
public String getDevEui() {
38+
return this.devEui;
39+
}
40+
41+
public void setDevEui(String devEui) {
42+
this.devEui = devEui;
43+
if(devEui != null){
44+
putBodyParameter("DevEui", devEui);
45+
}
46+
}
47+
48+
public String getPinCode() {
49+
return this.pinCode;
50+
}
51+
52+
public void setPinCode(String pinCode) {
53+
this.pinCode = pinCode;
54+
if(pinCode != null){
55+
putBodyParameter("PinCode", pinCode);
56+
}
57+
}
58+
59+
public String getNodeGroupId() {
60+
return this.nodeGroupId;
61+
}
62+
63+
public void setNodeGroupId(String nodeGroupId) {
64+
this.nodeGroupId = nodeGroupId;
65+
if(nodeGroupId != null){
66+
putBodyParameter("NodeGroupId", nodeGroupId);
67+
}
68+
}
69+
70+
@Override
71+
public Class<AddNodeToGroupResponse> getResponseClass() {
72+
return AddNodeToGroupResponse.class;
73+
}
74+
75+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.linkwan.model.v20181230;
16+
17+
import java.util.Map;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.linkwan.transform.v20181230.AddNodeToGroupResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class AddNodeToGroupResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private Boolean success;
31+
32+
public String getRequestId() {
33+
return this.requestId;
34+
}
35+
36+
public void setRequestId(String requestId) {
37+
this.requestId = requestId;
38+
}
39+
40+
public Boolean getSuccess() {
41+
return this.success;
42+
}
43+
44+
public void setSuccess(Boolean success) {
45+
this.success = success;
46+
}
47+
48+
@Override
49+
public AddNodeToGroupResponse getInstance(UnmarshallerContext context) {
50+
return AddNodeToGroupResponseUnmarshaller.unmarshall(this, context);
51+
}
52+
53+
@Override
54+
public boolean checkShowJsonItemName() {
55+
return false;
56+
}
57+
}

0 commit comments

Comments
 (0)