Class: TencentCloud::Iotvideoindustry::V20201201::DeviceItem

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

Overview

用于描述唯一一个设备

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DeviceItem.



4351
4352
4353
4354
# File 'lib/v20201201/models.rb', line 4351

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

Instance Attribute Details

#ChannelIdObject

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

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识



4349
4350
4351
# File 'lib/v20201201/models.rb', line 4349

def ChannelId
  @ChannelId
end

#DeviceIdObject

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

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识



4349
4350
4351
# File 'lib/v20201201/models.rb', line 4349

def DeviceId
  @DeviceId
end

Instance Method Details

#deserialize(params) ⇒ Object



4356
4357
4358
4359
# File 'lib/v20201201/models.rb', line 4356

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