Class: TencentCloud::Iotcloud::V20180614::CreateProductResponse

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, productid = nil, productproperties = nil, requestid = nil) ⇒ CreateProductResponse

Returns a new instance of CreateProductResponse.



650
651
652
653
654
655
# File 'lib/v20180614/models.rb', line 650

def initialize(productname=nil, productid=nil, productproperties=nil, requestid=nil)
  @ProductName = productname
  @ProductId = productid
  @ProductProperties = productproperties
  @RequestId = requestid
end

Instance Attribute Details

#ProductIdObject

Parameters:

  • ProductName:

    产品名称

  • ProductId:

    产品 ID,腾讯云生成全局唯一 ID

  • ProductProperties:

    产品属性

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



648
649
650
# File 'lib/v20180614/models.rb', line 648

def ProductId
  @ProductId
end

#ProductNameObject

Parameters:

  • ProductName:

    产品名称

  • ProductId:

    产品 ID,腾讯云生成全局唯一 ID

  • ProductProperties:

    产品属性

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



648
649
650
# File 'lib/v20180614/models.rb', line 648

def ProductName
  @ProductName
end

#ProductPropertiesObject

Parameters:

  • ProductName:

    产品名称

  • ProductId:

    产品 ID,腾讯云生成全局唯一 ID

  • ProductProperties:

    产品属性

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



648
649
650
# File 'lib/v20180614/models.rb', line 648

def ProductProperties
  @ProductProperties
end

#RequestIdObject

Parameters:

  • ProductName:

    产品名称

  • ProductId:

    产品 ID,腾讯云生成全局唯一 ID

  • ProductProperties:

    产品属性

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



648
649
650
# File 'lib/v20180614/models.rb', line 648

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



657
658
659
660
661
662
663
664
665
# File 'lib/v20180614/models.rb', line 657

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