Skip to content

Commit

Permalink
Receive Semi Instance version.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Sep 20, 2024
1 parent 10d710e commit 1128e5f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-dataphinconsole/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-dataphinconsole/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-dataphinconsole</artifactId>
<packaging>jar</packaging>
<version>1.0.1</version>
<version>1.0.2</version>
<name>aliyun-java-sdk-dataphinconsole</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
public class ReceiveSemiInstanceHeartbeatRequest extends RpcAcsRequest<ReceiveSemiInstanceHeartbeatResponse> {


private String instanceId;
private String instanceId;

private String instanceVersion;
public ReceiveSemiInstanceHeartbeatRequest() {
super("DataphinConsole", "2024-03-31", "ReceiveSemiInstanceHeartbeat");
setProtocol(ProtocolType.HTTPS);
Expand All @@ -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
Expand Down

0 comments on commit 1128e5f

Please sign in to comment.