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
@Nonnull protected final java.lang.String alertName
-
alertSeverity
@Nonnull protected final AdminAlertSeverityEnum alertSeverity
-
alertCategory
@Nonnull protected final AdminAlertCategoryEnum alertCategory
-
alertInstanceId
@Nonnull protected final java.lang.String alertInstanceId
-
previousValue
@Nonnull protected final AdminAlertGeneralStateEnum previousValue
-
newValue
@Nonnull protected final AdminAlertGeneralStateEnum newValue
-
-
Constructor Detail
-
AdminAlertingAlertStateChangedDetails
public AdminAlertingAlertStateChangedDetails(@Nonnull java.lang.String alertName, @Nonnull AdminAlertSeverityEnum alertSeverity, @Nonnull AdminAlertCategoryEnum alertCategory, @Nonnull java.lang.String alertInstanceId, @Nonnull AdminAlertGeneralStateEnum previousValue, @Nonnull 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
@Nonnull public java.lang.String getAlertName()
Alert name.- Returns:
- value for this field, never
null
.
-
getAlertSeverity
@Nonnull public AdminAlertSeverityEnum getAlertSeverity()
Alert severity.- Returns:
- value for this field, never
null
.
-
getAlertCategory
@Nonnull public AdminAlertCategoryEnum getAlertCategory()
Alert category.- Returns:
- value for this field, never
null
.
-
getAlertInstanceId
@Nonnull public java.lang.String getAlertInstanceId()
Alert ID.- Returns:
- value for this field, never
null
.
-
getPreviousValue
@Nonnull public AdminAlertGeneralStateEnum getPreviousValue()
Alert state before the change.- Returns:
- value for this field, never
null
.
-
getNewValue
@Nonnull 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
-
-