Class: TencentCloud::Iss::V20230517::ChannelAttrInfo

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

Overview

通道属性信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, devicename = nil, channelid = nil, channelname = nil) ⇒ ChannelAttrInfo

Returns a new instance of ChannelAttrInfo.



1478
1479
1480
1481
1482
1483
# File 'lib/v20230517/models.rb', line 1478

def initialize(deviceid=nil, devicename=nil, channelid=nil, channelname=nil)
  @DeviceId = deviceid
  @DeviceName = devicename
  @ChannelId = channelid
  @ChannelName = channelname
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • DeviceId:

    设备通道所属的设备ID

  • DeviceName:

    设备通道所属的设备名称

  • ChannelId:

    设备通道ID

  • ChannelName:

    设备通道名称



1476
1477
1478
# File 'lib/v20230517/models.rb', line 1476

def ChannelId
  @ChannelId
end

#ChannelNameObject

Parameters:

  • DeviceId:

    设备通道所属的设备ID

  • DeviceName:

    设备通道所属的设备名称

  • ChannelId:

    设备通道ID

  • ChannelName:

    设备通道名称



1476
1477
1478
# File 'lib/v20230517/models.rb', line 1476

def ChannelName
  @ChannelName
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备通道所属的设备ID

  • DeviceName:

    设备通道所属的设备名称

  • ChannelId:

    设备通道ID

  • ChannelName:

    设备通道名称



1476
1477
1478
# File 'lib/v20230517/models.rb', line 1476

def DeviceId
  @DeviceId
end

#DeviceNameObject

Parameters:

  • DeviceId:

    设备通道所属的设备ID

  • DeviceName:

    设备通道所属的设备名称

  • ChannelId:

    设备通道ID

  • ChannelName:

    设备通道名称



1476
1477
1478
# File 'lib/v20230517/models.rb', line 1476

def DeviceName
  @DeviceName
end

Instance Method Details

#deserialize(params) ⇒ Object



1485
1486
1487
1488
1489
1490
# File 'lib/v20230517/models.rb', line 1485

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