Class: TencentCloud::Weilingwith::V20230427::StatDeviceType
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::StatDeviceType
- 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(total = nil, normal = nil, offline = nil, fault = nil, name = nil, devicetype = nil) ⇒ StatDeviceType
constructor
A new instance of StatDeviceType.
Constructor Details
#initialize(total = nil, normal = nil, offline = nil, fault = nil, name = nil, devicetype = nil) ⇒ StatDeviceType
Returns a new instance of StatDeviceType.
7400 7401 7402 7403 7404 7405 7406 7407 |
# File 'lib/v20230427/models.rb', line 7400 def initialize(total=nil, normal=nil, offline=nil, fault=nil, name=nil, devicetype=nil) @Total = total @Normal = normal @Offline = offline @Fault = fault @Name = name @DeviceType = devicetype end |
Instance Attribute Details
#DeviceType ⇒ Object
7398 7399 7400 |
# File 'lib/v20230427/models.rb', line 7398 def DeviceType @DeviceType end |
#Fault ⇒ Object
7398 7399 7400 |
# File 'lib/v20230427/models.rb', line 7398 def Fault @Fault end |
#Name ⇒ Object
7398 7399 7400 |
# File 'lib/v20230427/models.rb', line 7398 def Name @Name end |
#Normal ⇒ Object
7398 7399 7400 |
# File 'lib/v20230427/models.rb', line 7398 def Normal @Normal end |
#Offline ⇒ Object
7398 7399 7400 |
# File 'lib/v20230427/models.rb', line 7398 def Offline @Offline end |
#Total ⇒ Object
7398 7399 7400 |
# File 'lib/v20230427/models.rb', line 7398 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
7409 7410 7411 7412 7413 7414 7415 7416 |
# File 'lib/v20230427/models.rb', line 7409 def deserialize(params) @Total = params['Total'] @Normal = params['Normal'] @Offline = params['Offline'] @Fault = params['Fault'] @Name = params['Name'] @DeviceType = params['DeviceType'] end |