Skip to content

Commit 7db07d6

Browse files
author
BitsAdmin
committed
Merge branch 'volc_observe-Java-2018-01-01-online-1086-2025_04_02_21_32_14' into 'integration_2025-04-10_853973186050'
feat: [development task] Volc_Observe-1086-Java (1145189) See merge request iaasng/volcengine-java-sdk!431
2 parents 4b42611 + 8a2ab7b commit 7db07d6

27 files changed

+4539
-34
lines changed

volcengine-java-sdk-volcobserve/src/main/java/com/volcengine/volcobserve/VolcObserveApi.java

Lines changed: 786 additions & 30 deletions
Large diffs are not rendered by default.
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* volc_observe
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.volcobserve.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 io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
26+
/**
27+
* ConvertTagForCreateRuleInput
28+
*/
29+
30+
31+
32+
public class ConvertTagForCreateRuleInput {
33+
@SerializedName("Key")
34+
private String key = null;
35+
36+
@SerializedName("Value")
37+
private String value = null;
38+
39+
public ConvertTagForCreateRuleInput key(String key) {
40+
this.key = key;
41+
return this;
42+
}
43+
44+
/**
45+
* Get key
46+
* @return key
47+
**/
48+
@Schema(description = "")
49+
public String getKey() {
50+
return key;
51+
}
52+
53+
public void setKey(String key) {
54+
this.key = key;
55+
}
56+
57+
public ConvertTagForCreateRuleInput value(String value) {
58+
this.value = value;
59+
return this;
60+
}
61+
62+
/**
63+
* Get value
64+
* @return value
65+
**/
66+
@Schema(description = "")
67+
public String getValue() {
68+
return value;
69+
}
70+
71+
public void setValue(String value) {
72+
this.value = value;
73+
}
74+
75+
76+
@Override
77+
public boolean equals(java.lang.Object o) {
78+
if (this == o) {
79+
return true;
80+
}
81+
if (o == null || getClass() != o.getClass()) {
82+
return false;
83+
}
84+
ConvertTagForCreateRuleInput convertTagForCreateRuleInput = (ConvertTagForCreateRuleInput) o;
85+
return Objects.equals(this.key, convertTagForCreateRuleInput.key) &&
86+
Objects.equals(this.value, convertTagForCreateRuleInput.value);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(key, value);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class ConvertTagForCreateRuleInput {\n");
99+
100+
sb.append(" key: ").append(toIndentedString(key)).append("\n");
101+
sb.append(" value: ").append(toIndentedString(value)).append("\n");
102+
sb.append("}");
103+
return sb.toString();
104+
}
105+
106+
/**
107+
* Convert the given object to string with each line indented by 4 spaces
108+
* (except the first line).
109+
*/
110+
private String toIndentedString(java.lang.Object o) {
111+
if (o == null) {
112+
return "null";
113+
}
114+
return o.toString().replace("\n", "\n ");
115+
}
116+
117+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* volc_observe
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.volcobserve.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 io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
26+
/**
27+
* ConvertTagForListRulesByIdsOutput
28+
*/
29+
30+
31+
32+
public class ConvertTagForListRulesByIdsOutput {
33+
@SerializedName("Key")
34+
private String key = null;
35+
36+
@SerializedName("Value")
37+
private String value = null;
38+
39+
public ConvertTagForListRulesByIdsOutput key(String key) {
40+
this.key = key;
41+
return this;
42+
}
43+
44+
/**
45+
* Get key
46+
* @return key
47+
**/
48+
@Schema(description = "")
49+
public String getKey() {
50+
return key;
51+
}
52+
53+
public void setKey(String key) {
54+
this.key = key;
55+
}
56+
57+
public ConvertTagForListRulesByIdsOutput value(String value) {
58+
this.value = value;
59+
return this;
60+
}
61+
62+
/**
63+
* Get value
64+
* @return value
65+
**/
66+
@Schema(description = "")
67+
public String getValue() {
68+
return value;
69+
}
70+
71+
public void setValue(String value) {
72+
this.value = value;
73+
}
74+
75+
76+
@Override
77+
public boolean equals(java.lang.Object o) {
78+
if (this == o) {
79+
return true;
80+
}
81+
if (o == null || getClass() != o.getClass()) {
82+
return false;
83+
}
84+
ConvertTagForListRulesByIdsOutput convertTagForListRulesByIdsOutput = (ConvertTagForListRulesByIdsOutput) o;
85+
return Objects.equals(this.key, convertTagForListRulesByIdsOutput.key) &&
86+
Objects.equals(this.value, convertTagForListRulesByIdsOutput.value);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(key, value);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class ConvertTagForListRulesByIdsOutput {\n");
99+
100+
sb.append(" key: ").append(toIndentedString(key)).append("\n");
101+
sb.append(" value: ").append(toIndentedString(value)).append("\n");
102+
sb.append("}");
103+
return sb.toString();
104+
}
105+
106+
/**
107+
* Convert the given object to string with each line indented by 4 spaces
108+
* (except the first line).
109+
*/
110+
private String toIndentedString(java.lang.Object o) {
111+
if (o == null) {
112+
return "null";
113+
}
114+
return o.toString().replace("\n", "\n ");
115+
}
116+
117+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* volc_observe
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.volcobserve.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 io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
26+
/**
27+
* ConvertTagForListRulesOutput
28+
*/
29+
30+
31+
32+
public class ConvertTagForListRulesOutput {
33+
@SerializedName("Key")
34+
private String key = null;
35+
36+
@SerializedName("Value")
37+
private String value = null;
38+
39+
public ConvertTagForListRulesOutput key(String key) {
40+
this.key = key;
41+
return this;
42+
}
43+
44+
/**
45+
* Get key
46+
* @return key
47+
**/
48+
@Schema(description = "")
49+
public String getKey() {
50+
return key;
51+
}
52+
53+
public void setKey(String key) {
54+
this.key = key;
55+
}
56+
57+
public ConvertTagForListRulesOutput value(String value) {
58+
this.value = value;
59+
return this;
60+
}
61+
62+
/**
63+
* Get value
64+
* @return value
65+
**/
66+
@Schema(description = "")
67+
public String getValue() {
68+
return value;
69+
}
70+
71+
public void setValue(String value) {
72+
this.value = value;
73+
}
74+
75+
76+
@Override
77+
public boolean equals(java.lang.Object o) {
78+
if (this == o) {
79+
return true;
80+
}
81+
if (o == null || getClass() != o.getClass()) {
82+
return false;
83+
}
84+
ConvertTagForListRulesOutput convertTagForListRulesOutput = (ConvertTagForListRulesOutput) o;
85+
return Objects.equals(this.key, convertTagForListRulesOutput.key) &&
86+
Objects.equals(this.value, convertTagForListRulesOutput.value);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(key, value);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class ConvertTagForListRulesOutput {\n");
99+
100+
sb.append(" key: ").append(toIndentedString(key)).append("\n");
101+
sb.append(" value: ").append(toIndentedString(value)).append("\n");
102+
sb.append("}");
103+
return sb.toString();
104+
}
105+
106+
/**
107+
* Convert the given object to string with each line indented by 4 spaces
108+
* (except the first line).
109+
*/
110+
private String toIndentedString(java.lang.Object o) {
111+
if (o == null) {
112+
return "null";
113+
}
114+
return o.toString().replace("\n", "\n ");
115+
}
116+
117+
}

0 commit comments

Comments
 (0)