Class: TencentCloud::Weilingwith::V20230427::DeviceTypeOverview

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230427/models.rb

Overview

设备类型概览信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(devicetype = nil, name = nil, total = nil, normal = nil, offline = nil, fault = nil) ⇒ 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

#DeviceTypeObject



5227
5228
5229
# File 'lib/v20230427/models.rb', line 5227

def DeviceType
  @DeviceType
end

#FaultObject



5227
5228
5229
# File 'lib/v20230427/models.rb', line 5227

def Fault
  @Fault
end

#NameObject



5227
5228
5229
# File 'lib/v20230427/models.rb', line 5227

def Name
  @Name
end

#NormalObject



5227
5228
5229
# File 'lib/v20230427/models.rb', line 5227

def Normal
  @Normal
end

#OfflineObject



5227
5228
5229
# File 'lib/v20230427/models.rb', line 5227

def Offline
  @Offline
end

#TotalObject



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