class TencentCloud::Tsf::V20180326::InvocationIndicator

服务调用监控指标

def deserialize(params)

def deserialize(params)
  @InvocationQuantity = params['InvocationQuantity']
  @InvocationSuccessRate = params['InvocationSuccessRate']
  @InvocationAvgDuration = params['InvocationAvgDuration']
  unless params['InvocationSuccessDistribution'].nil?
    @InvocationSuccessDistribution = []
    params['InvocationSuccessDistribution'].each do |i|
      indicatorcoord_tmp = IndicatorCoord.new
      indicatorcoord_tmp.deserialize(i)
      @InvocationSuccessDistribution << indicatorcoord_tmp
    end
  end
  unless params['InvocationFailedDistribution'].nil?
    @InvocationFailedDistribution = []
    params['InvocationFailedDistribution'].each do |i|
      indicatorcoord_tmp = IndicatorCoord.new
      indicatorcoord_tmp.deserialize(i)
      @InvocationFailedDistribution << indicatorcoord_tmp
    end
  end
  unless params['InvocationStatusDistribution'].nil?
    @InvocationStatusDistribution = []
    params['InvocationStatusDistribution'].each do |i|
      indicatorcoord_tmp = IndicatorCoord.new
      indicatorcoord_tmp.deserialize(i)
      @InvocationStatusDistribution << indicatorcoord_tmp
    end
  end
  unless params['InvocationDurationDistribution'].nil?
    @InvocationDurationDistribution = []
    params['InvocationDurationDistribution'].each do |i|
      indicatorcoord_tmp = IndicatorCoord.new
      indicatorcoord_tmp.deserialize(i)
      @InvocationDurationDistribution << indicatorcoord_tmp
    end
  end
  unless params['InvocationQuantityDistribution'].nil?
    @InvocationQuantityDistribution = []
    params['InvocationQuantityDistribution'].each do |i|
      indicatorcoord_tmp = IndicatorCoord.new
      indicatorcoord_tmp.deserialize(i)
      @InvocationQuantityDistribution << indicatorcoord_tmp
    end
  end
end

def initialize(invocationquantity=nil, invocationsuccessrate=nil, invocationavgduration=nil, invocationsuccessdistribution=nil, invocationfaileddistribution=nil, invocationstatusdistribution=nil, invocationdurationdistribution=nil, invocationquantitydistribution=nil)

def initialize(invocationquantity=nil, invocationsuccessrate=nil, invocationavgduration=nil, invocationsuccessdistribution=nil, invocationfaileddistribution=nil, invocationstatusdistribution=nil, invocationdurationdistribution=nil, invocationquantitydistribution=nil)
  @InvocationQuantity = invocationquantity
  @InvocationSuccessRate = invocationsuccessrate
  @InvocationAvgDuration = invocationavgduration
  @InvocationSuccessDistribution = invocationsuccessdistribution
  @InvocationFailedDistribution = invocationfaileddistribution
  @InvocationStatusDistribution = invocationstatusdistribution
  @InvocationDurationDistribution = invocationdurationdistribution
  @InvocationQuantityDistribution = invocationquantitydistribution
end