Class: TencentCloud::Cdb::V20170320::RoWeightValue
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::RoWeightValue
- Defined in:
- lib/v20170320/models.rb
Overview
RO 实例的权重值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, weight = nil) ⇒ RoWeightValue
constructor
A new instance of RoWeightValue.
Constructor Details
#initialize(instanceid = nil, weight = nil) ⇒ RoWeightValue
Returns a new instance of RoWeightValue.
13369 13370 13371 13372 |
# File 'lib/v20170320/models.rb', line 13369 def initialize(instanceid=nil, weight=nil) @InstanceId = instanceid @Weight = weight end |
Instance Attribute Details
#InstanceId ⇒ Object
13367 13368 13369 |
# File 'lib/v20170320/models.rb', line 13367 def InstanceId @InstanceId end |
#Weight ⇒ Object
13367 13368 13369 |
# File 'lib/v20170320/models.rb', line 13367 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
13374 13375 13376 13377 |
# File 'lib/v20170320/models.rb', line 13374 def deserialize(params) @InstanceId = params['InstanceId'] @Weight = params['Weight'] end |