Class: TencentCloud::Iotcloud::V20210408::CreateProductRequest

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

Overview

CreateProduct请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productname = nil, productproperties = nil, skey = nil) ⇒ CreateProductRequest

Returns a new instance of CreateProductRequest.



590
591
592
593
594
# File 'lib/v20210408/models.rb', line 590

def initialize(productname=nil, productproperties=nil, skey=nil)
  @ProductName = productname
  @ProductProperties = productproperties
  @Skey = skey
end

Instance Attribute Details

#ProductNameObject

Parameters:



588
589
590
# File 'lib/v20210408/models.rb', line 588

def ProductName
  @ProductName
end

#ProductPropertiesObject

Parameters:



588
589
590
# File 'lib/v20210408/models.rb', line 588

def ProductProperties
  @ProductProperties
end

#SkeyObject

Parameters:



588
589
590
# File 'lib/v20210408/models.rb', line 588

def Skey
  @Skey
end

Instance Method Details

#deserialize(params) ⇒ Object



596
597
598
599
600
601
602
603
# File 'lib/v20210408/models.rb', line 596

def deserialize(params)
  @ProductName = params['ProductName']
  unless params['ProductProperties'].nil?
    @ProductProperties = ProductProperties.new
    @ProductProperties.deserialize(params['ProductProperties'])
  end
  @Skey = params['Skey']
end