Class: TencentCloud::Tke::V20180525::KubeJarvisStateInspectionOverview
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::KubeJarvisStateInspectionOverview
- Defined in:
- lib/v20180525/models.rb
Overview
集群巡检检查结果概览
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, statistics = nil, diagnostics = nil) ⇒ KubeJarvisStateInspectionOverview
constructor
A new instance of KubeJarvisStateInspectionOverview.
Constructor Details
#initialize(clusterid = nil, statistics = nil, diagnostics = nil) ⇒ KubeJarvisStateInspectionOverview
Returns a new instance of KubeJarvisStateInspectionOverview.
14120 14121 14122 14123 14124 |
# File 'lib/v20180525/models.rb', line 14120 def initialize(clusterid=nil, statistics=nil, diagnostics=nil) @ClusterId = clusterid @Statistics = statistics @Diagnostics = diagnostics end |
Instance Attribute Details
#ClusterId ⇒ Object
14118 14119 14120 |
# File 'lib/v20180525/models.rb', line 14118 def ClusterId @ClusterId end |
#Diagnostics ⇒ Object
14118 14119 14120 |
# File 'lib/v20180525/models.rb', line 14118 def Diagnostics @Diagnostics end |
#Statistics ⇒ Object
14118 14119 14120 |
# File 'lib/v20180525/models.rb', line 14118 def Statistics @Statistics end |
Instance Method Details
#deserialize(params) ⇒ Object
14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 |
# File 'lib/v20180525/models.rb', line 14126 def deserialize(params) @ClusterId = params['ClusterId'] unless params['Statistics'].nil? @Statistics = [] params['Statistics'].each do |i| kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new kubejarvisstatestatistic_tmp.deserialize(i) @Statistics << kubejarvisstatestatistic_tmp end end unless params['Diagnostics'].nil? @Diagnostics = [] params['Diagnostics'].each do |i| kubejarvisstatediagnosticoverview_tmp = KubeJarvisStateDiagnosticOverview.new kubejarvisstatediagnosticoverview_tmp.deserialize(i) @Diagnostics << kubejarvisstatediagnosticoverview_tmp end end end |