Skip to content

Commit bd15f59

Browse files
committed
Update OTA API, including GenerateOTAUploadURL.
1 parent a66e58b commit bd15f59

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed

aliyun-java-sdk-iot/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-07-23 Version: 7.11.0
2+
- Update OTA API, including GenerateOTAUploadURL.
3+
14
2020-07-14 Version: 7.10.0
25
- Add Dynamic Registration APIs, including TransformClientId, DeleteClientIds, QueryClientIds, etc.
36
- Update OTA API, including CreateOTAStaticUpgradeJob and QueryOTAJob.

aliyun-java-sdk-iot/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-iot</artifactId>
66
<packaging>jar</packaging>
7-
<version>7.10.0</version>
7+
<version>7.11.0</version>
88
<name>aliyun-java-sdk-iot</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-iot/src/main/java/com/aliyuncs/iot/model/v20180120/GenerateOTAUploadURLResponse.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ public static class Data {
8888

8989
private String firmwareUrl;
9090

91+
private String utcCreate;
92+
93+
private String objectStorage;
94+
9195
public String getKey() {
9296
return this.key;
9397
}
@@ -135,6 +139,22 @@ public String getFirmwareUrl() {
135139
public void setFirmwareUrl(String firmwareUrl) {
136140
this.firmwareUrl = firmwareUrl;
137141
}
142+
143+
public String getUtcCreate() {
144+
return this.utcCreate;
145+
}
146+
147+
public void setUtcCreate(String utcCreate) {
148+
this.utcCreate = utcCreate;
149+
}
150+
151+
public String getObjectStorage() {
152+
return this.objectStorage;
153+
}
154+
155+
public void setObjectStorage(String objectStorage) {
156+
this.objectStorage = objectStorage;
157+
}
138158
}
139159

140160
@Override

aliyun-java-sdk-iot/src/main/java/com/aliyuncs/iot/transform/v20180120/GenerateOTAUploadURLResponseUnmarshaller.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public static GenerateOTAUploadURLResponse unmarshall(GenerateOTAUploadURLRespon
3535
data.setOSSAccessKeyId(_ctx.stringValue("GenerateOTAUploadURLResponse.Data.OSSAccessKeyId"));
3636
data.setSignature(_ctx.stringValue("GenerateOTAUploadURLResponse.Data.Signature"));
3737
data.setFirmwareUrl(_ctx.stringValue("GenerateOTAUploadURLResponse.Data.FirmwareUrl"));
38+
data.setUtcCreate(_ctx.stringValue("GenerateOTAUploadURLResponse.Data.UtcCreate"));
39+
data.setObjectStorage(_ctx.stringValue("GenerateOTAUploadURLResponse.Data.ObjectStorage"));
3840
generateOTAUploadURLResponse.setData(data);
3941

4042
return generateOTAUploadURLResponse;

0 commit comments

Comments
 (0)