public class FeedbackDocument extends Object
Constructor and Description |
---|
FeedbackDocument() |
Modifier and Type | Method and Description |
---|---|
static FeedbackDocument |
from(AlarmFeedback feedback) |
String |
getAlarmKey() |
String |
getFeedbackType() |
Boolean |
getIsRootCause() |
String |
getReason() |
String |
getSituationFingerprint() |
String |
getSituationKey() |
List<String> |
getTags() |
long |
getTimestamp() |
String |
getUser() |
Integer |
getVersion() |
void |
setAlarmKey(String alarmKey) |
void |
setFeedbackType(String feedbackType) |
void |
setIsRootCause(Boolean isRootCause) |
void |
setReason(String reason) |
void |
setSituationFingerprint(String situationFingerprint) |
void |
setSituationKey(String situationKey) |
void |
setTimestamp(long timestamp) |
void |
setUser(String user) |
static AlarmFeedback |
toAlarmFeedback(FeedbackDocument doc) |
public long getTimestamp()
public void setTimestamp(long timestamp)
public Integer getVersion()
public String getAlarmKey()
public void setAlarmKey(String alarmKey)
public String getFeedbackType()
public void setFeedbackType(String feedbackType)
public String getSituationFingerprint()
public void setSituationFingerprint(String situationFingerprint)
public String getSituationKey()
public void setSituationKey(String situationKey)
public String getReason()
public void setReason(String reason)
public Boolean getIsRootCause()
public void setIsRootCause(Boolean isRootCause)
public String getUser()
public void setUser(String user)
public static FeedbackDocument from(AlarmFeedback feedback)
public static AlarmFeedback toAlarmFeedback(FeedbackDocument doc)
Copyright © 2021. All rights reserved.