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.
13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 |
# File 'lib/v20180525/models.rb', line 13101 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
13099 13100 13101 |
# File 'lib/v20180525/models.rb', line 13099 def Catalogues @Catalogues end |
#Desc ⇒ Object
13099 13100 13101 |
# File 'lib/v20180525/models.rb', line 13099 def Desc @Desc end |
#EndTime ⇒ Object
13099 13100 13101 |
# File 'lib/v20180525/models.rb', line 13099 def EndTime @EndTime end |
#Name ⇒ Object
13099 13100 13101 |
# File 'lib/v20180525/models.rb', line 13099 def Name @Name end |
#Results ⇒ Object
13099 13100 13101 |
# File 'lib/v20180525/models.rb', line 13099 def Results @Results end |
#StartTime ⇒ Object
13099 13100 13101 |
# File 'lib/v20180525/models.rb', line 13099 def StartTime @StartTime end |
#Statistics ⇒ Object
13099 13100 13101 |
# File 'lib/v20180525/models.rb', line 13099 def Statistics @Statistics end |
#Type ⇒ Object
13099 13100 13101 |
# File 'lib/v20180525/models.rb', line 13099 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 |
# File 'lib/v20180525/models.rb', line 13112 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 |