Class: TencentCloud::Iotexplorer::V20190423::CreateDeviceChannelRequest

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

Overview

CreateDeviceChannel请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, devicename = nil, channelid = nil) ⇒ CreateDeviceChannelRequest

Returns a new instance of CreateDeviceChannelRequest.



1650
1651
1652
1653
1654
# File 'lib/v20190423/models.rb', line 1650

def initialize(productid=nil, devicename=nil, channelid=nil)
  @ProductId = productid
  @DeviceName = devicename
  @ChannelId = channelid
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID



1648
1649
1650
# File 'lib/v20190423/models.rb', line 1648

def ChannelId
  @ChannelId
end

#DeviceNameObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID



1648
1649
1650
# File 'lib/v20190423/models.rb', line 1648

def DeviceName
  @DeviceName
end

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID



1648
1649
1650
# File 'lib/v20190423/models.rb', line 1648

def ProductId
  @ProductId
end

Instance Method Details

#deserialize(params) ⇒ Object



1656
1657
1658
1659
1660
# File 'lib/v20190423/models.rb', line 1656

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