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
14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 |
# File 'lib/v20180525/models.rb', line 14031 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
14029 14030 14031 |
# File 'lib/v20180525/models.rb', line 14029 def Catalogues @Catalogues end |
#Desc ⇒ Object
14029 14030 14031 |
# File 'lib/v20180525/models.rb', line 14029 def Desc @Desc end |
#EndTime ⇒ Object
14029 14030 14031 |
# File 'lib/v20180525/models.rb', line 14029 def EndTime @EndTime end |
#Name ⇒ Object
14029 14030 14031 |
# File 'lib/v20180525/models.rb', line 14029 def Name @Name end |
#Results ⇒ Object
14029 14030 14031 |
# File 'lib/v20180525/models.rb', line 14029 def Results @Results end |
#StartTime ⇒ Object
14029 14030 14031 |
# File 'lib/v20180525/models.rb', line 14029 def StartTime @StartTime end |
#Statistics ⇒ Object
14029 14030 14031 |
# File 'lib/v20180525/models.rb', line 14029 def Statistics @Statistics end |
#Type ⇒ Object
14029 14030 14031 |
# File 'lib/v20180525/models.rb', line 14029 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 |
# File 'lib/v20180525/models.rb', line 14042 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 |