Skip to content

Commit 6ed7e14

Browse files
committed
update
2 parents bdc081b + 8ece2a5 commit 6ed7e14

File tree

78 files changed

+9348
-253
lines changed

Some content is hidden

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

78 files changed

+9348
-253
lines changed

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"lasted": "0.1.105",
3-
"meta_commit": "be2a5313d76213964db820ef5c812485e2db1281"
3+
"meta_commit": "8f86397ab7fcd8bc8b8558b00adb516aac0cc89f"
44
}

volcengine-java-sdk-storageebs/src/main/java/com/volcengine/storageebs/StorageEbsApi.java

Lines changed: 2210 additions & 194 deletions
Large diffs are not rendered by default.

volcengine-java-sdk-storageebs/src/main/java/com/volcengine/storageebs/model/TerminateVolumesRequest.java renamed to volcengine-java-sdk-storageebs/src/main/java/com/volcengine/storageebs/model/ApplyAutoSnapshotPolicyRequest.java

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,42 @@
2626
import javax.validation.constraints.*;
2727
import javax.validation.Valid;
2828
/**
29-
* TerminateVolumesRequest
29+
* ApplyAutoSnapshotPolicyRequest
3030
*/
3131

3232

33+
public class ApplyAutoSnapshotPolicyRequest {
34+
@SerializedName("AutoSnapshotPolicyId")
35+
private String autoSnapshotPolicyId = null;
3336

34-
public class TerminateVolumesRequest {
3537
@SerializedName("VolumeIds")
3638
private List<String> volumeIds = null;
3739

38-
public TerminateVolumesRequest volumeIds(List<String> volumeIds) {
40+
public ApplyAutoSnapshotPolicyRequest autoSnapshotPolicyId(String autoSnapshotPolicyId) {
41+
this.autoSnapshotPolicyId = autoSnapshotPolicyId;
42+
return this;
43+
}
44+
45+
/**
46+
* Get autoSnapshotPolicyId
47+
* @return autoSnapshotPolicyId
48+
**/
49+
@NotNull
50+
@Schema(required = true, description = "")
51+
public String getAutoSnapshotPolicyId() {
52+
return autoSnapshotPolicyId;
53+
}
54+
55+
public void setAutoSnapshotPolicyId(String autoSnapshotPolicyId) {
56+
this.autoSnapshotPolicyId = autoSnapshotPolicyId;
57+
}
58+
59+
public ApplyAutoSnapshotPolicyRequest volumeIds(List<String> volumeIds) {
3960
this.volumeIds = volumeIds;
4061
return this;
4162
}
4263

43-
public TerminateVolumesRequest addVolumeIdsItem(String volumeIdsItem) {
64+
public ApplyAutoSnapshotPolicyRequest addVolumeIdsItem(String volumeIdsItem) {
4465
if (this.volumeIds == null) {
4566
this.volumeIds = new ArrayList<String>();
4667
}
@@ -70,21 +91,23 @@ public boolean equals(java.lang.Object o) {
7091
if (o == null || getClass() != o.getClass()) {
7192
return false;
7293
}
73-
TerminateVolumesRequest terminateVolumesRequest = (TerminateVolumesRequest) o;
74-
return Objects.equals(this.volumeIds, terminateVolumesRequest.volumeIds);
94+
ApplyAutoSnapshotPolicyRequest applyAutoSnapshotPolicyRequest = (ApplyAutoSnapshotPolicyRequest) o;
95+
return Objects.equals(this.autoSnapshotPolicyId, applyAutoSnapshotPolicyRequest.autoSnapshotPolicyId) &&
96+
Objects.equals(this.volumeIds, applyAutoSnapshotPolicyRequest.volumeIds);
7597
}
7698

7799
@Override
78100
public int hashCode() {
79-
return Objects.hash(volumeIds);
101+
return Objects.hash(autoSnapshotPolicyId, volumeIds);
80102
}
81103

82104

83105
@Override
84106
public String toString() {
85107
StringBuilder sb = new StringBuilder();
86-
sb.append("class TerminateVolumesRequest {\n");
108+
sb.append("class ApplyAutoSnapshotPolicyRequest {\n");
87109

110+
sb.append(" autoSnapshotPolicyId: ").append(toIndentedString(autoSnapshotPolicyId)).append("\n");
88111
sb.append(" volumeIds: ").append(toIndentedString(volumeIds)).append("\n");
89112
sb.append("}");
90113
return sb.toString();
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 javax.validation.constraints.*;
18+
import javax.validation.Valid;
19+
/**
20+
* ApplyAutoSnapshotPolicyResponse
21+
*/
22+
23+
24+
public class ApplyAutoSnapshotPolicyResponse extends com.volcengine.model.AbstractResponse {
25+
26+
@Override
27+
public boolean equals(java.lang.Object o) {
28+
if (this == o) {
29+
return true;
30+
}
31+
if (o == null || getClass() != o.getClass()) {
32+
return false;
33+
}
34+
return true;
35+
}
36+
37+
@Override
38+
public int hashCode() {
39+
return Objects.hash();
40+
}
41+
42+
43+
@Override
44+
public String toString() {
45+
StringBuilder sb = new StringBuilder();
46+
sb.append("class ApplyAutoSnapshotPolicyResponse {\n");
47+
48+
sb.append("}");
49+
return sb.toString();
50+
}
51+
52+
/**
53+
* Convert the given object to string with each line indented by 4 spaces
54+
* (except the first line).
55+
*/
56+
private String toIndentedString(java.lang.Object o) {
57+
if (o == null) {
58+
return "null";
59+
}
60+
return o.toString().replace("\n", "\n ");
61+
}
62+
63+
}

volcengine-java-sdk-storageebs/src/main/java/com/volcengine/storageebs/model/AttachVolumeRequest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
*/
2929

3030

31-
3231
public class AttachVolumeRequest {
3332
@SerializedName("DeleteWithInstance")
3433
private Boolean deleteWithInstance = null;

volcengine-java-sdk-storageebs/src/main/java/com/volcengine/storageebs/model/AttachVolumeResponse.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
*/
2222

2323

24-
2524
public class AttachVolumeResponse extends com.volcengine.model.AbstractResponse {
2625

2726
@Override

0 commit comments

Comments
 (0)