public static final class IncidentsManager.IncidentReviewOptions extends Object
Constructor and Description |
---|
IncidentReviewOptions(long incidentId,
int incidentVersion)
Initializes a new instance of
IncidentsManager.IncidentReviewOptions class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getConfirmed()
Gets a value indicating if incident valid.
|
Long |
getId()
Gets the incident id to report (optional).
|
Integer |
getVersion()
Gets the incident version (optional).
|
IncidentsManager.IncidentReviewOptions |
setConfirmed(boolean value)
Sets a value indicating if incident is valid.
|
IncidentsManager.IncidentReviewOptions |
setId(Long value)
Sets the ID of the incident to review.
|
IncidentsManager.IncidentReviewOptions |
setVersion(Integer value)
Sets the version of the incident to review.
|
String |
toString() |
public IncidentReviewOptions(long incidentId, int incidentVersion)
IncidentsManager.IncidentReviewOptions
class.incidentId
- The ID of the incident to review.incidentVersion
- The version of the incident to review.IncidentsManager.IncidentsManagerException
- Thrown when incidentId
or incidentVersion
is invalid.public IncidentsManager.IncidentReviewOptions setId(Long value)
value
- Incident ID.IncidentsManager.IncidentReviewOptions
class.public IncidentsManager.IncidentReviewOptions setVersion(Integer value)
value
- The incident version.IncidentsManager.IncidentReviewOptions
class.public boolean getConfirmed()
public IncidentsManager.IncidentReviewOptions setConfirmed(boolean value)
value
- true if the incident is valid; otherwise, false.IncidentsManager.IncidentReviewOptions
class.public final Long getId()
public final Integer getVersion()
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.