Klasse GetLogEntryOperationSpec

java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.GetLogEntryOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class GetLogEntryOperationSpec extends Object
GetLogEntrySpec

Specification for the GetLogEntry operation.

Get a log entry

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetLogEntryOperationSpec

      @Internal public GetLogEntryOperationSpec(Consumer<GetLogEntryOperationSpec> spec)
      Constructs a validated instance of GetLogEntryOperationSpec.
      Parameter:
      spec - the specification to process
    • GetLogEntryOperationSpec

      @Internal public GetLogEntryOperationSpec(String id, String timeZone, String include)
      Constructs a validated instance of GetLogEntryOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      id - The ID of the resource.
      timeZone - Time zone in which results will be rendered. This will default to the account time zone.
      include - Array of additional Models to include in response.
    • GetLogEntryOperationSpec

      protected GetLogEntryOperationSpec()
  • Methodendetails

    • validate

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

    • id

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

      @Nullable public @Nullable String timeZone()
      Time zone in which results will be rendered. This will default to the account time zone.
    • include

      @Nullable public @Nullable String include()
      Array of additional Models to include in response.
    • id

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

      public GetLogEntryOperationSpec timeZone(@Nullable @Nullable String timeZone)
      Time zone in which results will be rendered. This will default to the account time zone.
      Gibt zurück:
      this.
    • include

      public GetLogEntryOperationSpec include(@Nullable @Nullable String include)
      Array of additional Models to include in response.
      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