Class: TencentCloud::Iotvideoindustry::V20201201::DescribeVideoListByChannelResponse

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

Overview

DescribeVideoListByChannel返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(videolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeVideoListByChannelResponse

Returns a new instance of DescribeVideoListByChannelResponse.



3907
3908
3909
3910
3911
# File 'lib/v20201201/models.rb', line 3907

def initialize(videolist=nil, totalcount=nil, requestid=nil)
  @VideoList = videolist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • VideoList:

    录像详情列表

  • TotalCount:

    录像总数

  • RequestId:

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



3905
3906
3907
# File 'lib/v20201201/models.rb', line 3905

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • VideoList:

    录像详情列表

  • TotalCount:

    录像总数

  • RequestId:

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



3905
3906
3907
# File 'lib/v20201201/models.rb', line 3905

def TotalCount
  @TotalCount
end

#VideoListObject

Parameters:

  • VideoList:

    录像详情列表

  • TotalCount:

    录像总数

  • RequestId:

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



3905
3906
3907
# File 'lib/v20201201/models.rb', line 3905

def VideoList
  @VideoList
end

Instance Method Details

#deserialize(params) ⇒ Object



3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
# File 'lib/v20201201/models.rb', line 3913

def deserialize(params)
  unless params['VideoList'].nil?
    @VideoList = []
    params['VideoList'].each do |i|
      recordtaskitem_tmp = RecordTaskItem.new
      recordtaskitem_tmp.deserialize(i)
      @VideoList << recordtaskitem_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end