Class: TencentCloud::Cwp::V20180228::DescribeScreenEventsCntResponse

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

Overview

DescribeScreenEventsCnt返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(info = nil, requestid = nil) ⇒ DescribeScreenEventsCntResponse

Returns a new instance of DescribeScreenEventsCntResponse.



21159
21160
21161
21162
# File 'lib/v20180228/models.rb', line 21159

def initialize(info=nil, requestid=nil)
  @Info = info
  @RequestId = requestid
end

Instance Attribute Details

#InfoObject

Parameters:

  • Info:

    事件统计详情

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



21157
21158
21159
# File 'lib/v20180228/models.rb', line 21157

def Info
  @Info
end

#RequestIdObject

Parameters:

  • Info:

    事件统计详情

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



21157
21158
21159
# File 'lib/v20180228/models.rb', line 21157

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
# File 'lib/v20180228/models.rb', line 21164

def deserialize(params)
  unless params['Info'].nil?
    @Info = []
    params['Info'].each do |i|
      screeneventscnt_tmp = ScreenEventsCnt.new
      screeneventscnt_tmp.deserialize(i)
      @Info << screeneventscnt_tmp
    end
  end
  @RequestId = params['RequestId']
end