Class: TencentCloud::Clb::V20180317::Price
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::Price
- Defined in:
- lib/v20180317/models.rb
Overview
表示负载均衡的价格
Instance Attribute Summary collapse
-
#BandwidthPrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#InstancePrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LcuPrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceprice = nil, bandwidthprice = nil, lcuprice = nil) ⇒ Price
constructor
A new instance of Price.
Constructor Details
#initialize(instanceprice = nil, bandwidthprice = nil, lcuprice = nil) ⇒ Price
Returns a new instance of Price.
7152 7153 7154 7155 7156 |
# File 'lib/v20180317/models.rb', line 7152 def initialize(instanceprice=nil, bandwidthprice=nil, lcuprice=nil) @InstancePrice = instanceprice @BandwidthPrice = bandwidthprice @LcuPrice = lcuprice end |
Instance Attribute Details
#BandwidthPrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7150 7151 7152 |
# File 'lib/v20180317/models.rb', line 7150 def BandwidthPrice @BandwidthPrice end |
#InstancePrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7150 7151 7152 |
# File 'lib/v20180317/models.rb', line 7150 def InstancePrice @InstancePrice end |
#LcuPrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7150 7151 7152 |
# File 'lib/v20180317/models.rb', line 7150 def LcuPrice @LcuPrice end |
Instance Method Details
#deserialize(params) ⇒ Object
7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 |
# File 'lib/v20180317/models.rb', line 7158 def deserialize(params) unless params['InstancePrice'].nil? @InstancePrice = ItemPrice.new @InstancePrice.deserialize(params['InstancePrice']) end unless params['BandwidthPrice'].nil? @BandwidthPrice = ItemPrice.new @BandwidthPrice.deserialize(params['BandwidthPrice']) end unless params['LcuPrice'].nil? @LcuPrice = ItemPrice.new @LcuPrice.deserialize(params['LcuPrice']) end end |