Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceStreamsRequest

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

Overview

DescribeDeviceStreams请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeDeviceStreamsRequest.



2412
2413
2414
2415
2416
# File 'lib/v20201201/models.rb', line 2412

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

Instance Attribute Details

#ChannelIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • ExpireTime:

    流地址失效时间

  • ChannelId:

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



2410
2411
2412
# File 'lib/v20201201/models.rb', line 2410

def ChannelId
  @ChannelId
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • ExpireTime:

    流地址失效时间

  • ChannelId:

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



2410
2411
2412
# File 'lib/v20201201/models.rb', line 2410

def DeviceId
  @DeviceId
end

#ExpireTimeObject

Parameters:

  • DeviceId:

    设备唯一标识

  • ExpireTime:

    流地址失效时间

  • ChannelId:

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



2410
2411
2412
# File 'lib/v20201201/models.rb', line 2410

def ExpireTime
  @ExpireTime
end

Instance Method Details

#deserialize(params) ⇒ Object



2418
2419
2420
2421
2422
# File 'lib/v20201201/models.rb', line 2418

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