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