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

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • id

      @NotNull public @NotNull String id()
      The ID of the resource.
    • from

      @NotNull public @NotNull String from()
      The email address of a valid user associated with the account making the request.
    • createIncidentNoteRequest

      @Nullable public @Nullable CreateIncidentNoteRequest createIncidentNoteRequest()
    • id

      public CreateIncidentNoteOperationSpec id(@NotNull @NotNull String id)
      The ID of the resource.
      Gibt zurück:
      this.
    • from

      public CreateIncidentNoteOperationSpec from(@NotNull @NotNull String 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

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object