Class: TencentCloud::Iotexplorer::V20190423::BindDevicesRequest

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

Overview

BindDevices请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayproductid = nil, gatewaydevicename = nil, productid = nil, devicenames = nil) ⇒ BindDevicesRequest

Returns a new instance of BindDevicesRequest.



571
572
573
574
575
576
# File 'lib/v20190423/models.rb', line 571

def initialize(gatewayproductid=nil, gatewaydevicename=nil, productid=nil, devicenames=nil)
  @GatewayProductId = gatewayproductid
  @GatewayDeviceName = gatewaydevicename
  @ProductId = productid
  @DeviceNames = devicenames
end

Instance Attribute Details

#DeviceNamesObject

Parameters:

  • GatewayProductId:

    网关设备的产品ID。

  • GatewayDeviceName:

    网关设备的设备名。

  • ProductId:

    被绑定设备的产品ID。

  • DeviceNames:

    被绑定的多个设备名。



569
570
571
# File 'lib/v20190423/models.rb', line 569

def DeviceNames
  @DeviceNames
end

#GatewayDeviceNameObject

Parameters:

  • GatewayProductId:

    网关设备的产品ID。

  • GatewayDeviceName:

    网关设备的设备名。

  • ProductId:

    被绑定设备的产品ID。

  • DeviceNames:

    被绑定的多个设备名。



569
570
571
# File 'lib/v20190423/models.rb', line 569

def GatewayDeviceName
  @GatewayDeviceName
end

#GatewayProductIdObject

Parameters:

  • GatewayProductId:

    网关设备的产品ID。

  • GatewayDeviceName:

    网关设备的设备名。

  • ProductId:

    被绑定设备的产品ID。

  • DeviceNames:

    被绑定的多个设备名。



569
570
571
# File 'lib/v20190423/models.rb', line 569

def GatewayProductId
  @GatewayProductId
end

#ProductIdObject

Parameters:

  • GatewayProductId:

    网关设备的产品ID。

  • GatewayDeviceName:

    网关设备的设备名。

  • ProductId:

    被绑定设备的产品ID。

  • DeviceNames:

    被绑定的多个设备名。



569
570
571
# File 'lib/v20190423/models.rb', line 569

def ProductId
  @ProductId
end

Instance Method Details

#deserialize(params) ⇒ Object



578
579
580
581
582
583
# File 'lib/v20190423/models.rb', line 578

def deserialize(params)
  @GatewayProductId = params['GatewayProductId']
  @GatewayDeviceName = params['GatewayDeviceName']
  @ProductId = params['ProductId']
  @DeviceNames = params['DeviceNames']
end