From 1128e5f4d04ac45cafbd2ba8c79853b3cc125be0 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 20 Sep 2024 03:36:08 +0000 Subject: [PATCH] Receive Semi Instance version. --- aliyun-java-sdk-dataphinconsole/ChangeLog.txt | 3 +++ aliyun-java-sdk-dataphinconsole/pom.xml | 2 +- .../ReceiveSemiInstanceHeartbeatRequest.java | 15 ++++++++++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/aliyun-java-sdk-dataphinconsole/ChangeLog.txt b/aliyun-java-sdk-dataphinconsole/ChangeLog.txt index d5f0b6c203..b91fc7bf4a 100644 --- a/aliyun-java-sdk-dataphinconsole/ChangeLog.txt +++ b/aliyun-java-sdk-dataphinconsole/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-09-20 Version: 1.0.2 +- Receive Semi Instance version. + 2024-07-04 Version: 1.0.1 - Receive Semi Instance Heartbeat for monitor. diff --git a/aliyun-java-sdk-dataphinconsole/pom.xml b/aliyun-java-sdk-dataphinconsole/pom.xml index 8b2c2344db..f34e2f64f0 100644 --- a/aliyun-java-sdk-dataphinconsole/pom.xml +++ b/aliyun-java-sdk-dataphinconsole/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-dataphinconsole jar - 1.0.1 + 1.0.2 aliyun-java-sdk-dataphinconsole http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-dataphinconsole/src/main/java/com/aliyuncs/dataphinconsole/model/v20240331/ReceiveSemiInstanceHeartbeatRequest.java b/aliyun-java-sdk-dataphinconsole/src/main/java/com/aliyuncs/dataphinconsole/model/v20240331/ReceiveSemiInstanceHeartbeatRequest.java index 5b67ec665e..1ae8c5c85a 100644 --- a/aliyun-java-sdk-dataphinconsole/src/main/java/com/aliyuncs/dataphinconsole/model/v20240331/ReceiveSemiInstanceHeartbeatRequest.java +++ b/aliyun-java-sdk-dataphinconsole/src/main/java/com/aliyuncs/dataphinconsole/model/v20240331/ReceiveSemiInstanceHeartbeatRequest.java @@ -25,7 +25,9 @@ public class ReceiveSemiInstanceHeartbeatRequest extends RpcAcsRequest { - private String instanceId; + private String instanceId; + + private String instanceVersion; public ReceiveSemiInstanceHeartbeatRequest() { super("DataphinConsole", "2024-03-31", "ReceiveSemiInstanceHeartbeat"); setProtocol(ProtocolType.HTTPS); @@ -41,6 +43,17 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putBodyParameter("InstanceId", instanceId); } + } + + public String getInstanceVersion() { + return this.instanceVersion; + } + + public void setInstanceVersion(String instanceVersion) { + this.instanceVersion = instanceVersion; + if(instanceVersion != null){ + putQueryParameter("InstanceVersion", instanceVersion); + } } @Override