Package com.dropbox.core.v2.teamlog
Class AdminAlertingAlertStateChangedDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.AdminAlertingAlertStateChangedDetails
-
public class AdminAlertingAlertStateChangedDetails extends java.lang.Object
Changed an alert state.
-
-
Field Summary
Fields Modifier and Type Field Description protected AdminAlertCategoryEnum
alertCategory
protected java.lang.String
alertInstanceId
protected java.lang.String
alertName
protected AdminAlertSeverityEnum
alertSeverity
protected AdminAlertGeneralStateEnum
newValue
protected AdminAlertGeneralStateEnum
previousValue
-
Constructor Summary
Constructors Constructor Description AdminAlertingAlertStateChangedDetails(java.lang.String alertName, AdminAlertSeverityEnum alertSeverity, AdminAlertCategoryEnum alertCategory, java.lang.String alertInstanceId, AdminAlertGeneralStateEnum previousValue, AdminAlertGeneralStateEnum newValue)
Changed an alert state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
AdminAlertCategoryEnum
getAlertCategory()
Alert category.java.lang.String
getAlertInstanceId()
Alert ID.java.lang.String
getAlertName()
Alert name.AdminAlertSeverityEnum
getAlertSeverity()
Alert severity.AdminAlertGeneralStateEnum
getNewValue()
Alert state after the change.AdminAlertGeneralStateEnum
getPreviousValue()
Alert state before the change.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
alertName
protected final java.lang.String alertName
-
alertSeverity
protected final AdminAlertSeverityEnum alertSeverity
-
alertCategory
protected final AdminAlertCategoryEnum alertCategory
-
alertInstanceId
protected final java.lang.String alertInstanceId
-
previousValue
protected final AdminAlertGeneralStateEnum previousValue
-
newValue
protected final AdminAlertGeneralStateEnum newValue
-
-
Constructor Detail
-
AdminAlertingAlertStateChangedDetails
public AdminAlertingAlertStateChangedDetails(java.lang.String alertName, AdminAlertSeverityEnum alertSeverity, AdminAlertCategoryEnum alertCategory, java.lang.String alertInstanceId, AdminAlertGeneralStateEnum previousValue, AdminAlertGeneralStateEnum newValue)
Changed an alert state.- Parameters:
alertName
- Alert name. Must not benull
.alertSeverity
- Alert severity. Must not benull
.alertCategory
- Alert category. Must not benull
.alertInstanceId
- Alert ID. Must not benull
.previousValue
- Alert state before the change. Must not benull
.newValue
- Alert state after the change. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getAlertName
public java.lang.String getAlertName()
Alert name.- Returns:
- value for this field, never
null
.
-
getAlertSeverity
public AdminAlertSeverityEnum getAlertSeverity()
Alert severity.- Returns:
- value for this field, never
null
.
-
getAlertCategory
public AdminAlertCategoryEnum getAlertCategory()
Alert category.- Returns:
- value for this field, never
null
.
-
getAlertInstanceId
public java.lang.String getAlertInstanceId()
Alert ID.- Returns:
- value for this field, never
null
.
-
getPreviousValue
public AdminAlertGeneralStateEnum getPreviousValue()
Alert state before the change.- Returns:
- value for this field, never
null
.
-
getNewValue
public AdminAlertGeneralStateEnum getNewValue()
Alert state after the change.- Returns:
- value for this field, never
null
.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-
-