Skip to content

Commit b351b08

Browse files
author
BitsAdmin
committed
Merge branch 'vpc-Java-2020-04-01-online-1440-2025_08_12_11_10_31' into 'integration_2025-08-14_1031759586050'
feat: [development task] vpc-1440-Java (1552592) See merge request iaasng/volcengine-java-sdk!609
2 parents 186955a + 958a606 commit b351b08

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesRequest.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ public class ModifyEipAddressAttributesRequest {
3939
@SerializedName("Description")
4040
private String description = null;
4141

42+
@SerializedName("DirectMode")
43+
private Boolean directMode = null;
44+
4245
@SerializedName("Name")
4346
private String name = null;
4447

@@ -101,6 +104,24 @@ public void setDescription(String description) {
101104
this.description = description;
102105
}
103106

107+
public ModifyEipAddressAttributesRequest directMode(Boolean directMode) {
108+
this.directMode = directMode;
109+
return this;
110+
}
111+
112+
/**
113+
* Get directMode
114+
* @return directMode
115+
**/
116+
@Schema(description = "")
117+
public Boolean isDirectMode() {
118+
return directMode;
119+
}
120+
121+
public void setDirectMode(Boolean directMode) {
122+
this.directMode = directMode;
123+
}
124+
104125
public ModifyEipAddressAttributesRequest name(String name) {
105126
this.name = name;
106127
return this;
@@ -150,13 +171,14 @@ public boolean equals(java.lang.Object o) {
150171
return Objects.equals(this.allocationId, modifyEipAddressAttributesRequest.allocationId) &&
151172
Objects.equals(this.bandwidth, modifyEipAddressAttributesRequest.bandwidth) &&
152173
Objects.equals(this.description, modifyEipAddressAttributesRequest.description) &&
174+
Objects.equals(this.directMode, modifyEipAddressAttributesRequest.directMode) &&
153175
Objects.equals(this.name, modifyEipAddressAttributesRequest.name) &&
154176
Objects.equals(this.releaseWithInstance, modifyEipAddressAttributesRequest.releaseWithInstance);
155177
}
156178

157179
@Override
158180
public int hashCode() {
159-
return Objects.hash(allocationId, bandwidth, description, name, releaseWithInstance);
181+
return Objects.hash(allocationId, bandwidth, description, directMode, name, releaseWithInstance);
160182
}
161183

162184

@@ -168,6 +190,7 @@ public String toString() {
168190
sb.append(" allocationId: ").append(toIndentedString(allocationId)).append("\n");
169191
sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n");
170192
sb.append(" description: ").append(toIndentedString(description)).append("\n");
193+
sb.append(" directMode: ").append(toIndentedString(directMode)).append("\n");
171194
sb.append(" name: ").append(toIndentedString(name)).append("\n");
172195
sb.append(" releaseWithInstance: ").append(toIndentedString(releaseWithInstance)).append("\n");
173196
sb.append("}");

0 commit comments

Comments
 (0)