Class: TencentCloud::Iotcloud::V20210408::DownloadDeviceResourceRequest

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

Overview

DownloadDeviceResource请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DownloadDeviceResourceRequest.



2841
2842
2843
2844
2845
# File 'lib/v20210408/models.rb', line 2841

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

Instance Attribute Details

#DeviceNameObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • DeviceName:

    设备名称



2839
2840
2841
# File 'lib/v20210408/models.rb', line 2839

def DeviceName
  @DeviceName
end

#NameObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • DeviceName:

    设备名称



2839
2840
2841
# File 'lib/v20210408/models.rb', line 2839

def Name
  @Name
end

#ProductIDObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • DeviceName:

    设备名称



2839
2840
2841
# File 'lib/v20210408/models.rb', line 2839

def ProductID
  @ProductID
end

Instance Method Details

#deserialize(params) ⇒ Object



2847
2848
2849
2850
2851
# File 'lib/v20210408/models.rb', line 2847

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