class TencentCloud::Cdb::V20170320::RoGroup

def deserialize(params)

def deserialize(params)
  @RoGroupMode = params['RoGroupMode']
  @RoGroupId = params['RoGroupId']
  @RoGroupName = params['RoGroupName']
  @RoOfflineDelay = params['RoOfflineDelay']
  @RoMaxDelayTime = params['RoMaxDelayTime']
  @MinRoInGroup = params['MinRoInGroup']
  @WeightMode = params['WeightMode']
  @Weight = params['Weight']
  unless params['RoInstances'].nil?
    @RoInstances = []
    params['RoInstances'].each do |i|
      roinstanceinfo_tmp = RoInstanceInfo.new
      roinstanceinfo_tmp.deserialize(i)
      @RoInstances << roinstanceinfo_tmp
    end
  end
  @Vip = params['Vip']
  @Vport = params['Vport']
  @UniqVpcId = params['UniqVpcId']
  @UniqSubnetId = params['UniqSubnetId']
  @RoGroupRegion = params['RoGroupRegion']
  @RoGroupZone = params['RoGroupZone']
  @DelayReplicationTime = params['DelayReplicationTime']
end