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.
7288 7289 7290 7291 7292 |
# File 'lib/v20180317/models.rb', line 7288 def initialize(instanceprice=nil, bandwidthprice=nil, lcuprice=nil) @InstancePrice = instanceprice @BandwidthPrice = bandwidthprice @LcuPrice = lcuprice end |
Instance Attribute Details
#BandwidthPrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7286 7287 7288 |
# File 'lib/v20180317/models.rb', line 7286 def BandwidthPrice @BandwidthPrice end |
#InstancePrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7286 7287 7288 |
# File 'lib/v20180317/models.rb', line 7286 def InstancePrice @InstancePrice end |
#LcuPrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7286 7287 7288 |
# File 'lib/v20180317/models.rb', line 7286 def LcuPrice @LcuPrice end |
Instance Method Details
#deserialize(params) ⇒ Object
7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 |
# File 'lib/v20180317/models.rb', line 7294 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 |