class TencentCloud::Cdb::V20170320::ModifyRoGroupInfoRequest
ModifyRoGroupInfo请求参数结构体
def deserialize(params)
def deserialize(params) @RoGroupId = params['RoGroupId'] unless params['RoGroupInfo'].nil? @RoGroupInfo = RoGroupAttr.new @RoGroupInfo.deserialize(params['RoGroupInfo']) end unless params['RoWeightValues'].nil? @RoWeightValues = [] params['RoWeightValues'].each do |i| roweightvalue_tmp = RoWeightValue.new roweightvalue_tmp.deserialize(i) @RoWeightValues << roweightvalue_tmp end end @IsBalanceRoLoad = params['IsBalanceRoLoad'] @ReplicationDelayTime = params['ReplicationDelayTime'] end
def initialize(rogroupid=nil, rogroupinfo=nil, roweightvalues=nil, isbalanceroload=nil, replicationdelaytime=nil)
def initialize(rogroupid=nil, rogroupinfo=nil, roweightvalues=nil, isbalanceroload=nil, replicationdelaytime=nil) @RoGroupId = rogroupid @RoGroupInfo = rogroupinfo @RoWeightValues = roweightvalues @IsBalanceRoLoad = isbalanceroload @ReplicationDelayTime = replicationdelaytime end