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



1682
1683
1684
1685
1686
# File 'lib/v20190423/models.rb', line 1682

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

Instance Attribute Details

#ChannelIdObject



1680
1681
1682
# File 'lib/v20190423/models.rb', line 1680

def ChannelId
  @ChannelId
end

#DeviceNameObject



1680
1681
1682
# File 'lib/v20190423/models.rb', line 1680

def DeviceName
  @DeviceName
end

#ProductIdObject



1680
1681
1682
# File 'lib/v20190423/models.rb', line 1680

def ProductId
  @ProductId
end

Instance Method Details

#deserialize(params) ⇒ Object



1688
1689
1690
1691
1692
# File 'lib/v20190423/models.rb', line 1688

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