Class: TencentCloud::Tke::V20180525::KubeJarvisStateDiagnosticOverview

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

Overview

集群巡检诊断概览

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(catalogues = nil, statistics = nil) ⇒ KubeJarvisStateDiagnosticOverview

Returns a new instance of KubeJarvisStateDiagnosticOverview.



13235
13236
13237
13238
# File 'lib/v20180525/models.rb', line 13235

def initialize(catalogues=nil, statistics=nil)
  @Catalogues = catalogues
  @Statistics = statistics
end

Instance Attribute Details

#CataloguesObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Catalogues:

    诊断目录

  • Statistics:

    诊断结果统计



13233
13234
13235
# File 'lib/v20180525/models.rb', line 13233

def Catalogues
  @Catalogues
end

#StatisticsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Catalogues:

    诊断目录

  • Statistics:

    诊断结果统计



13233
13234
13235
# File 'lib/v20180525/models.rb', line 13233

def Statistics
  @Statistics
end

Instance Method Details

#deserialize(params) ⇒ Object



13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
# File 'lib/v20180525/models.rb', line 13240

def deserialize(params)
  unless params['Catalogues'].nil?
    @Catalogues = []
    params['Catalogues'].each do |i|
      kubejarvisstatecatalogue_tmp = KubeJarvisStateCatalogue.new
      kubejarvisstatecatalogue_tmp.deserialize(i)
      @Catalogues << kubejarvisstatecatalogue_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