Skip to content

Commit

Permalink
Merge pull request #86 from volcengine/xieming-0623-0811
Browse files Browse the repository at this point in the history
Xieming 0623 0811
  • Loading branch information
xuyaming0800 authored Aug 16, 2023
2 parents ee384a5 + 8e144b6 commit 4c9091a
Show file tree
Hide file tree
Showing 141 changed files with 4,106 additions and 226 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>com.volcengine</groupId>
<artifactId>volcengine-java-sdk-bom</artifactId>
<version>0.1.73</version>
<version>0.1.74</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -70,12 +70,12 @@
<dependency>
<groupId>com.volcengine</groupId>
<artifactId>volcengine-java-sdk-vpc</artifactId>
<version>0.1.73</version>
<version>0.1.74</version>
</dependency>
<dependency>
<groupId>com.volcengine</groupId>
<artifactId>volcengine-java-sdk-ecs</artifactId>
<version>0.1.73</version>
<version>0.1.74</version>
</dependency>
</dependencies>
```
Expand Down
4 changes: 2 additions & 2 deletions meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"lasted": "0.1.73",
"meta_commit": "346fee177a0181dc84cb8af6acaf4ece97149bed"
"lasted": "0.1.74",
"meta_commit": "dd1f30a0f17e36cb19b558dee510d71efa7e8cfa"
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.volcengine</groupId>
<artifactId>volcengine-java-sdk</artifactId>
<packaging>pom</packaging>
<version>0.1.73</version>
<version>0.1.74</version>
<name>volcengine-java-sdk</name>
<url>https://open.volcengineapi.com</url>
<description>The Java SDK For Volcengine</description>
Expand Down
2 changes: 1 addition & 1 deletion volcengine-java-sdk-alb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>volcengine-java-sdk</artifactId>
<groupId>com.volcengine</groupId>
<version>0.1.73</version>
<version>0.1.74</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion volcengine-java-sdk-autoscaling/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>volcengine-java-sdk</artifactId>
<groupId>com.volcengine</groupId>
<version>0.1.73</version>
<version>0.1.74</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down

Large diffs are not rendered by default.

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



public class AlarmPolicyConditionForCreateScalingPolicyInput {
@SerializedName("ComparisonOperator")
private String comparisonOperator = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class AlarmPolicyConditionForModifyScalingPolicyInput {
@SerializedName("ComparisonOperator")
private String comparisonOperator = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/



public class AlarmPolicyForCreateScalingPolicyInput {
@SerializedName("Condition")
private AlarmPolicyConditionForCreateScalingPolicyInput condition = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/



public class AlarmPolicyForDescribeScalingPoliciesOutput {
@SerializedName("Condition")
private ConditionForDescribeScalingPoliciesOutput condition = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/



public class AlarmPolicyForModifyScalingPolicyInput {
@SerializedName("Condition")
private AlarmPolicyConditionForModifyScalingPolicyInput condition = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
*/



public class AttachDBInstancesRequest {
@SerializedName("DBInstanceIds")
private List<String> dbInstanceIds = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class AttachDBInstancesResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("ScalingGroupId")
private String scalingGroupId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@
*/



public class AttachInstancesRequest {
@SerializedName("Entrusted")
private Boolean entrusted = null;

@SerializedName("InstanceIds")
private List<String> instanceIds = null;

@SerializedName("LifecycleHook")
private Boolean lifecycleHook = null;

@SerializedName("ScalingGroupId")
private String scalingGroupId = null;

Expand Down Expand Up @@ -85,6 +87,24 @@ public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
}

public AttachInstancesRequest lifecycleHook(Boolean lifecycleHook) {
this.lifecycleHook = lifecycleHook;
return this;
}

/**
* Get lifecycleHook
* @return lifecycleHook
**/
@Schema(description = "")
public Boolean isLifecycleHook() {
return lifecycleHook;
}

public void setLifecycleHook(Boolean lifecycleHook) {
this.lifecycleHook = lifecycleHook;
}

public AttachInstancesRequest scalingGroupId(String scalingGroupId) {
this.scalingGroupId = scalingGroupId;
return this;
Expand All @@ -94,8 +114,7 @@ public AttachInstancesRequest scalingGroupId(String scalingGroupId) {
* Get scalingGroupId
* @return scalingGroupId
**/
@NotNull
@Schema(required = true, description = "")
@Schema(description = "")
public String getScalingGroupId() {
return scalingGroupId;
}
Expand All @@ -116,12 +135,13 @@ public boolean equals(java.lang.Object o) {
AttachInstancesRequest attachInstancesRequest = (AttachInstancesRequest) o;
return Objects.equals(this.entrusted, attachInstancesRequest.entrusted) &&
Objects.equals(this.instanceIds, attachInstancesRequest.instanceIds) &&
Objects.equals(this.lifecycleHook, attachInstancesRequest.lifecycleHook) &&
Objects.equals(this.scalingGroupId, attachInstancesRequest.scalingGroupId);
}

@Override
public int hashCode() {
return Objects.hash(entrusted, instanceIds, scalingGroupId);
return Objects.hash(entrusted, instanceIds, lifecycleHook, scalingGroupId);
}


Expand All @@ -132,6 +152,7 @@ public String toString() {

sb.append(" entrusted: ").append(toIndentedString(entrusted)).append("\n");
sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n");
sb.append(" lifecycleHook: ").append(toIndentedString(lifecycleHook)).append("\n");
sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n");
sb.append("}");
return sb.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/



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

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,34 @@
*/



public class AttachServerGroupsRequest {
@SerializedName("ClientToken")
private String clientToken = null;

@SerializedName("ScalingGroupId")
private String scalingGroupId = null;

@SerializedName("ServerGroupAttributes")
private List<ServerGroupAttributeForAttachServerGroupsInput> serverGroupAttributes = null;

public AttachServerGroupsRequest clientToken(String clientToken) {
this.clientToken = clientToken;
return this;
}

/**
* Get clientToken
* @return clientToken
**/
@Schema(description = "")
public String getClientToken() {
return clientToken;
}

public void setClientToken(String clientToken) {
this.clientToken = clientToken;
}

public AttachServerGroupsRequest scalingGroupId(String scalingGroupId) {
this.scalingGroupId = scalingGroupId;
return this;
Expand All @@ -48,8 +68,7 @@ public AttachServerGroupsRequest scalingGroupId(String scalingGroupId) {
* Get scalingGroupId
* @return scalingGroupId
**/
@NotNull
@Schema(required = true, description = "")
@Schema(description = "")
public String getScalingGroupId() {
return scalingGroupId;
}
Expand Down Expand Up @@ -95,13 +114,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
AttachServerGroupsRequest attachServerGroupsRequest = (AttachServerGroupsRequest) o;
return Objects.equals(this.scalingGroupId, attachServerGroupsRequest.scalingGroupId) &&
return Objects.equals(this.clientToken, attachServerGroupsRequest.clientToken) &&
Objects.equals(this.scalingGroupId, attachServerGroupsRequest.scalingGroupId) &&
Objects.equals(this.serverGroupAttributes, attachServerGroupsRequest.serverGroupAttributes);
}

@Override
public int hashCode() {
return Objects.hash(scalingGroupId, serverGroupAttributes);
return Objects.hash(clientToken, scalingGroupId, serverGroupAttributes);
}


Expand All @@ -110,6 +130,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AttachServerGroupsRequest {\n");

sb.append(" clientToken: ").append(toIndentedString(clientToken)).append("\n");
sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n");
sb.append(" serverGroupAttributes: ").append(toIndentedString(serverGroupAttributes)).append("\n");
sb.append("}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class AttachServerGroupsResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("ScalingGroupId")
private String scalingGroupId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class CompleteLifecycleActivityRequest {
@SerializedName("LifecycleActivityId")
private String lifecycleActivityId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class CompleteLifecycleActivityResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("InstanceId")
private String instanceId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class ConditionForDescribeScalingPoliciesOutput {
@SerializedName("ComparisonOperator")
private String comparisonOperator = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class CreateLifecycleHookRequest {
@SerializedName("LifecycleHookName")
private String lifecycleHookName = null;
Expand All @@ -54,8 +53,7 @@ public CreateLifecycleHookRequest lifecycleHookName(String lifecycleHookName) {
* Get lifecycleHookName
* @return lifecycleHookName
**/
@NotNull
@Schema(required = true, description = "")
@Schema(description = "")
public String getLifecycleHookName() {
return lifecycleHookName;
}
Expand All @@ -73,8 +71,7 @@ public CreateLifecycleHookRequest lifecycleHookPolicy(String lifecycleHookPolicy
* Get lifecycleHookPolicy
* @return lifecycleHookPolicy
**/
@NotNull
@Schema(required = true, description = "")
@Schema(description = "")
public String getLifecycleHookPolicy() {
return lifecycleHookPolicy;
}
Expand All @@ -92,8 +89,7 @@ public CreateLifecycleHookRequest lifecycleHookTimeout(Integer lifecycleHookTime
* Get lifecycleHookTimeout
* @return lifecycleHookTimeout
**/
@NotNull
@Schema(required = true, description = "")
@Schema(description = "")
public Integer getLifecycleHookTimeout() {
return lifecycleHookTimeout;
}
Expand All @@ -111,8 +107,7 @@ public CreateLifecycleHookRequest lifecycleHookType(String lifecycleHookType) {
* Get lifecycleHookType
* @return lifecycleHookType
**/
@NotNull
@Schema(required = true, description = "")
@Schema(description = "")
public String getLifecycleHookType() {
return lifecycleHookType;
}
Expand All @@ -130,8 +125,7 @@ public CreateLifecycleHookRequest scalingGroupId(String scalingGroupId) {
* Get scalingGroupId
* @return scalingGroupId
**/
@NotNull
@Schema(required = true, description = "")
@Schema(description = "")
public String getScalingGroupId() {
return scalingGroupId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/



public class CreateLifecycleHookResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("LifecycleHookId")
private String lifecycleHookId = null;
Expand Down
Loading

0 comments on commit 4c9091a

Please sign in to comment.