/*
 * 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.ddoscoo.model.v20200101;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.ddoscoo.transform.v20200101.DescribeInstanceIdsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
 * @author auto create
 * @version 
 */
public class DescribeInstanceIdsResponse extends AcsResponse {

	private String requestId;

	private List<Instance> instanceIds;

	public String getRequestId() {
		return this.requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public List<Instance> getInstanceIds() {
		return this.instanceIds;
	}

	public void setInstanceIds(List<Instance> instanceIds) {
		this.instanceIds = instanceIds;
	}

	public static class Instance {

		private String ipMode;

		private Integer edition;

		private String instanceId;

		private String ipVersion;

		private String remark;

		public String getIpMode() {
			return this.ipMode;
		}

		public void setIpMode(String ipMode) {
			this.ipMode = ipMode;
		}

		public Integer getEdition() {
			return this.edition;
		}

		public void setEdition(Integer edition) {
			this.edition = edition;
		}

		public String getInstanceId() {
			return this.instanceId;
		}

		public void setInstanceId(String instanceId) {
			this.instanceId = instanceId;
		}

		public String getIpVersion() {
			return this.ipVersion;
		}

		public void setIpVersion(String ipVersion) {
			this.ipVersion = ipVersion;
		}

		public String getRemark() {
			return this.remark;
		}

		public void setRemark(String remark) {
			this.remark = remark;
		}
	}

	@Override
	public DescribeInstanceIdsResponse getInstance(UnmarshallerContext context) {
		return	DescribeInstanceIdsResponseUnmarshaller.unmarshall(this, context);
	}

	@Override
	public boolean checkShowJsonItemName() {
		return false;
	}
}
