Class: TencentCloud::Iotcloud::V20180614::DescribeProductResponse

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

Overview

DescribeProduct返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, productname = nil, productmetadata = nil, productproperties = nil, requestid = nil) ⇒ DescribeProductResponse

Returns a new instance of DescribeProductResponse.



2200
2201
2202
2203
2204
2205
2206
# File 'lib/v20180614/models.rb', line 2200

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

Instance Attribute Details

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名

  • ProductMetadata:

    产品元数据

  • ProductProperties:

    产品属性

  • RequestId:

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



2198
2199
2200
# File 'lib/v20180614/models.rb', line 2198

def ProductId
  @ProductId
end

#ProductMetadataObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名

  • ProductMetadata:

    产品元数据

  • ProductProperties:

    产品属性

  • RequestId:

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



2198
2199
2200
# File 'lib/v20180614/models.rb', line 2198

def ProductMetadata
  @ProductMetadata
end

#ProductNameObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名

  • ProductMetadata:

    产品元数据

  • ProductProperties:

    产品属性

  • RequestId:

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



2198
2199
2200
# File 'lib/v20180614/models.rb', line 2198

def ProductName
  @ProductName
end

#ProductPropertiesObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名

  • ProductMetadata:

    产品元数据

  • ProductProperties:

    产品属性

  • RequestId:

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



2198
2199
2200
# File 'lib/v20180614/models.rb', line 2198

def ProductProperties
  @ProductProperties
end

#RequestIdObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名

  • ProductMetadata:

    产品元数据

  • ProductProperties:

    产品属性

  • RequestId:

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



2198
2199
2200
# File 'lib/v20180614/models.rb', line 2198

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
# File 'lib/v20180614/models.rb', line 2208

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