Class: TencentCloud::Iotcloud::V20210408::DescribeDeviceResourceRequest

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



1082
1083
1084
1085
1086
# File 'lib/v20210408/models.rb', line 1082

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

Instance Attribute Details

#DeviceNameObject

Parameters:

  • DeviceName:

    设备名称

  • ProductID:

    产品ID

  • Name:

    具体的设备资源名称



1080
1081
1082
# File 'lib/v20210408/models.rb', line 1080

def DeviceName
  @DeviceName
end

#NameObject

Parameters:

  • DeviceName:

    设备名称

  • ProductID:

    产品ID

  • Name:

    具体的设备资源名称



1080
1081
1082
# File 'lib/v20210408/models.rb', line 1080

def Name
  @Name
end

#ProductIDObject

Parameters:

  • DeviceName:

    设备名称

  • ProductID:

    产品ID

  • Name:

    具体的设备资源名称



1080
1081
1082
# File 'lib/v20210408/models.rb', line 1080

def ProductID
  @ProductID
end

Instance Method Details

#deserialize(params) ⇒ Object



1088
1089
1090
1091
1092
# File 'lib/v20210408/models.rb', line 1088

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