com.aliyun.edas20170801.models.InsertDeployGroupResponseBody Maven / Gradle / Ivy
Show all versions of edas20170801 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.edas20170801.models;
import com.aliyun.tea.*;
public class InsertDeployGroupResponseBody extends TeaModel {
/**
* The HTTP status code that is returned.
*/
@NameInMap("Code")
public Integer code;
/**
* The information about the instance group.
*/
@NameInMap("DeployGroupEntity")
public InsertDeployGroupResponseBodyDeployGroupEntity deployGroupEntity;
/**
* The additional information that is returned.
*/
@NameInMap("Message")
public String message;
/**
* The ID of the request.
*/
@NameInMap("RequestId")
public String requestId;
public static InsertDeployGroupResponseBody build(java.util.Map map) throws Exception {
InsertDeployGroupResponseBody self = new InsertDeployGroupResponseBody();
return TeaModel.build(map, self);
}
public InsertDeployGroupResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public InsertDeployGroupResponseBody setDeployGroupEntity(InsertDeployGroupResponseBodyDeployGroupEntity deployGroupEntity) {
this.deployGroupEntity = deployGroupEntity;
return this;
}
public InsertDeployGroupResponseBodyDeployGroupEntity getDeployGroupEntity() {
return this.deployGroupEntity;
}
public InsertDeployGroupResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public InsertDeployGroupResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class InsertDeployGroupResponseBodyDeployGroupEntity extends TeaModel {
/**
* The ID of the application.
*/
@NameInMap("AppId")
public String appId;
/**
* The version of the deployment package for the application.
*
* * If the application is deployed, a string of random numbers is returned.
* * If the application is not deployed, the return value is empty.
*/
@NameInMap("AppVersionId")
public String appVersionId;
/**
* The ID of the cluster.
*/
@NameInMap("ClusterId")
public String clusterId;
/**
* The time when the instance group was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
*/
@NameInMap("CreateTime")
public Long createTime;
/**
* The name of the instance group.
*/
@NameInMap("GroupName")
public String groupName;
/**
* The type of the instance group. Valid values:
*
* * 0: the default group.
* * 1: a group for which canary traffic management is not enabled.
* * 2: a group for which canary traffic management is enabled.
*/
@NameInMap("GroupType")
public Integer groupType;
/**
* The ID of the instance group.
*/
@NameInMap("Id")
public String id;
/**
* The version of the deployment package that was used to deploy an application in the instance group.
*
* * If an application is deployed in the instance group, a string of random numbers is returned.
* * If no application is deployed in the instance group, the return value is empty.
*/
@NameInMap("PackageVersionId")
public String packageVersionId;
/**
* The time when the instance group was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
*/
@NameInMap("UpdateTime")
public Long updateTime;
public static InsertDeployGroupResponseBodyDeployGroupEntity build(java.util.Map map) throws Exception {
InsertDeployGroupResponseBodyDeployGroupEntity self = new InsertDeployGroupResponseBodyDeployGroupEntity();
return TeaModel.build(map, self);
}
public InsertDeployGroupResponseBodyDeployGroupEntity setAppId(String appId) {
this.appId = appId;
return this;
}
public String getAppId() {
return this.appId;
}
public InsertDeployGroupResponseBodyDeployGroupEntity setAppVersionId(String appVersionId) {
this.appVersionId = appVersionId;
return this;
}
public String getAppVersionId() {
return this.appVersionId;
}
public InsertDeployGroupResponseBodyDeployGroupEntity setClusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
public String getClusterId() {
return this.clusterId;
}
public InsertDeployGroupResponseBodyDeployGroupEntity setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public InsertDeployGroupResponseBodyDeployGroupEntity setGroupName(String groupName) {
this.groupName = groupName;
return this;
}
public String getGroupName() {
return this.groupName;
}
public InsertDeployGroupResponseBodyDeployGroupEntity setGroupType(Integer groupType) {
this.groupType = groupType;
return this;
}
public Integer getGroupType() {
return this.groupType;
}
public InsertDeployGroupResponseBodyDeployGroupEntity setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public InsertDeployGroupResponseBodyDeployGroupEntity setPackageVersionId(String packageVersionId) {
this.packageVersionId = packageVersionId;
return this;
}
public String getPackageVersionId() {
return this.packageVersionId;
}
public InsertDeployGroupResponseBodyDeployGroupEntity setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
public Long getUpdateTime() {
return this.updateTime;
}
}
}