Skip to content

Commit

Permalink
Update monitor related API.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 15, 2020
1 parent 9cb907a commit 71e4d4f
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-vcs/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2020-06-16 Version: 1.0.3
- Update monitor related API.

2020-06-12 Version: 1.0.3
- Update monitor related API.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public class AddMonitorRequest extends RpcAcsRequest<AddMonitorResponse> {

private String description;

private Integer batchIndicator;
private Integer batchIndicator;

private String algorithmVendor;
public AddMonitorRequest() {
super("Vcs", "2020-05-15", "AddMonitor", "vcs");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -83,6 +85,17 @@ public void setBatchIndicator(Integer batchIndicator) {
if(batchIndicator != null){
putBodyParameter("BatchIndicator", batchIndicator.toString());
}
}

public String getAlgorithmVendor() {
return this.algorithmVendor;
}

public void setAlgorithmVendor(String algorithmVendor) {
this.algorithmVendor = algorithmVendor;
if(algorithmVendor != null){
putBodyParameter("AlgorithmVendor", algorithmVendor);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public class GetMonitorResultRequest extends RpcAcsRequest<GetMonitorResultRespo

private Long startTime;

private String algorithmVendor;

private String minRecordId;

private String taskId;
Expand Down Expand Up @@ -76,6 +78,17 @@ public void setStartTime(Long startTime) {
}
}

public String getAlgorithmVendor() {
return this.algorithmVendor;
}

public void setAlgorithmVendor(String algorithmVendor) {
this.algorithmVendor = algorithmVendor;
if(algorithmVendor != null){
putBodyParameter("AlgorithmVendor", algorithmVendor);
}
}

public String getMinRecordId() {
return this.minRecordId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
public class StopMonitorRequest extends RpcAcsRequest<StopMonitorResponse> {


private String algorithmVendor;

private String taskId;
public StopMonitorRequest() {
super("Vcs", "2020-05-15", "StopMonitor", "vcs");
Expand All @@ -35,6 +37,17 @@ public StopMonitorRequest() {
} catch (Exception e) {}
}

public String getAlgorithmVendor() {
return this.algorithmVendor;
}

public void setAlgorithmVendor(String algorithmVendor) {
this.algorithmVendor = algorithmVendor;
if(algorithmVendor != null){
putBodyParameter("AlgorithmVendor", algorithmVendor);
}
}

public String getTaskId() {
return this.taskId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ public class UpdateMonitorRequest extends RpcAcsRequest<UpdateMonitorResponse> {

private String attributeValueList;

private String deviceList;
private String deviceList;

private String algorithmVendor;
public UpdateMonitorRequest() {
super("Vcs", "2020-05-15", "UpdateMonitor", "vcs");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -187,6 +189,17 @@ public void setDeviceList(String deviceList) {
if(deviceList != null){
putBodyParameter("DeviceList", deviceList);
}
}

public String getAlgorithmVendor() {
return this.algorithmVendor;
}

public void setAlgorithmVendor(String algorithmVendor) {
this.algorithmVendor = algorithmVendor;
if(algorithmVendor != null){
putBodyParameter("AlgorithmVendor", algorithmVendor);
}
}

@Override
Expand Down

0 comments on commit 71e4d4f

Please sign in to comment.