Skip to content

Commit afc31dc

Browse files
author
BitsAdmin
committed
Merge branch 'cloudmonitor-Java-2018-01-01-online-1867-2025_11_24_20_49_12' into 'integration_2025-11-27_1087993550082'
feat: [development task] cloudmonitor-1867-Java (1876772) See merge request iaasng/volcengine-java-sdk!763
2 parents 31645f7 + 4a07597 commit afc31dc

25 files changed

+3936
-68
lines changed

volcengine-java-sdk-cloudmonitor/src/main/java/com/volcengine/cloudmonitor/CloudmonitorApi.java

Lines changed: 1202 additions & 68 deletions
Large diffs are not rendered by default.
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
/*
2+
* cloudmonitor
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: common-version
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
package com.volcengine.cloudmonitor.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
22+
import com.volcengine.cloudmonitor.model.FilterForCreateO11yAgentECSDeployTaskInput;
23+
import io.swagger.v3.oas.annotations.media.Schema;
24+
import java.io.IOException;
25+
import javax.validation.constraints.*;
26+
import javax.validation.Valid;
27+
/**
28+
* CreateO11yAgentECSDeployTaskRequest
29+
*/
30+
31+
32+
33+
public class CreateO11yAgentECSDeployTaskRequest {
34+
@SerializedName("Filter")
35+
private FilterForCreateO11yAgentECSDeployTaskInput filter = null;
36+
37+
@SerializedName("TaskType")
38+
private String taskType = null;
39+
40+
public CreateO11yAgentECSDeployTaskRequest filter(FilterForCreateO11yAgentECSDeployTaskInput filter) {
41+
this.filter = filter;
42+
return this;
43+
}
44+
45+
/**
46+
* Get filter
47+
* @return filter
48+
**/
49+
@Valid
50+
@Schema(description = "")
51+
public FilterForCreateO11yAgentECSDeployTaskInput getFilter() {
52+
return filter;
53+
}
54+
55+
public void setFilter(FilterForCreateO11yAgentECSDeployTaskInput filter) {
56+
this.filter = filter;
57+
}
58+
59+
public CreateO11yAgentECSDeployTaskRequest taskType(String taskType) {
60+
this.taskType = taskType;
61+
return this;
62+
}
63+
64+
/**
65+
* Get taskType
66+
* @return taskType
67+
**/
68+
@NotNull
69+
@Schema(required = true, description = "")
70+
public String getTaskType() {
71+
return taskType;
72+
}
73+
74+
public void setTaskType(String taskType) {
75+
this.taskType = taskType;
76+
}
77+
78+
79+
@Override
80+
public boolean equals(java.lang.Object o) {
81+
if (this == o) {
82+
return true;
83+
}
84+
if (o == null || getClass() != o.getClass()) {
85+
return false;
86+
}
87+
CreateO11yAgentECSDeployTaskRequest createO11yAgentECSDeployTaskRequest = (CreateO11yAgentECSDeployTaskRequest) o;
88+
return Objects.equals(this.filter, createO11yAgentECSDeployTaskRequest.filter) &&
89+
Objects.equals(this.taskType, createO11yAgentECSDeployTaskRequest.taskType);
90+
}
91+
92+
@Override
93+
public int hashCode() {
94+
return Objects.hash(filter, taskType);
95+
}
96+
97+
98+
@Override
99+
public String toString() {
100+
StringBuilder sb = new StringBuilder();
101+
sb.append("class CreateO11yAgentECSDeployTaskRequest {\n");
102+
103+
sb.append(" filter: ").append(toIndentedString(filter)).append("\n");
104+
sb.append(" taskType: ").append(toIndentedString(taskType)).append("\n");
105+
sb.append("}");
106+
return sb.toString();
107+
}
108+
109+
/**
110+
* Convert the given object to string with each line indented by 4 spaces
111+
* (except the first line).
112+
*/
113+
private String toIndentedString(java.lang.Object o) {
114+
if (o == null) {
115+
return "null";
116+
}
117+
return o.toString().replace("\n", "\n ");
118+
}
119+
120+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* cloudmonitor
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: common-version
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
package com.volcengine.cloudmonitor.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* CreateO11yAgentECSDeployTaskResponse
21+
*/
22+
23+
24+
25+
public class CreateO11yAgentECSDeployTaskResponse extends com.volcengine.model.AbstractResponse {
26+
27+
@Override
28+
public boolean equals(java.lang.Object o) {
29+
if (this == o) {
30+
return true;
31+
}
32+
if (o == null || getClass() != o.getClass()) {
33+
return false;
34+
}
35+
return true;
36+
}
37+
38+
@Override
39+
public int hashCode() {
40+
return Objects.hash();
41+
}
42+
43+
44+
@Override
45+
public String toString() {
46+
StringBuilder sb = new StringBuilder();
47+
sb.append("class CreateO11yAgentECSDeployTaskResponse {\n");
48+
49+
sb.append("}");
50+
return sb.toString();
51+
}
52+
53+
/**
54+
* Convert the given object to string with each line indented by 4 spaces
55+
* (except the first line).
56+
*/
57+
private String toIndentedString(java.lang.Object o) {
58+
if (o == null) {
59+
return "null";
60+
}
61+
return o.toString().replace("\n", "\n ");
62+
}
63+
64+
}

0 commit comments

Comments
 (0)