Class: TencentCloud::Weilingwith::V20230427::DeviceTypeOverview
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::DeviceTypeOverview
- Defined in:
- lib/v20230427/models.rb
Overview
设备类型概览信息
Instance Attribute Summary collapse
- #DeviceType ⇒ Object
- #Fault ⇒ Object
- #Name ⇒ Object
- #Normal ⇒ Object
- #Offline ⇒ Object
- #Total ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(devicetype = nil, name = nil, total = nil, normal = nil, offline = nil, fault = nil) ⇒ DeviceTypeOverview
constructor
A new instance of DeviceTypeOverview.
Constructor Details
#initialize(devicetype = nil, name = nil, total = nil, normal = nil, offline = nil, fault = nil) ⇒ DeviceTypeOverview
Returns a new instance of DeviceTypeOverview.
5229 5230 5231 5232 5233 5234 5235 5236 |
# File 'lib/v20230427/models.rb', line 5229 def initialize(devicetype=nil, name=nil, total=nil, normal=nil, offline=nil, fault=nil) @DeviceType = devicetype @Name = name @Total = total @Normal = normal @Offline = offline @Fault = fault end |
Instance Attribute Details
#DeviceType ⇒ Object
5227 5228 5229 |
# File 'lib/v20230427/models.rb', line 5227 def DeviceType @DeviceType end |
#Fault ⇒ Object
5227 5228 5229 |
# File 'lib/v20230427/models.rb', line 5227 def Fault @Fault end |
#Name ⇒ Object
5227 5228 5229 |
# File 'lib/v20230427/models.rb', line 5227 def Name @Name end |
#Normal ⇒ Object
5227 5228 5229 |
# File 'lib/v20230427/models.rb', line 5227 def Normal @Normal end |
#Offline ⇒ Object
5227 5228 5229 |
# File 'lib/v20230427/models.rb', line 5227 def Offline @Offline end |
#Total ⇒ Object
5227 5228 5229 |
# File 'lib/v20230427/models.rb', line 5227 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5238 5239 5240 5241 5242 5243 5244 5245 |
# File 'lib/v20230427/models.rb', line 5238 def deserialize(params) @DeviceType = params['DeviceType'] @Name = params['Name'] @Total = params['Total'] @Normal = params['Normal'] @Offline = params['Offline'] @Fault = params['Fault'] end |