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

com.aliyuncs.sae.model.v20190506.DescribeConfigurationPriceResponse 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

There is a newer version: 1.22.17
Show 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.sae.model.v20190506;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.sae.transform.v20190506.DescribeConfigurationPriceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private String requestId;

	private String message;

	private String traceId;

	private String errorCode;

	private String code;

	private Boolean success;

	private Data data;

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

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

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getTraceId() {
		return this.traceId;
	}

	public void setTraceId(String traceId) {
		this.traceId = traceId;
	}

	public String getErrorCode() {
		return this.errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Boolean getSuccess() {
		return this.success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

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

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

	public static class Data {

		private List rules;

		private BagUsage bagUsage;

		private Order order;

		public List getRules() {
			return this.rules;
		}

		public void setRules(List rules) {
			this.rules = rules;
		}

		public BagUsage getBagUsage() {
			return this.bagUsage;
		}

		public void setBagUsage(BagUsage bagUsage) {
			this.bagUsage = bagUsage;
		}

		public Order getOrder() {
			return this.order;
		}

		public void setOrder(Order order) {
			this.order = order;
		}

		public static class Rule {

			private Long ruleDescId;

			private String name;

			public Long getRuleDescId() {
				return this.ruleDescId;
			}

			public void setRuleDescId(Long ruleDescId) {
				this.ruleDescId = ruleDescId;
			}

			public String getName() {
				return this.name;
			}

			public void setName(String name) {
				this.name = name;
			}
		}

		public static class BagUsage {

			private Float cpu;

			private Float mem;

			public Float getCpu() {
				return this.cpu;
			}

			public void setCpu(Float cpu) {
				this.cpu = cpu;
			}

			public Float getMem() {
				return this.mem;
			}

			public void setMem(Float mem) {
				this.mem = mem;
			}
		}

		public static class Order {

			private Float originalAmount;

			private Float discountAmount;

			private Float tradeAmount;

			private List ruleIds;

			public Float getOriginalAmount() {
				return this.originalAmount;
			}

			public void setOriginalAmount(Float originalAmount) {
				this.originalAmount = originalAmount;
			}

			public Float getDiscountAmount() {
				return this.discountAmount;
			}

			public void setDiscountAmount(Float discountAmount) {
				this.discountAmount = discountAmount;
			}

			public Float getTradeAmount() {
				return this.tradeAmount;
			}

			public void setTradeAmount(Float tradeAmount) {
				this.tradeAmount = tradeAmount;
			}

			public List getRuleIds() {
				return this.ruleIds;
			}

			public void setRuleIds(List ruleIds) {
				this.ruleIds = ruleIds;
			}
		}
	}

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy