Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liuweiwei-xyz committed Apr 11, 2024
2 parents bdc081b + 8ece2a5 commit 6ed7e14
Show file tree
Hide file tree
Showing 78 changed files with 9,348 additions and 253 deletions.
2 changes: 1 addition & 1 deletion meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"lasted": "0.1.105",
"meta_commit": "be2a5313d76213964db820ef5c812485e2db1281"
"meta_commit": "8f86397ab7fcd8bc8b8558b00adb516aac0cc89f"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,42 @@
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* TerminateVolumesRequest
* ApplyAutoSnapshotPolicyRequest
*/


public class ApplyAutoSnapshotPolicyRequest {
@SerializedName("AutoSnapshotPolicyId")
private String autoSnapshotPolicyId = null;

public class TerminateVolumesRequest {
@SerializedName("VolumeIds")
private List<String> volumeIds = null;

public TerminateVolumesRequest volumeIds(List<String> volumeIds) {
public ApplyAutoSnapshotPolicyRequest autoSnapshotPolicyId(String autoSnapshotPolicyId) {
this.autoSnapshotPolicyId = autoSnapshotPolicyId;
return this;
}

/**
* Get autoSnapshotPolicyId
* @return autoSnapshotPolicyId
**/
@NotNull
@Schema(required = true, description = "")
public String getAutoSnapshotPolicyId() {
return autoSnapshotPolicyId;
}

public void setAutoSnapshotPolicyId(String autoSnapshotPolicyId) {
this.autoSnapshotPolicyId = autoSnapshotPolicyId;
}

public ApplyAutoSnapshotPolicyRequest volumeIds(List<String> volumeIds) {
this.volumeIds = volumeIds;
return this;
}

public TerminateVolumesRequest addVolumeIdsItem(String volumeIdsItem) {
public ApplyAutoSnapshotPolicyRequest addVolumeIdsItem(String volumeIdsItem) {
if (this.volumeIds == null) {
this.volumeIds = new ArrayList<String>();
}
Expand Down Expand Up @@ -70,21 +91,23 @@ public boolean equals(java.lang.Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
TerminateVolumesRequest terminateVolumesRequest = (TerminateVolumesRequest) o;
return Objects.equals(this.volumeIds, terminateVolumesRequest.volumeIds);
ApplyAutoSnapshotPolicyRequest applyAutoSnapshotPolicyRequest = (ApplyAutoSnapshotPolicyRequest) o;
return Objects.equals(this.autoSnapshotPolicyId, applyAutoSnapshotPolicyRequest.autoSnapshotPolicyId) &&
Objects.equals(this.volumeIds, applyAutoSnapshotPolicyRequest.volumeIds);
}

@Override
public int hashCode() {
return Objects.hash(volumeIds);
return Objects.hash(autoSnapshotPolicyId, volumeIds);
}


@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TerminateVolumesRequest {\n");
sb.append("class ApplyAutoSnapshotPolicyRequest {\n");

sb.append(" autoSnapshotPolicyId: ").append(toIndentedString(autoSnapshotPolicyId)).append("\n");
sb.append(" volumeIds: ").append(toIndentedString(volumeIds)).append("\n");
sb.append("}");
return sb.toString();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* storage_ebs
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/

package com.volcengine.storageebs.model;

import java.util.Objects;
import java.util.Arrays;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* ApplyAutoSnapshotPolicyResponse
*/


public class ApplyAutoSnapshotPolicyResponse extends com.volcengine.model.AbstractResponse {

@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
return true;
}

@Override
public int hashCode() {
return Objects.hash();
}


@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ApplyAutoSnapshotPolicyResponse {\n");

sb.append("}");
return sb.toString();
}

/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class AttachVolumeRequest {
@SerializedName("DeleteWithInstance")
private Boolean deleteWithInstance = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/



public class AttachVolumeResponse extends com.volcengine.model.AbstractResponse {

@Override
Expand Down
Loading

0 comments on commit 6ed7e14

Please sign in to comment.