class TencentCloud::Sqlserver::V20180328::ModifyReadOnlyGroupDetailsRequest
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @ReadOnlyGroupId = params['ReadOnlyGroupId'] @ReadOnlyGroupName = params['ReadOnlyGroupName'] @IsOfflineDelay = params['IsOfflineDelay'] @ReadOnlyMaxDelayTime = params['ReadOnlyMaxDelayTime'] @MinReadOnlyInGroup = params['MinReadOnlyInGroup'] unless params['WeightPairs'].nil? @WeightPairs = [] params['WeightPairs'].each do |i| readonlyinstanceweightpair_tmp = ReadOnlyInstanceWeightPair.new readonlyinstanceweightpair_tmp.deserialize(i) @WeightPairs << readonlyinstanceweightpair_tmp end end @AutoWeight = params['AutoWeight'] @BalanceWeight = params['BalanceWeight'] end