Class: TencentCloud::Tke::V20180525::KubeJarvisStateResultsItem

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

Overview

集群巡检诊断结果详情信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(level = nil, objname = nil, objinfo = nil, title = nil, desc = nil, proposal = nil, proposaldocurl = nil, proposaldocname = nil) ⇒ KubeJarvisStateResultsItem



13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
# File 'lib/v20180525/models.rb', line 13565

def initialize(level=nil, objname=nil, objinfo=nil, title=nil, desc=nil, proposal=nil, proposaldocurl=nil, proposaldocname=nil)
  @Level = level
  @ObjName = objname
  @ObjInfo = objinfo
  @Title = title
  @Desc = desc
  @Proposal = proposal
  @ProposalDocUrl = proposaldocurl
  @ProposalDocName = proposaldocname
end

Instance Attribute Details

#DescObject

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



13563
13564
13565
# File 'lib/v20180525/models.rb', line 13563

def Desc
  @Desc
end

#LevelObject

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



13563
13564
13565
# File 'lib/v20180525/models.rb', line 13563

def Level
  @Level
end

#ObjInfoObject

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



13563
13564
13565
# File 'lib/v20180525/models.rb', line 13563

def ObjInfo
  @ObjInfo
end

#ObjNameObject

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



13563
13564
13565
# File 'lib/v20180525/models.rb', line 13563

def ObjName
  @ObjName
end

#ProposalObject

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



13563
13564
13565
# File 'lib/v20180525/models.rb', line 13563

def Proposal
  @Proposal
end

#ProposalDocNameObject

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



13563
13564
13565
# File 'lib/v20180525/models.rb', line 13563

def ProposalDocName
  @ProposalDocName
end

#ProposalDocUrlObject

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



13563
13564
13565
# File 'lib/v20180525/models.rb', line 13563

def ProposalDocUrl
  @ProposalDocUrl
end

#TitleObject

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



13563
13564
13565
# File 'lib/v20180525/models.rb', line 13563

def Title
  @Title
end

Instance Method Details

#deserialize(params) ⇒ Object



13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
# File 'lib/v20180525/models.rb', line 13576

def deserialize(params)
  @Level = params['Level']
  @ObjName = params['ObjName']
  unless params['ObjInfo'].nil?
    @ObjInfo = []
    params['ObjInfo'].each do |i|
      kubejarvisstateresultobjinfo_tmp = KubeJarvisStateResultObjInfo.new
      kubejarvisstateresultobjinfo_tmp.deserialize(i)
      @ObjInfo << kubejarvisstateresultobjinfo_tmp
    end
  end
  @Title = params['Title']
  @Desc = params['Desc']
  @Proposal = params['Proposal']
  @ProposalDocUrl = params['ProposalDocUrl']
  @ProposalDocName = params['ProposalDocName']
end