Skip to content

Commit 375a4c5

Browse files
author
BitsAdmin
committed
Merge branch 'storage_ebs-Java-2020-04-01-online-706-2024_10_24_14_52_15' into 'integration_2024-11-07_569615260674'
feat: [development task] storage_ebs-706-Java (839194) See merge request iaasng/volcengine-java-sdk!286
2 parents 7d8f017 + a6e904e commit 375a4c5

File tree

4 files changed

+450
-1
lines changed

4 files changed

+450
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* storage_ebs
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.storageebs.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+
* BaselinePerformanceForDescribeVolumesOutput
28+
*/
29+
30+
31+
32+
public class BaselinePerformanceForDescribeVolumesOutput {
33+
@SerializedName("IOPS")
34+
private Integer IOPS = null;
35+
36+
@SerializedName("Throughput")
37+
private Integer throughput = null;
38+
39+
public BaselinePerformanceForDescribeVolumesOutput IOPS(Integer IOPS) {
40+
this.IOPS = IOPS;
41+
return this;
42+
}
43+
44+
/**
45+
* Get IOPS
46+
* @return IOPS
47+
**/
48+
@Schema(description = "")
49+
public Integer getIOPS() {
50+
return IOPS;
51+
}
52+
53+
public void setIOPS(Integer IOPS) {
54+
this.IOPS = IOPS;
55+
}
56+
57+
public BaselinePerformanceForDescribeVolumesOutput throughput(Integer throughput) {
58+
this.throughput = throughput;
59+
return this;
60+
}
61+
62+
/**
63+
* Get throughput
64+
* @return throughput
65+
**/
66+
@Schema(description = "")
67+
public Integer getThroughput() {
68+
return throughput;
69+
}
70+
71+
public void setThroughput(Integer throughput) {
72+
this.throughput = throughput;
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+
BaselinePerformanceForDescribeVolumesOutput baselinePerformanceForDescribeVolumesOutput = (BaselinePerformanceForDescribeVolumesOutput) o;
85+
return Objects.equals(this.IOPS, baselinePerformanceForDescribeVolumesOutput.IOPS) &&
86+
Objects.equals(this.throughput, baselinePerformanceForDescribeVolumesOutput.throughput);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(IOPS, throughput);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class BaselinePerformanceForDescribeVolumesOutput {\n");
99+
100+
sb.append(" IOPS: ").append(toIndentedString(IOPS)).append("\n");
101+
sb.append(" throughput: ").append(toIndentedString(throughput)).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: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
/*
2+
* storage_ebs
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.storageebs.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+
* ExtraPerformanceForDescribeVolumesOutput
28+
*/
29+
30+
31+
32+
public class ExtraPerformanceForDescribeVolumesOutput {
33+
@SerializedName("ExtraPerformanceTypeId")
34+
private String extraPerformanceTypeId = null;
35+
36+
@SerializedName("IOPS")
37+
private Integer IOPS = null;
38+
39+
@SerializedName("Throughput")
40+
private Integer throughput = null;
41+
42+
public ExtraPerformanceForDescribeVolumesOutput extraPerformanceTypeId(String extraPerformanceTypeId) {
43+
this.extraPerformanceTypeId = extraPerformanceTypeId;
44+
return this;
45+
}
46+
47+
/**
48+
* Get extraPerformanceTypeId
49+
* @return extraPerformanceTypeId
50+
**/
51+
@Schema(description = "")
52+
public String getExtraPerformanceTypeId() {
53+
return extraPerformanceTypeId;
54+
}
55+
56+
public void setExtraPerformanceTypeId(String extraPerformanceTypeId) {
57+
this.extraPerformanceTypeId = extraPerformanceTypeId;
58+
}
59+
60+
public ExtraPerformanceForDescribeVolumesOutput IOPS(Integer IOPS) {
61+
this.IOPS = IOPS;
62+
return this;
63+
}
64+
65+
/**
66+
* Get IOPS
67+
* @return IOPS
68+
**/
69+
@Schema(description = "")
70+
public Integer getIOPS() {
71+
return IOPS;
72+
}
73+
74+
public void setIOPS(Integer IOPS) {
75+
this.IOPS = IOPS;
76+
}
77+
78+
public ExtraPerformanceForDescribeVolumesOutput throughput(Integer throughput) {
79+
this.throughput = throughput;
80+
return this;
81+
}
82+
83+
/**
84+
* Get throughput
85+
* @return throughput
86+
**/
87+
@Schema(description = "")
88+
public Integer getThroughput() {
89+
return throughput;
90+
}
91+
92+
public void setThroughput(Integer throughput) {
93+
this.throughput = throughput;
94+
}
95+
96+
97+
@Override
98+
public boolean equals(java.lang.Object o) {
99+
if (this == o) {
100+
return true;
101+
}
102+
if (o == null || getClass() != o.getClass()) {
103+
return false;
104+
}
105+
ExtraPerformanceForDescribeVolumesOutput extraPerformanceForDescribeVolumesOutput = (ExtraPerformanceForDescribeVolumesOutput) o;
106+
return Objects.equals(this.extraPerformanceTypeId, extraPerformanceForDescribeVolumesOutput.extraPerformanceTypeId) &&
107+
Objects.equals(this.IOPS, extraPerformanceForDescribeVolumesOutput.IOPS) &&
108+
Objects.equals(this.throughput, extraPerformanceForDescribeVolumesOutput.throughput);
109+
}
110+
111+
@Override
112+
public int hashCode() {
113+
return Objects.hash(extraPerformanceTypeId, IOPS, throughput);
114+
}
115+
116+
117+
@Override
118+
public String toString() {
119+
StringBuilder sb = new StringBuilder();
120+
sb.append("class ExtraPerformanceForDescribeVolumesOutput {\n");
121+
122+
sb.append(" extraPerformanceTypeId: ").append(toIndentedString(extraPerformanceTypeId)).append("\n");
123+
sb.append(" IOPS: ").append(toIndentedString(IOPS)).append("\n");
124+
sb.append(" throughput: ").append(toIndentedString(throughput)).append("\n");
125+
sb.append("}");
126+
return sb.toString();
127+
}
128+
129+
/**
130+
* Convert the given object to string with each line indented by 4 spaces
131+
* (except the first line).
132+
*/
133+
private String toIndentedString(java.lang.Object o) {
134+
if (o == null) {
135+
return "null";
136+
}
137+
return o.toString().replace("\n", "\n ");
138+
}
139+
140+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* storage_ebs
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.storageebs.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+
* TotalPerformanceForDescribeVolumesOutput
28+
*/
29+
30+
31+
32+
public class TotalPerformanceForDescribeVolumesOutput {
33+
@SerializedName("IOPS")
34+
private Integer IOPS = null;
35+
36+
@SerializedName("Throughput")
37+
private Integer throughput = null;
38+
39+
public TotalPerformanceForDescribeVolumesOutput IOPS(Integer IOPS) {
40+
this.IOPS = IOPS;
41+
return this;
42+
}
43+
44+
/**
45+
* Get IOPS
46+
* @return IOPS
47+
**/
48+
@Schema(description = "")
49+
public Integer getIOPS() {
50+
return IOPS;
51+
}
52+
53+
public void setIOPS(Integer IOPS) {
54+
this.IOPS = IOPS;
55+
}
56+
57+
public TotalPerformanceForDescribeVolumesOutput throughput(Integer throughput) {
58+
this.throughput = throughput;
59+
return this;
60+
}
61+
62+
/**
63+
* Get throughput
64+
* @return throughput
65+
**/
66+
@Schema(description = "")
67+
public Integer getThroughput() {
68+
return throughput;
69+
}
70+
71+
public void setThroughput(Integer throughput) {
72+
this.throughput = throughput;
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+
TotalPerformanceForDescribeVolumesOutput totalPerformanceForDescribeVolumesOutput = (TotalPerformanceForDescribeVolumesOutput) o;
85+
return Objects.equals(this.IOPS, totalPerformanceForDescribeVolumesOutput.IOPS) &&
86+
Objects.equals(this.throughput, totalPerformanceForDescribeVolumesOutput.throughput);
87+
}
88+
89+
@Override
90+
public int hashCode() {
91+
return Objects.hash(IOPS, throughput);
92+
}
93+
94+
95+
@Override
96+
public String toString() {
97+
StringBuilder sb = new StringBuilder();
98+
sb.append("class TotalPerformanceForDescribeVolumesOutput {\n");
99+
100+
sb.append(" IOPS: ").append(toIndentedString(IOPS)).append("\n");
101+
sb.append(" throughput: ").append(toIndentedString(throughput)).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)