All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyuncs.oceanbasepro.model.v20190901.DescribeAvailableSpecResponse Maven / Gradle / Ivy

Go to download

Aliyun Open API SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

The newest version!
/*
 * 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.oceanbasepro.model.v20190901;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.oceanbasepro.transform.v20190901.DescribeAvailableSpecResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private String requestId;

	private Data data;

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

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

	public Data getData() {
		return this.data;
	}

	public void setData(Data data) {
		this.data = data;
	}

	public static class Data {

		private List availableSpecifications;

		public List getAvailableSpecifications() {
			return this.availableSpecifications;
		}

		public void setAvailableSpecifications(List availableSpecifications) {
			this.availableSpecifications = availableSpecifications;
		}

		public static class AvailableSpecificationsItem {

			private String spec;

			private String instanceClass;

			private List nodeNum;

			private List diskTypes;

			private DiskSizeRange diskSizeRange;

			private LogDiskSizeRange logDiskSizeRange;

			public String getSpec() {
				return this.spec;
			}

			public void setSpec(String spec) {
				this.spec = spec;
			}

			public String getInstanceClass() {
				return this.instanceClass;
			}

			public void setInstanceClass(String instanceClass) {
				this.instanceClass = instanceClass;
			}

			public List getNodeNum() {
				return this.nodeNum;
			}

			public void setNodeNum(List nodeNum) {
				this.nodeNum = nodeNum;
			}

			public List getDiskTypes() {
				return this.diskTypes;
			}

			public void setDiskTypes(List diskTypes) {
				this.diskTypes = diskTypes;
			}

			public DiskSizeRange getDiskSizeRange() {
				return this.diskSizeRange;
			}

			public void setDiskSizeRange(DiskSizeRange diskSizeRange) {
				this.diskSizeRange = diskSizeRange;
			}

			public LogDiskSizeRange getLogDiskSizeRange() {
				return this.logDiskSizeRange;
			}

			public void setLogDiskSizeRange(LogDiskSizeRange logDiskSizeRange) {
				this.logDiskSizeRange = logDiskSizeRange;
			}

			public static class DiskSizeRange {

				private Long step;

				private Long max;

				private Long min;

				public Long getStep() {
					return this.step;
				}

				public void setStep(Long step) {
					this.step = step;
				}

				public Long getMax() {
					return this.max;
				}

				public void setMax(Long max) {
					this.max = max;
				}

				public Long getMin() {
					return this.min;
				}

				public void setMin(Long min) {
					this.min = min;
				}
			}

			public static class LogDiskSizeRange {

				private Long step;

				private Long max;

				private Long min;

				public Long getStep() {
					return this.step;
				}

				public void setStep(Long step) {
					this.step = step;
				}

				public Long getMax() {
					return this.max;
				}

				public void setMax(Long max) {
					this.max = max;
				}

				public Long getMin() {
					return this.min;
				}

				public void setMin(Long min) {
					this.min = min;
				}
			}
		}
	}

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy