Class: TencentCloud::Iotcloud::V20180614::CreateProductRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180614/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.



621
622
623
624
625
# File 'lib/v20180614/models.rb', line 621

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

Instance Attribute Details

#ProductNameObject

Parameters:



619
620
621
# File 'lib/v20180614/models.rb', line 619

def ProductName
  @ProductName
end

#ProductPropertiesObject

Parameters:



619
620
621
# File 'lib/v20180614/models.rb', line 619

def ProductProperties
  @ProductProperties
end

#SkeyObject

Parameters:



619
620
621
# File 'lib/v20180614/models.rb', line 619

def Skey
  @Skey
end

Instance Method Details

#deserialize(params) ⇒ Object



627
628
629
630
631
632
633
634
# File 'lib/v20180614/models.rb', line 627

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