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.



21548
21549
21550
21551
# File 'lib/v20180228/models.rb', line 21548

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

Instance Attribute Details

#InfoObject

Parameters:

  • Info:

    事件统计详情

  • RequestId:

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



21546
21547
21548
# File 'lib/v20180228/models.rb', line 21546

def Info
  @Info
end

#RequestIdObject

Parameters:

  • Info:

    事件统计详情

  • RequestId:

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



21546
21547
21548
# File 'lib/v20180228/models.rb', line 21546

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
# File 'lib/v20180228/models.rb', line 21553

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