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

com.aliyun.sdk.service.appstream_center20210901.models.GetResourceRenewPriceResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.appstream_center20210901.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link GetResourceRenewPriceResponseBody} extends {@link TeaModel}
 *
 * 

GetResourceRenewPriceResponseBody

*/ public class GetResourceRenewPriceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetResourceRenewPriceResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetResourceRenewPriceResponseBody create() { return builder().build(); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetResourceRenewPriceResponseBody build() { return new GetResourceRenewPriceResponseBody(this); } } public static class Promotions extends TeaModel { @com.aliyun.core.annotation.NameInMap("OptionCode") private String optionCode; @com.aliyun.core.annotation.NameInMap("PromotionDesc") private String promotionDesc; @com.aliyun.core.annotation.NameInMap("PromotionId") private String promotionId; @com.aliyun.core.annotation.NameInMap("PromotionName") private String promotionName; @com.aliyun.core.annotation.NameInMap("Selected") private Boolean selected; private Promotions(Builder builder) { this.optionCode = builder.optionCode; this.promotionDesc = builder.promotionDesc; this.promotionId = builder.promotionId; this.promotionName = builder.promotionName; this.selected = builder.selected; } public static Builder builder() { return new Builder(); } public static Promotions create() { return builder().build(); } /** * @return optionCode */ public String getOptionCode() { return this.optionCode; } /** * @return promotionDesc */ public String getPromotionDesc() { return this.promotionDesc; } /** * @return promotionId */ public String getPromotionId() { return this.promotionId; } /** * @return promotionName */ public String getPromotionName() { return this.promotionName; } /** * @return selected */ public Boolean getSelected() { return this.selected; } public static final class Builder { private String optionCode; private String promotionDesc; private String promotionId; private String promotionName; private Boolean selected; /** * OptionCode. */ public Builder optionCode(String optionCode) { this.optionCode = optionCode; return this; } /** * PromotionDesc. */ public Builder promotionDesc(String promotionDesc) { this.promotionDesc = promotionDesc; return this; } /** * PromotionId. */ public Builder promotionId(String promotionId) { this.promotionId = promotionId; return this; } /** * PromotionName. */ public Builder promotionName(String promotionName) { this.promotionName = promotionName; return this; } /** * Selected. */ public Builder selected(Boolean selected) { this.selected = selected; return this; } public Promotions build() { return new Promotions(this); } } } public static class Price extends TeaModel { @com.aliyun.core.annotation.NameInMap("Currency") private String currency; @com.aliyun.core.annotation.NameInMap("DiscountPrice") private String discountPrice; @com.aliyun.core.annotation.NameInMap("OriginalPrice") private String originalPrice; @com.aliyun.core.annotation.NameInMap("Promotions") private java.util.List < Promotions> promotions; @com.aliyun.core.annotation.NameInMap("TradePrice") private String tradePrice; private Price(Builder builder) { this.currency = builder.currency; this.discountPrice = builder.discountPrice; this.originalPrice = builder.originalPrice; this.promotions = builder.promotions; this.tradePrice = builder.tradePrice; } public static Builder builder() { return new Builder(); } public static Price create() { return builder().build(); } /** * @return currency */ public String getCurrency() { return this.currency; } /** * @return discountPrice */ public String getDiscountPrice() { return this.discountPrice; } /** * @return originalPrice */ public String getOriginalPrice() { return this.originalPrice; } /** * @return promotions */ public java.util.List < Promotions> getPromotions() { return this.promotions; } /** * @return tradePrice */ public String getTradePrice() { return this.tradePrice; } public static final class Builder { private String currency; private String discountPrice; private String originalPrice; private java.util.List < Promotions> promotions; private String tradePrice; /** * Currency. */ public Builder currency(String currency) { this.currency = currency; return this; } /** * DiscountPrice. */ public Builder discountPrice(String discountPrice) { this.discountPrice = discountPrice; return this; } /** * OriginalPrice. */ public Builder originalPrice(String originalPrice) { this.originalPrice = originalPrice; return this; } /** * Promotions. */ public Builder promotions(java.util.List < Promotions> promotions) { this.promotions = promotions; return this; } /** * TradePrice. */ public Builder tradePrice(String tradePrice) { this.tradePrice = tradePrice; return this; } public Price build() { return new Price(this); } } } public static class Rules extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("RuleId") private Long ruleId; private Rules(Builder builder) { this.description = builder.description; this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static Rules create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return ruleId */ public Long getRuleId() { return this.ruleId; } public static final class Builder { private String description; private Long ruleId; /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * RuleId. */ public Builder ruleId(Long ruleId) { this.ruleId = ruleId; return this; } public Rules build() { return new Rules(this); } } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Price") private Price price; @com.aliyun.core.annotation.NameInMap("Rules") private java.util.List < Rules> rules; private Data(Builder builder) { this.price = builder.price; this.rules = builder.rules; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return price */ public Price getPrice() { return this.price; } /** * @return rules */ public java.util.List < Rules> getRules() { return this.rules; } public static final class Builder { private Price price; private java.util.List < Rules> rules; /** * Price. */ public Builder price(Price price) { this.price = price; return this; } /** * Rules. */ public Builder rules(java.util.List < Rules> rules) { this.rules = rules; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy