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.
13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 |
# File 'lib/v20180525/models.rb', line 13321 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
13319 13320 13321 |
# File 'lib/v20180525/models.rb', line 13319 def Catalogues @Catalogues end |
#Desc ⇒ Object
13319 13320 13321 |
# File 'lib/v20180525/models.rb', line 13319 def Desc @Desc end |
#EndTime ⇒ Object
13319 13320 13321 |
# File 'lib/v20180525/models.rb', line 13319 def EndTime @EndTime end |
#Name ⇒ Object
13319 13320 13321 |
# File 'lib/v20180525/models.rb', line 13319 def Name @Name end |
#Results ⇒ Object
13319 13320 13321 |
# File 'lib/v20180525/models.rb', line 13319 def Results @Results end |
#StartTime ⇒ Object
13319 13320 13321 |
# File 'lib/v20180525/models.rb', line 13319 def StartTime @StartTime end |
#Statistics ⇒ Object
13319 13320 13321 |
# File 'lib/v20180525/models.rb', line 13319 def Statistics @Statistics end |
#Type ⇒ Object
13319 13320 13321 |
# File 'lib/v20180525/models.rb', line 13319 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 |
# File 'lib/v20180525/models.rb', line 13332 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 |