Class: TencentCloud::Dbbrain::V20210527::EventInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::EventInfo
- Defined in:
- lib/v20210527/models.rb
Overview
异常事件信息。
Instance Attribute Summary collapse
- #Count ⇒ Object
- #DiagType ⇒ Object
- #EndTime ⇒ Object
- #EventId ⇒ Object
- #Metric ⇒ Object
- #Outline ⇒ Object
- #ScoreLost ⇒ Object
- #Severity ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventid = nil, diagtype = nil, starttime = nil, endtime = nil, outline = nil, severity = nil, scorelost = nil, metric = nil, count = nil) ⇒ EventInfo
constructor
A new instance of EventInfo.
Constructor Details
#initialize(eventid = nil, diagtype = nil, starttime = nil, endtime = nil, outline = nil, severity = nil, scorelost = nil, metric = nil, count = nil) ⇒ EventInfo
Returns a new instance of EventInfo.
5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 |
# File 'lib/v20210527/models.rb', line 5196 def initialize(eventid=nil, diagtype=nil, starttime=nil, endtime=nil, outline=nil, severity=nil, scorelost=nil, metric=nil, count=nil) @EventId = eventid @DiagType = diagtype @StartTime = starttime @EndTime = endtime @Outline = outline @Severity = severity @ScoreLost = scorelost @Metric = metric @Count = count end |
Instance Attribute Details
#Count ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def Count @Count end |
#DiagType ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def DiagType @DiagType end |
#EndTime ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def EndTime @EndTime end |
#EventId ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def EventId @EventId end |
#Metric ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def Metric @Metric end |
#Outline ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def Outline @Outline end |
#ScoreLost ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def ScoreLost @ScoreLost end |
#Severity ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def Severity @Severity end |
#StartTime ⇒ Object
5194 5195 5196 |
# File 'lib/v20210527/models.rb', line 5194 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 |
# File 'lib/v20210527/models.rb', line 5208 def deserialize(params) @EventId = params['EventId'] @DiagType = params['DiagType'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Outline = params['Outline'] @Severity = params['Severity'] @ScoreLost = params['ScoreLost'] @Metric = params['Metric'] @Count = params['Count'] end |