com.aliyuncs.eflo.model.v20220530.ListInstancesByNcdResponse Maven / Gradle / Ivy
/*
* 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.eflo.model.v20220530;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.eflo.transform.v20220530.ListInstancesByNcdResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListInstancesByNcdResponse extends AcsResponse {
private Integer code;
private String message;
private String requestId;
private Content content;
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Content getContent() {
return this.content;
}
public void setContent(Content content) {
this.content = content;
}
public static class Content {
private Integer maxNcd;
private String instanceType;
private String sourceInstanceId;
private List instanceInfos;
public Integer getMaxNcd() {
return this.maxNcd;
}
public void setMaxNcd(Integer maxNcd) {
this.maxNcd = maxNcd;
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public String getSourceInstanceId() {
return this.sourceInstanceId;
}
public void setSourceInstanceId(String sourceInstanceId) {
this.sourceInstanceId = sourceInstanceId;
}
public List getInstanceInfos() {
return this.instanceInfos;
}
public void setInstanceInfos(List instanceInfos) {
this.instanceInfos = instanceInfos;
}
public static class InstanceInfo {
private String instanceId;
private Integer ncd;
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public Integer getNcd() {
return this.ncd;
}
public void setNcd(Integer ncd) {
this.ncd = ncd;
}
}
}
@Override
public ListInstancesByNcdResponse getInstance(UnmarshallerContext context) {
return ListInstancesByNcdResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy