index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeClustersRequest extends RpcAcsRequest<DescribeClustersResponse> {
private String clusterName;
private Integer pageNumber;
private String resourceGroupId;
private Integer pageSize;
private List<Tag> tags;
public DescribeClustersRequest() {
super("Cassandra", "2019-01-01", "DescribeClusters", "Cassandra");
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 getClusterName() {
return this.clusterName;
}
public void setClusterName(String clusterName) {
this.clusterName = clusterName;
if(clusterName != null){
putQueryParameter("ClusterName", clusterName);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
}
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<DescribeClustersResponse> getResponseClass() {
return DescribeClustersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeClustersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeClustersResponse extends AcsResponse {
private String requestId;
private Long totalCount;
private Integer pageNumber;
private Integer pageSize;
private List<Cluster> clusters;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public List<Cluster> getClusters() {
return this.clusters;
}
public void setClusters(List<Cluster> clusters) {
this.clusters = clusters;
}
public static class Cluster {
private String clusterId;
private String clusterName;
private String status;
private String payType;
private String createdTime;
private String expireTime;
private String majorVersion;
private String minorVersion;
private Integer dataCenterCount;
private String lockMode;
private Boolean autoRenewal;
private Integer autoRenewPeriod;
private String resourceGroupId;
private List<Tag> tags;
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
public String getClusterName() {
return this.clusterName;
}
public void setClusterName(String clusterName) {
this.clusterName = clusterName;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
public String getCreatedTime() {
return this.createdTime;
}
public void setCreatedTime(String createdTime) {
this.createdTime = createdTime;
}
public String getExpireTime() {
return this.expireTime;
}
public void setExpireTime(String expireTime) {
this.expireTime = expireTime;
}
public String getMajorVersion() {
return this.majorVersion;
}
public void setMajorVersion(String majorVersion) {
this.majorVersion = majorVersion;
}
public String getMinorVersion() {
return this.minorVersion;
}
public void setMinorVersion(String minorVersion) {
this.minorVersion = minorVersion;
}
public Integer getDataCenterCount() {
return this.dataCenterCount;
}
public void setDataCenterCount(Integer dataCenterCount) {
this.dataCenterCount = dataCenterCount;
}
public String getLockMode() {
return this.lockMode;
}
public void setLockMode(String lockMode) {
this.lockMode = lockMode;
}
public Boolean getAutoRenewal() {
return this.autoRenewal;
}
public void setAutoRenewal(Boolean autoRenewal) {
this.autoRenewal = autoRenewal;
}
public Integer getAutoRenewPeriod() {
return this.autoRenewPeriod;
}
public void setAutoRenewPeriod(Integer autoRenewPeriod) {
this.autoRenewPeriod = autoRenewPeriod;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public static class Tag {
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;
}
}
}
@Override
public DescribeClustersResponse getInstance(UnmarshallerContext context) {
return DescribeClustersResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeContactPointsRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeContactPointsRequest extends RpcAcsRequest<DescribeContactPointsResponse> {
private String clusterId;
public DescribeContactPointsRequest() {
super("Cassandra", "2019-01-01", "DescribeContactPoints", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeContactPointsResponse> getResponseClass() {
return DescribeContactPointsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeContactPointsResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeContactPointsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeContactPointsResponse extends AcsResponse {
private String requestId;
private List<ContactPoint> contactPoints;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<ContactPoint> getContactPoints() {
return this.contactPoints;
}
public void setContactPoints(List<ContactPoint> contactPoints) {
this.contactPoints = contactPoints;
}
public static class ContactPoint {
private String dataCenterId;
private Integer port;
private List<String> privateAddresses;
private List<String> publicAddresses;
public String getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public List<String> getPrivateAddresses() {
return this.privateAddresses;
}
public void setPrivateAddresses(List<String> privateAddresses) {
this.privateAddresses = privateAddresses;
}
public List<String> getPublicAddresses() {
return this.publicAddresses;
}
public void setPublicAddresses(List<String> publicAddresses) {
this.publicAddresses = publicAddresses;
}
}
@Override
public DescribeContactPointsResponse getInstance(UnmarshallerContext context) {
return DescribeContactPointsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeDataCenterRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeDataCenterRequest extends RpcAcsRequest<DescribeDataCenterResponse> {
private String dataCenterId;
private String clusterId;
public DescribeDataCenterRequest() {
super("Cassandra", "2019-01-01", "DescribeDataCenter", "Cassandra");
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 getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeDataCenterResponse> getResponseClass() {
return DescribeDataCenterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeDataCenterResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeDataCenterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeDataCenterResponse extends AcsResponse {
private String requestId;
private String dataCenterId;
private String regionId;
private String zoneId;
private String clusterId;
private String dataCenterName;
private String status;
private String createdTime;
private String instanceType;
private Integer nodeCount;
private String diskType;
private Integer diskSize;
private String vpcId;
private String vswitchId;
private String payType;
private String commodityInstance;
private String expireTime;
private String lockMode;
private Boolean autoRenewal;
private Integer autoRenewPeriod;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
public String getDataCenterName() {
return this.dataCenterName;
}
public void setDataCenterName(String dataCenterName) {
this.dataCenterName = dataCenterName;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCreatedTime() {
return this.createdTime;
}
public void setCreatedTime(String createdTime) {
this.createdTime = createdTime;
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public Integer getNodeCount() {
return this.nodeCount;
}
public void setNodeCount(Integer nodeCount) {
this.nodeCount = nodeCount;
}
public String getDiskType() {
return this.diskType;
}
public void setDiskType(String diskType) {
this.diskType = diskType;
}
public Integer getDiskSize() {
return this.diskSize;
}
public void setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}
public String getVswitchId() {
return this.vswitchId;
}
public void setVswitchId(String vswitchId) {
this.vswitchId = vswitchId;
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
public String getCommodityInstance() {
return this.commodityInstance;
}
public void setCommodityInstance(String commodityInstance) {
this.commodityInstance = commodityInstance;
}
public String getExpireTime() {
return this.expireTime;
}
public void setExpireTime(String expireTime) {
this.expireTime = expireTime;
}
public String getLockMode() {
return this.lockMode;
}
public void setLockMode(String lockMode) {
this.lockMode = lockMode;
}
public Boolean getAutoRenewal() {
return this.autoRenewal;
}
public void setAutoRenewal(Boolean autoRenewal) {
this.autoRenewal = autoRenewal;
}
public Integer getAutoRenewPeriod() {
return this.autoRenewPeriod;
}
public void setAutoRenewPeriod(Integer autoRenewPeriod) {
this.autoRenewPeriod = autoRenewPeriod;
}
@Override
public DescribeDataCenterResponse getInstance(UnmarshallerContext context) {
return DescribeDataCenterResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeDataCentersRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeDataCentersRequest extends RpcAcsRequest<DescribeDataCentersResponse> {
private String clusterId;
public DescribeDataCentersRequest() {
super("Cassandra", "2019-01-01", "DescribeDataCenters", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeDataCentersResponse> getResponseClass() {
return DescribeDataCentersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeDataCentersResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeDataCentersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeDataCentersResponse extends AcsResponse {
private String requestId;
private List<DataCenter> dataCenters;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataCenter> getDataCenters() {
return this.dataCenters;
}
public void setDataCenters(List<DataCenter> dataCenters) {
this.dataCenters = dataCenters;
}
public static class DataCenter {
private String dataCenterId;
private String regionId;
private String zoneId;
private String clusterId;
private String dataCenterName;
private String status;
private String createdTime;
private String instanceType;
private Integer nodeCount;
private String diskType;
private Integer diskSize;
private String vpcId;
private String vswitchId;
private String payType;
private String commodityInstance;
private String expireTime;
private String lockMode;
private Boolean autoRenewal;
private Integer autoRenewPeriod;
public String getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
public String getDataCenterName() {
return this.dataCenterName;
}
public void setDataCenterName(String dataCenterName) {
this.dataCenterName = dataCenterName;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCreatedTime() {
return this.createdTime;
}
public void setCreatedTime(String createdTime) {
this.createdTime = createdTime;
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public Integer getNodeCount() {
return this.nodeCount;
}
public void setNodeCount(Integer nodeCount) {
this.nodeCount = nodeCount;
}
public String getDiskType() {
return this.diskType;
}
public void setDiskType(String diskType) {
this.diskType = diskType;
}
public Integer getDiskSize() {
return this.diskSize;
}
public void setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}
public String getVswitchId() {
return this.vswitchId;
}
public void setVswitchId(String vswitchId) {
this.vswitchId = vswitchId;
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
public String getCommodityInstance() {
return this.commodityInstance;
}
public void setCommodityInstance(String commodityInstance) {
this.commodityInstance = commodityInstance;
}
public String getExpireTime() {
return this.expireTime;
}
public void setExpireTime(String expireTime) {
this.expireTime = expireTime;
}
public String getLockMode() {
return this.lockMode;
}
public void setLockMode(String lockMode) {
this.lockMode = lockMode;
}
public Boolean getAutoRenewal() {
return this.autoRenewal;
}
public void setAutoRenewal(Boolean autoRenewal) {
this.autoRenewal = autoRenewal;
}
public Integer getAutoRenewPeriod() {
return this.autoRenewPeriod;
}
public void setAutoRenewPeriod(Integer autoRenewPeriod) {
this.autoRenewPeriod = autoRenewPeriod;
}
}
@Override
public DescribeDataCentersResponse getInstance(UnmarshallerContext context) {
return DescribeDataCentersResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeDeletedClustersRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeDeletedClustersRequest extends RpcAcsRequest<DescribeDeletedClustersResponse> {
private Integer pageNumber;
private Integer pageSize;
public DescribeDeletedClustersRequest() {
super("Cassandra", "2019-01-01", "DescribeDeletedClusters", "Cassandra");
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 Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<DescribeDeletedClustersResponse> getResponseClass() {
return DescribeDeletedClustersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeDeletedClustersResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeDeletedClustersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeDeletedClustersResponse extends AcsResponse {
private String requestId;
private Long totalCount;
private Integer pageNumber;
private Integer pageSize;
private List<Cluster> clusters;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public List<Cluster> getClusters() {
return this.clusters;
}
public void setClusters(List<Cluster> clusters) {
this.clusters = clusters;
}
public static class Cluster {
private String clusterId;
private String clusterName;
private String status;
private String payType;
private String createdTime;
private String expireTime;
private String majorVersion;
private String minorVersion;
private Integer dataCenterCount;
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
public String getClusterName() {
return this.clusterName;
}
public void setClusterName(String clusterName) {
this.clusterName = clusterName;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
public String getCreatedTime() {
return this.createdTime;
}
public void setCreatedTime(String createdTime) {
this.createdTime = createdTime;
}
public String getExpireTime() {
return this.expireTime;
}
public void setExpireTime(String expireTime) {
this.expireTime = expireTime;
}
public String getMajorVersion() {
return this.majorVersion;
}
public void setMajorVersion(String majorVersion) {
this.majorVersion = majorVersion;
}
public String getMinorVersion() {
return this.minorVersion;
}
public void setMinorVersion(String minorVersion) {
this.minorVersion = minorVersion;
}
public Integer getDataCenterCount() {
return this.dataCenterCount;
}
public void setDataCenterCount(Integer dataCenterCount) {
this.dataCenterCount = dataCenterCount;
}
}
@Override
public DescribeDeletedClustersResponse getInstance(UnmarshallerContext context) {
return DescribeDeletedClustersResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeInstanceTypeRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeInstanceTypeRequest extends RpcAcsRequest<DescribeInstanceTypeResponse> {
private String instanceType;
public DescribeInstanceTypeRequest() {
super("Cassandra", "2019-01-01", "DescribeInstanceType", "Cassandra");
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 getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
if(instanceType != null){
putQueryParameter("InstanceType", instanceType);
}
}
@Override
public Class<DescribeInstanceTypeResponse> getResponseClass() {
return DescribeInstanceTypeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeInstanceTypeResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeInstanceTypeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeInstanceTypeResponse extends AcsResponse {
private String requestId;
private List<InstanceTypeSpec> instanceTypeSpecList;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<InstanceTypeSpec> getInstanceTypeSpecList() {
return this.instanceTypeSpecList;
}
public void setInstanceTypeSpecList(List<InstanceTypeSpec> instanceTypeSpecList) {
this.instanceTypeSpecList = instanceTypeSpecList;
}
public static class InstanceTypeSpec {
private String instanceType;
private Long cpuSize;
private Long memSize;
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public Long getCpuSize() {
return this.cpuSize;
}
public void setCpuSize(Long cpuSize) {
this.cpuSize = cpuSize;
}
public Long getMemSize() {
return this.memSize;
}
public void setMemSize(Long memSize) {
this.memSize = memSize;
}
}
@Override
public DescribeInstanceTypeResponse getInstance(UnmarshallerContext context) {
return DescribeInstanceTypeResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeIpWhitelistGroupsRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeIpWhitelistGroupsRequest extends RpcAcsRequest<DescribeIpWhitelistGroupsResponse> {
private String clusterId;
public DescribeIpWhitelistGroupsRequest() {
super("Cassandra", "2019-01-01", "DescribeIpWhitelistGroups", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeIpWhitelistGroupsResponse> getResponseClass() {
return DescribeIpWhitelistGroupsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeIpWhitelistGroupsResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeIpWhitelistGroupsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeIpWhitelistGroupsResponse extends AcsResponse {
private String requestId;
private List<Group> groups;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Group> getGroups() {
return this.groups;
}
public void setGroups(List<Group> groups) {
this.groups = groups;
}
public static class Group {
private String groupName;
private Integer ipVersion;
private List<String> ipList;
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public Integer getIpVersion() {
return this.ipVersion;
}
public void setIpVersion(Integer ipVersion) {
this.ipVersion = ipVersion;
}
public List<String> getIpList() {
return this.ipList;
}
public void setIpList(List<String> ipList) {
this.ipList = ipList;
}
}
@Override
public DescribeIpWhitelistGroupsResponse getInstance(UnmarshallerContext context) {
return DescribeIpWhitelistGroupsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeIpWhitelistRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeIpWhitelistRequest extends RpcAcsRequest<DescribeIpWhitelistResponse> {
private String clusterId;
public DescribeIpWhitelistRequest() {
super("Cassandra", "2019-01-01", "DescribeIpWhitelist", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeIpWhitelistResponse> getResponseClass() {
return DescribeIpWhitelistResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeIpWhitelistResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeIpWhitelistResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeIpWhitelistResponse extends AcsResponse {
private String requestId;
private List<String> ipList;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<String> getIpList() {
return this.ipList;
}
public void setIpList(List<String> ipList) {
this.ipList = ipList;
}
@Override
public DescribeIpWhitelistResponse getInstance(UnmarshallerContext context) {
return DescribeIpWhitelistResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeNodeToolExecutionHistoriesRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeNodeToolExecutionHistoriesRequest extends RpcAcsRequest<DescribeNodeToolExecutionHistoriesResponse> {
private String clusterId;
private Integer pageNumber;
private Integer pageSize;
public DescribeNodeToolExecutionHistoriesRequest() {
super("Cassandra", "2019-01-01", "DescribeNodeToolExecutionHistories", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<DescribeNodeToolExecutionHistoriesResponse> getResponseClass() {
return DescribeNodeToolExecutionHistoriesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeNodeToolExecutionHistoriesResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeNodeToolExecutionHistoriesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeNodeToolExecutionHistoriesResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Long totalCount;
private List<History> histories;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public List<History> getHistories() {
return this.histories;
}
public void setHistories(List<History> histories) {
this.histories = histories;
}
public static class History {
private String jobId;
private String command;
private String nodes;
private Long modifyTime;
private Long createTime;
private String regionId;
private Boolean isEnded;
private String arguments;
private String errorMessage;
private String dataCenterId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getCommand() {
return this.command;
}
public void setCommand(String command) {
this.command = command;
}
public String getNodes() {
return this.nodes;
}
public void setNodes(String nodes) {
this.nodes = nodes;
}
public Long getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Long modifyTime) {
this.modifyTime = modifyTime;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public Boolean getIsEnded() {
return this.isEnded;
}
public void setIsEnded(Boolean isEnded) {
this.isEnded = isEnded;
}
public String getArguments() {
return this.arguments;
}
public void setArguments(String arguments) {
this.arguments = arguments;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public String getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
}
}
@Override
public DescribeNodeToolExecutionHistoriesResponse getInstance(UnmarshallerContext context) {
return DescribeNodeToolExecutionHistoriesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeNodeToolExecutionHistoryRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeNodeToolExecutionHistoryRequest extends RpcAcsRequest<DescribeNodeToolExecutionHistoryResponse> {
private String clusterId;
private String jobId;
private String dcId;
public DescribeNodeToolExecutionHistoryRequest() {
super("Cassandra", "2019-01-01", "DescribeNodeToolExecutionHistory", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
if(jobId != null){
putQueryParameter("JobId", jobId);
}
}
public String getDcId() {
return this.dcId;
}
public void setDcId(String dcId) {
this.dcId = dcId;
if(dcId != null){
putQueryParameter("DcId", dcId);
}
}
@Override
public Class<DescribeNodeToolExecutionHistoryResponse> getResponseClass() {
return DescribeNodeToolExecutionHistoryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeNodeToolExecutionHistoryResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeNodeToolExecutionHistoryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeNodeToolExecutionHistoryResponse extends AcsResponse {
private String requestId;
private String jobId;
private String command;
private String nodes;
private Long modifyTime;
private Long createTime;
private String regionId;
private Boolean isEnded;
private String arguments;
private String errorMessage;
private String dataCenterId;
private String result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getCommand() {
return this.command;
}
public void setCommand(String command) {
this.command = command;
}
public String getNodes() {
return this.nodes;
}
public void setNodes(String nodes) {
this.nodes = nodes;
}
public Long getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Long modifyTime) {
this.modifyTime = modifyTime;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public Boolean getIsEnded() {
return this.isEnded;
}
public void setIsEnded(Boolean isEnded) {
this.isEnded = isEnded;
}
public String getArguments() {
return this.arguments;
}
public void setArguments(String arguments) {
this.arguments = arguments;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public String getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
}
public String getResult() {
return this.result;
}
public void setResult(String result) {
this.result = result;
}
@Override
public DescribeNodeToolExecutionHistoryResponse getInstance(UnmarshallerContext context) {
return DescribeNodeToolExecutionHistoryResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeParameterModificationHistoriesRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeParameterModificationHistoriesRequest extends RpcAcsRequest<DescribeParameterModificationHistoriesResponse> {
private String clusterId;
private Integer pageNumber;
private Integer pageSize;
public DescribeParameterModificationHistoriesRequest() {
super("Cassandra", "2019-01-01", "DescribeParameterModificationHistories", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<DescribeParameterModificationHistoriesResponse> getResponseClass() {
return DescribeParameterModificationHistoriesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeParameterModificationHistoriesResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeParameterModificationHistoriesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeParameterModificationHistoriesResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Long totalCount;
private List<History> histories;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public List<History> getHistories() {
return this.histories;
}
public void setHistories(List<History> histories) {
this.histories = histories;
}
public static class History {
private String name;
private String oldValue;
private String newValue;
private Long time;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getOldValue() {
return this.oldValue;
}
public void setOldValue(String oldValue) {
this.oldValue = oldValue;
}
public String getNewValue() {
return this.newValue;
}
public void setNewValue(String newValue) {
this.newValue = newValue;
}
public Long getTime() {
return this.time;
}
public void setTime(Long time) {
this.time = time;
}
}
@Override
public DescribeParameterModificationHistoriesResponse getInstance(UnmarshallerContext context) {
return DescribeParameterModificationHistoriesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeParametersRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeParametersRequest extends RpcAcsRequest<DescribeParametersResponse> {
private String clusterId;
private Integer pageNumber;
private Integer pageSize;
public DescribeParametersRequest() {
super("Cassandra", "2019-01-01", "DescribeParameters", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<DescribeParametersResponse> getResponseClass() {
return DescribeParametersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeParametersResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeParametersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeParametersResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Long totalCount;
private List<Parameter> parameters;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public List<Parameter> getParameters() {
return this.parameters;
}
public void setParameters(List<Parameter> parameters) {
this.parameters = parameters;
}
public static class Parameter {
private String name;
private String value;
private String defaultValue;
private String dataType;
private String allowedValues;
private String description;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getDefaultValue() {
return this.defaultValue;
}
public void setDefaultValue(String defaultValue) {
this.defaultValue = defaultValue;
}
public String getDataType() {
return this.dataType;
}
public void setDataType(String dataType) {
this.dataType = dataType;
}
public String getAllowedValues() {
return this.allowedValues;
}
public void setAllowedValues(String allowedValues) {
this.allowedValues = allowedValues;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
}
@Override
public DescribeParametersResponse getInstance(UnmarshallerContext context) {
return DescribeParametersResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeRegionsRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeRegionsRequest extends RpcAcsRequest<DescribeRegionsResponse> {
private String acceptLanguage;
public DescribeRegionsRequest() {
super("Cassandra", "2019-01-01", "DescribeRegions", "Cassandra");
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 getAcceptLanguage() {
return this.acceptLanguage;
}
public void setAcceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
if(acceptLanguage != null){
putQueryParameter("AcceptLanguage", acceptLanguage);
}
}
@Override
public Class<DescribeRegionsResponse> getResponseClass() {
return DescribeRegionsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeRegionsResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeRegionsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeRegionsResponse extends AcsResponse {
private String requestId;
private List<Region> regions;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Region> getRegions() {
return this.regions;
}
public void setRegions(List<Region> regions) {
this.regions = regions;
}
public static class Region {
private String regionId;
private String localName;
private String regionEndpoint;
private List<Zone> zones;
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getLocalName() {
return this.localName;
}
public void setLocalName(String localName) {
this.localName = localName;
}
public String getRegionEndpoint() {
return this.regionEndpoint;
}
public void setRegionEndpoint(String regionEndpoint) {
this.regionEndpoint = regionEndpoint;
}
public List<Zone> getZones() {
return this.zones;
}
public void setZones(List<Zone> zones) {
this.zones = zones;
}
public static class Zone {
private String id;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
}
}
@Override
public DescribeRegionsResponse getInstance(UnmarshallerContext context) {
return DescribeRegionsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeSecurityGroupsRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeSecurityGroupsRequest extends RpcAcsRequest<DescribeSecurityGroupsResponse> {
private String clusterId;
public DescribeSecurityGroupsRequest() {
super("Cassandra", "2019-01-01", "DescribeSecurityGroups", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<DescribeSecurityGroupsResponse> getResponseClass() {
return DescribeSecurityGroupsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/DescribeSecurityGroupsResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.DescribeSecurityGroupsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSecurityGroupsResponse extends AcsResponse {
private String requestId;
private List<String> securityGroupIds;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<String> getSecurityGroupIds() {
return this.securityGroupIds;
}
public void setSecurityGroupIds(List<String> securityGroupIds) {
this.securityGroupIds = securityGroupIds;
}
@Override
public DescribeSecurityGroupsResponse getInstance(UnmarshallerContext context) {
return DescribeSecurityGroupsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ExecuteNodeToolRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ExecuteNodeToolRequest extends RpcAcsRequest<ExecuteNodeToolResponse> {
private String executeNodes;
private String dataCenterId;
private String clusterId;
private String command;
private String arguments;
public ExecuteNodeToolRequest() {
super("Cassandra", "2019-01-01", "ExecuteNodeTool", "Cassandra");
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 getExecuteNodes() {
return this.executeNodes;
}
public void setExecuteNodes(String executeNodes) {
this.executeNodes = executeNodes;
if(executeNodes != null){
putQueryParameter("ExecuteNodes", executeNodes);
}
}
public String getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public String getCommand() {
return this.command;
}
public void setCommand(String command) {
this.command = command;
if(command != null){
putQueryParameter("Command", command);
}
}
public String getArguments() {
return this.arguments;
}
public void setArguments(String arguments) {
this.arguments = arguments;
if(arguments != null){
putQueryParameter("Arguments", arguments);
}
}
@Override
public Class<ExecuteNodeToolResponse> getResponseClass() {
return ExecuteNodeToolResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ExecuteNodeToolResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ExecuteNodeToolResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ExecuteNodeToolResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ExecuteNodeToolResponse getInstance(UnmarshallerContext context) {
return ExecuteNodeToolResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/GetCmsUrlRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class GetCmsUrlRequest extends RpcAcsRequest<GetCmsUrlResponse> {
private String clusterId;
public GetCmsUrlRequest() {
super("Cassandra", "2019-01-01", "GetCmsUrl", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<GetCmsUrlResponse> getResponseClass() {
return GetCmsUrlResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/GetCmsUrlResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.GetCmsUrlResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetCmsUrlResponse extends AcsResponse {
private String requestId;
private String url;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
@Override
public GetCmsUrlResponse getInstance(UnmarshallerContext context) {
return GetCmsUrlResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ListTagResourcesRequest extends RpcAcsRequest<ListTagResourcesResponse> {
private String nextToken;
private List<Tag> tags;
private List<String> resourceIds;
public ListTagResourcesRequest() {
super("Cassandra", "2019-01-01", "ListTagResources", "Cassandra");
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 getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
}
}
}
public List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int i = 0; i < resourceIds.size(); i++) {
putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i));
}
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListTagResourcesResponse> getResponseClass() {
return ListTagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ListTagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagResourcesResponse extends AcsResponse {
private String requestId;
private String nextToken;
private List<TagResource> tagResources;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public List<TagResource> getTagResources() {
return this.tagResources;
}
public void setTagResources(List<TagResource> tagResources) {
this.tagResources = tagResources;
}
public static class TagResource {
private String tagKey;
private String tagValue;
private String resourceType;
private String resourceId;
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
}
public String getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
}
}
@Override
public ListTagResourcesResponse getInstance(UnmarshallerContext context) {
return ListTagResourcesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ListTagsRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ListTagsRequest extends RpcAcsRequest<ListTagsResponse> {
public ListTagsRequest() {
super("Cassandra", "2019-01-01", "ListTags", "Cassandra");
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) {}
}
@Override
public Class<ListTagsResponse> getResponseClass() {
return ListTagsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ListTagsResponse.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.cassandra.model.v20190101;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ListTagsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagsResponse extends AcsResponse {
private String requestId;
private List<Tag> tags;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public static class Tag {
private String tagKey;
private String tagValue;
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
}
@Override
public ListTagsResponse getInstance(UnmarshallerContext context) {
return ListTagsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyAccountPasswordRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyAccountPasswordRequest extends RpcAcsRequest<ModifyAccountPasswordResponse> {
private String clusterId;
private String password;
private String account;
public ModifyAccountPasswordRequest() {
super("Cassandra", "2019-01-01", "ModifyAccountPassword", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
if(password != null){
putQueryParameter("Password", password);
}
}
public String getAccount() {
return this.account;
}
public void setAccount(String account) {
this.account = account;
if(account != null){
putQueryParameter("Account", account);
}
}
@Override
public Class<ModifyAccountPasswordResponse> getResponseClass() {
return ModifyAccountPasswordResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyAccountPasswordResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyAccountPasswordResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyAccountPasswordResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyAccountPasswordResponse getInstance(UnmarshallerContext context) {
return ModifyAccountPasswordResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyBackupPlanRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyBackupPlanRequest extends RpcAcsRequest<ModifyBackupPlanResponse> {
private Integer retentionPeriod;
private String dataCenterId;
private Boolean active;
private String clusterId;
private String backupTime;
private String backupPeriod;
public ModifyBackupPlanRequest() {
super("Cassandra", "2019-01-01", "ModifyBackupPlan", "Cassandra");
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 Integer getRetentionPeriod() {
return this.retentionPeriod;
}
public void setRetentionPeriod(Integer retentionPeriod) {
this.retentionPeriod = retentionPeriod;
if(retentionPeriod != null){
putQueryParameter("RetentionPeriod", retentionPeriod.toString());
}
}
public String getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public Boolean getActive() {
return this.active;
}
public void setActive(Boolean active) {
this.active = active;
if(active != null){
putQueryParameter("Active", active.toString());
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public String getBackupTime() {
return this.backupTime;
}
public void setBackupTime(String backupTime) {
this.backupTime = backupTime;
if(backupTime != null){
putQueryParameter("BackupTime", backupTime);
}
}
public String getBackupPeriod() {
return this.backupPeriod;
}
public void setBackupPeriod(String backupPeriod) {
this.backupPeriod = backupPeriod;
if(backupPeriod != null){
putQueryParameter("BackupPeriod", backupPeriod);
}
}
@Override
public Class<ModifyBackupPlanResponse> getResponseClass() {
return ModifyBackupPlanResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyBackupPlanResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyBackupPlanResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyBackupPlanResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyBackupPlanResponse getInstance(UnmarshallerContext context) {
return ModifyBackupPlanResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyClusterRequest extends RpcAcsRequest<ModifyClusterResponse> {
private String clusterName;
private String clusterId;
public ModifyClusterRequest() {
super("Cassandra", "2019-01-01", "ModifyCluster", "Cassandra");
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 getClusterName() {
return this.clusterName;
}
public void setClusterName(String clusterName) {
this.clusterName = clusterName;
if(clusterName != null){
putQueryParameter("ClusterName", clusterName);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<ModifyClusterResponse> getResponseClass() {
return ModifyClusterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyClusterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyClusterResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyClusterResponse getInstance(UnmarshallerContext context) {
return ModifyClusterResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyDataCenterRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyDataCenterRequest extends RpcAcsRequest<ModifyDataCenterResponse> {
private String dataCenterId;
private String clusterId;
private String dataCenterName;
public ModifyDataCenterRequest() {
super("Cassandra", "2019-01-01", "ModifyDataCenter", "Cassandra");
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 getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public String getDataCenterName() {
return this.dataCenterName;
}
public void setDataCenterName(String dataCenterName) {
this.dataCenterName = dataCenterName;
if(dataCenterName != null){
putQueryParameter("DataCenterName", dataCenterName);
}
}
@Override
public Class<ModifyDataCenterResponse> getResponseClass() {
return ModifyDataCenterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyDataCenterResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyDataCenterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyDataCenterResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyDataCenterResponse getInstance(UnmarshallerContext context) {
return ModifyDataCenterResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyInstanceMaintainTimeRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyInstanceMaintainTimeRequest extends RpcAcsRequest<ModifyInstanceMaintainTimeResponse> {
private String clusterId;
private String maintainEndTime;
private String maintainStartTime;
public ModifyInstanceMaintainTimeRequest() {
super("Cassandra", "2019-01-01", "ModifyInstanceMaintainTime", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public String getMaintainEndTime() {
return this.maintainEndTime;
}
public void setMaintainEndTime(String maintainEndTime) {
this.maintainEndTime = maintainEndTime;
if(maintainEndTime != null){
putQueryParameter("MaintainEndTime", maintainEndTime);
}
}
public String getMaintainStartTime() {
return this.maintainStartTime;
}
public void setMaintainStartTime(String maintainStartTime) {
this.maintainStartTime = maintainStartTime;
if(maintainStartTime != null){
putQueryParameter("MaintainStartTime", maintainStartTime);
}
}
@Override
public Class<ModifyInstanceMaintainTimeResponse> getResponseClass() {
return ModifyInstanceMaintainTimeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyInstanceMaintainTimeResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyInstanceMaintainTimeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyInstanceMaintainTimeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyInstanceMaintainTimeResponse getInstance(UnmarshallerContext context) {
return ModifyInstanceMaintainTimeResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyInstanceTypeRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyInstanceTypeRequest extends RpcAcsRequest<ModifyInstanceTypeResponse> {
private String dataCenterId;
private String clusterId;
private String instanceType;
public ModifyInstanceTypeRequest() {
super("Cassandra", "2019-01-01", "ModifyInstanceType", "Cassandra");
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 getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
if(instanceType != null){
putQueryParameter("InstanceType", instanceType);
}
}
@Override
public Class<ModifyInstanceTypeResponse> getResponseClass() {
return ModifyInstanceTypeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyInstanceTypeResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyInstanceTypeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyInstanceTypeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyInstanceTypeResponse getInstance(UnmarshallerContext context) {
return ModifyInstanceTypeResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyIpWhitelistGroupRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyIpWhitelistGroupRequest extends RpcAcsRequest<ModifyIpWhitelistGroupResponse> {
private String ipList;
private Integer ipVersion;
private String clusterId;
private String groupName;
public ModifyIpWhitelistGroupRequest() {
super("Cassandra", "2019-01-01", "ModifyIpWhitelistGroup", "Cassandra");
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 getIpList() {
return this.ipList;
}
public void setIpList(String ipList) {
this.ipList = ipList;
if(ipList != null){
putQueryParameter("IpList", ipList);
}
}
public Integer getIpVersion() {
return this.ipVersion;
}
public void setIpVersion(Integer ipVersion) {
this.ipVersion = ipVersion;
if(ipVersion != null){
putQueryParameter("IpVersion", ipVersion.toString());
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
if(groupName != null){
putQueryParameter("GroupName", groupName);
}
}
@Override
public Class<ModifyIpWhitelistGroupResponse> getResponseClass() {
return ModifyIpWhitelistGroupResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyIpWhitelistGroupResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyIpWhitelistGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyIpWhitelistGroupResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyIpWhitelistGroupResponse getInstance(UnmarshallerContext context) {
return ModifyIpWhitelistGroupResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyIpWhitelistRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyIpWhitelistRequest extends RpcAcsRequest<ModifyIpWhitelistResponse> {
private String clusterId;
private String ipList;
public ModifyIpWhitelistRequest() {
super("Cassandra", "2019-01-01", "ModifyIpWhitelist", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public String getIpList() {
return this.ipList;
}
public void setIpList(String ipList) {
this.ipList = ipList;
if(ipList != null){
putQueryParameter("IpList", ipList);
}
}
@Override
public Class<ModifyIpWhitelistResponse> getResponseClass() {
return ModifyIpWhitelistResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyIpWhitelistResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyIpWhitelistResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyIpWhitelistResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyIpWhitelistResponse getInstance(UnmarshallerContext context) {
return ModifyIpWhitelistResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyParameterRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyParameterRequest extends RpcAcsRequest<ModifyParameterResponse> {
private String clusterId;
private String name;
private String value;
public ModifyParameterRequest() {
super("Cassandra", "2019-01-01", "ModifyParameter", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
if(value != null){
putQueryParameter("Value", value);
}
}
@Override
public Class<ModifyParameterResponse> getResponseClass() {
return ModifyParameterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifyParameterResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifyParameterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyParameterResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifyParameterResponse getInstance(UnmarshallerContext context) {
return ModifyParameterResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifySecurityGroupsRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifySecurityGroupsRequest extends RpcAcsRequest<ModifySecurityGroupsResponse> {
private String clusterId;
private String securityGroupIds;
public ModifySecurityGroupsRequest() {
super("Cassandra", "2019-01-01", "ModifySecurityGroups", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public String getSecurityGroupIds() {
return this.securityGroupIds;
}
public void setSecurityGroupIds(String securityGroupIds) {
this.securityGroupIds = securityGroupIds;
if(securityGroupIds != null){
putQueryParameter("SecurityGroupIds", securityGroupIds);
}
}
@Override
public Class<ModifySecurityGroupsResponse> getResponseClass() {
return ModifySecurityGroupsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ModifySecurityGroupsResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ModifySecurityGroupsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifySecurityGroupsResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ModifySecurityGroupsResponse getInstance(UnmarshallerContext context) {
return ModifySecurityGroupsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/MoveResourceGroupRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class MoveResourceGroupRequest extends RpcAcsRequest<MoveResourceGroupResponse> {
private String clusterId;
private String newResourceGroupId;
public MoveResourceGroupRequest() {
super("Cassandra", "2019-01-01", "MoveResourceGroup", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
public String getNewResourceGroupId() {
return this.newResourceGroupId;
}
public void setNewResourceGroupId(String newResourceGroupId) {
this.newResourceGroupId = newResourceGroupId;
if(newResourceGroupId != null){
putQueryParameter("NewResourceGroupId", newResourceGroupId);
}
}
@Override
public Class<MoveResourceGroupResponse> getResponseClass() {
return MoveResourceGroupResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/MoveResourceGroupResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.MoveResourceGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class MoveResourceGroupResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public MoveResourceGroupResponse getInstance(UnmarshallerContext context) {
return MoveResourceGroupResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/PurgeClusterRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class PurgeClusterRequest extends RpcAcsRequest<PurgeClusterResponse> {
private String clusterId;
public PurgeClusterRequest() {
super("Cassandra", "2019-01-01", "PurgeCluster", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<PurgeClusterResponse> getResponseClass() {
return PurgeClusterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/PurgeClusterResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.PurgeClusterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PurgeClusterResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PurgeClusterResponse getInstance(UnmarshallerContext context) {
return PurgeClusterResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/RebootClusterRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class RebootClusterRequest extends RpcAcsRequest<RebootClusterResponse> {
private String dataCenterId;
private String clusterId;
public RebootClusterRequest() {
super("Cassandra", "2019-01-01", "RebootCluster", "Cassandra");
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 getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<RebootClusterResponse> getResponseClass() {
return RebootClusterResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/RebootClusterResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.RebootClusterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RebootClusterResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public RebootClusterResponse getInstance(UnmarshallerContext context) {
return RebootClusterResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ReleasePublicContactPointsRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ReleasePublicContactPointsRequest extends RpcAcsRequest<ReleasePublicContactPointsResponse> {
private String dataCenterId;
private String clusterId;
public ReleasePublicContactPointsRequest() {
super("Cassandra", "2019-01-01", "ReleasePublicContactPoints", "Cassandra");
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 getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<ReleasePublicContactPointsResponse> getResponseClass() {
return ReleasePublicContactPointsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ReleasePublicContactPointsResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ReleasePublicContactPointsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ReleasePublicContactPointsResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ReleasePublicContactPointsResponse getInstance(UnmarshallerContext context) {
return ReleasePublicContactPointsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ResizeDiskSizeRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ResizeDiskSizeRequest extends RpcAcsRequest<ResizeDiskSizeResponse> {
private Integer diskSize;
private String dataCenterId;
private String clusterId;
public ResizeDiskSizeRequest() {
super("Cassandra", "2019-01-01", "ResizeDiskSize", "Cassandra");
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 Integer getDiskSize() {
return this.diskSize;
}
public void setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
if(diskSize != null){
putQueryParameter("DiskSize", diskSize.toString());
}
}
public String getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<ResizeDiskSizeResponse> getResponseClass() {
return ResizeDiskSizeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ResizeDiskSizeResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ResizeDiskSizeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ResizeDiskSizeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ResizeDiskSizeResponse getInstance(UnmarshallerContext context) {
return ResizeDiskSizeResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ResizeNodeCountRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class ResizeNodeCountRequest extends RpcAcsRequest<ResizeNodeCountResponse> {
private String dataCenterId;
private String clusterId;
private Integer nodeCount;
public ResizeNodeCountRequest() {
super("Cassandra", "2019-01-01", "ResizeNodeCount", "Cassandra");
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 getDataCenterId() {
return this.dataCenterId;
}
public void setDataCenterId(String dataCenterId) {
this.dataCenterId = dataCenterId;
if(dataCenterId != null){
putQueryParameter("DataCenterId", dataCenterId);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public Integer getNodeCount() {
return this.nodeCount;
}
public void setNodeCount(Integer nodeCount) {
this.nodeCount = nodeCount;
if(nodeCount != null){
putQueryParameter("NodeCount", nodeCount.toString());
}
}
@Override
public Class<ResizeNodeCountResponse> getResponseClass() {
return ResizeNodeCountResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/ResizeNodeCountResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.ResizeNodeCountResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ResizeNodeCountResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ResizeNodeCountResponse getInstance(UnmarshallerContext context) {
return ResizeNodeCountResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/TagResourcesRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class TagResourcesRequest extends RpcAcsRequest<TagResourcesResponse> {
private List<String> resourceIds;
private List<Tag> tags;
public TagResourcesRequest() {
super("Cassandra", "2019-01-01", "TagResources", "Cassandra");
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 List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int i = 0; i < resourceIds.size(); i++) {
putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i));
}
}
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
}
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<TagResourcesResponse> getResponseClass() {
return TagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/TagResourcesResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.TagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class TagResourcesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public TagResourcesResponse getInstance(UnmarshallerContext context) {
return TagResourcesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/UnTagResourcesRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class UnTagResourcesRequest extends RpcAcsRequest<UnTagResourcesResponse> {
private Boolean all;
private List<String> resourceIds;
private List<String> tagKeys;
public UnTagResourcesRequest() {
super("Cassandra", "2019-01-01", "UnTagResources", "Cassandra");
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 Boolean getAll() {
return this.all;
}
public void setAll(Boolean all) {
this.all = all;
if(all != null){
putQueryParameter("All", all.toString());
}
}
public List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int i = 0; i < resourceIds.size(); i++) {
putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i));
}
}
}
public List<String> getTagKeys() {
return this.tagKeys;
}
public void setTagKeys(List<String> tagKeys) {
this.tagKeys = tagKeys;
if (tagKeys != null) {
for (int i = 0; i < tagKeys.size(); i++) {
putQueryParameter("TagKey." + (i + 1) , tagKeys.get(i));
}
}
}
@Override
public Class<UnTagResourcesResponse> getResponseClass() {
return UnTagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/UnTagResourcesResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.UnTagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UnTagResourcesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UnTagResourcesResponse getInstance(UnmarshallerContext context) {
return UnTagResourcesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/UpgradeClusterVersionRequest.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.cassandra.model.v20190101;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cassandra.Endpoint;
/**
* @author auto create
* @version
*/
public class UpgradeClusterVersionRequest extends RpcAcsRequest<UpgradeClusterVersionResponse> {
private String clusterId;
public UpgradeClusterVersionRequest() {
super("Cassandra", "2019-01-01", "UpgradeClusterVersion", "Cassandra");
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){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<UpgradeClusterVersionResponse> getResponseClass() {
return UpgradeClusterVersionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/model/v20190101/UpgradeClusterVersionResponse.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.cassandra.model.v20190101;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cassandra.transform.v20190101.UpgradeClusterVersionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpgradeClusterVersionResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpgradeClusterVersionResponse getInstance(UnmarshallerContext context) {
return UpgradeClusterVersionResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/AllocatePublicContactPointsResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.AllocatePublicContactPointsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AllocatePublicContactPointsResponseUnmarshaller {
public static AllocatePublicContactPointsResponse unmarshall(AllocatePublicContactPointsResponse allocatePublicContactPointsResponse, UnmarshallerContext _ctx) {
allocatePublicContactPointsResponse.setRequestId(_ctx.stringValue("AllocatePublicContactPointsResponse.RequestId"));
return allocatePublicContactPointsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/CreateBackupPlanResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.CreateBackupPlanResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateBackupPlanResponseUnmarshaller {
public static CreateBackupPlanResponse unmarshall(CreateBackupPlanResponse createBackupPlanResponse, UnmarshallerContext _ctx) {
createBackupPlanResponse.setRequestId(_ctx.stringValue("CreateBackupPlanResponse.RequestId"));
return createBackupPlanResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/CreateClusterResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.CreateClusterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateClusterResponseUnmarshaller {
public static CreateClusterResponse unmarshall(CreateClusterResponse createClusterResponse, UnmarshallerContext _ctx) {
createClusterResponse.setRequestId(_ctx.stringValue("CreateClusterResponse.RequestId"));
createClusterResponse.setClusterId(_ctx.stringValue("CreateClusterResponse.ClusterId"));
return createClusterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/CreateDataCenterResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.CreateDataCenterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateDataCenterResponseUnmarshaller {
public static CreateDataCenterResponse unmarshall(CreateDataCenterResponse createDataCenterResponse, UnmarshallerContext _ctx) {
createDataCenterResponse.setRequestId(_ctx.stringValue("CreateDataCenterResponse.RequestId"));
createDataCenterResponse.setDataCenterId(_ctx.stringValue("CreateDataCenterResponse.DataCenterId"));
return createDataCenterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DeleteBackupPlanResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DeleteBackupPlanResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteBackupPlanResponseUnmarshaller {
public static DeleteBackupPlanResponse unmarshall(DeleteBackupPlanResponse deleteBackupPlanResponse, UnmarshallerContext _ctx) {
deleteBackupPlanResponse.setRequestId(_ctx.stringValue("DeleteBackupPlanResponse.RequestId"));
return deleteBackupPlanResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DeleteClusterResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DeleteClusterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteClusterResponseUnmarshaller {
public static DeleteClusterResponse unmarshall(DeleteClusterResponse deleteClusterResponse, UnmarshallerContext _ctx) {
deleteClusterResponse.setRequestId(_ctx.stringValue("DeleteClusterResponse.RequestId"));
return deleteClusterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DeleteDataCenterResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DeleteDataCenterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteDataCenterResponseUnmarshaller {
public static DeleteDataCenterResponse unmarshall(DeleteDataCenterResponse deleteDataCenterResponse, UnmarshallerContext _ctx) {
deleteDataCenterResponse.setRequestId(_ctx.stringValue("DeleteDataCenterResponse.RequestId"));
return deleteDataCenterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DeleteNodeToolExecutionHistoryResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DeleteNodeToolExecutionHistoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteNodeToolExecutionHistoryResponseUnmarshaller {
public static DeleteNodeToolExecutionHistoryResponse unmarshall(DeleteNodeToolExecutionHistoryResponse deleteNodeToolExecutionHistoryResponse, UnmarshallerContext _ctx) {
deleteNodeToolExecutionHistoryResponse.setRequestId(_ctx.stringValue("DeleteNodeToolExecutionHistoryResponse.RequestId"));
return deleteNodeToolExecutionHistoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeAccountsResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeAccountsResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeAccountsResponse.Account;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAccountsResponseUnmarshaller {
public static DescribeAccountsResponse unmarshall(DescribeAccountsResponse describeAccountsResponse, UnmarshallerContext _ctx) {
describeAccountsResponse.setRequestId(_ctx.stringValue("DescribeAccountsResponse.RequestId"));
List<Account> accounts = new ArrayList<Account>();
for (int i = 0; i < _ctx.lengthValue("DescribeAccountsResponse.Accounts.Length"); i++) {
Account account = new Account();
account.setName(_ctx.stringValue("DescribeAccountsResponse.Accounts["+ i +"].Name"));
accounts.add(account);
}
describeAccountsResponse.setAccounts(accounts);
return describeAccountsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeBackupPlanResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DescribeBackupPlanResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeBackupPlanResponse.BackupPlan;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeBackupPlanResponseUnmarshaller {
public static DescribeBackupPlanResponse unmarshall(DescribeBackupPlanResponse describeBackupPlanResponse, UnmarshallerContext _ctx) {
describeBackupPlanResponse.setRequestId(_ctx.stringValue("DescribeBackupPlanResponse.RequestId"));
BackupPlan backupPlan = new BackupPlan();
backupPlan.setClusterId(_ctx.stringValue("DescribeBackupPlanResponse.BackupPlan.ClusterId"));
backupPlan.setDataCenterId(_ctx.stringValue("DescribeBackupPlanResponse.BackupPlan.DataCenterId"));
backupPlan.setCreatedTime(_ctx.stringValue("DescribeBackupPlanResponse.BackupPlan.CreatedTime"));
backupPlan.setBackupTime(_ctx.stringValue("DescribeBackupPlanResponse.BackupPlan.BackupTime"));
backupPlan.setBackupPeriod(_ctx.stringValue("DescribeBackupPlanResponse.BackupPlan.BackupPeriod"));
backupPlan.setRetentionPeriod(_ctx.integerValue("DescribeBackupPlanResponse.BackupPlan.RetentionPeriod"));
backupPlan.setActive(_ctx.booleanValue("DescribeBackupPlanResponse.BackupPlan.Active"));
describeBackupPlanResponse.setBackupPlan(backupPlan);
return describeBackupPlanResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeBackupPlansResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeBackupPlansResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeBackupPlansResponse.BackupPlan;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeBackupPlansResponseUnmarshaller {
public static DescribeBackupPlansResponse unmarshall(DescribeBackupPlansResponse describeBackupPlansResponse, UnmarshallerContext _ctx) {
describeBackupPlansResponse.setRequestId(_ctx.stringValue("DescribeBackupPlansResponse.RequestId"));
List<BackupPlan> backupPlans = new ArrayList<BackupPlan>();
for (int i = 0; i < _ctx.lengthValue("DescribeBackupPlansResponse.BackupPlans.Length"); i++) {
BackupPlan backupPlan = new BackupPlan();
backupPlan.setClusterId(_ctx.stringValue("DescribeBackupPlansResponse.BackupPlans["+ i +"].ClusterId"));
backupPlan.setDataCenterId(_ctx.stringValue("DescribeBackupPlansResponse.BackupPlans["+ i +"].DataCenterId"));
backupPlan.setCreatedTime(_ctx.stringValue("DescribeBackupPlansResponse.BackupPlans["+ i +"].CreatedTime"));
backupPlan.setBackupTime(_ctx.stringValue("DescribeBackupPlansResponse.BackupPlans["+ i +"].BackupTime"));
backupPlan.setBackupPeriod(_ctx.stringValue("DescribeBackupPlansResponse.BackupPlans["+ i +"].BackupPeriod"));
backupPlan.setRetentionPeriod(_ctx.integerValue("DescribeBackupPlansResponse.BackupPlans["+ i +"].RetentionPeriod"));
backupPlan.setActive(_ctx.booleanValue("DescribeBackupPlansResponse.BackupPlans["+ i +"].Active"));
backupPlans.add(backupPlan);
}
describeBackupPlansResponse.setBackupPlans(backupPlans);
return describeBackupPlansResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeBackupResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DescribeBackupResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeBackupResponse.Backup;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeBackupResponseUnmarshaller {
public static DescribeBackupResponse unmarshall(DescribeBackupResponse describeBackupResponse, UnmarshallerContext _ctx) {
describeBackupResponse.setRequestId(_ctx.stringValue("DescribeBackupResponse.RequestId"));
Backup backup = new Backup();
backup.setClusterId(_ctx.stringValue("DescribeBackupResponse.Backup.ClusterId"));
backup.setDataCenterId(_ctx.stringValue("DescribeBackupResponse.Backup.DataCenterId"));
backup.setBackupId(_ctx.stringValue("DescribeBackupResponse.Backup.BackupId"));
backup.setBackupType(_ctx.stringValue("DescribeBackupResponse.Backup.BackupType"));
backup.setStatus(_ctx.stringValue("DescribeBackupResponse.Backup.Status"));
backup.setStartTime(_ctx.stringValue("DescribeBackupResponse.Backup.StartTime"));
backup.setEndTime(_ctx.stringValue("DescribeBackupResponse.Backup.EndTime"));
backup.setSize(_ctx.longValue("DescribeBackupResponse.Backup.Size"));
backup.setDetails(_ctx.stringValue("DescribeBackupResponse.Backup.Details"));
describeBackupResponse.setBackup(backup);
return describeBackupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeBackupsResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeBackupsResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeBackupsResponse.Backup;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeBackupsResponseUnmarshaller {
public static DescribeBackupsResponse unmarshall(DescribeBackupsResponse describeBackupsResponse, UnmarshallerContext _ctx) {
describeBackupsResponse.setRequestId(_ctx.stringValue("DescribeBackupsResponse.RequestId"));
List<Backup> backups = new ArrayList<Backup>();
for (int i = 0; i < _ctx.lengthValue("DescribeBackupsResponse.Backups.Length"); i++) {
Backup backup = new Backup();
backup.setClusterId(_ctx.stringValue("DescribeBackupsResponse.Backups["+ i +"].ClusterId"));
backup.setDataCenterId(_ctx.stringValue("DescribeBackupsResponse.Backups["+ i +"].DataCenterId"));
backup.setBackupId(_ctx.stringValue("DescribeBackupsResponse.Backups["+ i +"].BackupId"));
backup.setBackupType(_ctx.stringValue("DescribeBackupsResponse.Backups["+ i +"].BackupType"));
backup.setStatus(_ctx.stringValue("DescribeBackupsResponse.Backups["+ i +"].Status"));
backup.setStartTime(_ctx.stringValue("DescribeBackupsResponse.Backups["+ i +"].StartTime"));
backup.setEndTime(_ctx.stringValue("DescribeBackupsResponse.Backups["+ i +"].EndTime"));
backup.setSize(_ctx.longValue("DescribeBackupsResponse.Backups["+ i +"].Size"));
backups.add(backup);
}
describeBackupsResponse.setBackups(backups);
return describeBackupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeClusterDashboardResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeClusterDashboardResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeClusterDashboardResponse.Dashboard;
import com.aliyuncs.cassandra.model.v20190101.DescribeClusterDashboardResponse.Dashboard.DataCenter;
import com.aliyuncs.cassandra.model.v20190101.DescribeClusterDashboardResponse.Dashboard.DataCenter.Node;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeClusterDashboardResponseUnmarshaller {
public static DescribeClusterDashboardResponse unmarshall(DescribeClusterDashboardResponse describeClusterDashboardResponse, UnmarshallerContext _ctx) {
describeClusterDashboardResponse.setRequestId(_ctx.stringValue("DescribeClusterDashboardResponse.RequestId"));
Dashboard dashboard = new Dashboard();
dashboard.setClusterId(_ctx.stringValue("DescribeClusterDashboardResponse.Dashboard.ClusterId"));
List<DataCenter> dataCenters = new ArrayList<DataCenter>();
for (int i = 0; i < _ctx.lengthValue("DescribeClusterDashboardResponse.Dashboard.DataCenters.Length"); i++) {
DataCenter dataCenter = new DataCenter();
dataCenter.setDataCenterId(_ctx.stringValue("DescribeClusterDashboardResponse.Dashboard.DataCenters["+ i +"].DataCenterId"));
List<Node> nodes = new ArrayList<Node>();
for (int j = 0; j < _ctx.lengthValue("DescribeClusterDashboardResponse.Dashboard.DataCenters["+ i +"].Nodes.Length"); j++) {
Node node = new Node();
node.setAddress(_ctx.stringValue("DescribeClusterDashboardResponse.Dashboard.DataCenters["+ i +"].Nodes["+ j +"].Address"));
node.setStatus(_ctx.stringValue("DescribeClusterDashboardResponse.Dashboard.DataCenters["+ i +"].Nodes["+ j +"].Status"));
node.setLoad(_ctx.stringValue("DescribeClusterDashboardResponse.Dashboard.DataCenters["+ i +"].Nodes["+ j +"].Load"));
nodes.add(node);
}
dataCenter.setNodes(nodes);
dataCenters.add(dataCenter);
}
dashboard.setDataCenters(dataCenters);
describeClusterDashboardResponse.setDashboard(dashboard);
return describeClusterDashboardResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeClusterResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeClusterResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeClusterResponse.Cluster;
import com.aliyuncs.cassandra.model.v20190101.DescribeClusterResponse.Cluster.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeClusterResponseUnmarshaller {
public static DescribeClusterResponse unmarshall(DescribeClusterResponse describeClusterResponse, UnmarshallerContext _ctx) {
describeClusterResponse.setRequestId(_ctx.stringValue("DescribeClusterResponse.RequestId"));
Cluster cluster = new Cluster();
cluster.setClusterId(_ctx.stringValue("DescribeClusterResponse.Cluster.ClusterId"));
cluster.setClusterName(_ctx.stringValue("DescribeClusterResponse.Cluster.ClusterName"));
cluster.setStatus(_ctx.stringValue("DescribeClusterResponse.Cluster.Status"));
cluster.setPayType(_ctx.stringValue("DescribeClusterResponse.Cluster.PayType"));
cluster.setCreatedTime(_ctx.stringValue("DescribeClusterResponse.Cluster.CreatedTime"));
cluster.setExpireTime(_ctx.stringValue("DescribeClusterResponse.Cluster.ExpireTime"));
cluster.setMajorVersion(_ctx.stringValue("DescribeClusterResponse.Cluster.MajorVersion"));
cluster.setMinorVersion(_ctx.stringValue("DescribeClusterResponse.Cluster.MinorVersion"));
cluster.setDataCenterCount(_ctx.integerValue("DescribeClusterResponse.Cluster.DataCenterCount"));
cluster.setIsLatestVersion(_ctx.booleanValue("DescribeClusterResponse.Cluster.IsLatestVersion"));
cluster.setMaintainStartTime(_ctx.stringValue("DescribeClusterResponse.Cluster.MaintainStartTime"));
cluster.setMaintainEndTime(_ctx.stringValue("DescribeClusterResponse.Cluster.MaintainEndTime"));
cluster.setLockMode(_ctx.stringValue("DescribeClusterResponse.Cluster.LockMode"));
cluster.setAutoRenewal(_ctx.booleanValue("DescribeClusterResponse.Cluster.AutoRenewal"));
cluster.setAutoRenewPeriod(_ctx.integerValue("DescribeClusterResponse.Cluster.AutoRenewPeriod"));
cluster.setResourceGroupId(_ctx.stringValue("DescribeClusterResponse.Cluster.ResourceGroupId"));
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < _ctx.lengthValue("DescribeClusterResponse.Cluster.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("DescribeClusterResponse.Cluster.Tags["+ i +"].Key"));
tag.setValue(_ctx.stringValue("DescribeClusterResponse.Cluster.Tags["+ i +"].Value"));
tags.add(tag);
}
cluster.setTags(tags);
describeClusterResponse.setCluster(cluster);
return describeClusterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeClusterStatusResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DescribeClusterStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeClusterStatusResponseUnmarshaller {
public static DescribeClusterStatusResponse unmarshall(DescribeClusterStatusResponse describeClusterStatusResponse, UnmarshallerContext _ctx) {
describeClusterStatusResponse.setRequestId(_ctx.stringValue("DescribeClusterStatusResponse.RequestId"));
describeClusterStatusResponse.setStatus(_ctx.stringValue("DescribeClusterStatusResponse.Status"));
describeClusterStatusResponse.setCreatedTime(_ctx.stringValue("DescribeClusterStatusResponse.CreatedTime"));
return describeClusterStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeClustersResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeClustersResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeClustersResponse.Cluster;
import com.aliyuncs.cassandra.model.v20190101.DescribeClustersResponse.Cluster.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeClustersResponseUnmarshaller {
public static DescribeClustersResponse unmarshall(DescribeClustersResponse describeClustersResponse, UnmarshallerContext _ctx) {
describeClustersResponse.setRequestId(_ctx.stringValue("DescribeClustersResponse.RequestId"));
describeClustersResponse.setTotalCount(_ctx.longValue("DescribeClustersResponse.TotalCount"));
describeClustersResponse.setPageNumber(_ctx.integerValue("DescribeClustersResponse.PageNumber"));
describeClustersResponse.setPageSize(_ctx.integerValue("DescribeClustersResponse.PageSize"));
List<Cluster> clusters = new ArrayList<Cluster>();
for (int i = 0; i < _ctx.lengthValue("DescribeClustersResponse.Clusters.Length"); i++) {
Cluster cluster = new Cluster();
cluster.setClusterId(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].ClusterId"));
cluster.setClusterName(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].ClusterName"));
cluster.setStatus(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].Status"));
cluster.setPayType(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].PayType"));
cluster.setCreatedTime(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].CreatedTime"));
cluster.setExpireTime(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].ExpireTime"));
cluster.setMajorVersion(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].MajorVersion"));
cluster.setMinorVersion(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].MinorVersion"));
cluster.setDataCenterCount(_ctx.integerValue("DescribeClustersResponse.Clusters["+ i +"].DataCenterCount"));
cluster.setLockMode(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].LockMode"));
cluster.setAutoRenewal(_ctx.booleanValue("DescribeClustersResponse.Clusters["+ i +"].AutoRenewal"));
cluster.setAutoRenewPeriod(_ctx.integerValue("DescribeClustersResponse.Clusters["+ i +"].AutoRenewPeriod"));
cluster.setResourceGroupId(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].ResourceGroupId"));
List<Tag> tags = new ArrayList<Tag>();
for (int j = 0; j < _ctx.lengthValue("DescribeClustersResponse.Clusters["+ i +"].Tags.Length"); j++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].Tags["+ j +"].Key"));
tag.setValue(_ctx.stringValue("DescribeClustersResponse.Clusters["+ i +"].Tags["+ j +"].Value"));
tags.add(tag);
}
cluster.setTags(tags);
clusters.add(cluster);
}
describeClustersResponse.setClusters(clusters);
return describeClustersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeContactPointsResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeContactPointsResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeContactPointsResponse.ContactPoint;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeContactPointsResponseUnmarshaller {
public static DescribeContactPointsResponse unmarshall(DescribeContactPointsResponse describeContactPointsResponse, UnmarshallerContext _ctx) {
describeContactPointsResponse.setRequestId(_ctx.stringValue("DescribeContactPointsResponse.RequestId"));
List<ContactPoint> contactPoints = new ArrayList<ContactPoint>();
for (int i = 0; i < _ctx.lengthValue("DescribeContactPointsResponse.ContactPoints.Length"); i++) {
ContactPoint contactPoint = new ContactPoint();
contactPoint.setDataCenterId(_ctx.stringValue("DescribeContactPointsResponse.ContactPoints["+ i +"].DataCenterId"));
contactPoint.setPort(_ctx.integerValue("DescribeContactPointsResponse.ContactPoints["+ i +"].Port"));
List<String> privateAddresses = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeContactPointsResponse.ContactPoints["+ i +"].PrivateAddresses.Length"); j++) {
privateAddresses.add(_ctx.stringValue("DescribeContactPointsResponse.ContactPoints["+ i +"].PrivateAddresses["+ j +"]"));
}
contactPoint.setPrivateAddresses(privateAddresses);
List<String> publicAddresses = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeContactPointsResponse.ContactPoints["+ i +"].PublicAddresses.Length"); j++) {
publicAddresses.add(_ctx.stringValue("DescribeContactPointsResponse.ContactPoints["+ i +"].PublicAddresses["+ j +"]"));
}
contactPoint.setPublicAddresses(publicAddresses);
contactPoints.add(contactPoint);
}
describeContactPointsResponse.setContactPoints(contactPoints);
return describeContactPointsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeDataCenterResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DescribeDataCenterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDataCenterResponseUnmarshaller {
public static DescribeDataCenterResponse unmarshall(DescribeDataCenterResponse describeDataCenterResponse, UnmarshallerContext _ctx) {
describeDataCenterResponse.setRequestId(_ctx.stringValue("DescribeDataCenterResponse.RequestId"));
describeDataCenterResponse.setDataCenterId(_ctx.stringValue("DescribeDataCenterResponse.DataCenterId"));
describeDataCenterResponse.setRegionId(_ctx.stringValue("DescribeDataCenterResponse.RegionId"));
describeDataCenterResponse.setZoneId(_ctx.stringValue("DescribeDataCenterResponse.ZoneId"));
describeDataCenterResponse.setClusterId(_ctx.stringValue("DescribeDataCenterResponse.ClusterId"));
describeDataCenterResponse.setDataCenterName(_ctx.stringValue("DescribeDataCenterResponse.DataCenterName"));
describeDataCenterResponse.setStatus(_ctx.stringValue("DescribeDataCenterResponse.Status"));
describeDataCenterResponse.setCreatedTime(_ctx.stringValue("DescribeDataCenterResponse.CreatedTime"));
describeDataCenterResponse.setInstanceType(_ctx.stringValue("DescribeDataCenterResponse.InstanceType"));
describeDataCenterResponse.setNodeCount(_ctx.integerValue("DescribeDataCenterResponse.NodeCount"));
describeDataCenterResponse.setDiskType(_ctx.stringValue("DescribeDataCenterResponse.DiskType"));
describeDataCenterResponse.setDiskSize(_ctx.integerValue("DescribeDataCenterResponse.DiskSize"));
describeDataCenterResponse.setVpcId(_ctx.stringValue("DescribeDataCenterResponse.VpcId"));
describeDataCenterResponse.setVswitchId(_ctx.stringValue("DescribeDataCenterResponse.VswitchId"));
describeDataCenterResponse.setPayType(_ctx.stringValue("DescribeDataCenterResponse.PayType"));
describeDataCenterResponse.setCommodityInstance(_ctx.stringValue("DescribeDataCenterResponse.CommodityInstance"));
describeDataCenterResponse.setExpireTime(_ctx.stringValue("DescribeDataCenterResponse.ExpireTime"));
describeDataCenterResponse.setLockMode(_ctx.stringValue("DescribeDataCenterResponse.LockMode"));
describeDataCenterResponse.setAutoRenewal(_ctx.booleanValue("DescribeDataCenterResponse.AutoRenewal"));
describeDataCenterResponse.setAutoRenewPeriod(_ctx.integerValue("DescribeDataCenterResponse.AutoRenewPeriod"));
return describeDataCenterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeDataCentersResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeDataCentersResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeDataCentersResponse.DataCenter;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDataCentersResponseUnmarshaller {
public static DescribeDataCentersResponse unmarshall(DescribeDataCentersResponse describeDataCentersResponse, UnmarshallerContext _ctx) {
describeDataCentersResponse.setRequestId(_ctx.stringValue("DescribeDataCentersResponse.RequestId"));
List<DataCenter> dataCenters = new ArrayList<DataCenter>();
for (int i = 0; i < _ctx.lengthValue("DescribeDataCentersResponse.DataCenters.Length"); i++) {
DataCenter dataCenter = new DataCenter();
dataCenter.setDataCenterId(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].DataCenterId"));
dataCenter.setRegionId(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].RegionId"));
dataCenter.setZoneId(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].ZoneId"));
dataCenter.setClusterId(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].ClusterId"));
dataCenter.setDataCenterName(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].DataCenterName"));
dataCenter.setStatus(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].Status"));
dataCenter.setCreatedTime(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].CreatedTime"));
dataCenter.setInstanceType(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].InstanceType"));
dataCenter.setNodeCount(_ctx.integerValue("DescribeDataCentersResponse.DataCenters["+ i +"].NodeCount"));
dataCenter.setDiskType(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].DiskType"));
dataCenter.setDiskSize(_ctx.integerValue("DescribeDataCentersResponse.DataCenters["+ i +"].DiskSize"));
dataCenter.setVpcId(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].VpcId"));
dataCenter.setVswitchId(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].VswitchId"));
dataCenter.setPayType(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].PayType"));
dataCenter.setCommodityInstance(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].CommodityInstance"));
dataCenter.setExpireTime(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].ExpireTime"));
dataCenter.setLockMode(_ctx.stringValue("DescribeDataCentersResponse.DataCenters["+ i +"].LockMode"));
dataCenter.setAutoRenewal(_ctx.booleanValue("DescribeDataCentersResponse.DataCenters["+ i +"].AutoRenewal"));
dataCenter.setAutoRenewPeriod(_ctx.integerValue("DescribeDataCentersResponse.DataCenters["+ i +"].AutoRenewPeriod"));
dataCenters.add(dataCenter);
}
describeDataCentersResponse.setDataCenters(dataCenters);
return describeDataCentersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeDeletedClustersResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeDeletedClustersResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeDeletedClustersResponse.Cluster;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDeletedClustersResponseUnmarshaller {
public static DescribeDeletedClustersResponse unmarshall(DescribeDeletedClustersResponse describeDeletedClustersResponse, UnmarshallerContext _ctx) {
describeDeletedClustersResponse.setRequestId(_ctx.stringValue("DescribeDeletedClustersResponse.RequestId"));
describeDeletedClustersResponse.setTotalCount(_ctx.longValue("DescribeDeletedClustersResponse.TotalCount"));
describeDeletedClustersResponse.setPageNumber(_ctx.integerValue("DescribeDeletedClustersResponse.PageNumber"));
describeDeletedClustersResponse.setPageSize(_ctx.integerValue("DescribeDeletedClustersResponse.PageSize"));
List<Cluster> clusters = new ArrayList<Cluster>();
for (int i = 0; i < _ctx.lengthValue("DescribeDeletedClustersResponse.Clusters.Length"); i++) {
Cluster cluster = new Cluster();
cluster.setClusterId(_ctx.stringValue("DescribeDeletedClustersResponse.Clusters["+ i +"].ClusterId"));
cluster.setClusterName(_ctx.stringValue("DescribeDeletedClustersResponse.Clusters["+ i +"].ClusterName"));
cluster.setStatus(_ctx.stringValue("DescribeDeletedClustersResponse.Clusters["+ i +"].Status"));
cluster.setPayType(_ctx.stringValue("DescribeDeletedClustersResponse.Clusters["+ i +"].PayType"));
cluster.setCreatedTime(_ctx.stringValue("DescribeDeletedClustersResponse.Clusters["+ i +"].CreatedTime"));
cluster.setExpireTime(_ctx.stringValue("DescribeDeletedClustersResponse.Clusters["+ i +"].ExpireTime"));
cluster.setMajorVersion(_ctx.stringValue("DescribeDeletedClustersResponse.Clusters["+ i +"].MajorVersion"));
cluster.setMinorVersion(_ctx.stringValue("DescribeDeletedClustersResponse.Clusters["+ i +"].MinorVersion"));
cluster.setDataCenterCount(_ctx.integerValue("DescribeDeletedClustersResponse.Clusters["+ i +"].DataCenterCount"));
clusters.add(cluster);
}
describeDeletedClustersResponse.setClusters(clusters);
return describeDeletedClustersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeInstanceTypeResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeInstanceTypeResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeInstanceTypeResponse.InstanceTypeSpec;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeInstanceTypeResponseUnmarshaller {
public static DescribeInstanceTypeResponse unmarshall(DescribeInstanceTypeResponse describeInstanceTypeResponse, UnmarshallerContext _ctx) {
describeInstanceTypeResponse.setRequestId(_ctx.stringValue("DescribeInstanceTypeResponse.RequestId"));
List<InstanceTypeSpec> instanceTypeSpecList = new ArrayList<InstanceTypeSpec>();
for (int i = 0; i < _ctx.lengthValue("DescribeInstanceTypeResponse.InstanceTypeSpecList.Length"); i++) {
InstanceTypeSpec instanceTypeSpec = new InstanceTypeSpec();
instanceTypeSpec.setInstanceType(_ctx.stringValue("DescribeInstanceTypeResponse.InstanceTypeSpecList["+ i +"].InstanceType"));
instanceTypeSpec.setCpuSize(_ctx.longValue("DescribeInstanceTypeResponse.InstanceTypeSpecList["+ i +"].CpuSize"));
instanceTypeSpec.setMemSize(_ctx.longValue("DescribeInstanceTypeResponse.InstanceTypeSpecList["+ i +"].MemSize"));
instanceTypeSpecList.add(instanceTypeSpec);
}
describeInstanceTypeResponse.setInstanceTypeSpecList(instanceTypeSpecList);
return describeInstanceTypeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeIpWhitelistGroupsResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeIpWhitelistGroupsResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeIpWhitelistGroupsResponse.Group;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeIpWhitelistGroupsResponseUnmarshaller {
public static DescribeIpWhitelistGroupsResponse unmarshall(DescribeIpWhitelistGroupsResponse describeIpWhitelistGroupsResponse, UnmarshallerContext _ctx) {
describeIpWhitelistGroupsResponse.setRequestId(_ctx.stringValue("DescribeIpWhitelistGroupsResponse.RequestId"));
List<Group> groups = new ArrayList<Group>();
for (int i = 0; i < _ctx.lengthValue("DescribeIpWhitelistGroupsResponse.Groups.Length"); i++) {
Group group = new Group();
group.setGroupName(_ctx.stringValue("DescribeIpWhitelistGroupsResponse.Groups["+ i +"].GroupName"));
group.setIpVersion(_ctx.integerValue("DescribeIpWhitelistGroupsResponse.Groups["+ i +"].IpVersion"));
List<String> ipList = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeIpWhitelistGroupsResponse.Groups["+ i +"].IpList.Length"); j++) {
ipList.add(_ctx.stringValue("DescribeIpWhitelistGroupsResponse.Groups["+ i +"].IpList["+ j +"]"));
}
group.setIpList(ipList);
groups.add(group);
}
describeIpWhitelistGroupsResponse.setGroups(groups);
return describeIpWhitelistGroupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeIpWhitelistResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeIpWhitelistResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeIpWhitelistResponseUnmarshaller {
public static DescribeIpWhitelistResponse unmarshall(DescribeIpWhitelistResponse describeIpWhitelistResponse, UnmarshallerContext _ctx) {
describeIpWhitelistResponse.setRequestId(_ctx.stringValue("DescribeIpWhitelistResponse.RequestId"));
List<String> ipList = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeIpWhitelistResponse.IpList.Length"); i++) {
ipList.add(_ctx.stringValue("DescribeIpWhitelistResponse.IpList["+ i +"]"));
}
describeIpWhitelistResponse.setIpList(ipList);
return describeIpWhitelistResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeNodeToolExecutionHistoriesResponseUnmarshaller.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.cassandra.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cassandra.model.v20190101.DescribeNodeToolExecutionHistoriesResponse;
import com.aliyuncs.cassandra.model.v20190101.DescribeNodeToolExecutionHistoriesResponse.History;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeNodeToolExecutionHistoriesResponseUnmarshaller {
public static DescribeNodeToolExecutionHistoriesResponse unmarshall(DescribeNodeToolExecutionHistoriesResponse describeNodeToolExecutionHistoriesResponse, UnmarshallerContext _ctx) {
describeNodeToolExecutionHistoriesResponse.setRequestId(_ctx.stringValue("DescribeNodeToolExecutionHistoriesResponse.RequestId"));
describeNodeToolExecutionHistoriesResponse.setPageNumber(_ctx.integerValue("DescribeNodeToolExecutionHistoriesResponse.PageNumber"));
describeNodeToolExecutionHistoriesResponse.setPageSize(_ctx.integerValue("DescribeNodeToolExecutionHistoriesResponse.PageSize"));
describeNodeToolExecutionHistoriesResponse.setTotalCount(_ctx.longValue("DescribeNodeToolExecutionHistoriesResponse.TotalCount"));
List<History> histories = new ArrayList<History>();
for (int i = 0; i < _ctx.lengthValue("DescribeNodeToolExecutionHistoriesResponse.Histories.Length"); i++) {
History history = new History();
history.setJobId(_ctx.stringValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].JobId"));
history.setCommand(_ctx.stringValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].Command"));
history.setNodes(_ctx.stringValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].Nodes"));
history.setModifyTime(_ctx.longValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].ModifyTime"));
history.setCreateTime(_ctx.longValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].CreateTime"));
history.setRegionId(_ctx.stringValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].RegionId"));
history.setIsEnded(_ctx.booleanValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].IsEnded"));
history.setArguments(_ctx.stringValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].Arguments"));
history.setErrorMessage(_ctx.stringValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].ErrorMessage"));
history.setDataCenterId(_ctx.stringValue("DescribeNodeToolExecutionHistoriesResponse.Histories["+ i +"].DataCenterId"));
histories.add(history);
}
describeNodeToolExecutionHistoriesResponse.setHistories(histories);
return describeNodeToolExecutionHistoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cassandra/1.0.7/com/aliyuncs/cassandra/transform/v20190101/DescribeNodeToolExecutionHistoryResponseUnmarshaller.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.cassandra.transform.v20190101;
import com.aliyuncs.cassandra.model.v20190101.DescribeNodeToolExecutionHistoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeNodeToolExecutionHistoryResponseUnmarshaller {
public static DescribeNodeToolExecutionHistoryResponse unmarshall(DescribeNodeToolExecutionHistoryResponse describeNodeToolExecutionHistoryResponse, UnmarshallerContext _ctx) {
describeNodeToolExecutionHistoryResponse.setRequestId(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.RequestId"));
describeNodeToolExecutionHistoryResponse.setJobId(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.JobId"));
describeNodeToolExecutionHistoryResponse.setCommand(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.Command"));
describeNodeToolExecutionHistoryResponse.setNodes(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.Nodes"));
describeNodeToolExecutionHistoryResponse.setModifyTime(_ctx.longValue("DescribeNodeToolExecutionHistoryResponse.ModifyTime"));
describeNodeToolExecutionHistoryResponse.setCreateTime(_ctx.longValue("DescribeNodeToolExecutionHistoryResponse.CreateTime"));
describeNodeToolExecutionHistoryResponse.setRegionId(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.RegionId"));
describeNodeToolExecutionHistoryResponse.setIsEnded(_ctx.booleanValue("DescribeNodeToolExecutionHistoryResponse.IsEnded"));
describeNodeToolExecutionHistoryResponse.setArguments(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.Arguments"));
describeNodeToolExecutionHistoryResponse.setErrorMessage(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.ErrorMessage"));
describeNodeToolExecutionHistoryResponse.setDataCenterId(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.DataCenterId"));
describeNodeToolExecutionHistoryResponse.setResult(_ctx.stringValue("DescribeNodeToolExecutionHistoryResponse.Result"));
return describeNodeToolExecutionHistoryResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.