Class: TencentCloud::Iotcloud::V20210408::DeviceResourceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::DeviceResourceInfo
- Defined in:
- lib/v20210408/models.rb
Overview
设备资源详细信息
Instance Attribute Summary collapse
- #DeviceName ⇒ Object
- #Md5 ⇒ Object
- #Name ⇒ Object
- #Percent ⇒ Object
- #ProductID ⇒ Object
- #ProductName ⇒ Object
- #Size ⇒ Object
- #Status ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, productname = nil, name = nil, md5 = nil, size = nil, updatetime = nil, devicename = nil, status = nil, percent = nil) ⇒ DeviceResourceInfo
constructor
A new instance of DeviceResourceInfo.
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.
2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 |
# File 'lib/v20210408/models.rb', line 2693 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
#DeviceName ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def DeviceName @DeviceName end |
#Md5 ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def Md5 @Md5 end |
#Name ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def Name @Name end |
#Percent ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def Percent @Percent end |
#ProductID ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def ProductID @ProductID end |
#ProductName ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def ProductName @ProductName end |
#Size ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def Size @Size end |
#Status ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def Status @Status end |
#UpdateTime ⇒ Object
2691 2692 2693 |
# File 'lib/v20210408/models.rb', line 2691 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 |
# File 'lib/v20210408/models.rb', line 2705 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 |