Class: TencentCloud::Live::V20180801::DescribePlayErrorCodeDetailInfoListResponse

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

Overview

DescribePlayErrorCodeDetailInfoList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(httpcodelist = nil, stattype = nil, requestid = nil) ⇒ DescribePlayErrorCodeDetailInfoListResponse

Returns a new instance of DescribePlayErrorCodeDetailInfoListResponse.



9183
9184
9185
9186
9187
# File 'lib/v20180801/models.rb', line 9183

def initialize(httpcodelist=nil, stattype=nil, requestid=nil)
  @HttpCodeList = httpcodelist
  @StatType = stattype
  @RequestId = requestid
end

Instance Attribute Details

#HttpCodeListObject

Parameters:

  • HttpCodeList:

    统计信息列表。

  • StatType:

    统计类型。

  • RequestId:

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



9181
9182
9183
# File 'lib/v20180801/models.rb', line 9181

def HttpCodeList
  @HttpCodeList
end

#RequestIdObject

Parameters:

  • HttpCodeList:

    统计信息列表。

  • StatType:

    统计类型。

  • RequestId:

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



9181
9182
9183
# File 'lib/v20180801/models.rb', line 9181

def RequestId
  @RequestId
end

#StatTypeObject

Parameters:

  • HttpCodeList:

    统计信息列表。

  • StatType:

    统计类型。

  • RequestId:

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



9181
9182
9183
# File 'lib/v20180801/models.rb', line 9181

def StatType
  @StatType
end

Instance Method Details

#deserialize(params) ⇒ Object



9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
# File 'lib/v20180801/models.rb', line 9189

def deserialize(params)
  unless params['HttpCodeList'].nil?
    @HttpCodeList = []
    params['HttpCodeList'].each do |i|
      httpcodeinfo_tmp = HttpCodeInfo.new
      httpcodeinfo_tmp.deserialize(i)
      @HttpCodeList << httpcodeinfo_tmp
    end
  end
  @StatType = params['StatType']
  @RequestId = params['RequestId']
end