Class: TencentCloud::Iotvideoindustry::V20201201::DescribeVideoListResponse

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

Overview

DescribeVideoList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, videolist = nil, recordlist = nil, requestid = nil) ⇒ DescribeVideoListResponse

Returns a new instance of DescribeVideoListResponse.



4123
4124
4125
4126
4127
4128
# File 'lib/v20201201/models.rb', line 4123

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

Instance Attribute Details

#RecordListObject

Parameters:

  • TotalCount:

    总数

  • VideoList:

    已废弃

  • RecordList:

    录像详情列表

  • RequestId:

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



4121
4122
4123
# File 'lib/v20201201/models.rb', line 4121

def RecordList
  @RecordList
end

#RequestIdObject

Parameters:

  • TotalCount:

    总数

  • VideoList:

    已废弃

  • RecordList:

    录像详情列表

  • RequestId:

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



4121
4122
4123
# File 'lib/v20201201/models.rb', line 4121

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • VideoList:

    已废弃

  • RecordList:

    录像详情列表

  • RequestId:

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



4121
4122
4123
# File 'lib/v20201201/models.rb', line 4121

def TotalCount
  @TotalCount
end

#VideoListObject

Parameters:

  • TotalCount:

    总数

  • VideoList:

    已废弃

  • RecordList:

    录像详情列表

  • RequestId:

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



4121
4122
4123
# File 'lib/v20201201/models.rb', line 4121

def VideoList
  @VideoList
end

Instance Method Details

#deserialize(params) ⇒ Object



4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
# File 'lib/v20201201/models.rb', line 4130

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