All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.cs20151215.models.DescribeClusterTasksResponseBody Maven / Gradle / Ivy

There is a newer version: 4.8.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;

import com.aliyun.tea.*;

public class DescribeClusterTasksResponseBody extends TeaModel {
    /**
     * 

The pagination information.

*/ @NameInMap("page_info") public DescribeClusterTasksResponseBodyPageInfo pageInfo; /** *

The request ID.

* * example: *

0527ac9a-c899-4341-a21a-xxxxxxxxx

*/ @NameInMap("requestId") public String requestId; /** *

The information about the tasks.

*/ @NameInMap("tasks") public java.util.List tasks; public static DescribeClusterTasksResponseBody build(java.util.Map map) throws Exception { DescribeClusterTasksResponseBody self = new DescribeClusterTasksResponseBody(); return TeaModel.build(map, self); } public DescribeClusterTasksResponseBody setPageInfo(DescribeClusterTasksResponseBodyPageInfo pageInfo) { this.pageInfo = pageInfo; return this; } public DescribeClusterTasksResponseBodyPageInfo getPageInfo() { return this.pageInfo; } public DescribeClusterTasksResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeClusterTasksResponseBody setTasks(java.util.List tasks) { this.tasks = tasks; return this; } public java.util.List getTasks() { return this.tasks; } public static class DescribeClusterTasksResponseBodyPageInfo extends TeaModel { /** *

The number of the page returned.

* * example: *

1

*/ @NameInMap("page_number") public Long pageNumber; /** *

The number of entries per page.

* * example: *

10

*/ @NameInMap("page_size") public Long pageSize; /** *

The total number of entries returned.

* * example: *

10

*/ @NameInMap("total_count") public Long totalCount; public static DescribeClusterTasksResponseBodyPageInfo build(java.util.Map map) throws Exception { DescribeClusterTasksResponseBodyPageInfo self = new DescribeClusterTasksResponseBodyPageInfo(); return TeaModel.build(map, self); } public DescribeClusterTasksResponseBodyPageInfo setPageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } public Long getPageNumber() { return this.pageNumber; } public DescribeClusterTasksResponseBodyPageInfo setPageSize(Long pageSize) { this.pageSize = pageSize; return this; } public Long getPageSize() { return this.pageSize; } public DescribeClusterTasksResponseBodyPageInfo setTotalCount(Long totalCount) { this.totalCount = totalCount; return this; } public Long getTotalCount() { return this.totalCount; } } public static class DescribeClusterTasksResponseBodyTasksError extends TeaModel { /** *

The error code returned.

* * example: *

BadRequest

*/ @NameInMap("code") public String code; /** *

The error message returned.

* * example: *

Addon status not match

*/ @NameInMap("message") public String message; public static DescribeClusterTasksResponseBodyTasksError build(java.util.Map map) throws Exception { DescribeClusterTasksResponseBodyTasksError self = new DescribeClusterTasksResponseBodyTasksError(); return TeaModel.build(map, self); } public DescribeClusterTasksResponseBodyTasksError setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public DescribeClusterTasksResponseBodyTasksError setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } } public static class DescribeClusterTasksResponseBodyTasks extends TeaModel { /** *

The time when the task was created.

* * example: *

2022-08-03T10:11:33+08:00

*/ @NameInMap("created") public String created; /** *

The error returned for the task.

*/ @NameInMap("error") public DescribeClusterTasksResponseBodyTasksError error; /** *

The status of the task.

* * example: *

success

*/ @NameInMap("state") public String state; /** *

The task ID.

* * example: *

install-addons-c3xxxxxx

*/ @NameInMap("task_id") public String taskId; /** *

The type of task.

* * example: *

cluster_addon_install

*/ @NameInMap("task_type") public String taskType; /** *

The time when the task was updated.

* * example: *

2022-08-03T10:12:03.482+08:00

*/ @NameInMap("updated") public String updated; public static DescribeClusterTasksResponseBodyTasks build(java.util.Map map) throws Exception { DescribeClusterTasksResponseBodyTasks self = new DescribeClusterTasksResponseBodyTasks(); return TeaModel.build(map, self); } public DescribeClusterTasksResponseBodyTasks setCreated(String created) { this.created = created; return this; } public String getCreated() { return this.created; } public DescribeClusterTasksResponseBodyTasks setError(DescribeClusterTasksResponseBodyTasksError error) { this.error = error; return this; } public DescribeClusterTasksResponseBodyTasksError getError() { return this.error; } public DescribeClusterTasksResponseBodyTasks setState(String state) { this.state = state; return this; } public String getState() { return this.state; } public DescribeClusterTasksResponseBodyTasks setTaskId(String taskId) { this.taskId = taskId; return this; } public String getTaskId() { return this.taskId; } public DescribeClusterTasksResponseBodyTasks setTaskType(String taskType) { this.taskType = taskType; return this; } public String getTaskType() { return this.taskType; } public DescribeClusterTasksResponseBodyTasks setUpdated(String updated) { this.updated = updated; return this; } public String getUpdated() { return this.updated; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy