File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
src/main/java/com/redhat/podmortem/common/model/analysis Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ package com .redhat .podmortem .common .model .analysis ;
2+
3+ import com .fasterxml .jackson .annotation .JsonProperty ;
4+ import java .util .Map ;
5+
6+ public class AnalysisSummary {
7+ @ JsonProperty ("significant_events" )
8+ private int significantEvents ;
9+
10+ @ JsonProperty ("highest_severity" )
11+ private String highestSeverity ;
12+
13+ @ JsonProperty ("severity_distribution" )
14+ private Map <String , Long > severityDistribution ;
15+
16+ public int getSignificantEvents () {
17+ return significantEvents ;
18+ }
19+
20+ public void setSignificantEvents (int significantEvents ) {
21+ this .significantEvents = significantEvents ;
22+ }
23+
24+ public String getHighestSeverity () {
25+ return highestSeverity ;
26+ }
27+
28+ public void setHighestSeverity (String highestSeverity ) {
29+ this .highestSeverity = highestSeverity ;
30+ }
31+
32+ public Map <String , Long > getSeverityDistribution () {
33+ return severityDistribution ;
34+ }
35+
36+ public void setSeverityDistribution (Map <String , Long > severityDistribution ) {
37+ this .severityDistribution = severityDistribution ;
38+ }
39+ }
You can’t perform that action at this time.
0 commit comments