Skip to content

Commit a226314

Browse files
author
BitsAdmin
committed
Merge branch 'apig-Java-2021-03-03-online-1546-2025_09_10_10_42_08' into 'integration_2025-09-11_1051496837890'
feat: [development task] apig-1546-Java (1649377) See merge request iaasng/volcengine-java-sdk!653
2 parents f45c3ff + 4ed79c2 commit a226314

File tree

69 files changed

+8197
-1329
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+8197
-1329
lines changed

volcengine-java-sdk-apig/src/main/java/com/volcengine/apig/ApigApi.java

Lines changed: 1908 additions & 270 deletions
Large diffs are not rendered by default.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/*
2+
* apig
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.apig.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+
* APMTraceSpecForCreateGatewayInput
28+
*/
29+
30+
31+
32+
public class APMTraceSpecForCreateGatewayInput {
33+
@SerializedName("APIKey")
34+
private String apIKey = null;
35+
36+
public APMTraceSpecForCreateGatewayInput apIKey(String apIKey) {
37+
this.apIKey = apIKey;
38+
return this;
39+
}
40+
41+
/**
42+
* Get apIKey
43+
* @return apIKey
44+
**/
45+
@Schema(description = "")
46+
public String getApIKey() {
47+
return apIKey;
48+
}
49+
50+
public void setApIKey(String apIKey) {
51+
this.apIKey = apIKey;
52+
}
53+
54+
55+
@Override
56+
public boolean equals(java.lang.Object o) {
57+
if (this == o) {
58+
return true;
59+
}
60+
if (o == null || getClass() != o.getClass()) {
61+
return false;
62+
}
63+
APMTraceSpecForCreateGatewayInput apMTraceSpecForCreateGatewayInput = (APMTraceSpecForCreateGatewayInput) o;
64+
return Objects.equals(this.apIKey, apMTraceSpecForCreateGatewayInput.apIKey);
65+
}
66+
67+
@Override
68+
public int hashCode() {
69+
return Objects.hash(apIKey);
70+
}
71+
72+
73+
@Override
74+
public String toString() {
75+
StringBuilder sb = new StringBuilder();
76+
sb.append("class APMTraceSpecForCreateGatewayInput {\n");
77+
78+
sb.append(" apIKey: ").append(toIndentedString(apIKey)).append("\n");
79+
sb.append("}");
80+
return sb.toString();
81+
}
82+
83+
/**
84+
* Convert the given object to string with each line indented by 4 spaces
85+
* (except the first line).
86+
*/
87+
private String toIndentedString(java.lang.Object o) {
88+
if (o == null) {
89+
return "null";
90+
}
91+
return o.toString().replace("\n", "\n ");
92+
}
93+
94+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* apig
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.apig.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* APMTraceSpecForGetGatewayOutput
21+
*/
22+
23+
24+
25+
public class APMTraceSpecForGetGatewayOutput {
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 APMTraceSpecForGetGatewayOutput {\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+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* apig
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.apig.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* APMTraceSpecForListGatewaysOutput
21+
*/
22+
23+
24+
25+
public class APMTraceSpecForListGatewaysOutput {
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 APMTraceSpecForListGatewaysOutput {\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+
}

volcengine-java-sdk-apig/src/main/java/com/volcengine/apig/model/TagForGetUpstreamOutput.java renamed to volcengine-java-sdk-apig/src/main/java/com/volcengine/apig/model/APMTraceSpecForUpdateGatewayTraceInput.java

Lines changed: 17 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,52 +24,31 @@
2424
import javax.validation.constraints.*;
2525
import javax.validation.Valid;
2626
/**
27-
* TagForGetUpstreamOutput
27+
* APMTraceSpecForUpdateGatewayTraceInput
2828
*/
2929

3030

3131

32-
public class TagForGetUpstreamOutput {
33-
@SerializedName("Key")
34-
private String key = null;
32+
public class APMTraceSpecForUpdateGatewayTraceInput {
33+
@SerializedName("APIKey")
34+
private String apIKey = null;
3535

36-
@SerializedName("Value")
37-
private String value = null;
38-
39-
public TagForGetUpstreamOutput 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 TagForGetUpstreamOutput value(String value) {
58-
this.value = value;
36+
public APMTraceSpecForUpdateGatewayTraceInput apIKey(String apIKey) {
37+
this.apIKey = apIKey;
5938
return this;
6039
}
6140

6241
/**
63-
* Get value
64-
* @return value
42+
* Get apIKey
43+
* @return apIKey
6544
**/
6645
@Schema(description = "")
67-
public String getValue() {
68-
return value;
46+
public String getApIKey() {
47+
return apIKey;
6948
}
7049

71-
public void setValue(String value) {
72-
this.value = value;
50+
public void setApIKey(String apIKey) {
51+
this.apIKey = apIKey;
7352
}
7453

7554

@@ -81,24 +60,22 @@ public boolean equals(java.lang.Object o) {
8160
if (o == null || getClass() != o.getClass()) {
8261
return false;
8362
}
84-
TagForGetUpstreamOutput tagForGetUpstreamOutput = (TagForGetUpstreamOutput) o;
85-
return Objects.equals(this.key, tagForGetUpstreamOutput.key) &&
86-
Objects.equals(this.value, tagForGetUpstreamOutput.value);
63+
APMTraceSpecForUpdateGatewayTraceInput apMTraceSpecForUpdateGatewayTraceInput = (APMTraceSpecForUpdateGatewayTraceInput) o;
64+
return Objects.equals(this.apIKey, apMTraceSpecForUpdateGatewayTraceInput.apIKey);
8765
}
8866

8967
@Override
9068
public int hashCode() {
91-
return Objects.hash(key, value);
69+
return Objects.hash(apIKey);
9270
}
9371

9472

9573
@Override
9674
public String toString() {
9775
StringBuilder sb = new StringBuilder();
98-
sb.append("class TagForGetUpstreamOutput {\n");
76+
sb.append("class APMTraceSpecForUpdateGatewayTraceInput {\n");
9977

100-
sb.append(" key: ").append(toIndentedString(key)).append("\n");
101-
sb.append(" value: ").append(toIndentedString(value)).append("\n");
78+
sb.append(" apIKey: ").append(toIndentedString(apIKey)).append("\n");
10279
sb.append("}");
10380
return sb.toString();
10481
}

0 commit comments

Comments
 (0)