Klasse GetIncidentAlertOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.GetIncidentAlertOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetIncidentAlertOperationSpec
extends Object
GetIncidentAlertSpec
Specification for the GetIncidentAlert operation.
Get an alert
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
GetIncidentAlertOperationSpec
(String id, String alertId) Constructs a validated instance ofGetIncidentAlertOperationSpec
.Constructs a validated instance ofGetIncidentAlertOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull String
alertId()
The id of the alert to retrieve.The id of the alert to retrieve.builder()
protected boolean
boolean
int
hashCode()
@NotNull String
id()
The ID of the resource.The ID of the resource.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetIncidentAlertOperationSpec
Constructs a validated instance ofGetIncidentAlertOperationSpec
.- Parameter:
spec
- the specification to process
-
GetIncidentAlertOperationSpec
Constructs a validated instance ofGetIncidentAlertOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id
- The ID of the resource.alertId
- The id of the alert to retrieve.
-
GetIncidentAlertOperationSpec
protected GetIncidentAlertOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
id
The ID of the resource. -
alertId
The id of the alert to retrieve. -
id
The ID of the resource.- Gibt zurück:
this
.
-
alertId
The id of the alert to retrieve.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-