Class: TencentCloud::Weilingwith::V20230427::DeviceDataInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::DeviceDataInfo
- Defined in:
- lib/v20230427/models.rb
Overview
设备数据信息
Instance Attribute Summary collapse
- #ActiveTime ⇒ Object
- #DeviceName ⇒ Object
- #DeviceStatus ⇒ Object
- #DeviceTagSet ⇒ Object
- #DeviceTypeCode ⇒ Object
- #DeviceTypeName ⇒ Object
- #FieldList ⇒ Object
- #GroupInfo ⇒ Object
- #IsActive ⇒ Object
- #IsLive ⇒ Object
- #Location ⇒ Object
- #ModelId ⇒ Object
- #ModelName ⇒ Object
- #ParentWID ⇒ Object
- #ParentWIDName ⇒ Object
- #ProductAbility ⇒ Object
- #ProductId ⇒ Object
- #ProductName ⇒ Object
- #SN ⇒ Object
- #SpaceInfoSet ⇒ Object
- #Status ⇒ Object
- #WID ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(wid = nil, devicename = nil, devicetypecode = nil, devicetypename = nil, productid = nil, productname = nil, productability = nil, spaceinfoset = nil, modelid = nil, modelname = nil, devicetagset = nil, isactive = nil, activetime = nil, islive = nil, parentwid = nil, parentwidname = nil, sn = nil, location = nil, fieldlist = nil, groupinfo = nil, devicestatus = nil, status = nil) ⇒ DeviceDataInfo
constructor
A new instance of DeviceDataInfo.
Constructor Details
#initialize(wid = nil, devicename = nil, devicetypecode = nil, devicetypename = nil, productid = nil, productname = nil, productability = nil, spaceinfoset = nil, modelid = nil, modelname = nil, devicetagset = nil, isactive = nil, activetime = nil, islive = nil, parentwid = nil, parentwidname = nil, sn = nil, location = nil, fieldlist = nil, groupinfo = nil, devicestatus = nil, status = nil) ⇒ DeviceDataInfo
Returns a new instance of DeviceDataInfo.
4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 |
# File 'lib/v20230427/models.rb', line 4753 def initialize(wid=nil, devicename=nil, devicetypecode=nil, devicetypename=nil, productid=nil, productname=nil, productability=nil, spaceinfoset=nil, modelid=nil, modelname=nil, =nil, isactive=nil, activetime=nil, islive=nil, parentwid=nil, parentwidname=nil, sn=nil, location=nil, fieldlist=nil, groupinfo=nil, devicestatus=nil, status=nil) @WID = wid @DeviceName = devicename @DeviceTypeCode = devicetypecode @DeviceTypeName = devicetypename @ProductId = productid @ProductName = productname @ProductAbility = productability @SpaceInfoSet = spaceinfoset @ModelId = modelid @ModelName = modelname @DeviceTagSet = @IsActive = isactive @ActiveTime = activetime @IsLive = islive @ParentWID = parentwid @ParentWIDName = parentwidname @SN = sn @Location = location @FieldList = fieldlist @GroupInfo = groupinfo @DeviceStatus = devicestatus @Status = status end |
Instance Attribute Details
#ActiveTime ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def ActiveTime @ActiveTime end |
#DeviceName ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def DeviceName @DeviceName end |
#DeviceStatus ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def DeviceStatus @DeviceStatus end |
#DeviceTagSet ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def DeviceTagSet @DeviceTagSet end |
#DeviceTypeCode ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def DeviceTypeCode @DeviceTypeCode end |
#DeviceTypeName ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def DeviceTypeName @DeviceTypeName end |
#FieldList ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def FieldList @FieldList end |
#GroupInfo ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def GroupInfo @GroupInfo end |
#IsActive ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def IsActive @IsActive end |
#IsLive ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def IsLive @IsLive end |
#Location ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def Location @Location end |
#ModelId ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def ModelId @ModelId end |
#ModelName ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def ModelName @ModelName end |
#ParentWID ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def ParentWID @ParentWID end |
#ParentWIDName ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def ParentWIDName @ParentWIDName end |
#ProductAbility ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def ProductAbility @ProductAbility end |
#ProductId ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def ProductId @ProductId end |
#ProductName ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def ProductName @ProductName end |
#SN ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def SN @SN end |
#SpaceInfoSet ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def SpaceInfoSet @SpaceInfoSet end |
#Status ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def Status @Status end |
#WID ⇒ Object
4751 4752 4753 |
# File 'lib/v20230427/models.rb', line 4751 def WID @WID end |
Instance Method Details
#deserialize(params) ⇒ Object
4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 |
# File 'lib/v20230427/models.rb', line 4778 def deserialize(params) @WID = params['WID'] @DeviceName = params['DeviceName'] @DeviceTypeCode = params['DeviceTypeCode'] @DeviceTypeName = params['DeviceTypeName'] @ProductId = params['ProductId'] @ProductName = params['ProductName'] @ProductAbility = params['ProductAbility'] unless params['SpaceInfoSet'].nil? @SpaceInfoSet = [] params['SpaceInfoSet'].each do |i| devicespaceinfo_tmp = DeviceSpaceInfo.new devicespaceinfo_tmp.deserialize(i) @SpaceInfoSet << devicespaceinfo_tmp end end @ModelId = params['ModelId'] @ModelName = params['ModelName'] @DeviceTagSet = params['DeviceTagSet'] @IsActive = params['IsActive'] @ActiveTime = params['ActiveTime'] @IsLive = params['IsLive'] @ParentWID = params['ParentWID'] @ParentWIDName = params['ParentWIDName'] @SN = params['SN'] unless params['Location'].nil? @Location = DeviceLocation.new @Location.deserialize(params['Location']) end unless params['FieldList'].nil? @FieldList = [] params['FieldList'].each do |i| customfieldinfo_tmp = CustomFieldInfo.new customfieldinfo_tmp.deserialize(i) @FieldList << customfieldinfo_tmp end end @GroupInfo = params['GroupInfo'] @DeviceStatus = params['DeviceStatus'] @Status = params['Status'] end |