Klasse CreateIncidentNoteOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateIncidentNoteOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateIncidentNoteOperationSpec
extends Object
CreateIncidentNoteSpec
Specification for the CreateIncidentNote operation.
Create a note on an incident
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreateIncidentNoteOperationSpec(String id, String from, CreateIncidentNoteRequest createIncidentNoteRequest) Constructs a validated instance ofCreateIncidentNoteOperationSpec.Constructs a validated instance ofCreateIncidentNoteOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable CreateIncidentNoteRequestcreateIncidentNoteRequest(@Nullable CreateIncidentNoteRequest createIncidentNoteRequest) boolean@NotNull Stringfrom()The email address of a valid user associated with the account making the request.The email address of a valid user associated with the account making the request.inthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.toString()voidvalidate()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
-
CreateIncidentNoteOperationSpec
Constructs a validated instance ofCreateIncidentNoteOperationSpec.- Parameter:
spec- the specification to process
-
CreateIncidentNoteOperationSpec
@Internal public CreateIncidentNoteOperationSpec(String id, String from, CreateIncidentNoteRequest createIncidentNoteRequest) Constructs a validated instance ofCreateIncidentNoteOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.from- The email address of a valid user associated with the account making the request.createIncidentNoteRequest-
-
CreateIncidentNoteOperationSpec
protected CreateIncidentNoteOperationSpec()
-
-
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. -
from
The email address of a valid user associated with the account making the request. -
createIncidentNoteRequest
-
id
The ID of the resource.- Gibt zurück:
this.
-
from
The email address of a valid user associated with the account making the request.- Gibt zurück:
this.
-
createIncidentNoteRequest
public CreateIncidentNoteOperationSpec createIncidentNoteRequest(@Nullable @Nullable CreateIncidentNoteRequest createIncidentNoteRequest) - Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-