Class: TencentCloud::Live::V20180801::DescribeStreamPushInfoListResponse

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

Overview

DescribeStreamPushInfoList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(datainfolist = nil, requestid = nil) ⇒ DescribeStreamPushInfoListResponse

Returns a new instance of DescribeStreamPushInfoListResponse.



10090
10091
10092
10093
# File 'lib/v20180801/models.rb', line 10090

def initialize(datainfolist=nil, requestid=nil)
  @DataInfoList = datainfolist
  @RequestId = requestid
end

Instance Attribute Details

#DataInfoListObject

Parameters:

  • DataInfoList:

    返回的数据列表。

  • RequestId:

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



10088
10089
10090
# File 'lib/v20180801/models.rb', line 10088

def DataInfoList
  @DataInfoList
end

#RequestIdObject

Parameters:

  • DataInfoList:

    返回的数据列表。

  • RequestId:

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



10088
10089
10090
# File 'lib/v20180801/models.rb', line 10088

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
# File 'lib/v20180801/models.rb', line 10095

def deserialize(params)
  unless params['DataInfoList'].nil?
    @DataInfoList = []
    params['DataInfoList'].each do |i|
      pushqualitydata_tmp = PushQualityData.new
      pushqualitydata_tmp.deserialize(i)
      @DataInfoList << pushqualitydata_tmp
    end
  end
  @RequestId = params['RequestId']
end