Class: TencentCloud::Iotcloud::V20180614::DeviceResourceInfo

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, name = nil, md5 = nil, size = nil, updatetime = nil, devicename = nil, status = nil, percent = nil) ⇒ DeviceResourceInfo

Returns a new instance of DeviceResourceInfo.



2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
# File 'lib/v20180614/models.rb', line 2836

def initialize(productid=nil, productname=nil, name=nil, md5=nil, size=nil, updatetime=nil, devicename=nil, status=nil, percent=nil)
  @ProductID = productid
  @ProductName = productname
  @Name = name
  @Md5 = md5
  @Size = size
  @UpdateTime = updatetime
  @DeviceName = devicename
  @Status = status
  @Percent = percent
end

Instance Attribute Details

#DeviceNameObject

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def DeviceName
  @DeviceName
end

#Md5Object

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def Md5
  @Md5
end

#NameObject

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def Name
  @Name
end

#PercentObject

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def Percent
  @Percent
end

#ProductIDObject

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def ProductID
  @ProductID
end

#ProductNameObject

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def ProductName
  @ProductName
end

#SizeObject

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def Size
  @Size
end

#StatusObject

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def Status
  @Status
end

#UpdateTimeObject

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • UpdateTime:

    资源更新时间

  • DeviceName:

    设备名称

  • Status:

    设备资源上传状态

  • Percent:

    设备资源上传百分比



2834
2835
2836
# File 'lib/v20180614/models.rb', line 2834

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
# File 'lib/v20180614/models.rb', line 2848

def deserialize(params)
  @ProductID = params['ProductID']
  @ProductName = params['ProductName']
  @Name = params['Name']
  @Md5 = params['Md5']
  @Size = params['Size']
  @UpdateTime = params['UpdateTime']
  @DeviceName = params['DeviceName']
  @Status = params['Status']
  @Percent = params['Percent']
end