index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterResourcesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeClusterResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeClusterResourcesResponse extends AcsResponse {
@Override
public DescribeClusterResourcesResponse getInstance(UnmarshallerContext context) {
return DescribeClusterResourcesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterTasksRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeClusterTasksRequest extends RoaAcsRequest<DescribeClusterTasksResponse> {
private String cluster_id;
public DescribeClusterTasksRequest() {
super("CS", "2015-12-15", "DescribeClusterTasks");
setUriPattern("/clusters/[cluster_id]/tasks");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
@Override
public Class<DescribeClusterTasksResponse> getResponseClass() {
return DescribeClusterTasksResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterTasksResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeClusterTasksResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeClusterTasksResponse extends AcsResponse {
private String requestId;
private List<Task> tasks;
private Page_info page_info;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Task> getTasks() {
return this.tasks;
}
public void setTasks(List<Task> tasks) {
this.tasks = tasks;
}
public Page_info getPage_info() {
return this.page_info;
}
public void setPage_info(Page_info page_info) {
this.page_info = page_info;
}
public static class Task {
private String task_id;
private String task_type;
private String state;
private String created;
private String updated;
private Error error;
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
}
public String getTask_type() {
return this.task_type;
}
public void setTask_type(String task_type) {
this.task_type = task_type;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getCreated() {
return this.created;
}
public void setCreated(String created) {
this.created = created;
}
public String getUpdated() {
return this.updated;
}
public void setUpdated(String updated) {
this.updated = updated;
}
public Error getError() {
return this.error;
}
public void setError(Error error) {
this.error = error;
}
public static class Error {
private String message;
private String code;
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
}
}
public static class Page_info {
private Long page_size;
private Long page_number;
private Long total_count;
public Long getPage_size() {
return this.page_size;
}
public void setPage_size(Long page_size) {
this.page_size = page_size;
}
public Long getPage_number() {
return this.page_number;
}
public void setPage_number(Long page_number) {
this.page_number = page_number;
}
public Long getTotal_count() {
return this.total_count;
}
public void setTotal_count(Long total_count) {
this.total_count = total_count;
}
}
@Override
public DescribeClusterTasksResponse getInstance(UnmarshallerContext context) {
return DescribeClusterTasksResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterUserKubeconfigRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeClusterUserKubeconfigRequest extends RoaAcsRequest<DescribeClusterUserKubeconfigResponse> {
private Boolean privateIpAddress;
private Long temporaryDurationMinutes;
private String clusterId;
public DescribeClusterUserKubeconfigRequest() {
super("CS", "2015-12-15", "DescribeClusterUserKubeconfig");
setUriPattern("/k8s/[ClusterId]/user_config");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getPrivateIpAddress() {
return this.privateIpAddress;
}
public void setPrivateIpAddress(Boolean privateIpAddress) {
this.privateIpAddress = privateIpAddress;
if(privateIpAddress != null){
putQueryParameter("PrivateIpAddress", privateIpAddress.toString());
}
}
public Long getTemporaryDurationMinutes() {
return this.temporaryDurationMinutes;
}
public void setTemporaryDurationMinutes(Long temporaryDurationMinutes) {
this.temporaryDurationMinutes = temporaryDurationMinutes;
if(temporaryDurationMinutes != null){
putQueryParameter("TemporaryDurationMinutes", temporaryDurationMinutes.toString());
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeClusterUserKubeconfigResponse> getResponseClass() {
return DescribeClusterUserKubeconfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterUserKubeconfigResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeClusterUserKubeconfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeClusterUserKubeconfigResponse extends AcsResponse {
private String config;
private String expiration;
public String getConfig() {
return this.config;
}
public void setConfig(String config) {
this.config = config;
}
public String getExpiration() {
return this.expiration;
}
public void setExpiration(String expiration) {
this.expiration = expiration;
}
@Override
public DescribeClusterUserKubeconfigResponse getInstance(UnmarshallerContext context) {
return DescribeClusterUserKubeconfigResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterV2UserKubeconfigRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeClusterV2UserKubeconfigRequest extends RoaAcsRequest<DescribeClusterV2UserKubeconfigResponse> {
private Boolean privateIpAddress;
private String clusterId;
public DescribeClusterV2UserKubeconfigRequest() {
super("CS", "2015-12-15", "DescribeClusterV2UserKubeconfig");
setUriPattern("/api/v2/k8s/[ClusterId]/user_config");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getPrivateIpAddress() {
return this.privateIpAddress;
}
public void setPrivateIpAddress(Boolean privateIpAddress) {
this.privateIpAddress = privateIpAddress;
if(privateIpAddress != null){
putQueryParameter("PrivateIpAddress", privateIpAddress.toString());
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeClusterV2UserKubeconfigResponse> getResponseClass() {
return DescribeClusterV2UserKubeconfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterV2UserKubeconfigResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeClusterV2UserKubeconfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeClusterV2UserKubeconfigResponse extends AcsResponse {
private String config;
public String getConfig() {
return this.config;
}
public void setConfig(String config) {
this.config = config;
}
@Override
public DescribeClusterV2UserKubeconfigResponse getInstance(UnmarshallerContext context) {
return DescribeClusterV2UserKubeconfigResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterVulsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeClusterVulsRequest extends RoaAcsRequest<DescribeClusterVulsResponse> {
private String cluster_id;
public DescribeClusterVulsRequest() {
super("CS", "2015-12-15", "DescribeClusterVuls");
setUriPattern("/clusters/[cluster_id]/vuls");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
@Override
public Class<DescribeClusterVulsResponse> getResponseClass() {
return DescribeClusterVulsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClusterVulsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeClusterVulsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeClusterVulsResponse extends AcsResponse {
private List<Vul_record> vul_records;
public List<Vul_record> getVul_records() {
return this.vul_records;
}
public void setVul_records(List<Vul_record> vul_records) {
this.vul_records = vul_records;
}
public static class Vul_record {
private String nodepool_name;
private String nodepool_id;
private Integer node_count;
private String vul_name;
private String vul_alias_name;
private String vul_type;
private String necessity;
private List<String> cve_list;
public String getNodepool_name() {
return this.nodepool_name;
}
public void setNodepool_name(String nodepool_name) {
this.nodepool_name = nodepool_name;
}
public String getNodepool_id() {
return this.nodepool_id;
}
public void setNodepool_id(String nodepool_id) {
this.nodepool_id = nodepool_id;
}
public Integer getNode_count() {
return this.node_count;
}
public void setNode_count(Integer node_count) {
this.node_count = node_count;
}
public String getVul_name() {
return this.vul_name;
}
public void setVul_name(String vul_name) {
this.vul_name = vul_name;
}
public String getVul_alias_name() {
return this.vul_alias_name;
}
public void setVul_alias_name(String vul_alias_name) {
this.vul_alias_name = vul_alias_name;
}
public String getVul_type() {
return this.vul_type;
}
public void setVul_type(String vul_type) {
this.vul_type = vul_type;
}
public String getNecessity() {
return this.necessity;
}
public void setNecessity(String necessity) {
this.necessity = necessity;
}
public List<String> getCve_list() {
return this.cve_list;
}
public void setCve_list(List<String> cve_list) {
this.cve_list = cve_list;
}
}
@Override
public DescribeClusterVulsResponse getInstance(UnmarshallerContext context) {
return DescribeClusterVulsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClustersRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeClustersRequest extends RoaAcsRequest<DescribeClustersResponse> {
private String clusterType;
private String name;
public DescribeClustersRequest() {
super("CS", "2015-12-15", "DescribeClusters");
setUriPattern("/clusters");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterType() {
return this.clusterType;
}
public void setClusterType(String clusterType) {
this.clusterType = clusterType;
if(clusterType != null){
putQueryParameter("clusterType", clusterType);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("name", name);
}
}
@Override
public Class<DescribeClustersResponse> getResponseClass() {
return DescribeClustersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClustersResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeClustersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeClustersResponse extends AcsResponse {
@Override
public DescribeClustersResponse getInstance(UnmarshallerContext context) {
return DescribeClustersResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClustersV1Request.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeClustersV1Request extends RoaAcsRequest<DescribeClustersV1Response> {
private Long page_number;
private String cluster_spec;
private String profile;
private String name;
private String region_id;
private String cluster_type;
private Long page_size;
public DescribeClustersV1Request() {
super("CS", "2015-12-15", "DescribeClustersV1");
setUriPattern("/api/v1/clusters");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getPage_number() {
return this.page_number;
}
public void setPage_number(Long page_number) {
this.page_number = page_number;
if(page_number != null){
putQueryParameter("page_number", page_number.toString());
}
}
public String getCluster_spec() {
return this.cluster_spec;
}
public void setCluster_spec(String cluster_spec) {
this.cluster_spec = cluster_spec;
if(cluster_spec != null){
putQueryParameter("cluster_spec", cluster_spec);
}
}
public String getProfile() {
return this.profile;
}
public void setProfile(String profile) {
this.profile = profile;
if(profile != null){
putQueryParameter("profile", profile);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("name", name);
}
}
public String getRegion_id() {
return this.region_id;
}
public void setRegion_id(String region_id) {
this.region_id = region_id;
if(region_id != null){
putQueryParameter("region_id", region_id);
}
}
public String getCluster_type() {
return this.cluster_type;
}
public void setCluster_type(String cluster_type) {
this.cluster_type = cluster_type;
if(cluster_type != null){
putQueryParameter("cluster_type", cluster_type);
}
}
public Long getPage_size() {
return this.page_size;
}
public void setPage_size(Long page_size) {
this.page_size = page_size;
if(page_size != null){
putQueryParameter("page_size", page_size.toString());
}
}
@Override
public Class<DescribeClustersV1Response> getResponseClass() {
return DescribeClustersV1Response.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeClustersV1Response.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeClustersV1ResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeClustersV1Response extends AcsResponse {
private List<ClustersItem> clusters;
private Page_info page_info;
public List<ClustersItem> getClusters() {
return this.clusters;
}
public void setClusters(List<ClustersItem> clusters) {
this.clusters = clusters;
}
public Page_info getPage_info() {
return this.page_info;
}
public void setPage_info(Page_info page_info) {
this.page_info = page_info;
}
public static class ClustersItem {
private String cluster_id;
private String cluster_type;
private String created;
private String init_version;
private String current_version;
private String next_version;
private Boolean deletion_protection;
private String docker_version;
private String external_loadbalancer_id;
private String master_url;
private String meta_data;
private String name;
private String network_mode;
private Boolean private_zone;
private String profile;
private String region_id;
private String resource_group_id;
private String security_group_id;
private Long size;
private String state;
private String subnet_cidr;
private String updated;
private String vpc_id;
private String vswitch_id;
private String worker_ram_role_name;
private String zone_id;
private String cluster_spec;
private List<TagsItem> tags;
private Maintenance_window maintenance_window;
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
}
public String getCluster_type() {
return this.cluster_type;
}
public void setCluster_type(String cluster_type) {
this.cluster_type = cluster_type;
}
public String getCreated() {
return this.created;
}
public void setCreated(String created) {
this.created = created;
}
public String getInit_version() {
return this.init_version;
}
public void setInit_version(String init_version) {
this.init_version = init_version;
}
public String getCurrent_version() {
return this.current_version;
}
public void setCurrent_version(String current_version) {
this.current_version = current_version;
}
public String getNext_version() {
return this.next_version;
}
public void setNext_version(String next_version) {
this.next_version = next_version;
}
public Boolean getDeletion_protection() {
return this.deletion_protection;
}
public void setDeletion_protection(Boolean deletion_protection) {
this.deletion_protection = deletion_protection;
}
public String getDocker_version() {
return this.docker_version;
}
public void setDocker_version(String docker_version) {
this.docker_version = docker_version;
}
public String getExternal_loadbalancer_id() {
return this.external_loadbalancer_id;
}
public void setExternal_loadbalancer_id(String external_loadbalancer_id) {
this.external_loadbalancer_id = external_loadbalancer_id;
}
public String getMaster_url() {
return this.master_url;
}
public void setMaster_url(String master_url) {
this.master_url = master_url;
}
public String getMeta_data() {
return this.meta_data;
}
public void setMeta_data(String meta_data) {
this.meta_data = meta_data;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getNetwork_mode() {
return this.network_mode;
}
public void setNetwork_mode(String network_mode) {
this.network_mode = network_mode;
}
public Boolean getPrivate_zone() {
return this.private_zone;
}
public void setPrivate_zone(Boolean private_zone) {
this.private_zone = private_zone;
}
public String getProfile() {
return this.profile;
}
public void setProfile(String profile) {
this.profile = profile;
}
public String getRegion_id() {
return this.region_id;
}
public void setRegion_id(String region_id) {
this.region_id = region_id;
}
public String getResource_group_id() {
return this.resource_group_id;
}
public void setResource_group_id(String resource_group_id) {
this.resource_group_id = resource_group_id;
}
public String getSecurity_group_id() {
return this.security_group_id;
}
public void setSecurity_group_id(String security_group_id) {
this.security_group_id = security_group_id;
}
public Long getSize() {
return this.size;
}
public void setSize(Long size) {
this.size = size;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getSubnet_cidr() {
return this.subnet_cidr;
}
public void setSubnet_cidr(String subnet_cidr) {
this.subnet_cidr = subnet_cidr;
}
public String getUpdated() {
return this.updated;
}
public void setUpdated(String updated) {
this.updated = updated;
}
public String getVpc_id() {
return this.vpc_id;
}
public void setVpc_id(String vpc_id) {
this.vpc_id = vpc_id;
}
public String getVswitch_id() {
return this.vswitch_id;
}
public void setVswitch_id(String vswitch_id) {
this.vswitch_id = vswitch_id;
}
public String getWorker_ram_role_name() {
return this.worker_ram_role_name;
}
public void setWorker_ram_role_name(String worker_ram_role_name) {
this.worker_ram_role_name = worker_ram_role_name;
}
public String getZone_id() {
return this.zone_id;
}
public void setZone_id(String zone_id) {
this.zone_id = zone_id;
}
public String getCluster_spec() {
return this.cluster_spec;
}
public void setCluster_spec(String cluster_spec) {
this.cluster_spec = cluster_spec;
}
public List<TagsItem> getTags() {
return this.tags;
}
public void setTags(List<TagsItem> tags) {
this.tags = tags;
}
public Maintenance_window getMaintenance_window() {
return this.maintenance_window;
}
public void setMaintenance_window(Maintenance_window maintenance_window) {
this.maintenance_window = maintenance_window;
}
public static class TagsItem {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class Maintenance_window {
private Boolean enable;
private String maintenance_time;
private String duration;
private String weekly_period;
public Boolean getEnable() {
return this.enable;
}
public void setEnable(Boolean enable) {
this.enable = enable;
}
public String getMaintenance_time() {
return this.maintenance_time;
}
public void setMaintenance_time(String maintenance_time) {
this.maintenance_time = maintenance_time;
}
public String getDuration() {
return this.duration;
}
public void setDuration(String duration) {
this.duration = duration;
}
public String getWeekly_period() {
return this.weekly_period;
}
public void setWeekly_period(String weekly_period) {
this.weekly_period = weekly_period;
}
}
}
public static class Page_info {
private Integer page_number;
private Integer page_size;
private Integer total_count;
public Integer getPage_number() {
return this.page_number;
}
public void setPage_number(Integer page_number) {
this.page_number = page_number;
}
public Integer getPage_size() {
return this.page_size;
}
public void setPage_size(Integer page_size) {
this.page_size = page_size;
}
public Integer getTotal_count() {
return this.total_count;
}
public void setTotal_count(Integer total_count) {
this.total_count = total_count;
}
}
@Override
public DescribeClustersV1Response getInstance(UnmarshallerContext context) {
return DescribeClustersV1ResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEdgeMachineActiveProcessRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeEdgeMachineActiveProcessRequest extends RoaAcsRequest<DescribeEdgeMachineActiveProcessResponse> {
private String edge_machineid;
public DescribeEdgeMachineActiveProcessRequest() {
super("CS", "2015-12-15", "DescribeEdgeMachineActiveProcess");
setUriPattern("/edge_machines/[edge_machineid]/activeprocess");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getEdge_machineid() {
return this.edge_machineid;
}
public void setEdge_machineid(String edge_machineid) {
this.edge_machineid = edge_machineid;
if(edge_machineid != null){
putPathParameter("edge_machineid", edge_machineid);
}
}
@Override
public Class<DescribeEdgeMachineActiveProcessResponse> getResponseClass() {
return DescribeEdgeMachineActiveProcessResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEdgeMachineActiveProcessResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeEdgeMachineActiveProcessResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeEdgeMachineActiveProcessResponse extends AcsResponse {
private String request_id;
private String state;
private String step;
private Long progress;
private String logs;
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getStep() {
return this.step;
}
public void setStep(String step) {
this.step = step;
}
public Long getProgress() {
return this.progress;
}
public void setProgress(Long progress) {
this.progress = progress;
}
public String getLogs() {
return this.logs;
}
public void setLogs(String logs) {
this.logs = logs;
}
@Override
public DescribeEdgeMachineActiveProcessResponse getInstance(UnmarshallerContext context) {
return DescribeEdgeMachineActiveProcessResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEdgeMachineModelsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeEdgeMachineModelsRequest extends RoaAcsRequest<DescribeEdgeMachineModelsResponse> {
public DescribeEdgeMachineModelsRequest() {
super("CS", "2015-12-15", "DescribeEdgeMachineModels");
setUriPattern("/edge_machines/models");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<DescribeEdgeMachineModelsResponse> getResponseClass() {
return DescribeEdgeMachineModelsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEdgeMachineModelsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeEdgeMachineModelsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeEdgeMachineModelsResponse extends AcsResponse {
private List<Models_info> models;
public List<Models_info> getModels() {
return this.models;
}
public void setModels(List<Models_info> models) {
this.models = models;
}
public static class Models_info {
private Integer manage_runtime;
private String cpu_arch;
private Integer cpu;
private Integer memory;
private String model_id;
private String created;
private String description;
private String model;
public Integer getManage_runtime() {
return this.manage_runtime;
}
public void setManage_runtime(Integer manage_runtime) {
this.manage_runtime = manage_runtime;
}
public String getCpu_arch() {
return this.cpu_arch;
}
public void setCpu_arch(String cpu_arch) {
this.cpu_arch = cpu_arch;
}
public Integer getCpu() {
return this.cpu;
}
public void setCpu(Integer cpu) {
this.cpu = cpu;
}
public Integer getMemory() {
return this.memory;
}
public void setMemory(Integer memory) {
this.memory = memory;
}
public String getModel_id() {
return this.model_id;
}
public void setModel_id(String model_id) {
this.model_id = model_id;
}
public String getCreated() {
return this.created;
}
public void setCreated(String created) {
this.created = created;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getModel() {
return this.model;
}
public void setModel(String model) {
this.model = model;
}
}
@Override
public DescribeEdgeMachineModelsResponse getInstance(UnmarshallerContext context) {
return DescribeEdgeMachineModelsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEdgeMachineTunnelConfigDetailRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeEdgeMachineTunnelConfigDetailRequest extends RoaAcsRequest<DescribeEdgeMachineTunnelConfigDetailResponse> {
private String edge_machineid;
public DescribeEdgeMachineTunnelConfigDetailRequest() {
super("CS", "2015-12-15", "DescribeEdgeMachineTunnelConfigDetail");
setUriPattern("/edge_machines/[edge_machineid]/tunnelconfig");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getEdge_machineid() {
return this.edge_machineid;
}
public void setEdge_machineid(String edge_machineid) {
this.edge_machineid = edge_machineid;
if(edge_machineid != null){
putPathParameter("edge_machineid", edge_machineid);
}
}
@Override
public Class<DescribeEdgeMachineTunnelConfigDetailResponse> getResponseClass() {
return DescribeEdgeMachineTunnelConfigDetailResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEdgeMachineTunnelConfigDetailResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeEdgeMachineTunnelConfigDetailResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeEdgeMachineTunnelConfigDetailResponse extends AcsResponse {
private String model;
private String sn;
private String tunnel_endpoint;
private String token;
private String product_key;
private String device_name;
private String request_id;
public String getModel() {
return this.model;
}
public void setModel(String model) {
this.model = model;
}
public String getSn() {
return this.sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getTunnel_endpoint() {
return this.tunnel_endpoint;
}
public void setTunnel_endpoint(String tunnel_endpoint) {
this.tunnel_endpoint = tunnel_endpoint;
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
public String getProduct_key() {
return this.product_key;
}
public void setProduct_key(String product_key) {
this.product_key = product_key;
}
public String getDevice_name() {
return this.device_name;
}
public void setDevice_name(String device_name) {
this.device_name = device_name;
}
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
@Override
public DescribeEdgeMachineTunnelConfigDetailResponse getInstance(UnmarshallerContext context) {
return DescribeEdgeMachineTunnelConfigDetailResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEdgeMachinesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeEdgeMachinesRequest extends RoaAcsRequest<DescribeEdgeMachinesResponse> {
private String hostname;
private String online_state;
private Long page_number;
private String model;
private String life_state;
private Long page_size;
public DescribeEdgeMachinesRequest() {
super("CS", "2015-12-15", "DescribeEdgeMachines");
setUriPattern("/edge_machines");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getHostname() {
return this.hostname;
}
public void setHostname(String hostname) {
this.hostname = hostname;
if(hostname != null){
putQueryParameter("hostname", hostname);
}
}
public String getOnline_state() {
return this.online_state;
}
public void setOnline_state(String online_state) {
this.online_state = online_state;
if(online_state != null){
putQueryParameter("online_state", online_state);
}
}
public Long getPage_number() {
return this.page_number;
}
public void setPage_number(Long page_number) {
this.page_number = page_number;
if(page_number != null){
putQueryParameter("page_number", page_number.toString());
}
}
public String getModel() {
return this.model;
}
public void setModel(String model) {
this.model = model;
if(model != null){
putQueryParameter("model", model);
}
}
public String getLife_state() {
return this.life_state;
}
public void setLife_state(String life_state) {
this.life_state = life_state;
if(life_state != null){
putQueryParameter("life_state", life_state);
}
}
public Long getPage_size() {
return this.page_size;
}
public void setPage_size(Long page_size) {
this.page_size = page_size;
if(page_size != null){
putQueryParameter("page_size", page_size.toString());
}
}
@Override
public Class<DescribeEdgeMachinesResponse> getResponseClass() {
return DescribeEdgeMachinesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEdgeMachinesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeEdgeMachinesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeEdgeMachinesResponse extends AcsResponse {
private List<Edge_machinesItem> edge_machines;
private Page_info page_info;
public List<Edge_machinesItem> getEdge_machines() {
return this.edge_machines;
}
public void setEdge_machines(List<Edge_machinesItem> edge_machines) {
this.edge_machines = edge_machines;
}
public Page_info getPage_info() {
return this.page_info;
}
public void setPage_info(Page_info page_info) {
this.page_info = page_info;
}
public static class Edge_machinesItem {
private String edge_machine_id;
private String created;
private String updated;
private String name;
private String hostname;
private String sn;
private String model;
private String life_state;
private String online_state;
private String active_time;
public String getEdge_machine_id() {
return this.edge_machine_id;
}
public void setEdge_machine_id(String edge_machine_id) {
this.edge_machine_id = edge_machine_id;
}
public String getCreated() {
return this.created;
}
public void setCreated(String created) {
this.created = created;
}
public String getUpdated() {
return this.updated;
}
public void setUpdated(String updated) {
this.updated = updated;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getHostname() {
return this.hostname;
}
public void setHostname(String hostname) {
this.hostname = hostname;
}
public String getSn() {
return this.sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getModel() {
return this.model;
}
public void setModel(String model) {
this.model = model;
}
public String getLife_state() {
return this.life_state;
}
public void setLife_state(String life_state) {
this.life_state = life_state;
}
public String getOnline_state() {
return this.online_state;
}
public void setOnline_state(String online_state) {
this.online_state = online_state;
}
public String getActive_time() {
return this.active_time;
}
public void setActive_time(String active_time) {
this.active_time = active_time;
}
}
public static class Page_info {
private Integer page_number;
private Integer page_size;
private Integer total_count;
public Integer getPage_number() {
return this.page_number;
}
public void setPage_number(Integer page_number) {
this.page_number = page_number;
}
public Integer getPage_size() {
return this.page_size;
}
public void setPage_size(Integer page_size) {
this.page_size = page_size;
}
public Integer getTotal_count() {
return this.total_count;
}
public void setTotal_count(Integer total_count) {
this.total_count = total_count;
}
}
@Override
public DescribeEdgeMachinesResponse getInstance(UnmarshallerContext context) {
return DescribeEdgeMachinesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEventsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeEventsRequest extends RoaAcsRequest<DescribeEventsResponse> {
private String cluster_id;
private Long page_number;
private String type;
private Long page_size;
public DescribeEventsRequest() {
super("CS", "2015-12-15", "DescribeEvents");
setUriPattern("/events");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putQueryParameter("cluster_id", cluster_id);
}
}
public Long getPage_number() {
return this.page_number;
}
public void setPage_number(Long page_number) {
this.page_number = page_number;
if(page_number != null){
putQueryParameter("page_number", page_number.toString());
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("type", type);
}
}
public Long getPage_size() {
return this.page_size;
}
public void setPage_size(Long page_size) {
this.page_size = page_size;
if(page_size != null){
putQueryParameter("page_size", page_size.toString());
}
}
@Override
public Class<DescribeEventsResponse> getResponseClass() {
return DescribeEventsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeEventsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeEventsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeEventsResponse extends AcsResponse {
private List<Event> events;
private Page_info page_info;
public List<Event> getEvents() {
return this.events;
}
public void setEvents(List<Event> events) {
this.events = events;
}
public Page_info getPage_info() {
return this.page_info;
}
public void setPage_info(Page_info page_info) {
this.page_info = page_info;
}
public static class Event {
private String event_id;
private String type;
private String source;
private String subject;
private String time;
private String cluster_id;
private Data data;
public String getEvent_id() {
return this.event_id;
}
public void setEvent_id(String event_id) {
this.event_id = event_id;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
public String getSubject() {
return this.subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getTime() {
return this.time;
}
public void setTime(String time) {
this.time = time;
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String level;
private String reason;
private String message;
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
}
public static class Page_info {
private Long page_size;
private Long page_number;
private Long total_count;
public Long getPage_size() {
return this.page_size;
}
public void setPage_size(Long page_size) {
this.page_size = page_size;
}
public Long getPage_number() {
return this.page_number;
}
public void setPage_number(Long page_number) {
this.page_number = page_number;
}
public Long getTotal_count() {
return this.total_count;
}
public void setTotal_count(Long total_count) {
this.total_count = total_count;
}
}
@Override
public DescribeEventsResponse getInstance(UnmarshallerContext context) {
return DescribeEventsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeExternalAgentRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeExternalAgentRequest extends RoaAcsRequest<DescribeExternalAgentResponse> {
private String privateIpAddress;
private String clusterId;
public DescribeExternalAgentRequest() {
super("CS", "2015-12-15", "DescribeExternalAgent");
setUriPattern("/k8s/[ClusterId]/external/agent/deployment");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getPrivateIpAddress() {
return this.privateIpAddress;
}
public void setPrivateIpAddress(String privateIpAddress) {
this.privateIpAddress = privateIpAddress;
if(privateIpAddress != null){
putQueryParameter("PrivateIpAddress", privateIpAddress);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeExternalAgentResponse> getResponseClass() {
return DescribeExternalAgentResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeExternalAgentResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeExternalAgentResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeExternalAgentResponse extends AcsResponse {
private String config;
public String getConfig() {
return this.config;
}
public void setConfig(String config) {
this.config = config;
}
@Override
public DescribeExternalAgentResponse getInstance(UnmarshallerContext context) {
return DescribeExternalAgentResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeKubernetesVersionMetadataRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeKubernetesVersionMetadataRequest extends RoaAcsRequest<DescribeKubernetesVersionMetadataResponse> {
private String clusterType;
private String mode;
private String kubernetesVersion;
private String profile;
private String runtime;
private String region;
public DescribeKubernetesVersionMetadataRequest() {
super("CS", "2015-12-15", "DescribeKubernetesVersionMetadata");
setUriPattern("/api/v1/metadata/versions");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterType() {
return this.clusterType;
}
public void setClusterType(String clusterType) {
this.clusterType = clusterType;
if(clusterType != null){
putQueryParameter("ClusterType", clusterType);
}
}
public String getMode() {
return this.mode;
}
public void setMode(String mode) {
this.mode = mode;
if(mode != null){
putQueryParameter("Mode", mode);
}
}
public String getKubernetesVersion() {
return this.kubernetesVersion;
}
public void setKubernetesVersion(String kubernetesVersion) {
this.kubernetesVersion = kubernetesVersion;
if(kubernetesVersion != null){
putQueryParameter("KubernetesVersion", kubernetesVersion);
}
}
public String getProfile() {
return this.profile;
}
public void setProfile(String profile) {
this.profile = profile;
if(profile != null){
putQueryParameter("Profile", profile);
}
}
public String getRuntime() {
return this.runtime;
}
public void setRuntime(String runtime) {
this.runtime = runtime;
if(runtime != null){
putQueryParameter("runtime", runtime);
}
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
if(region != null){
putQueryParameter("Region", region);
}
}
@Override
public Class<DescribeKubernetesVersionMetadataResponse> getResponseClass() {
return DescribeKubernetesVersionMetadataResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeKubernetesVersionMetadataResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeKubernetesVersionMetadataResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeKubernetesVersionMetadataResponse extends AcsResponse {
@Override
public DescribeKubernetesVersionMetadataResponse getInstance(UnmarshallerContext context) {
return DescribeKubernetesVersionMetadataResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeNodePoolVulsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeNodePoolVulsRequest extends RoaAcsRequest<DescribeNodePoolVulsResponse> {
private String cluster_id;
private String nodepool_id;
private String necessity;
public DescribeNodePoolVulsRequest() {
super("CS", "2015-12-15", "DescribeNodePoolVuls");
setUriPattern("/clusters/[cluster_id]/nodepools/[nodepool_id]/vuls");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
public String getNodepool_id() {
return this.nodepool_id;
}
public void setNodepool_id(String nodepool_id) {
this.nodepool_id = nodepool_id;
if(nodepool_id != null){
putPathParameter("nodepool_id", nodepool_id);
}
}
public String getNecessity() {
return this.necessity;
}
public void setNecessity(String necessity) {
this.necessity = necessity;
if(necessity != null){
putQueryParameter("necessity", necessity);
}
}
@Override
public Class<DescribeNodePoolVulsResponse> getResponseClass() {
return DescribeNodePoolVulsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeNodePoolVulsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeNodePoolVulsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeNodePoolVulsResponse extends AcsResponse {
private Boolean vuls_fix_service_purchased;
private List<Vul_recordsItem> vul_records;
public Boolean getVuls_fix_service_purchased() {
return this.vuls_fix_service_purchased;
}
public void setVuls_fix_service_purchased(Boolean vuls_fix_service_purchased) {
this.vuls_fix_service_purchased = vuls_fix_service_purchased;
}
public List<Vul_recordsItem> getVul_records() {
return this.vul_records;
}
public void setVul_records(List<Vul_recordsItem> vul_records) {
this.vul_records = vul_records;
}
public static class Vul_recordsItem {
private String instance_id;
private String node_name;
private List<Vul_listItem> vul_list;
public String getInstance_id() {
return this.instance_id;
}
public void setInstance_id(String instance_id) {
this.instance_id = instance_id;
}
public String getNode_name() {
return this.node_name;
}
public void setNode_name(String node_name) {
this.node_name = node_name;
}
public List<Vul_listItem> getVul_list() {
return this.vul_list;
}
public void setVul_list(List<Vul_listItem> vul_list) {
this.vul_list = vul_list;
}
public static class Vul_listItem {
private String name;
private String alias_name;
private String necessity;
private List<String> cve_list;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getAlias_name() {
return this.alias_name;
}
public void setAlias_name(String alias_name) {
this.alias_name = alias_name;
}
public String getNecessity() {
return this.necessity;
}
public void setNecessity(String necessity) {
this.necessity = necessity;
}
public List<String> getCve_list() {
return this.cve_list;
}
public void setCve_list(List<String> cve_list) {
this.cve_list = cve_list;
}
}
}
@Override
public DescribeNodePoolVulsResponse getInstance(UnmarshallerContext context) {
return DescribeNodePoolVulsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePoliciesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribePoliciesRequest extends RoaAcsRequest<DescribePoliciesResponse> {
public DescribePoliciesRequest() {
super("CS", "2015-12-15", "DescribePolicies");
setUriPattern("/policies");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<DescribePoliciesResponse> getResponseClass() {
return DescribePoliciesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePoliciesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribePoliciesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribePoliciesResponse extends AcsResponse {
@Override
public DescribePoliciesResponse getInstance(UnmarshallerContext context) {
return DescribePoliciesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePolicyDetailsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribePolicyDetailsRequest extends RoaAcsRequest<DescribePolicyDetailsResponse> {
private String policy_name;
public DescribePolicyDetailsRequest() {
super("CS", "2015-12-15", "DescribePolicyDetails");
setUriPattern("/policies/[policy_name]");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getPolicy_name() {
return this.policy_name;
}
public void setPolicy_name(String policy_name) {
this.policy_name = policy_name;
if(policy_name != null){
putPathParameter("policy_name", policy_name);
}
}
@Override
public Class<DescribePolicyDetailsResponse> getResponseClass() {
return DescribePolicyDetailsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePolicyDetailsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribePolicyDetailsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribePolicyDetailsResponse extends AcsResponse {
private String name;
private String category;
private String description;
private String action;
private String severity;
private String template;
private Integer no_config;
private Integer is_deleted;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getAction() {
return this.action;
}
public void setAction(String action) {
this.action = action;
}
public String getSeverity() {
return this.severity;
}
public void setSeverity(String severity) {
this.severity = severity;
}
public String getTemplate() {
return this.template;
}
public void setTemplate(String template) {
this.template = template;
}
public Integer getNo_config() {
return this.no_config;
}
public void setNo_config(Integer no_config) {
this.no_config = no_config;
}
public Integer getIs_deleted() {
return this.is_deleted;
}
public void setIs_deleted(Integer is_deleted) {
this.is_deleted = is_deleted;
}
@Override
public DescribePolicyDetailsResponse getInstance(UnmarshallerContext context) {
return DescribePolicyDetailsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePolicyGovernanceInClusterRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribePolicyGovernanceInClusterRequest extends RoaAcsRequest<DescribePolicyGovernanceInClusterResponse> {
private String cluster_id;
public DescribePolicyGovernanceInClusterRequest() {
super("CS", "2015-12-15", "DescribePolicyGovernanceInCluster");
setUriPattern("/clusters/[cluster_id]/policygovernance");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
@Override
public Class<DescribePolicyGovernanceInClusterResponse> getResponseClass() {
return DescribePolicyGovernanceInClusterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePolicyGovernanceInClusterResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribePolicyGovernanceInClusterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribePolicyGovernanceInClusterResponse extends AcsResponse {
private List<On_stateItem> on_state;
private Admit_log admit_log;
private TotalViolations totalViolations;
private Violations violations;
public List<On_stateItem> getOn_state() {
return this.on_state;
}
public void setOn_state(List<On_stateItem> on_state) {
this.on_state = on_state;
}
public Admit_log getAdmit_log() {
return this.admit_log;
}
public void setAdmit_log(Admit_log admit_log) {
this.admit_log = admit_log;
}
public TotalViolations getTotalViolations() {
return this.totalViolations;
}
public void setTotalViolations(TotalViolations totalViolations) {
this.totalViolations = totalViolations;
}
public Violations getViolations() {
return this.violations;
}
public void setViolations(Violations violations) {
this.violations = violations;
}
public static class On_stateItem {
private Integer enabled_count;
private Integer total;
private String severity;
public Integer getEnabled_count() {
return this.enabled_count;
}
public void setEnabled_count(Integer enabled_count) {
this.enabled_count = enabled_count;
}
public Integer getTotal() {
return this.total;
}
public void setTotal(Integer total) {
this.total = total;
}
public String getSeverity() {
return this.severity;
}
public void setSeverity(String severity) {
this.severity = severity;
}
}
public static class Admit_log {
private String progress;
private Long count;
private Log log;
public String getProgress() {
return this.progress;
}
public void setProgress(String progress) {
this.progress = progress;
}
public Long getCount() {
return this.count;
}
public void setCount(Long count) {
this.count = count;
}
public Log getLog() {
return this.log;
}
public void setLog(Log log) {
this.log = log;
}
public static class Log {
private String msg;
private String cluster_id;
private String constraint_kind;
private String resource_name;
private String resource_kind;
private String resource_namespace;
public String getMsg() {
return this.msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
}
public String getConstraint_kind() {
return this.constraint_kind;
}
public void setConstraint_kind(String constraint_kind) {
this.constraint_kind = constraint_kind;
}
public String getResource_name() {
return this.resource_name;
}
public void setResource_name(String resource_name) {
this.resource_name = resource_name;
}
public String getResource_kind() {
return this.resource_kind;
}
public void setResource_kind(String resource_kind) {
this.resource_kind = resource_kind;
}
public String getResource_namespace() {
return this.resource_namespace;
}
public void setResource_namespace(String resource_namespace) {
this.resource_namespace = resource_namespace;
}
}
}
public static class TotalViolations {
private Deny deny;
private Warn warn;
public Deny getDeny() {
return this.deny;
}
public void setDeny(Deny deny) {
this.deny = deny;
}
public Warn getWarn() {
return this.warn;
}
public void setWarn(Warn warn) {
this.warn = warn;
}
public static class Deny {
private String severity;
private Long violations;
public String getSeverity() {
return this.severity;
}
public void setSeverity(String severity) {
this.severity = severity;
}
public Long getViolations() {
return this.violations;
}
public void setViolations(Long violations) {
this.violations = violations;
}
}
public static class Warn {
private String severity;
private Long violations;
public String getSeverity() {
return this.severity;
}
public void setSeverity(String severity) {
this.severity = severity;
}
public Long getViolations() {
return this.violations;
}
public void setViolations(Long violations) {
this.violations = violations;
}
}
}
public static class Violations {
private Deny1 deny1;
private Warn2 warn2;
public Deny1 getDeny1() {
return this.deny1;
}
public void setDeny1(Deny1 deny1) {
this.deny1 = deny1;
}
public Warn2 getWarn2() {
return this.warn2;
}
public void setWarn2(Warn2 warn2) {
this.warn2 = warn2;
}
public static class Deny1 {
private String policyName;
private String policyDescription;
private Long violations;
private String severity;
public String getPolicyName() {
return this.policyName;
}
public void setPolicyName(String policyName) {
this.policyName = policyName;
}
public String getPolicyDescription() {
return this.policyDescription;
}
public void setPolicyDescription(String policyDescription) {
this.policyDescription = policyDescription;
}
public Long getViolations() {
return this.violations;
}
public void setViolations(Long violations) {
this.violations = violations;
}
public String getSeverity() {
return this.severity;
}
public void setSeverity(String severity) {
this.severity = severity;
}
}
public static class Warn2 {
private String policyName;
private String policyDescription;
private Long violations;
private String severity;
public String getPolicyName() {
return this.policyName;
}
public void setPolicyName(String policyName) {
this.policyName = policyName;
}
public String getPolicyDescription() {
return this.policyDescription;
}
public void setPolicyDescription(String policyDescription) {
this.policyDescription = policyDescription;
}
public Long getViolations() {
return this.violations;
}
public void setViolations(Long violations) {
this.violations = violations;
}
public String getSeverity() {
return this.severity;
}
public void setSeverity(String severity) {
this.severity = severity;
}
}
}
@Override
public DescribePolicyGovernanceInClusterResponse getInstance(UnmarshallerContext context) {
return DescribePolicyGovernanceInClusterResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePolicyInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribePolicyInstancesRequest extends RoaAcsRequest<DescribePolicyInstancesResponse> {
private String cluster_id;
private String instance_name;
private String policy_name;
public DescribePolicyInstancesRequest() {
super("CS", "2015-12-15", "DescribePolicyInstances");
setUriPattern("/clusters/[cluster_id]/policies");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
public String getInstance_name() {
return this.instance_name;
}
public void setInstance_name(String instance_name) {
this.instance_name = instance_name;
if(instance_name != null){
putQueryParameter("instance_name", instance_name);
}
}
public String getPolicy_name() {
return this.policy_name;
}
public void setPolicy_name(String policy_name) {
this.policy_name = policy_name;
if(policy_name != null){
putQueryParameter("policy_name", policy_name);
}
}
@Override
public Class<DescribePolicyInstancesResponse> getResponseClass() {
return DescribePolicyInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePolicyInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribePolicyInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribePolicyInstancesResponse extends AcsResponse {
@Override
public DescribePolicyInstancesResponse getInstance(UnmarshallerContext context) {
return DescribePolicyInstancesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePolicyInstancesStatusRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribePolicyInstancesStatusRequest extends RoaAcsRequest<DescribePolicyInstancesStatusResponse> {
private String cluster_id;
public DescribePolicyInstancesStatusRequest() {
super("CS", "2015-12-15", "DescribePolicyInstancesStatus");
setUriPattern("/clusters/[cluster_id]/policies/status");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
@Override
public Class<DescribePolicyInstancesStatusResponse> getResponseClass() {
return DescribePolicyInstancesStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribePolicyInstancesStatusResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribePolicyInstancesStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribePolicyInstancesStatusResponse extends AcsResponse {
private Map<Object,Object> instances_severity_count;
private List<Policy_instancesItem> policy_instances;
public Map<Object,Object> getInstances_severity_count() {
return this.instances_severity_count;
}
public void setInstances_severity_count(Map<Object,Object> instances_severity_count) {
this.instances_severity_count = instances_severity_count;
}
public List<Policy_instancesItem> getPolicy_instances() {
return this.policy_instances;
}
public void setPolicy_instances(List<Policy_instancesItem> policy_instances) {
this.policy_instances = policy_instances;
}
public static class Policy_instancesItem {
private String policy_category;
private String policy_name;
private String policy_description;
private String policy_severity;
private Long policy_instances_count;
public String getPolicy_category() {
return this.policy_category;
}
public void setPolicy_category(String policy_category) {
this.policy_category = policy_category;
}
public String getPolicy_name() {
return this.policy_name;
}
public void setPolicy_name(String policy_name) {
this.policy_name = policy_name;
}
public String getPolicy_description() {
return this.policy_description;
}
public void setPolicy_description(String policy_description) {
this.policy_description = policy_description;
}
public String getPolicy_severity() {
return this.policy_severity;
}
public void setPolicy_severity(String policy_severity) {
this.policy_severity = policy_severity;
}
public Long getPolicy_instances_count() {
return this.policy_instances_count;
}
public void setPolicy_instances_count(Long policy_instances_count) {
this.policy_instances_count = policy_instances_count;
}
}
@Override
public DescribePolicyInstancesStatusResponse getInstance(UnmarshallerContext context) {
return DescribePolicyInstancesStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeSubaccountK8sClusterUserConfigRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeSubaccountK8sClusterUserConfigRequest extends RoaAcsRequest<DescribeSubaccountK8sClusterUserConfigResponse> {
private Boolean privateIpAddress;
private String uid;
private Long temporaryDurationMinutes;
private String clusterId;
public DescribeSubaccountK8sClusterUserConfigRequest() {
super("CS", "2015-12-15", "DescribeSubaccountK8sClusterUserConfig");
setUriPattern("/k8s/[ClusterId]/users/[Uid]/user_config");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getPrivateIpAddress() {
return this.privateIpAddress;
}
public void setPrivateIpAddress(Boolean privateIpAddress) {
this.privateIpAddress = privateIpAddress;
if(privateIpAddress != null){
putQueryParameter("PrivateIpAddress", privateIpAddress.toString());
}
}
public String getUid() {
return this.uid;
}
public void setUid(String uid) {
this.uid = uid;
if(uid != null){
putPathParameter("Uid", uid);
}
}
public Long getTemporaryDurationMinutes() {
return this.temporaryDurationMinutes;
}
public void setTemporaryDurationMinutes(Long temporaryDurationMinutes) {
this.temporaryDurationMinutes = temporaryDurationMinutes;
if(temporaryDurationMinutes != null){
putQueryParameter("TemporaryDurationMinutes", temporaryDurationMinutes.toString());
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeSubaccountK8sClusterUserConfigResponse> getResponseClass() {
return DescribeSubaccountK8sClusterUserConfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeSubaccountK8sClusterUserConfigResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeSubaccountK8sClusterUserConfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSubaccountK8sClusterUserConfigResponse extends AcsResponse {
private String config;
private String expiration;
public String getConfig() {
return this.config;
}
public void setConfig(String config) {
this.config = config;
}
public String getExpiration() {
return this.expiration;
}
public void setExpiration(String expiration) {
this.expiration = expiration;
}
@Override
public DescribeSubaccountK8sClusterUserConfigResponse getInstance(UnmarshallerContext context) {
return DescribeSubaccountK8sClusterUserConfigResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeTaskInfoRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeTaskInfoRequest extends RoaAcsRequest<DescribeTaskInfoResponse> {
private String task_id;
public DescribeTaskInfoRequest() {
super("CS", "2015-12-15", "DescribeTaskInfo");
setUriPattern("/tasks/[task_id]");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
if(task_id != null){
putPathParameter("task_id", task_id);
}
}
@Override
public Class<DescribeTaskInfoResponse> getResponseClass() {
return DescribeTaskInfoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeTaskInfoResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeTaskInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeTaskInfoResponse extends AcsResponse {
private String task_id;
private String cluster_id;
private String task_type;
private String state;
private String created;
private String updated;
private Map<Object,Object> parameters;
private String current_stage;
private List<StagesItem> stages;
private List<EventsItem> events;
private List<Task> task_result;
private Target target;
private Error error;
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
}
public String getTask_type() {
return this.task_type;
}
public void setTask_type(String task_type) {
this.task_type = task_type;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getCreated() {
return this.created;
}
public void setCreated(String created) {
this.created = created;
}
public String getUpdated() {
return this.updated;
}
public void setUpdated(String updated) {
this.updated = updated;
}
public Map<Object,Object> getParameters() {
return this.parameters;
}
public void setParameters(Map<Object,Object> parameters) {
this.parameters = parameters;
}
public String getCurrent_stage() {
return this.current_stage;
}
public void setCurrent_stage(String current_stage) {
this.current_stage = current_stage;
}
public List<StagesItem> getStages() {
return this.stages;
}
public void setStages(List<StagesItem> stages) {
this.stages = stages;
}
public List<EventsItem> getEvents() {
return this.events;
}
public void setEvents(List<EventsItem> events) {
this.events = events;
}
public List<Task> getTask_result() {
return this.task_result;
}
public void setTask_result(List<Task> task_result) {
this.task_result = task_result;
}
public Target getTarget() {
return this.target;
}
public void setTarget(Target target) {
this.target = target;
}
public Error getError() {
return this.error;
}
public void setError(Error error) {
this.error = error;
}
public static class StagesItem {
private String state;
private String start_time;
private String end_time;
private String message;
private Map<Object,Object> outputs;
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getStart_time() {
return this.start_time;
}
public void setStart_time(String start_time) {
this.start_time = start_time;
}
public String getEnd_time() {
return this.end_time;
}
public void setEnd_time(String end_time) {
this.end_time = end_time;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Map<Object,Object> getOutputs() {
return this.outputs;
}
public void setOutputs(Map<Object,Object> outputs) {
this.outputs = outputs;
}
}
public static class EventsItem {
private String action;
private String level;
private String message;
private String reason;
private String source;
private String timestamp;
public String getAction() {
return this.action;
}
public void setAction(String action) {
this.action = action;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
public String getTimestamp() {
return this.timestamp;
}
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
}
public static class Task {
private String data;
private String status;
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
public static class Target {
private String id;
private String type;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
}
public static class Error {
private String code;
private String message;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@Override
public DescribeTaskInfoResponse getInstance(UnmarshallerContext context) {
return DescribeTaskInfoResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeTemplateAttributeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeTemplateAttributeRequest extends RoaAcsRequest<DescribeTemplateAttributeResponse> {
private String template_type;
private String templateId;
public DescribeTemplateAttributeRequest() {
super("CS", "2015-12-15", "DescribeTemplateAttribute");
setUriPattern("/templates/[TemplateId]");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getTemplate_type() {
return this.template_type;
}
public void setTemplate_type(String template_type) {
this.template_type = template_type;
if(template_type != null){
putQueryParameter("template_type", template_type);
}
}
public String getTemplateId() {
return this.templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
if(templateId != null){
putPathParameter("TemplateId", templateId);
}
}
@Override
public Class<DescribeTemplateAttributeResponse> getResponseClass() {
return DescribeTemplateAttributeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeTemplateAttributeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeTemplateAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeTemplateAttributeResponse extends AcsResponse {
@Override
public DescribeTemplateAttributeResponse getInstance(UnmarshallerContext context) {
return DescribeTemplateAttributeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeTemplatesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeTemplatesRequest extends RoaAcsRequest<DescribeTemplatesResponse> {
private Long page_num;
private String template_type;
private Long page_size;
public DescribeTemplatesRequest() {
super("CS", "2015-12-15", "DescribeTemplates");
setUriPattern("/templates");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getPage_num() {
return this.page_num;
}
public void setPage_num(Long page_num) {
this.page_num = page_num;
if(page_num != null){
putQueryParameter("page_num", page_num.toString());
}
}
public String getTemplate_type() {
return this.template_type;
}
public void setTemplate_type(String template_type) {
this.template_type = template_type;
if(template_type != null){
putQueryParameter("template_type", template_type);
}
}
public Long getPage_size() {
return this.page_size;
}
public void setPage_size(Long page_size) {
this.page_size = page_size;
if(page_size != null){
putQueryParameter("page_size", page_size.toString());
}
}
@Override
public Class<DescribeTemplatesResponse> getResponseClass() {
return DescribeTemplatesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeTemplatesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeTemplatesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeTemplatesResponse extends AcsResponse {
private List<Template> templates;
private Page_info page_info;
public List<Template> getTemplates() {
return this.templates;
}
public void setTemplates(List<Template> templates) {
this.templates = templates;
}
public Page_info getPage_info() {
return this.page_info;
}
public void setPage_info(Page_info page_info) {
this.page_info = page_info;
}
public static class Template {
private String acl;
private String id;
private String name;
private String description;
private String tags;
private String template;
private String template_type;
private String created;
private String updated;
private String template_with_hist_id;
public String getAcl() {
return this.acl;
}
public void setAcl(String acl) {
this.acl = acl;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getTags() {
return this.tags;
}
public void setTags(String tags) {
this.tags = tags;
}
public String getTemplate() {
return this.template;
}
public void setTemplate(String template) {
this.template = template;
}
public String getTemplate_type() {
return this.template_type;
}
public void setTemplate_type(String template_type) {
this.template_type = template_type;
}
public String getCreated() {
return this.created;
}
public void setCreated(String created) {
this.created = created;
}
public String getUpdated() {
return this.updated;
}
public void setUpdated(String updated) {
this.updated = updated;
}
public String getTemplate_with_hist_id() {
return this.template_with_hist_id;
}
public void setTemplate_with_hist_id(String template_with_hist_id) {
this.template_with_hist_id = template_with_hist_id;
}
}
public static class Page_info {
private Long page_number;
private Long page_size;
private Long total_count;
public Long getPage_number() {
return this.page_number;
}
public void setPage_number(Long page_number) {
this.page_number = page_number;
}
public Long getPage_size() {
return this.page_size;
}
public void setPage_size(Long page_size) {
this.page_size = page_size;
}
public Long getTotal_count() {
return this.total_count;
}
public void setTotal_count(Long total_count) {
this.total_count = total_count;
}
}
@Override
public DescribeTemplatesResponse getInstance(UnmarshallerContext context) {
return DescribeTemplatesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeTriggerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeTriggerRequest extends RoaAcsRequest<DescribeTriggerResponse> {
private String cluster_id;
private String namespace;
private String name;
private String type;
public DescribeTriggerRequest() {
super("CS", "2015-12-15", "DescribeTrigger");
setUriPattern("/clusters/[cluster_id]/triggers");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
public String getNamespace() {
return this.namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
if(namespace != null){
putQueryParameter("Namespace", namespace);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("Type", type);
}
}
@Override
public Class<DescribeTriggerResponse> getResponseClass() {
return DescribeTriggerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeTriggerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeTriggerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeTriggerResponse extends AcsResponse {
@Override
public DescribeTriggerResponse getInstance(UnmarshallerContext context) {
return DescribeTriggerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeUserPermissionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeUserPermissionRequest extends RoaAcsRequest<DescribeUserPermissionResponse> {
private String uid;
public DescribeUserPermissionRequest() {
super("CS", "2015-12-15", "DescribeUserPermission");
setUriPattern("/permissions/users/[uid]");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getUid() {
return this.uid;
}
public void setUid(String uid) {
this.uid = uid;
if(uid != null){
putPathParameter("uid", uid);
}
}
@Override
public Class<DescribeUserPermissionResponse> getResponseClass() {
return DescribeUserPermissionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeUserPermissionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeUserPermissionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeUserPermissionResponse extends AcsResponse {
@Override
public DescribeUserPermissionResponse getInstance(UnmarshallerContext context) {
return DescribeUserPermissionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeUserQuotaRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeUserQuotaRequest extends RoaAcsRequest<DescribeUserQuotaResponse> {
public DescribeUserQuotaRequest() {
super("CS", "2015-12-15", "DescribeUserQuota");
setUriPattern("/quota");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<DescribeUserQuotaResponse> getResponseClass() {
return DescribeUserQuotaResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeUserQuotaResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeUserQuotaResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeUserQuotaResponse extends AcsResponse {
private Long amk_cluster_quota;
private Long ask_cluster_quota;
private Long cluster_nodepool_quota;
private Long cluster_quota;
private Long node_quota;
private Map<Object,Object> quotas;
private Edge_improved_nodepool_quota edge_improved_nodepool_quota;
public Long getAmk_cluster_quota() {
return this.amk_cluster_quota;
}
public void setAmk_cluster_quota(Long amk_cluster_quota) {
this.amk_cluster_quota = amk_cluster_quota;
}
public Long getAsk_cluster_quota() {
return this.ask_cluster_quota;
}
public void setAsk_cluster_quota(Long ask_cluster_quota) {
this.ask_cluster_quota = ask_cluster_quota;
}
public Long getCluster_nodepool_quota() {
return this.cluster_nodepool_quota;
}
public void setCluster_nodepool_quota(Long cluster_nodepool_quota) {
this.cluster_nodepool_quota = cluster_nodepool_quota;
}
public Long getCluster_quota() {
return this.cluster_quota;
}
public void setCluster_quota(Long cluster_quota) {
this.cluster_quota = cluster_quota;
}
public Long getNode_quota() {
return this.node_quota;
}
public void setNode_quota(Long node_quota) {
this.node_quota = node_quota;
}
public Map<Object,Object> getQuotas() {
return this.quotas;
}
public void setQuotas(Map<Object,Object> quotas) {
this.quotas = quotas;
}
public Edge_improved_nodepool_quota getEdge_improved_nodepool_quota() {
return this.edge_improved_nodepool_quota;
}
public void setEdge_improved_nodepool_quota(Edge_improved_nodepool_quota edge_improved_nodepool_quota) {
this.edge_improved_nodepool_quota = edge_improved_nodepool_quota;
}
public static class Edge_improved_nodepool_quota {
private Integer bandwidth;
private Integer count;
private Integer period;
public Integer getBandwidth() {
return this.bandwidth;
}
public void setBandwidth(Integer bandwidth) {
this.bandwidth = bandwidth;
}
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
public Integer getPeriod() {
return this.period;
}
public void setPeriod(Integer period) {
this.period = period;
}
}
@Override
public DescribeUserQuotaResponse getInstance(UnmarshallerContext context) {
return DescribeUserQuotaResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeWorkflowsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeWorkflowsRequest extends RoaAcsRequest<DescribeWorkflowsResponse> {
public DescribeWorkflowsRequest() {
super("CS", "2015-12-15", "DescribeWorkflows");
setUriPattern("/gs/workflows");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<DescribeWorkflowsResponse> getResponseClass() {
return DescribeWorkflowsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/DescribeWorkflowsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.DescribeWorkflowsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeWorkflowsResponse extends AcsResponse {
private List<Job> jobs;
public List<Job> getJobs() {
return this.jobs;
}
public void setJobs(List<Job> jobs) {
this.jobs = jobs;
}
public static class Job {
private String cluster_id;
private String job_name;
private String create_time;
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
}
public String getJob_name() {
return this.job_name;
}
public void setJob_name(String job_name) {
this.job_name = job_name;
}
public String getCreate_time() {
return this.create_time;
}
public void setCreate_time(String create_time) {
this.create_time = create_time;
}
}
@Override
public DescribeWorkflowsResponse getInstance(UnmarshallerContext context) {
return DescribeWorkflowsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/EdgeClusterAddEdgeMachineRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class EdgeClusterAddEdgeMachineRequest extends RoaAcsRequest<EdgeClusterAddEdgeMachineResponse> {
private String edge_machineid;
private String clusterid;
private String body;
public EdgeClusterAddEdgeMachineRequest() {
super("CS", "2015-12-15", "EdgeClusterAddEdgeMachine");
setUriPattern("/clusters/[clusterid]/attachedgemachine/[edge_machineid]");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getEdge_machineid() {
return this.edge_machineid;
}
public void setEdge_machineid(String edge_machineid) {
this.edge_machineid = edge_machineid;
if(edge_machineid != null){
putPathParameter("edge_machineid", edge_machineid);
}
}
public String getClusterid() {
return this.clusterid;
}
public void setClusterid(String clusterid) {
this.clusterid = clusterid;
if(clusterid != null){
putPathParameter("clusterid", clusterid);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
@Override
public Class<EdgeClusterAddEdgeMachineResponse> getResponseClass() {
return EdgeClusterAddEdgeMachineResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/EdgeClusterAddEdgeMachineResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.EdgeClusterAddEdgeMachineResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EdgeClusterAddEdgeMachineResponse extends AcsResponse {
private String request_id;
private String edge_machine_id;
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
public String getEdge_machine_id() {
return this.edge_machine_id;
}
public void setEdge_machine_id(String edge_machine_id) {
this.edge_machine_id = edge_machine_id;
}
@Override
public EdgeClusterAddEdgeMachineResponse getInstance(UnmarshallerContext context) {
return EdgeClusterAddEdgeMachineResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/FixNodePoolVulsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class FixNodePoolVulsRequest extends RoaAcsRequest<FixNodePoolVulsResponse> {
private String cluster_id;
private String body;
private String nodepool_id;
public FixNodePoolVulsRequest() {
super("CS", "2015-12-15", "FixNodePoolVuls");
setUriPattern("/clusters/[cluster_id]/nodepools/[nodepool_id]/vuls/fix");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
public String getNodepool_id() {
return this.nodepool_id;
}
public void setNodepool_id(String nodepool_id) {
this.nodepool_id = nodepool_id;
if(nodepool_id != null){
putPathParameter("nodepool_id", nodepool_id);
}
}
@Override
public Class<FixNodePoolVulsResponse> getResponseClass() {
return FixNodePoolVulsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/FixNodePoolVulsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.FixNodePoolVulsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class FixNodePoolVulsResponse extends AcsResponse {
private String task_id;
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
}
@Override
public FixNodePoolVulsResponse getInstance(UnmarshallerContext context) {
return FixNodePoolVulsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/GetKubernetesTriggerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class GetKubernetesTriggerRequest extends RoaAcsRequest<GetKubernetesTriggerResponse> {
private String namespace;
private String name;
private String clusterId;
private String type;
public GetKubernetesTriggerRequest() {
super("CS", "2015-12-15", "GetKubernetesTrigger");
setUriPattern("/triggers/[ClusterId]");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getNamespace() {
return this.namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
if(namespace != null){
putQueryParameter("Namespace", namespace);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("Type", type);
}
}
@Override
public Class<GetKubernetesTriggerResponse> getResponseClass() {
return GetKubernetesTriggerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/GetKubernetesTriggerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.GetKubernetesTriggerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetKubernetesTriggerResponse extends AcsResponse {
@Override
public GetKubernetesTriggerResponse getInstance(UnmarshallerContext context) {
return GetKubernetesTriggerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/GetUpgradeStatusRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class GetUpgradeStatusRequest extends RoaAcsRequest<GetUpgradeStatusResponse> {
private String clusterId;
public GetUpgradeStatusRequest() {
super("CS", "2015-12-15", "GetUpgradeStatus");
setUriPattern("/api/v2/clusters/[ClusterId]/upgrade/status");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<GetUpgradeStatusResponse> getResponseClass() {
return GetUpgradeStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/GetUpgradeStatusResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.GetUpgradeStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetUpgradeStatusResponse extends AcsResponse {
private String error_message;
private String precheck_report_id;
private String status;
private String upgrade_step;
private Upgrade_task upgrade_task;
public String getError_message() {
return this.error_message;
}
public void setError_message(String error_message) {
this.error_message = error_message;
}
public String getPrecheck_report_id() {
return this.precheck_report_id;
}
public void setPrecheck_report_id(String precheck_report_id) {
this.precheck_report_id = precheck_report_id;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getUpgrade_step() {
return this.upgrade_step;
}
public void setUpgrade_step(String upgrade_step) {
this.upgrade_step = upgrade_step;
}
public Upgrade_task getUpgrade_task() {
return this.upgrade_task;
}
public void setUpgrade_task(Upgrade_task upgrade_task) {
this.upgrade_task = upgrade_task;
}
public static class Upgrade_task {
private String status;
private String message;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@Override
public GetUpgradeStatusResponse getInstance(UnmarshallerContext context) {
return GetUpgradeStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/GrantPermissionsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class GrantPermissionsRequest extends RoaAcsRequest<GrantPermissionsResponse> {
private String uid;
public GrantPermissionsRequest() {
super("CS", "2015-12-15", "GrantPermissions");
setUriPattern("/permissions/users/[uid]");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getUid() {
return this.uid;
}
public void setUid(String uid) {
this.uid = uid;
if(uid != null){
putPathParameter("uid", uid);
}
}
@Override
public Class<GrantPermissionsResponse> getResponseClass() {
return GrantPermissionsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/GrantPermissionsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.GrantPermissionsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GrantPermissionsResponse extends AcsResponse {
@Override
public GrantPermissionsResponse getInstance(UnmarshallerContext context) {
return GrantPermissionsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/InstallClusterAddonsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class InstallClusterAddonsRequest extends RoaAcsRequest<InstallClusterAddonsResponse> {
private String clusterId;
public InstallClusterAddonsRequest() {
super("CS", "2015-12-15", "InstallClusterAddons");
setUriPattern("/clusters/[ClusterId]/components/install");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<InstallClusterAddonsResponse> getResponseClass() {
return InstallClusterAddonsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/InstallClusterAddonsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.InstallClusterAddonsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class InstallClusterAddonsResponse extends AcsResponse {
@Override
public InstallClusterAddonsResponse getInstance(UnmarshallerContext context) {
return InstallClusterAddonsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ListTagResourcesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class ListTagResourcesRequest extends RoaAcsRequest<ListTagResourcesResponse> {
private String resource_type;
private String region_id;
private String next_token;
public ListTagResourcesRequest() {
super("CS", "2015-12-15", "ListTagResources");
setUriPattern("/tags");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getResource_type() {
return this.resource_type;
}
public void setResource_type(String resource_type) {
this.resource_type = resource_type;
if(resource_type != null){
putQueryParameter("resource_type", resource_type);
}
}
public String getRegion_id() {
return this.region_id;
}
public void setRegion_id(String region_id) {
this.region_id = region_id;
if(region_id != null){
putQueryParameter("region_id", region_id);
}
}
public String getNext_token() {
return this.next_token;
}
public void setNext_token(String next_token) {
this.next_token = next_token;
if(next_token != null){
putQueryParameter("next_token", next_token);
}
}
@Override
public Class<ListTagResourcesResponse> getResponseClass() {
return ListTagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ListTagResourcesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.ListTagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagResourcesResponse extends AcsResponse {
private String next_token;
private String request_id;
private Tag_resources tag_resources;
public String getNext_token() {
return this.next_token;
}
public void setNext_token(String next_token) {
this.next_token = next_token;
}
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
public Tag_resources getTag_resources() {
return this.tag_resources;
}
public void setTag_resources(Tag_resources tag_resources) {
this.tag_resources = tag_resources;
}
public static class Tag_resources {
private List<Tag_resourceItem> tag_resource;
public List<Tag_resourceItem> getTag_resource() {
return this.tag_resource;
}
public void setTag_resource(List<Tag_resourceItem> tag_resource) {
this.tag_resource = tag_resource;
}
public static class Tag_resourceItem {
private String tag_key;
private String tag_value;
private String resource_id;
private String resource_type;
public String getTag_key() {
return this.tag_key;
}
public void setTag_key(String tag_key) {
this.tag_key = tag_key;
}
public String getTag_value() {
return this.tag_value;
}
public void setTag_value(String tag_value) {
this.tag_value = tag_value;
}
public String getResource_id() {
return this.resource_id;
}
public void setResource_id(String resource_id) {
this.resource_id = resource_id;
}
public String getResource_type() {
return this.resource_type;
}
public void setResource_type(String resource_type) {
this.resource_type = resource_type;
}
}
}
@Override
public ListTagResourcesResponse getInstance(UnmarshallerContext context) {
return ListTagResourcesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/MigrateClusterRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class MigrateClusterRequest extends RoaAcsRequest<MigrateClusterResponse> {
private String cluster_id;
private String body;
public MigrateClusterRequest() {
super("CS", "2015-12-15", "MigrateCluster");
setUriPattern("/clusters/[cluster_id]/migrate");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
@Override
public Class<MigrateClusterResponse> getResponseClass() {
return MigrateClusterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/MigrateClusterResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.MigrateClusterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class MigrateClusterResponse extends AcsResponse {
private String cluster_id;
private String request_id;
private String task_id;
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
}
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
}
@Override
public MigrateClusterResponse getInstance(UnmarshallerContext context) {
return MigrateClusterResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterAddonRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyClusterAddonRequest extends RoaAcsRequest<ModifyClusterAddonResponse> {
private String cluster_id;
private String component_id;
private String body;
public ModifyClusterAddonRequest() {
super("CS", "2015-12-15", "ModifyClusterAddon");
setUriPattern("/clusters/[cluster_id]/components/[component_id]/config");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
public String getComponent_id() {
return this.component_id;
}
public void setComponent_id(String component_id) {
this.component_id = component_id;
if(component_id != null){
putPathParameter("component_id", component_id);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
@Override
public Class<ModifyClusterAddonResponse> getResponseClass() {
return ModifyClusterAddonResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterAddonResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.ModifyClusterAddonResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyClusterAddonResponse extends AcsResponse {
@Override
public ModifyClusterAddonResponse getInstance(UnmarshallerContext context) {
return ModifyClusterAddonResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterConfigurationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyClusterConfigurationRequest extends RoaAcsRequest<ModifyClusterConfigurationResponse> {
private String clusterId;
public ModifyClusterConfigurationRequest() {
super("CS", "2015-12-15", "ModifyClusterConfiguration");
setUriPattern("/clusters/[ClusterId]/configuration");
setMethod(MethodType.PUT);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<ModifyClusterConfigurationResponse> getResponseClass() {
return ModifyClusterConfigurationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterConfigurationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.ModifyClusterConfigurationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyClusterConfigurationResponse extends AcsResponse {
@Override
public ModifyClusterConfigurationResponse getInstance(UnmarshallerContext context) {
return ModifyClusterConfigurationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterNodePoolRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyClusterNodePoolRequest extends RoaAcsRequest<ModifyClusterNodePoolResponse> {
private String clusterId;
private String body;
private String nodepoolId;
public ModifyClusterNodePoolRequest() {
super("CS", "2015-12-15", "ModifyClusterNodePool");
setUriPattern("/clusters/[ClusterId]/nodepools/[NodepoolId]");
setMethod(MethodType.PUT);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
public String getNodepoolId() {
return this.nodepoolId;
}
public void setNodepoolId(String nodepoolId) {
this.nodepoolId = nodepoolId;
if(nodepoolId != null){
putPathParameter("NodepoolId", nodepoolId);
}
}
@Override
public Class<ModifyClusterNodePoolResponse> getResponseClass() {
return ModifyClusterNodePoolResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterNodePoolResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.ModifyClusterNodePoolResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyClusterNodePoolResponse extends AcsResponse {
private String task_id;
private String nodepool_id;
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
}
public String getNodepool_id() {
return this.nodepool_id;
}
public void setNodepool_id(String nodepool_id) {
this.nodepool_id = nodepool_id;
}
@Override
public ModifyClusterNodePoolResponse getInstance(UnmarshallerContext context) {
return ModifyClusterNodePoolResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyClusterRequest extends RoaAcsRequest<ModifyClusterResponse> {
private String clusterId;
public ModifyClusterRequest() {
super("CS", "2015-12-15", "ModifyCluster");
setUriPattern("/api/v2/clusters/[ClusterId]");
setMethod(MethodType.PUT);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<ModifyClusterResponse> getResponseClass() {
return ModifyClusterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.ModifyClusterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyClusterResponse extends AcsResponse {
private String cluster_id;
private String request_id;
private String task_id;
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
}
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
}
@Override
public ModifyClusterResponse getInstance(UnmarshallerContext context) {
return ModifyClusterResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterTagsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyClusterTagsRequest extends RoaAcsRequest<ModifyClusterTagsResponse> {
private String clusterId;
public ModifyClusterTagsRequest() {
super("CS", "2015-12-15", "ModifyClusterTags");
setUriPattern("/clusters/[ClusterId]/tags");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<ModifyClusterTagsResponse> getResponseClass() {
return ModifyClusterTagsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyClusterTagsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.ModifyClusterTagsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyClusterTagsResponse extends AcsResponse {
@Override
public ModifyClusterTagsResponse getInstance(UnmarshallerContext context) {
return ModifyClusterTagsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyNodePoolNodeConfigRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyNodePoolNodeConfigRequest extends RoaAcsRequest<ModifyNodePoolNodeConfigResponse> {
private String clusterId;
private String body;
private String nodepoolId;
public ModifyNodePoolNodeConfigRequest() {
super("CS", "2015-12-15", "ModifyNodePoolNodeConfig");
setUriPattern("/clusters/[ClusterId]/nodepools/[NodepoolId]/node_config");
setMethod(MethodType.PUT);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
public String getNodepoolId() {
return this.nodepoolId;
}
public void setNodepoolId(String nodepoolId) {
this.nodepoolId = nodepoolId;
if(nodepoolId != null){
putPathParameter("NodepoolId", nodepoolId);
}
}
@Override
public Class<ModifyNodePoolNodeConfigResponse> getResponseClass() {
return ModifyNodePoolNodeConfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyNodePoolNodeConfigResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.ModifyNodePoolNodeConfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyNodePoolNodeConfigResponse extends AcsResponse {
private String request_id;
private String task_id;
private String nodepool_id;
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
}
public String getNodepool_id() {
return this.nodepool_id;
}
public void setNodepool_id(String nodepool_id) {
this.nodepool_id = nodepool_id;
}
@Override
public ModifyNodePoolNodeConfigResponse getInstance(UnmarshallerContext context) {
return ModifyNodePoolNodeConfigResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyPolicyInstanceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyPolicyInstanceRequest extends RoaAcsRequest<ModifyPolicyInstanceResponse> {
private String cluster_id;
private String policy_name;
public ModifyPolicyInstanceRequest() {
super("CS", "2015-12-15", "ModifyPolicyInstance");
setUriPattern("/clusters/[cluster_id]/policies/[policy_name]");
setMethod(MethodType.PUT);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
public String getPolicy_name() {
return this.policy_name;
}
public void setPolicy_name(String policy_name) {
this.policy_name = policy_name;
if(policy_name != null){
putPathParameter("policy_name", policy_name);
}
}
@Override
public Class<ModifyPolicyInstanceResponse> getResponseClass() {
return ModifyPolicyInstanceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/ModifyPolicyInstanceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.ModifyPolicyInstanceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyPolicyInstanceResponse extends AcsResponse {
private List<String> instances;
public List<String> getInstances() {
return this.instances;
}
public void setInstances(List<String> instances) {
this.instances = instances;
}
@Override
public ModifyPolicyInstanceResponse getInstance(UnmarshallerContext context) {
return ModifyPolicyInstanceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/OpenAckServiceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class OpenAckServiceRequest extends RoaAcsRequest<OpenAckServiceResponse> {
private String type;
public OpenAckServiceRequest() {
super("CS", "2015-12-15", "OpenAckService");
setUriPattern("/service/open");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("type", type);
}
}
@Override
public Class<OpenAckServiceResponse> getResponseClass() {
return OpenAckServiceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/OpenAckServiceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.OpenAckServiceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class OpenAckServiceResponse extends AcsResponse {
private String request_id;
private String order_id;
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
public String getOrder_id() {
return this.order_id;
}
public void setOrder_id(String order_id) {
this.order_id = order_id;
}
@Override
public OpenAckServiceResponse getInstance(UnmarshallerContext context) {
return OpenAckServiceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/PauseClusterUpgradeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class PauseClusterUpgradeRequest extends RoaAcsRequest<PauseClusterUpgradeResponse> {
private String clusterId;
public PauseClusterUpgradeRequest() {
super("CS", "2015-12-15", "PauseClusterUpgrade");
setUriPattern("/api/v2/clusters/[ClusterId]/upgrade/pause");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<PauseClusterUpgradeResponse> getResponseClass() {
return PauseClusterUpgradeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/PauseClusterUpgradeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.PauseClusterUpgradeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PauseClusterUpgradeResponse extends AcsResponse {
@Override
public PauseClusterUpgradeResponse getInstance(UnmarshallerContext context) {
return PauseClusterUpgradeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/PauseComponentUpgradeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class PauseComponentUpgradeRequest extends RoaAcsRequest<PauseComponentUpgradeResponse> {
private String componentid;
private String clusterid;
public PauseComponentUpgradeRequest() {
super("CS", "2015-12-15", "PauseComponentUpgrade");
setUriPattern("/clusters/[clusterid]/components/[componentid]/pause");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getComponentid() {
return this.componentid;
}
public void setComponentid(String componentid) {
this.componentid = componentid;
if(componentid != null){
putPathParameter("componentid", componentid);
}
}
public String getClusterid() {
return this.clusterid;
}
public void setClusterid(String clusterid) {
this.clusterid = clusterid;
if(clusterid != null){
putPathParameter("clusterid", clusterid);
}
}
@Override
public Class<PauseComponentUpgradeResponse> getResponseClass() {
return PauseComponentUpgradeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/PauseComponentUpgradeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.PauseComponentUpgradeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PauseComponentUpgradeResponse extends AcsResponse {
@Override
public PauseComponentUpgradeResponse getInstance(UnmarshallerContext context) {
return PauseComponentUpgradeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/PauseTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class PauseTaskRequest extends RoaAcsRequest<PauseTaskResponse> {
private String task_id;
public PauseTaskRequest() {
super("CS", "2015-12-15", "PauseTask");
setUriPattern("/tasks/[task_id]/pause");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
if(task_id != null){
putPathParameter("task_id", task_id);
}
}
@Override
public Class<PauseTaskResponse> getResponseClass() {
return PauseTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/PauseTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.PauseTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PauseTaskResponse extends AcsResponse {
@Override
public PauseTaskResponse getInstance(UnmarshallerContext context) {
return PauseTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/RemoveClusterNodesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class RemoveClusterNodesRequest extends RoaAcsRequest<RemoveClusterNodesResponse> {
private String clusterId;
public RemoveClusterNodesRequest() {
super("CS", "2015-12-15", "RemoveClusterNodes");
setUriPattern("/api/v2/clusters/[ClusterId]/nodes/remove");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
@Override
public Class<RemoveClusterNodesResponse> getResponseClass() {
return RemoveClusterNodesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/RemoveClusterNodesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.RemoveClusterNodesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RemoveClusterNodesResponse extends AcsResponse {
@Override
public RemoveClusterNodesResponse getInstance(UnmarshallerContext context) {
return RemoveClusterNodesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/RemoveNodePoolNodesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class RemoveNodePoolNodesRequest extends RoaAcsRequest<RemoveNodePoolNodesResponse> {
private Boolean release_node;
private String instance_ids;
private Boolean drain_node;
private String clusterId;
private String nodepoolId;
public RemoveNodePoolNodesRequest() {
super("CS", "2015-12-15", "RemoveNodePoolNodes");
setUriPattern("/clusters/[ClusterId]/nodepools/[NodepoolId]/nodes");
setMethod(MethodType.DELETE);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getRelease_node() {
return this.release_node;
}
public void setRelease_node(Boolean release_node) {
this.release_node = release_node;
if(release_node != null){
putQueryParameter("release_node", release_node.toString());
}
}
public String getInstance_ids() {
return this.instance_ids;
}
public void setInstance_ids(String instance_ids) {
this.instance_ids = instance_ids;
if(instance_ids != null){
putQueryParameter("instance_ids", instance_ids);
}
}
public Boolean getDrain_node() {
return this.drain_node;
}
public void setDrain_node(Boolean drain_node) {
this.drain_node = drain_node;
if(drain_node != null){
putQueryParameter("drain_node", drain_node.toString());
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putPathParameter("ClusterId", clusterId);
}
}
public String getNodepoolId() {
return this.nodepoolId;
}
public void setNodepoolId(String nodepoolId) {
this.nodepoolId = nodepoolId;
if(nodepoolId != null){
putPathParameter("NodepoolId", nodepoolId);
}
}
@Override
public Class<RemoveNodePoolNodesResponse> getResponseClass() {
return RemoveNodePoolNodesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/RemoveNodePoolNodesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.RemoveNodePoolNodesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RemoveNodePoolNodesResponse extends AcsResponse {
private String request_id;
private String task_id;
public String getRequest_id() {
return this.request_id;
}
public void setRequest_id(String request_id) {
this.request_id = request_id;
}
public String getTask_id() {
return this.task_id;
}
public void setTask_id(String task_id) {
this.task_id = task_id;
}
@Override
public RemoveNodePoolNodesResponse getInstance(UnmarshallerContext context) {
return RemoveNodePoolNodesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/RemoveWorkflowRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class RemoveWorkflowRequest extends RoaAcsRequest<RemoveWorkflowResponse> {
private String workflowName;
public RemoveWorkflowRequest() {
super("CS", "2015-12-15", "RemoveWorkflow");
setUriPattern("/gs/workflow/[workflowName]");
setMethod(MethodType.DELETE);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getWorkflowName() {
return this.workflowName;
}
public void setWorkflowName(String workflowName) {
this.workflowName = workflowName;
if(workflowName != null){
putPathParameter("workflowName", workflowName);
}
}
@Override
public Class<RemoveWorkflowResponse> getResponseClass() {
return RemoveWorkflowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/RemoveWorkflowResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cs.transform.v20151215.RemoveWorkflowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RemoveWorkflowResponse extends AcsResponse {
@Override
public RemoveWorkflowResponse getInstance(UnmarshallerContext context) {
return RemoveWorkflowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model
|
java-sources/com/aliyun/aliyun-java-sdk-cs/4.8.7/com/aliyuncs/cs/model/v20151215/RepairClusterNodePoolRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cs.model.v20151215;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cs.Endpoint;
/**
* @author auto create
* @version
*/
public class RepairClusterNodePoolRequest extends RoaAcsRequest<RepairClusterNodePoolResponse> {
private String cluster_id;
private String body;
private String nodepool_id;
public RepairClusterNodePoolRequest() {
super("CS", "2015-12-15", "RepairClusterNodePool");
setUriPattern("/clusters/[cluster_id]/nodepools/[nodepool_id]/repair");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCluster_id() {
return this.cluster_id;
}
public void setCluster_id(String cluster_id) {
this.cluster_id = cluster_id;
if(cluster_id != null){
putPathParameter("cluster_id", cluster_id);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
public String getNodepool_id() {
return this.nodepool_id;
}
public void setNodepool_id(String nodepool_id) {
this.nodepool_id = nodepool_id;
if(nodepool_id != null){
putPathParameter("nodepool_id", nodepool_id);
}
}
@Override
public Class<RepairClusterNodePoolResponse> getResponseClass() {
return RepairClusterNodePoolResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.