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.
13336 13337 13338 13339 |
# File 'lib/v20170320/models.rb', line 13336 def initialize(instanceid=nil, weight=nil) @InstanceId = instanceid @Weight = weight end |
Instance Attribute Details
#InstanceId ⇒ Object
13334 13335 13336 |
# File 'lib/v20170320/models.rb', line 13334 def InstanceId @InstanceId end |
#Weight ⇒ Object
13334 13335 13336 |
# File 'lib/v20170320/models.rb', line 13334 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
13341 13342 13343 13344 |
# File 'lib/v20170320/models.rb', line 13341 def deserialize(params) @InstanceId = params['InstanceId'] @Weight = params['Weight'] end |