class TencentCloud::Tsf::V20180326::GroupDailyUseStatistics
分组日使用统计对象
def deserialize(params)
def deserialize(params) unless params['TopReqAmount'].nil? @TopReqAmount = [] params['TopReqAmount'].each do |i| groupusestatisticsentity_tmp = GroupUseStatisticsEntity.new groupusestatisticsentity_tmp.deserialize(i) @TopReqAmount << groupusestatisticsentity_tmp end end unless params['TopFailureRate'].nil? @TopFailureRate = [] params['TopFailureRate'].each do |i| groupusestatisticsentity_tmp = GroupUseStatisticsEntity.new groupusestatisticsentity_tmp.deserialize(i) @TopFailureRate << groupusestatisticsentity_tmp end end unless params['TopAvgTimeCost'].nil? @TopAvgTimeCost = [] params['TopAvgTimeCost'].each do |i| groupusestatisticsentity_tmp = GroupUseStatisticsEntity.new groupusestatisticsentity_tmp.deserialize(i) @TopAvgTimeCost << groupusestatisticsentity_tmp end end end
def initialize(topreqamount=nil, topfailurerate=nil, topavgtimecost=nil)
def initialize(topreqamount=nil, topfailurerate=nil, topavgtimecost=nil) @TopReqAmount = topreqamount @TopFailureRate = topfailurerate @TopAvgTimeCost = topavgtimecost end