Class: TencentCloud::Tke::V20180525::KubeJarvisStateInspectionResultsItem

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

Overview

集群巡检结果历史列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, statistics = nil) ⇒ KubeJarvisStateInspectionResultsItem

Returns a new instance of KubeJarvisStateInspectionResultsItem.



13368
13369
13370
13371
# File 'lib/v20180525/models.rb', line 13368

def initialize(name=nil, statistics=nil)
  @Name = name
  @Statistics = statistics
end

Instance Attribute Details

#NameObject

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

Parameters:

  • Name:

    巡检结果名称

  • Statistics:

    诊断结果统计



13366
13367
13368
# File 'lib/v20180525/models.rb', line 13366

def Name
  @Name
end

#StatisticsObject

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

Parameters:

  • Name:

    巡检结果名称

  • Statistics:

    诊断结果统计



13366
13367
13368
# File 'lib/v20180525/models.rb', line 13366

def Statistics
  @Statistics
end

Instance Method Details

#deserialize(params) ⇒ Object



13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
# File 'lib/v20180525/models.rb', line 13373

def deserialize(params)
  @Name = params['Name']
  unless params['Statistics'].nil?
    @Statistics = []
    params['Statistics'].each do |i|
      kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new
      kubejarvisstatestatistic_tmp.deserialize(i)
      @Statistics << kubejarvisstatestatistic_tmp
    end
  end
end