Class: TencentCloud::Iotvideoindustry::V20201201::DescribeChannelLiveStreamURLResponse

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

Overview

DescribeChannelLiveStreamURL返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ DescribeChannelLiveStreamURLResponse

Returns a new instance of DescribeChannelLiveStreamURLResponse.



1776
1777
1778
1779
# File 'lib/v20201201/models.rb', line 1776

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    设备实时流地址列表

  • RequestId:

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



1774
1775
1776
# File 'lib/v20201201/models.rb', line 1774

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    设备实时流地址列表

  • RequestId:

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



1774
1775
1776
# File 'lib/v20201201/models.rb', line 1774

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1781
1782
1783
1784
1785
1786
1787
# File 'lib/v20201201/models.rb', line 1781

def deserialize(params)
  unless params['Data'].nil?
    @Data = DescribeDeviceStreamsData.new
    @Data.deserialize(params['Data'])
  end
  @RequestId = params['RequestId']
end