Class: TencentCloud::Iotcloud::V20180614::DeviceProperty

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

Overview

设备资源信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, productname = nil, devicename = nil, resourceid = nil) ⇒ DeviceProperty

Returns a new instance of DeviceProperty.



2798
2799
2800
2801
2802
2803
# File 'lib/v20180614/models.rb', line 2798

def initialize(productid=nil, productname=nil, devicename=nil, resourceid=nil)
  @ProductId = productid
  @ProductName = productname
  @DeviceName = devicename
  @ResourceId = resourceid
end

Instance Attribute Details

#DeviceNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductId:

    产品ID。

  • ProductName:

    产品名称。

  • DeviceName:

    设备名称。

  • ResourceId:

    设备资源ID。



2796
2797
2798
# File 'lib/v20180614/models.rb', line 2796

def DeviceName
  @DeviceName
end

#ProductIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductId:

    产品ID。

  • ProductName:

    产品名称。

  • DeviceName:

    设备名称。

  • ResourceId:

    设备资源ID。



2796
2797
2798
# File 'lib/v20180614/models.rb', line 2796

def ProductId
  @ProductId
end

#ProductNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductId:

    产品ID。

  • ProductName:

    产品名称。

  • DeviceName:

    设备名称。

  • ResourceId:

    设备资源ID。



2796
2797
2798
# File 'lib/v20180614/models.rb', line 2796

def ProductName
  @ProductName
end

#ResourceIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductId:

    产品ID。

  • ProductName:

    产品名称。

  • DeviceName:

    设备名称。

  • ResourceId:

    设备资源ID。



2796
2797
2798
# File 'lib/v20180614/models.rb', line 2796

def ResourceId
  @ResourceId
end

Instance Method Details

#deserialize(params) ⇒ Object



2805
2806
2807
2808
2809
2810
# File 'lib/v20180614/models.rb', line 2805

def deserialize(params)
  @ProductId = params['ProductId']
  @ProductName = params['ProductName']
  @DeviceName = params['DeviceName']
  @ResourceId = params['ResourceId']
end