Skip to content

Commit d9ecbea

Browse files
author
BitsAdmin
committed
Merge branch 'vke-Java-2022-05-12-online-1727-2025_10_21_15_39_49' into 'integration_2025-10-23_1073134614018'
feat: [development task] vke-1727-Java (1759193) See merge request iaasng/volcengine-java-sdk!705
2 parents 072cd4c + 36a31f6 commit d9ecbea

File tree

3 files changed

+72
-3
lines changed

3 files changed

+72
-3
lines changed

volcengine-java-sdk-vke/src/main/java/com/volcengine/vke/model/ScheduledInstancePolicyForCreateScalingPolicyInput.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public class ScheduledInstancePolicyForCreateScalingPolicyInput {
3333
@SerializedName("AutoReleaseTime")
3434
private String autoReleaseTime = null;
3535

36+
@SerializedName("BestEffort")
37+
private Boolean bestEffort = null;
38+
3639
/**
3740
* Gets or Sets deliveryType
3841
*/
@@ -149,6 +152,24 @@ public void setAutoReleaseTime(String autoReleaseTime) {
149152
this.autoReleaseTime = autoReleaseTime;
150153
}
151154

155+
public ScheduledInstancePolicyForCreateScalingPolicyInput bestEffort(Boolean bestEffort) {
156+
this.bestEffort = bestEffort;
157+
return this;
158+
}
159+
160+
/**
161+
* Get bestEffort
162+
* @return bestEffort
163+
**/
164+
@Schema(description = "")
165+
public Boolean isBestEffort() {
166+
return bestEffort;
167+
}
168+
169+
public void setBestEffort(Boolean bestEffort) {
170+
this.bestEffort = bestEffort;
171+
}
172+
152173
public ScheduledInstancePolicyForCreateScalingPolicyInput deliveryType(DeliveryTypeEnum deliveryType) {
153174
this.deliveryType = deliveryType;
154175
return this;
@@ -232,6 +253,7 @@ public boolean equals(java.lang.Object o) {
232253
}
233254
ScheduledInstancePolicyForCreateScalingPolicyInput scheduledInstancePolicyForCreateScalingPolicyInput = (ScheduledInstancePolicyForCreateScalingPolicyInput) o;
234255
return Objects.equals(this.autoReleaseTime, scheduledInstancePolicyForCreateScalingPolicyInput.autoReleaseTime) &&
256+
Objects.equals(this.bestEffort, scheduledInstancePolicyForCreateScalingPolicyInput.bestEffort) &&
235257
Objects.equals(this.deliveryType, scheduledInstancePolicyForCreateScalingPolicyInput.deliveryType) &&
236258
Objects.equals(this.elasticScheduledInstanceType, scheduledInstancePolicyForCreateScalingPolicyInput.elasticScheduledInstanceType) &&
237259
Objects.equals(this.endDeliveryTime, scheduledInstancePolicyForCreateScalingPolicyInput.endDeliveryTime) &&
@@ -240,7 +262,7 @@ public boolean equals(java.lang.Object o) {
240262

241263
@Override
242264
public int hashCode() {
243-
return Objects.hash(autoReleaseTime, deliveryType, elasticScheduledInstanceType, endDeliveryTime, startDeliveryTime);
265+
return Objects.hash(autoReleaseTime, bestEffort, deliveryType, elasticScheduledInstanceType, endDeliveryTime, startDeliveryTime);
244266
}
245267

246268

@@ -250,6 +272,7 @@ public String toString() {
250272
sb.append("class ScheduledInstancePolicyForCreateScalingPolicyInput {\n");
251273

252274
sb.append(" autoReleaseTime: ").append(toIndentedString(autoReleaseTime)).append("\n");
275+
sb.append(" bestEffort: ").append(toIndentedString(bestEffort)).append("\n");
253276
sb.append(" deliveryType: ").append(toIndentedString(deliveryType)).append("\n");
254277
sb.append(" elasticScheduledInstanceType: ").append(toIndentedString(elasticScheduledInstanceType)).append("\n");
255278
sb.append(" endDeliveryTime: ").append(toIndentedString(endDeliveryTime)).append("\n");

volcengine-java-sdk-vke/src/main/java/com/volcengine/vke/model/ScheduledInstancePolicyForListScalingPoliciesOutput.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public class ScheduledInstancePolicyForListScalingPoliciesOutput {
3333
@SerializedName("AutoReleaseTime")
3434
private String autoReleaseTime = null;
3535

36+
@SerializedName("BestEffort")
37+
private Boolean bestEffort = null;
38+
3639
/**
3740
* Gets or Sets deliveryType
3841
*/
@@ -149,6 +152,24 @@ public void setAutoReleaseTime(String autoReleaseTime) {
149152
this.autoReleaseTime = autoReleaseTime;
150153
}
151154

155+
public ScheduledInstancePolicyForListScalingPoliciesOutput bestEffort(Boolean bestEffort) {
156+
this.bestEffort = bestEffort;
157+
return this;
158+
}
159+
160+
/**
161+
* Get bestEffort
162+
* @return bestEffort
163+
**/
164+
@Schema(description = "")
165+
public Boolean isBestEffort() {
166+
return bestEffort;
167+
}
168+
169+
public void setBestEffort(Boolean bestEffort) {
170+
this.bestEffort = bestEffort;
171+
}
172+
152173
public ScheduledInstancePolicyForListScalingPoliciesOutput deliveryType(DeliveryTypeEnum deliveryType) {
153174
this.deliveryType = deliveryType;
154175
return this;
@@ -232,6 +253,7 @@ public boolean equals(java.lang.Object o) {
232253
}
233254
ScheduledInstancePolicyForListScalingPoliciesOutput scheduledInstancePolicyForListScalingPoliciesOutput = (ScheduledInstancePolicyForListScalingPoliciesOutput) o;
234255
return Objects.equals(this.autoReleaseTime, scheduledInstancePolicyForListScalingPoliciesOutput.autoReleaseTime) &&
256+
Objects.equals(this.bestEffort, scheduledInstancePolicyForListScalingPoliciesOutput.bestEffort) &&
235257
Objects.equals(this.deliveryType, scheduledInstancePolicyForListScalingPoliciesOutput.deliveryType) &&
236258
Objects.equals(this.elasticScheduledInstanceType, scheduledInstancePolicyForListScalingPoliciesOutput.elasticScheduledInstanceType) &&
237259
Objects.equals(this.endDeliveryTime, scheduledInstancePolicyForListScalingPoliciesOutput.endDeliveryTime) &&
@@ -240,7 +262,7 @@ public boolean equals(java.lang.Object o) {
240262

241263
@Override
242264
public int hashCode() {
243-
return Objects.hash(autoReleaseTime, deliveryType, elasticScheduledInstanceType, endDeliveryTime, startDeliveryTime);
265+
return Objects.hash(autoReleaseTime, bestEffort, deliveryType, elasticScheduledInstanceType, endDeliveryTime, startDeliveryTime);
244266
}
245267

246268

@@ -250,6 +272,7 @@ public String toString() {
250272
sb.append("class ScheduledInstancePolicyForListScalingPoliciesOutput {\n");
251273

252274
sb.append(" autoReleaseTime: ").append(toIndentedString(autoReleaseTime)).append("\n");
275+
sb.append(" bestEffort: ").append(toIndentedString(bestEffort)).append("\n");
253276
sb.append(" deliveryType: ").append(toIndentedString(deliveryType)).append("\n");
254277
sb.append(" elasticScheduledInstanceType: ").append(toIndentedString(elasticScheduledInstanceType)).append("\n");
255278
sb.append(" endDeliveryTime: ").append(toIndentedString(endDeliveryTime)).append("\n");

volcengine-java-sdk-vke/src/main/java/com/volcengine/vke/model/ScheduledInstancePolicyForUpdateScalingPolicyInput.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public class ScheduledInstancePolicyForUpdateScalingPolicyInput {
3333
@SerializedName("AutoReleaseTime")
3434
private String autoReleaseTime = null;
3535

36+
@SerializedName("BestEffort")
37+
private Boolean bestEffort = null;
38+
3639
/**
3740
* Gets or Sets deliveryType
3841
*/
@@ -149,6 +152,24 @@ public void setAutoReleaseTime(String autoReleaseTime) {
149152
this.autoReleaseTime = autoReleaseTime;
150153
}
151154

155+
public ScheduledInstancePolicyForUpdateScalingPolicyInput bestEffort(Boolean bestEffort) {
156+
this.bestEffort = bestEffort;
157+
return this;
158+
}
159+
160+
/**
161+
* Get bestEffort
162+
* @return bestEffort
163+
**/
164+
@Schema(description = "")
165+
public Boolean isBestEffort() {
166+
return bestEffort;
167+
}
168+
169+
public void setBestEffort(Boolean bestEffort) {
170+
this.bestEffort = bestEffort;
171+
}
172+
152173
public ScheduledInstancePolicyForUpdateScalingPolicyInput deliveryType(DeliveryTypeEnum deliveryType) {
153174
this.deliveryType = deliveryType;
154175
return this;
@@ -232,6 +253,7 @@ public boolean equals(java.lang.Object o) {
232253
}
233254
ScheduledInstancePolicyForUpdateScalingPolicyInput scheduledInstancePolicyForUpdateScalingPolicyInput = (ScheduledInstancePolicyForUpdateScalingPolicyInput) o;
234255
return Objects.equals(this.autoReleaseTime, scheduledInstancePolicyForUpdateScalingPolicyInput.autoReleaseTime) &&
256+
Objects.equals(this.bestEffort, scheduledInstancePolicyForUpdateScalingPolicyInput.bestEffort) &&
235257
Objects.equals(this.deliveryType, scheduledInstancePolicyForUpdateScalingPolicyInput.deliveryType) &&
236258
Objects.equals(this.elasticScheduledInstanceType, scheduledInstancePolicyForUpdateScalingPolicyInput.elasticScheduledInstanceType) &&
237259
Objects.equals(this.endDeliveryTime, scheduledInstancePolicyForUpdateScalingPolicyInput.endDeliveryTime) &&
@@ -240,7 +262,7 @@ public boolean equals(java.lang.Object o) {
240262

241263
@Override
242264
public int hashCode() {
243-
return Objects.hash(autoReleaseTime, deliveryType, elasticScheduledInstanceType, endDeliveryTime, startDeliveryTime);
265+
return Objects.hash(autoReleaseTime, bestEffort, deliveryType, elasticScheduledInstanceType, endDeliveryTime, startDeliveryTime);
244266
}
245267

246268

@@ -250,6 +272,7 @@ public String toString() {
250272
sb.append("class ScheduledInstancePolicyForUpdateScalingPolicyInput {\n");
251273

252274
sb.append(" autoReleaseTime: ").append(toIndentedString(autoReleaseTime)).append("\n");
275+
sb.append(" bestEffort: ").append(toIndentedString(bestEffort)).append("\n");
253276
sb.append(" deliveryType: ").append(toIndentedString(deliveryType)).append("\n");
254277
sb.append(" elasticScheduledInstanceType: ").append(toIndentedString(elasticScheduledInstanceType)).append("\n");
255278
sb.append(" endDeliveryTime: ").append(toIndentedString(endDeliveryTime)).append("\n");

0 commit comments

Comments
 (0)