Skip to content

Commit 4b94d4b

Browse files
author
BitsAdmin
committed
Merge branch 'filenas-Java-2022-01-01-online-1028-2025_03_15_11_56_21' into 'integration_2025-03-20_797631155970'
feat: [development task] FileNAS-1028-Java (1094076) See merge request iaasng/volcengine-java-sdk!414
2 parents e273edb + 6b0bcb9 commit 4b94d4b

File tree

64 files changed

+12896
-348
lines changed

Some content is hidden

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

64 files changed

+12896
-348
lines changed

volcengine-java-sdk-filenas/src/main/java/com/volcengine/filenas/FilenasApi.java

Lines changed: 1722 additions & 336 deletions
Large diffs are not rendered by default.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
/*
2+
* filenas
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.filenas.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+
* CachePerformanceForDescribeFileSystemsOutput
28+
*/
29+
30+
31+
32+
public class CachePerformanceForDescribeFileSystemsOutput {
33+
@SerializedName("BaseBandwidth")
34+
private Integer baseBandwidth = null;
35+
36+
@SerializedName("CacheBandwidth")
37+
private Integer cacheBandwidth = null;
38+
39+
@SerializedName("DataFlowBandwidth")
40+
private Integer dataFlowBandwidth = null;
41+
42+
public CachePerformanceForDescribeFileSystemsOutput baseBandwidth(Integer baseBandwidth) {
43+
this.baseBandwidth = baseBandwidth;
44+
return this;
45+
}
46+
47+
/**
48+
* Get baseBandwidth
49+
* @return baseBandwidth
50+
**/
51+
@Schema(description = "")
52+
public Integer getBaseBandwidth() {
53+
return baseBandwidth;
54+
}
55+
56+
public void setBaseBandwidth(Integer baseBandwidth) {
57+
this.baseBandwidth = baseBandwidth;
58+
}
59+
60+
public CachePerformanceForDescribeFileSystemsOutput cacheBandwidth(Integer cacheBandwidth) {
61+
this.cacheBandwidth = cacheBandwidth;
62+
return this;
63+
}
64+
65+
/**
66+
* Get cacheBandwidth
67+
* @return cacheBandwidth
68+
**/
69+
@Schema(description = "")
70+
public Integer getCacheBandwidth() {
71+
return cacheBandwidth;
72+
}
73+
74+
public void setCacheBandwidth(Integer cacheBandwidth) {
75+
this.cacheBandwidth = cacheBandwidth;
76+
}
77+
78+
public CachePerformanceForDescribeFileSystemsOutput dataFlowBandwidth(Integer dataFlowBandwidth) {
79+
this.dataFlowBandwidth = dataFlowBandwidth;
80+
return this;
81+
}
82+
83+
/**
84+
* Get dataFlowBandwidth
85+
* @return dataFlowBandwidth
86+
**/
87+
@Schema(description = "")
88+
public Integer getDataFlowBandwidth() {
89+
return dataFlowBandwidth;
90+
}
91+
92+
public void setDataFlowBandwidth(Integer dataFlowBandwidth) {
93+
this.dataFlowBandwidth = dataFlowBandwidth;
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+
CachePerformanceForDescribeFileSystemsOutput cachePerformanceForDescribeFileSystemsOutput = (CachePerformanceForDescribeFileSystemsOutput) o;
106+
return Objects.equals(this.baseBandwidth, cachePerformanceForDescribeFileSystemsOutput.baseBandwidth) &&
107+
Objects.equals(this.cacheBandwidth, cachePerformanceForDescribeFileSystemsOutput.cacheBandwidth) &&
108+
Objects.equals(this.dataFlowBandwidth, cachePerformanceForDescribeFileSystemsOutput.dataFlowBandwidth);
109+
}
110+
111+
@Override
112+
public int hashCode() {
113+
return Objects.hash(baseBandwidth, cacheBandwidth, dataFlowBandwidth);
114+
}
115+
116+
117+
@Override
118+
public String toString() {
119+
StringBuilder sb = new StringBuilder();
120+
sb.append("class CachePerformanceForDescribeFileSystemsOutput {\n");
121+
122+
sb.append(" baseBandwidth: ").append(toIndentedString(baseBandwidth)).append("\n");
123+
sb.append(" cacheBandwidth: ").append(toIndentedString(cacheBandwidth)).append("\n");
124+
sb.append(" dataFlowBandwidth: ").append(toIndentedString(dataFlowBandwidth)).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: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/*
2+
* filenas
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.filenas.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+
* CancelDataFlowTaskRequest
28+
*/
29+
30+
31+
32+
public class CancelDataFlowTaskRequest {
33+
@SerializedName("Id")
34+
private String id = null;
35+
36+
public CancelDataFlowTaskRequest id(String id) {
37+
this.id = id;
38+
return this;
39+
}
40+
41+
/**
42+
* Get id
43+
* @return id
44+
**/
45+
@NotNull
46+
@Schema(required = true, description = "")
47+
public String getId() {
48+
return id;
49+
}
50+
51+
public void setId(String id) {
52+
this.id = id;
53+
}
54+
55+
56+
@Override
57+
public boolean equals(java.lang.Object o) {
58+
if (this == o) {
59+
return true;
60+
}
61+
if (o == null || getClass() != o.getClass()) {
62+
return false;
63+
}
64+
CancelDataFlowTaskRequest cancelDataFlowTaskRequest = (CancelDataFlowTaskRequest) o;
65+
return Objects.equals(this.id, cancelDataFlowTaskRequest.id);
66+
}
67+
68+
@Override
69+
public int hashCode() {
70+
return Objects.hash(id);
71+
}
72+
73+
74+
@Override
75+
public String toString() {
76+
StringBuilder sb = new StringBuilder();
77+
sb.append("class CancelDataFlowTaskRequest {\n");
78+
79+
sb.append(" id: ").append(toIndentedString(id)).append("\n");
80+
sb.append("}");
81+
return sb.toString();
82+
}
83+
84+
/**
85+
* Convert the given object to string with each line indented by 4 spaces
86+
* (except the first line).
87+
*/
88+
private String toIndentedString(java.lang.Object o) {
89+
if (o == null) {
90+
return "null";
91+
}
92+
return o.toString().replace("\n", "\n ");
93+
}
94+
95+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* filenas
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.filenas.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* CancelDataFlowTaskResponse
21+
*/
22+
23+
24+
25+
public class CancelDataFlowTaskResponse 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 CancelDataFlowTaskResponse {\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)