Class: TencentCloud::Iotvideoindustry::V20201201::DescribeChannelStreamURLRequest

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

Overview

DescribeChannelStreamURL请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, expiretime = nil, channelid = nil) ⇒ DescribeChannelStreamURLRequest

Returns a new instance of DescribeChannelStreamURLRequest.



1860
1861
1862
1863
1864
# File 'lib/v20201201/models.rb', line 1860

def initialize(deviceid=nil, expiretime=nil, channelid=nil)
  @DeviceId = deviceid
  @ExpireTime = expiretime
  @ChannelId = channelid
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • DeviceId:

    设备唯一标识,必填参数

  • ExpireTime:

    流地址失效时间,固定值填写0,其他参数无效,必填参数

  • ChannelId:

    通道唯一标识(接口升级字段为必填),必填参数



1858
1859
1860
# File 'lib/v20201201/models.rb', line 1858

def ChannelId
  @ChannelId
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备唯一标识,必填参数

  • ExpireTime:

    流地址失效时间,固定值填写0,其他参数无效,必填参数

  • ChannelId:

    通道唯一标识(接口升级字段为必填),必填参数



1858
1859
1860
# File 'lib/v20201201/models.rb', line 1858

def DeviceId
  @DeviceId
end

#ExpireTimeObject

Parameters:

  • DeviceId:

    设备唯一标识,必填参数

  • ExpireTime:

    流地址失效时间,固定值填写0,其他参数无效,必填参数

  • ChannelId:

    通道唯一标识(接口升级字段为必填),必填参数



1858
1859
1860
# File 'lib/v20201201/models.rb', line 1858

def ExpireTime
  @ExpireTime
end

Instance Method Details

#deserialize(params) ⇒ Object



1866
1867
1868
1869
1870
# File 'lib/v20201201/models.rb', line 1866

def deserialize(params)
  @DeviceId = params['DeviceId']
  @ExpireTime = params['ExpireTime']
  @ChannelId = params['ChannelId']
end