Class: TencentCloud::Iotcloud::V20180614::DescribeDeviceResourceRequest

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

Overview

DescribeDeviceResource请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(devicename = nil, productid = nil, name = nil) ⇒ DescribeDeviceResourceRequest

Returns a new instance of DescribeDeviceResourceRequest.



1159
1160
1161
1162
1163
# File 'lib/v20180614/models.rb', line 1159

def initialize(devicename=nil, productid=nil, name=nil)
  @DeviceName = devicename
  @ProductID = productid
  @Name = name
end

Instance Attribute Details

#DeviceNameObject

Parameters:

  • DeviceName:

    设备名称

  • ProductID:

    产品ID

  • Name:

    具体的设备资源名称



1157
1158
1159
# File 'lib/v20180614/models.rb', line 1157

def DeviceName
  @DeviceName
end

#NameObject

Parameters:

  • DeviceName:

    设备名称

  • ProductID:

    产品ID

  • Name:

    具体的设备资源名称



1157
1158
1159
# File 'lib/v20180614/models.rb', line 1157

def Name
  @Name
end

#ProductIDObject

Parameters:

  • DeviceName:

    设备名称

  • ProductID:

    产品ID

  • Name:

    具体的设备资源名称



1157
1158
1159
# File 'lib/v20180614/models.rb', line 1157

def ProductID
  @ProductID
end

Instance Method Details

#deserialize(params) ⇒ Object



1165
1166
1167
1168
1169
# File 'lib/v20180614/models.rb', line 1165

def deserialize(params)
  @DeviceName = params['DeviceName']
  @ProductID = params['ProductID']
  @Name = params['Name']
end