class TencentCloud::Advisor::V20200721::DescribeTaskStrategyRisksResponse

DescribeTaskStrategyRisks返回参数结构体

def deserialize(params)

def deserialize(params)
  unless params['RiskFieldsDesc'].nil?
    @RiskFieldsDesc = []
    params['RiskFieldsDesc'].each do |i|
      riskfieldsdesc_tmp = RiskFieldsDesc.new
      riskfieldsdesc_tmp.deserialize(i)
      @RiskFieldsDesc << riskfieldsdesc_tmp
    end
  end
  @StrategyId = params['StrategyId']
  @RiskTotalCount = params['RiskTotalCount']
  @Risks = params['Risks']
  @ResourceCount = params['ResourceCount']
  @RequestId = params['RequestId']
end

def initialize(riskfieldsdesc=nil, strategyid=nil, risktotalcount=nil, risks=nil, resourcecount=nil, requestid=nil)

def initialize(riskfieldsdesc=nil, strategyid=nil, risktotalcount=nil, risks=nil, resourcecount=nil, requestid=nil)
  @RiskFieldsDesc = riskfieldsdesc
  @StrategyId = strategyid
  @RiskTotalCount = risktotalcount
  @Risks = risks
  @ResourceCount = resourcecount
  @RequestId = requestid
end