com.aliyuncs.ecs.model.v20140526.DescribeDemandsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-ecs Show documentation
Show all versions of aliyun-java-sdk-ecs Show documentation
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.ecs.model.v20140526;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.ecs.transform.v20140526.DescribeDemandsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeDemandsResponse extends AcsResponse {
private Integer pageSize;
private Integer pageNumber;
private String requestId;
private Integer totalCount;
private String regionId;
private List demands;
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public List getDemands() {
return this.demands;
}
public void setDemands(List demands) {
this.demands = demands;
}
public static class Demand {
private String comment;
private String demandDescription;
private String demandId;
private String demandTime;
private String instanceType;
private String demandName;
private Integer period;
private String instanceChargeType;
private Integer availableAmount;
private String endTime;
private String startTime;
private String periodUnit;
private String zoneId;
private Integer usedAmount;
private Integer totalAmount;
private Integer deliveringAmount;
private String instanceTypeFamily;
private String demandStatus;
private List supplyInfos;
public String getComment() {
return this.comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public String getDemandDescription() {
return this.demandDescription;
}
public void setDemandDescription(String demandDescription) {
this.demandDescription = demandDescription;
}
public String getDemandId() {
return this.demandId;
}
public void setDemandId(String demandId) {
this.demandId = demandId;
}
public String getDemandTime() {
return this.demandTime;
}
public void setDemandTime(String demandTime) {
this.demandTime = demandTime;
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public String getDemandName() {
return this.demandName;
}
public void setDemandName(String demandName) {
this.demandName = demandName;
}
public Integer getPeriod() {
return this.period;
}
public void setPeriod(Integer period) {
this.period = period;
}
public String getInstanceChargeType() {
return this.instanceChargeType;
}
public void setInstanceChargeType(String instanceChargeType) {
this.instanceChargeType = instanceChargeType;
}
public Integer getAvailableAmount() {
return this.availableAmount;
}
public void setAvailableAmount(Integer availableAmount) {
this.availableAmount = availableAmount;
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getPeriodUnit() {
return this.periodUnit;
}
public void setPeriodUnit(String periodUnit) {
this.periodUnit = periodUnit;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public Integer getUsedAmount() {
return this.usedAmount;
}
public void setUsedAmount(Integer usedAmount) {
this.usedAmount = usedAmount;
}
public Integer getTotalAmount() {
return this.totalAmount;
}
public void setTotalAmount(Integer totalAmount) {
this.totalAmount = totalAmount;
}
public Integer getDeliveringAmount() {
return this.deliveringAmount;
}
public void setDeliveringAmount(Integer deliveringAmount) {
this.deliveringAmount = deliveringAmount;
}
public String getInstanceTypeFamily() {
return this.instanceTypeFamily;
}
public void setInstanceTypeFamily(String instanceTypeFamily) {
this.instanceTypeFamily = instanceTypeFamily;
}
public String getDemandStatus() {
return this.demandStatus;
}
public void setDemandStatus(String demandStatus) {
this.demandStatus = demandStatus;
}
public List getSupplyInfos() {
return this.supplyInfos;
}
public void setSupplyInfos(List supplyInfos) {
this.supplyInfos = supplyInfos;
}
public static class SupplyInfo {
private Integer amount;
private String supplyStatus;
private String supplyStartTime;
private String supplyEndTime;
private String privatePoolId;
public Integer getAmount() {
return this.amount;
}
public void setAmount(Integer amount) {
this.amount = amount;
}
public String getSupplyStatus() {
return this.supplyStatus;
}
public void setSupplyStatus(String supplyStatus) {
this.supplyStatus = supplyStatus;
}
public String getSupplyStartTime() {
return this.supplyStartTime;
}
public void setSupplyStartTime(String supplyStartTime) {
this.supplyStartTime = supplyStartTime;
}
public String getSupplyEndTime() {
return this.supplyEndTime;
}
public void setSupplyEndTime(String supplyEndTime) {
this.supplyEndTime = supplyEndTime;
}
public String getPrivatePoolId() {
return this.privatePoolId;
}
public void setPrivatePoolId(String privatePoolId) {
this.privatePoolId = privatePoolId;
}
}
}
@Override
public DescribeDemandsResponse getInstance(UnmarshallerContext context) {
return DescribeDemandsResponseUnmarshaller.unmarshall(this, context);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy