Class: TencentCloud::Iotexplorer::V20190423::BindProductsRequest

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

Overview

BindProducts请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayproductid = nil, productids = nil) ⇒ BindProductsRequest

Returns a new instance of BindProductsRequest.



659
660
661
662
# File 'lib/v20190423/models.rb', line 659

def initialize(gatewayproductid=nil, productids=nil)
  @GatewayProductId = gatewayproductid
  @ProductIds = productids
end

Instance Attribute Details

#GatewayProductIdObject

Parameters:

  • GatewayProductId:

    网关产品ID。

  • ProductIds:

    待绑定的子产品ID数组。



657
658
659
# File 'lib/v20190423/models.rb', line 657

def GatewayProductId
  @GatewayProductId
end

#ProductIdsObject

Parameters:

  • GatewayProductId:

    网关产品ID。

  • ProductIds:

    待绑定的子产品ID数组。



657
658
659
# File 'lib/v20190423/models.rb', line 657

def ProductIds
  @ProductIds
end

Instance Method Details

#deserialize(params) ⇒ Object



664
665
666
667
# File 'lib/v20190423/models.rb', line 664

def deserialize(params)
  @GatewayProductId = params['GatewayProductId']
  @ProductIds = params['ProductIds']
end