Class: TencentCloud::Cdb::V20170320::RoWeightValue

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

RO 实例的权重值

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, weight = nil) ⇒ 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

#InstanceIdObject



13066
13067
13068
# File 'lib/v20170320/models.rb', line 13066

def InstanceId
  @InstanceId
end

#WeightObject



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