Class: TencentCloud::Tke::V20180525::KubeJarvisStateDiagnostic
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::KubeJarvisStateDiagnostic
- Defined in:
- lib/v20180525/models.rb
Overview
集群巡检诊断结果
Instance Attribute Summary collapse
- #Catalogues ⇒ Object
- #Desc ⇒ Object
- #EndTime ⇒ Object
- #Name ⇒ Object
- #Results ⇒ Object
- #StartTime ⇒ Object
- #Statistics ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(starttime = nil, endtime = nil, catalogues = nil, type = nil, name = nil, desc = nil, results = nil, statistics = nil) ⇒ KubeJarvisStateDiagnostic
constructor
A new instance of KubeJarvisStateDiagnostic.
Constructor Details
#initialize(starttime = nil, endtime = nil, catalogues = nil, type = nil, name = nil, desc = nil, results = nil, statistics = nil) ⇒ KubeJarvisStateDiagnostic
Returns a new instance of KubeJarvisStateDiagnostic.
14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 |
# File 'lib/v20180525/models.rb', line 14400 def initialize(starttime=nil, endtime=nil, catalogues=nil, type=nil, name=nil, desc=nil, results=nil, statistics=nil) @StartTime = starttime @EndTime = endtime @Catalogues = catalogues @Type = type @Name = name @Desc = desc @Results = results @Statistics = statistics end |
Instance Attribute Details
#Catalogues ⇒ Object
14398 14399 14400 |
# File 'lib/v20180525/models.rb', line 14398 def Catalogues @Catalogues end |
#Desc ⇒ Object
14398 14399 14400 |
# File 'lib/v20180525/models.rb', line 14398 def Desc @Desc end |
#EndTime ⇒ Object
14398 14399 14400 |
# File 'lib/v20180525/models.rb', line 14398 def EndTime @EndTime end |
#Name ⇒ Object
14398 14399 14400 |
# File 'lib/v20180525/models.rb', line 14398 def Name @Name end |
#Results ⇒ Object
14398 14399 14400 |
# File 'lib/v20180525/models.rb', line 14398 def Results @Results end |
#StartTime ⇒ Object
14398 14399 14400 |
# File 'lib/v20180525/models.rb', line 14398 def StartTime @StartTime end |
#Statistics ⇒ Object
14398 14399 14400 |
# File 'lib/v20180525/models.rb', line 14398 def Statistics @Statistics end |
#Type ⇒ Object
14398 14399 14400 |
# File 'lib/v20180525/models.rb', line 14398 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 |
# File 'lib/v20180525/models.rb', line 14411 def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] unless params['Catalogues'].nil? @Catalogues = [] params['Catalogues'].each do |i| kubejarvisstatecatalogue_tmp = KubeJarvisStateCatalogue.new kubejarvisstatecatalogue_tmp.deserialize(i) @Catalogues << kubejarvisstatecatalogue_tmp end end @Type = params['Type'] @Name = params['Name'] @Desc = params['Desc'] unless params['Results'].nil? @Results = [] params['Results'].each do |i| kubejarvisstateresultsitem_tmp = KubeJarvisStateResultsItem.new kubejarvisstateresultsitem_tmp.deserialize(i) @Results << kubejarvisstateresultsitem_tmp end end unless params['Statistics'].nil? @Statistics = [] params['Statistics'].each do |i| kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new kubejarvisstatestatistic_tmp.deserialize(i) @Statistics << kubejarvisstatestatistic_tmp end end end |