com.aliyun.edas20170801.models.ListK8sNamespacesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edas20170801 Show documentation
Show all versions of edas20170801 Show documentation
Alibaba Cloud Enterprise Distributed Application Service (20170801) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.edas20170801.models;
import com.aliyun.tea.*;
public class ListK8sNamespacesResponseBody extends TeaModel {
/**
* The HTTP status code that is returned.
*/
@NameInMap("Code")
public Integer code;
/**
* The data that is returned.
*/
@NameInMap("Data")
public java.util.List data;
/**
* The message returned for the request.
*/
@NameInMap("Message")
public String message;
/**
* The ID of the request.
*/
@NameInMap("RequestId")
public String requestId;
public static ListK8sNamespacesResponseBody build(java.util.Map map) throws Exception {
ListK8sNamespacesResponseBody self = new ListK8sNamespacesResponseBody();
return TeaModel.build(map, self);
}
public ListK8sNamespacesResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public ListK8sNamespacesResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public ListK8sNamespacesResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public ListK8sNamespacesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class ListK8sNamespacesResponseBodyData extends TeaModel {
/**
* The namespaces of the Kubernetes cluster.
*/
@NameInMap("Namespace")
public String namespace;
public static ListK8sNamespacesResponseBodyData build(java.util.Map map) throws Exception {
ListK8sNamespacesResponseBodyData self = new ListK8sNamespacesResponseBodyData();
return TeaModel.build(map, self);
}
public ListK8sNamespacesResponseBodyData setNamespace(String namespace) {
this.namespace = namespace;
return this;
}
public String getNamespace() {
return this.namespace;
}
}
}