Class: TencentCloud::Dbbrain::V20191016::EventInfo

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

Overview

异常事件信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventid = nil, diagtype = nil, starttime = nil, endtime = nil, outline = nil, severity = nil, scorelost = nil, metric = nil, count = nil) ⇒ EventInfo



1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
# File 'lib/v20191016/models.rb', line 1780

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

#CountObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def Count
  @Count
end

#DiagTypeObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def DiagType
  @DiagType
end

#EndTimeObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def EndTime
  @EndTime
end

#EventIdObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def EventId
  @EventId
end

#MetricObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def Metric
  @Metric
end

#OutlineObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def Outline
  @Outline
end

#ScoreLostObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def ScoreLost
  @ScoreLost
end

#SeverityObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def Severity
  @Severity
end

#StartTimeObject



1778
1779
1780
# File 'lib/v20191016/models.rb', line 1778

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
# File 'lib/v20191016/models.rb', line 1792

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