Skip to content

Commit 3fdeeb9

Browse files
author
BitsAdmin
committed
Merge branch 'vmp-Java-2021-03-03-online-1689-2025_10_13_09_51_08' into 'integration_2025-10-13_1068094484226'
feat: [development task] vmp-1689-Java (1723119) See merge request iaasng/volcengine-java-sdk!687
2 parents 58f0160 + fb5de6d commit 3fdeeb9

File tree

89 files changed

+12577
-180
lines changed

Some content is hidden

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

89 files changed

+12577
-180
lines changed

volcengine-java-sdk-vmp/src/main/java/com/volcengine/vmp/VmpApi.java

Lines changed: 1798 additions & 160 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+
* vmp
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.vmp.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+
* CalChargeItemListForGetWorkspaceOutput
28+
*/
29+
30+
31+
32+
public class CalChargeItemListForGetWorkspaceOutput {
33+
@SerializedName("AttrValue")
34+
private String attrValue = null;
35+
36+
@SerializedName("ChargeItemCode")
37+
private String chargeItemCode = null;
38+
39+
public CalChargeItemListForGetWorkspaceOutput attrValue(String attrValue) {
40+
this.attrValue = attrValue;
41+
return this;
42+
}
43+
44+
/**
45+
* Get attrValue
46+
* @return attrValue
47+
**/
48+
@Schema(description = "")
49+
public String getAttrValue() {
50+
return attrValue;
51+
}
52+
53+
public void setAttrValue(String attrValue) {
54+
this.attrValue = attrValue;
55+
}
56+
57+
public CalChargeItemListForGetWorkspaceOutput chargeItemCode(String chargeItemCode) {
58+
this.chargeItemCode = chargeItemCode;
59+
return this;
60+
}
61+
62+
/**
63+
* Get chargeItemCode
64+
* @return chargeItemCode
65+
**/
66+
@Schema(description = "")
67+
public String getChargeItemCode() {
68+
return chargeItemCode;
69+
}
70+
71+
public void setChargeItemCode(String chargeItemCode) {
72+
this.chargeItemCode = chargeItemCode;
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+
CalChargeItemListForGetWorkspaceOutput calChargeItemListForGetWorkspaceOutput = (CalChargeItemListForGetWorkspaceOutput) o;
85+
return Objects.equals(this.attrValue, calChargeItemListForGetWorkspaceOutput.attrValue) &&
86+
Objects.equals(this.chargeItemCode, calChargeItemListForGetWorkspaceOutput.chargeItemCode);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(attrValue, chargeItemCode);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class CalChargeItemListForGetWorkspaceOutput {\n");
99+
100+
sb.append(" attrValue: ").append(toIndentedString(attrValue)).append("\n");
101+
sb.append(" chargeItemCode: ").append(toIndentedString(chargeItemCode)).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+
* vmp
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.vmp.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+
* CalChargeItemListForListWorkspaceInstanceTypesOutput
28+
*/
29+
30+
31+
32+
public class CalChargeItemListForListWorkspaceInstanceTypesOutput {
33+
@SerializedName("AttrValue")
34+
private String attrValue = null;
35+
36+
@SerializedName("ChargeItemCode")
37+
private String chargeItemCode = null;
38+
39+
public CalChargeItemListForListWorkspaceInstanceTypesOutput attrValue(String attrValue) {
40+
this.attrValue = attrValue;
41+
return this;
42+
}
43+
44+
/**
45+
* Get attrValue
46+
* @return attrValue
47+
**/
48+
@Schema(description = "")
49+
public String getAttrValue() {
50+
return attrValue;
51+
}
52+
53+
public void setAttrValue(String attrValue) {
54+
this.attrValue = attrValue;
55+
}
56+
57+
public CalChargeItemListForListWorkspaceInstanceTypesOutput chargeItemCode(String chargeItemCode) {
58+
this.chargeItemCode = chargeItemCode;
59+
return this;
60+
}
61+
62+
/**
63+
* Get chargeItemCode
64+
* @return chargeItemCode
65+
**/
66+
@Schema(description = "")
67+
public String getChargeItemCode() {
68+
return chargeItemCode;
69+
}
70+
71+
public void setChargeItemCode(String chargeItemCode) {
72+
this.chargeItemCode = chargeItemCode;
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+
CalChargeItemListForListWorkspaceInstanceTypesOutput calChargeItemListForListWorkspaceInstanceTypesOutput = (CalChargeItemListForListWorkspaceInstanceTypesOutput) o;
85+
return Objects.equals(this.attrValue, calChargeItemListForListWorkspaceInstanceTypesOutput.attrValue) &&
86+
Objects.equals(this.chargeItemCode, calChargeItemListForListWorkspaceInstanceTypesOutput.chargeItemCode);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(attrValue, chargeItemCode);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class CalChargeItemListForListWorkspaceInstanceTypesOutput {\n");
99+
100+
sb.append(" attrValue: ").append(toIndentedString(attrValue)).append("\n");
101+
sb.append(" chargeItemCode: ").append(toIndentedString(chargeItemCode)).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: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
/*
2+
* vmp
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.vmp.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.vmp.model.CalChargeItemListForGetWorkspaceOutput;
23+
import io.swagger.v3.oas.annotations.media.Schema;
24+
import java.io.IOException;
25+
import java.util.ArrayList;
26+
import java.util.List;
27+
import javax.validation.constraints.*;
28+
import javax.validation.Valid;
29+
/**
30+
* CalculatePriceParamForGetWorkspaceOutput
31+
*/
32+
33+
34+
35+
public class CalculatePriceParamForGetWorkspaceOutput {
36+
@SerializedName("CalChargeItemList")
37+
private List<CalChargeItemListForGetWorkspaceOutput> calChargeItemList = null;
38+
39+
@SerializedName("ConfigurationCode")
40+
private String configurationCode = null;
41+
42+
@SerializedName("Period")
43+
private String period = null;
44+
45+
public CalculatePriceParamForGetWorkspaceOutput calChargeItemList(List<CalChargeItemListForGetWorkspaceOutput> calChargeItemList) {
46+
this.calChargeItemList = calChargeItemList;
47+
return this;
48+
}
49+
50+
public CalculatePriceParamForGetWorkspaceOutput addCalChargeItemListItem(CalChargeItemListForGetWorkspaceOutput calChargeItemListItem) {
51+
if (this.calChargeItemList == null) {
52+
this.calChargeItemList = new ArrayList<CalChargeItemListForGetWorkspaceOutput>();
53+
}
54+
this.calChargeItemList.add(calChargeItemListItem);
55+
return this;
56+
}
57+
58+
/**
59+
* Get calChargeItemList
60+
* @return calChargeItemList
61+
**/
62+
@Valid
63+
@Schema(description = "")
64+
public List<CalChargeItemListForGetWorkspaceOutput> getCalChargeItemList() {
65+
return calChargeItemList;
66+
}
67+
68+
public void setCalChargeItemList(List<CalChargeItemListForGetWorkspaceOutput> calChargeItemList) {
69+
this.calChargeItemList = calChargeItemList;
70+
}
71+
72+
public CalculatePriceParamForGetWorkspaceOutput configurationCode(String configurationCode) {
73+
this.configurationCode = configurationCode;
74+
return this;
75+
}
76+
77+
/**
78+
* Get configurationCode
79+
* @return configurationCode
80+
**/
81+
@Schema(description = "")
82+
public String getConfigurationCode() {
83+
return configurationCode;
84+
}
85+
86+
public void setConfigurationCode(String configurationCode) {
87+
this.configurationCode = configurationCode;
88+
}
89+
90+
public CalculatePriceParamForGetWorkspaceOutput period(String period) {
91+
this.period = period;
92+
return this;
93+
}
94+
95+
/**
96+
* Get period
97+
* @return period
98+
**/
99+
@Schema(description = "")
100+
public String getPeriod() {
101+
return period;
102+
}
103+
104+
public void setPeriod(String period) {
105+
this.period = period;
106+
}
107+
108+
109+
@Override
110+
public boolean equals(java.lang.Object o) {
111+
if (this == o) {
112+
return true;
113+
}
114+
if (o == null || getClass() != o.getClass()) {
115+
return false;
116+
}
117+
CalculatePriceParamForGetWorkspaceOutput calculatePriceParamForGetWorkspaceOutput = (CalculatePriceParamForGetWorkspaceOutput) o;
118+
return Objects.equals(this.calChargeItemList, calculatePriceParamForGetWorkspaceOutput.calChargeItemList) &&
119+
Objects.equals(this.configurationCode, calculatePriceParamForGetWorkspaceOutput.configurationCode) &&
120+
Objects.equals(this.period, calculatePriceParamForGetWorkspaceOutput.period);
121+
}
122+
123+
@Override
124+
public int hashCode() {
125+
return Objects.hash(calChargeItemList, configurationCode, period);
126+
}
127+
128+
129+
@Override
130+
public String toString() {
131+
StringBuilder sb = new StringBuilder();
132+
sb.append("class CalculatePriceParamForGetWorkspaceOutput {\n");
133+
134+
sb.append(" calChargeItemList: ").append(toIndentedString(calChargeItemList)).append("\n");
135+
sb.append(" configurationCode: ").append(toIndentedString(configurationCode)).append("\n");
136+
sb.append(" period: ").append(toIndentedString(period)).append("\n");
137+
sb.append("}");
138+
return sb.toString();
139+
}
140+
141+
/**
142+
* Convert the given object to string with each line indented by 4 spaces
143+
* (except the first line).
144+
*/
145+
private String toIndentedString(java.lang.Object o) {
146+
if (o == null) {
147+
return "null";
148+
}
149+
return o.toString().replace("\n", "\n ");
150+
}
151+
152+
}

0 commit comments

Comments
 (0)