Class: TencentCloud::Iotvideoindustry::V20201201::ChannelItem

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

Overview

GB28181通道

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, channelid = nil) ⇒ ChannelItem

Returns a new instance of ChannelItem.



250
251
252
253
# File 'lib/v20201201/models.rb', line 250

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

Instance Attribute Details

#ChannelIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识



248
249
250
# File 'lib/v20201201/models.rb', line 248

def ChannelId
  @ChannelId
end

#DeviceIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识



248
249
250
# File 'lib/v20201201/models.rb', line 248

def DeviceId
  @DeviceId
end

Instance Method Details

#deserialize(params) ⇒ Object



255
256
257
258
# File 'lib/v20201201/models.rb', line 255

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