com.aliyun.cs20151215.models.ListOperationPlansResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cs20151215 Show documentation
Show all versions of cs20151215 Show documentation
Alibaba Cloud CS (20151215) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class ListOperationPlansResponseBody extends TeaModel {
/**
* The operation plans.
*/
@NameInMap("plans")
public java.util.List plans;
public static ListOperationPlansResponseBody build(java.util.Map map) throws Exception {
ListOperationPlansResponseBody self = new ListOperationPlansResponseBody();
return TeaModel.build(map, self);
}
public ListOperationPlansResponseBody setPlans(java.util.List plans) {
this.plans = plans;
return this;
}
public java.util.List getPlans() {
return this.plans;
}
public static class ListOperationPlansResponseBodyPlans extends TeaModel {
/**
* The cluster ID.
*
* example:
* c29ced64b3dfe4f33b57ca0aa9f68****
*/
@NameInMap("cluster_id")
public String clusterId;
/**
* The time when the operation plan was created.
*
* example:
* 2023-11-21T20:01:22+08:00
*/
@NameInMap("created")
public String created;
/**
* The expected end time of the plan.
*
* example:
* 2023-11-22T18:00:00+08:00
*/
@NameInMap("end_time")
public String endTime;
/**
* The operation plan ID.
*
* example:
* P-655c9c127e0e6603ef00****
*/
@NameInMap("plan_id")
public String planId;
/**
* The expected start time of the plan.
*
* example:
* 2023-11-22T15:18:00+08:00
*/
@NameInMap("start_time")
public String startTime;
/**
* The plan status. Valid values:
*
* - scheduled
* - Canceled
*
*
* example:
* scheduled
*/
@NameInMap("state")
public String state;
/**
* The target ID.
*
* example:
* c29ced64b3dfe4f33b57ca0aa9f68****
*/
@NameInMap("target_id")
public String targetId;
/**
* The target type.
*
* example:
* cluster
*/
@NameInMap("target_type")
public String targetType;
/**
* The plan type. Valid values:
*
* - cluster_upgrade
*
*
* example:
* cluster_upgrade
*/
@NameInMap("type")
public String type;
public static ListOperationPlansResponseBodyPlans build(java.util.Map map) throws Exception {
ListOperationPlansResponseBodyPlans self = new ListOperationPlansResponseBodyPlans();
return TeaModel.build(map, self);
}
public ListOperationPlansResponseBodyPlans setClusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
public String getClusterId() {
return this.clusterId;
}
public ListOperationPlansResponseBodyPlans setCreated(String created) {
this.created = created;
return this;
}
public String getCreated() {
return this.created;
}
public ListOperationPlansResponseBodyPlans setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public ListOperationPlansResponseBodyPlans setPlanId(String planId) {
this.planId = planId;
return this;
}
public String getPlanId() {
return this.planId;
}
public ListOperationPlansResponseBodyPlans setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
public String getStartTime() {
return this.startTime;
}
public ListOperationPlansResponseBodyPlans setState(String state) {
this.state = state;
return this;
}
public String getState() {
return this.state;
}
public ListOperationPlansResponseBodyPlans setTargetId(String targetId) {
this.targetId = targetId;
return this;
}
public String getTargetId() {
return this.targetId;
}
public ListOperationPlansResponseBodyPlans setTargetType(String targetType) {
this.targetType = targetType;
return this;
}
public String getTargetType() {
return this.targetType;
}
public ListOperationPlansResponseBodyPlans setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}