Class: TencentCloud::Yunjing::V20180228::DescribeWeeklyReportMalwaresResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribeWeeklyReportMalwares返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(weeklyreportmalwares = nil, totalcount = nil, requestid = nil) ⇒ DescribeWeeklyReportMalwaresResponse

Returns a new instance of DescribeWeeklyReportMalwaresResponse.



4097
4098
4099
4100
4101
# File 'lib/v20180228/models.rb', line 4097

def initialize(weeklyreportmalwares=nil, totalcount=nil, requestid=nil)
  @WeeklyReportMalwares = weeklyreportmalwares
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • WeeklyReportMalwares:

    专业周报木马数据。

  • TotalCount:

    记录总数。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4095
4096
4097
# File 'lib/v20180228/models.rb', line 4095

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • WeeklyReportMalwares:

    专业周报木马数据。

  • TotalCount:

    记录总数。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4095
4096
4097
# File 'lib/v20180228/models.rb', line 4095

def TotalCount
  @TotalCount
end

#WeeklyReportMalwaresObject

Parameters:

  • WeeklyReportMalwares:

    专业周报木马数据。

  • TotalCount:

    记录总数。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4095
4096
4097
# File 'lib/v20180228/models.rb', line 4095

def WeeklyReportMalwares
  @WeeklyReportMalwares
end

Instance Method Details

#deserialize(params) ⇒ Object



4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
# File 'lib/v20180228/models.rb', line 4103

def deserialize(params)
  unless params['WeeklyReportMalwares'].nil?
    @WeeklyReportMalwares = []
    params['WeeklyReportMalwares'].each do |i|
      weeklyreportmalware_tmp = WeeklyReportMalware.new
      weeklyreportmalware_tmp.deserialize(i)
      @WeeklyReportMalwares << weeklyreportmalware_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end