Class InstancePriceDetail
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.lighthouse.v20200324.models.InstancePriceDetail
-
public class InstancePriceDetail extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description InstancePriceDetail()InstancePriceDetail(InstancePriceDetail source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscountDetail[]getDiscountDetail()Get 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 注意:此字段可能返回 null,表示取不到有效值。StringgetInstanceId()Get 实例ID。 注意:此字段可能返回 null,表示取不到有效值。InstancePricegetInstancePrice()Get 询价信息。 注意:此字段可能返回 null,表示取不到有效值。voidsetDiscountDetail(DiscountDetail[] DiscountDetail)Set 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 注意:此字段可能返回 null,表示取不到有效值。voidsetInstanceId(String InstanceId)Set 实例ID。 注意:此字段可能返回 null,表示取不到有效值。voidsetInstancePrice(InstancePrice InstancePrice)Set 询价信息。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
InstancePriceDetail
public InstancePriceDetail()
-
InstancePriceDetail
public InstancePriceDetail(InstancePriceDetail source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 实例ID。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- InstanceId 实例ID。 注意:此字段可能返回 null,表示取不到有效值。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
InstanceId- 实例ID。 注意:此字段可能返回 null,表示取不到有效值。
-
getInstancePrice
public InstancePrice getInstancePrice()
Get 询价信息。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- InstancePrice 询价信息。 注意:此字段可能返回 null,表示取不到有效值。
-
setInstancePrice
public void setInstancePrice(InstancePrice InstancePrice)
Set 询价信息。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
InstancePrice- 询价信息。 注意:此字段可能返回 null,表示取不到有效值。
-
getDiscountDetail
public DiscountDetail[] getDiscountDetail()
Get 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DiscountDetail 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 注意:此字段可能返回 null,表示取不到有效值。
-
setDiscountDetail
public void setDiscountDetail(DiscountDetail[] DiscountDetail)
Set 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DiscountDetail- 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 注意:此字段可能返回 null,表示取不到有效值。
-
-