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.
13068 13069 13070 13071 |
# File 'lib/v20170320/models.rb', line 13068 def initialize(instanceid=nil, weight=nil) @InstanceId = instanceid @Weight = weight end |
Instance Attribute Details
#InstanceId ⇒ Object
13066 13067 13068 |
# File 'lib/v20170320/models.rb', line 13066 def InstanceId @InstanceId end |
#Weight ⇒ Object
13066 13067 13068 |
# File 'lib/v20170320/models.rb', line 13066 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
13073 13074 13075 13076 |
# File 'lib/v20170320/models.rb', line 13073 def deserialize(params) @InstanceId = params['InstanceId'] @Weight = params['Weight'] end |