com.aliyun.sdk.service.appstream_center20210901.models.AskSessionPackageRenewPriceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-appstream_center20210901 Show documentation
Show all versions of alibabacloud-appstream_center20210901 Show documentation
Alibaba Cloud appstream-center (20210901) Async SDK for Java
// 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 AskSessionPackageRenewPriceResponseBody} extends {@link TeaModel}
*
* AskSessionPackageRenewPriceResponseBody
*/
public class AskSessionPackageRenewPriceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List < Data> data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private AskSessionPackageRenewPriceResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static AskSessionPackageRenewPriceResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public AskSessionPackageRenewPriceResponseBody build() {
return new AskSessionPackageRenewPriceResponseBody(this);
}
}
public static class Price extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Currency")
private String currency;
@com.aliyun.core.annotation.NameInMap("DiscountPrice")
private Float discountPrice;
@com.aliyun.core.annotation.NameInMap("OriginalPrice")
private Float originalPrice;
@com.aliyun.core.annotation.NameInMap("TradePrice")
private Float tradePrice;
private Price(Builder builder) {
this.currency = builder.currency;
this.discountPrice = builder.discountPrice;
this.originalPrice = builder.originalPrice;
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 Float getDiscountPrice() {
return this.discountPrice;
}
/**
* @return originalPrice
*/
public Float getOriginalPrice() {
return this.originalPrice;
}
/**
* @return tradePrice
*/
public Float getTradePrice() {
return this.tradePrice;
}
public static final class Builder {
private String currency;
private Float discountPrice;
private Float originalPrice;
private Float tradePrice;
/**
* Currency.
*/
public Builder currency(String currency) {
this.currency = currency;
return this;
}
/**
* DiscountPrice.
*/
public Builder discountPrice(Float discountPrice) {
this.discountPrice = discountPrice;
return this;
}
/**
* OriginalPrice.
*/
public Builder originalPrice(Float originalPrice) {
this.originalPrice = originalPrice;
return this;
}
/**
* TradePrice.
*/
public Builder tradePrice(Float tradePrice) {
this.tradePrice = tradePrice;
return this;
}
public Price build() {
return new Price(this);
}
}
}
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Price")
private Price price;
private Data(Builder builder) {
this.price = builder.price;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return price
*/
public Price getPrice() {
return this.price;
}
public static final class Builder {
private Price price;
/**
* Price.
*/
public Builder price(Price price) {
this.price = price;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy