Class GetFailedWebhooksOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetFailedWebhooksOperationSpec

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

Specification for the GetFailedWebhooks operation.

Get failed webhooks

  • Field Details

    • VALIDATION_ENABLED

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

    • GetFailedWebhooksOperationSpec

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

      @Internal public GetFailedWebhooksOperationSpec(Integer maxResults, Long after)
      Constructs a validated instance of GetFailedWebhooksOperationSpec.

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

      Parameters:
      maxResults - The maximum number of webhooks to return per page. If obeying the maxResults directive would result in records with the same failure time being split across pages, the directive is ignored and all records with the same failure time included on the page.
      after - The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch.
    • GetFailedWebhooksOperationSpec

      protected GetFailedWebhooksOperationSpec()
  • Method Details

    • validate

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

    • maxResults

      @Nullable public @Nullable Integer maxResults()
      The maximum number of webhooks to return per page. If obeying the maxResults directive would result in records with the same failure time being split across pages, the directive is ignored and all records with the same failure time included on the page.
    • after

      @Nullable public @Nullable Long after()
      The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch.
    • maxResults

      public GetFailedWebhooksOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of webhooks to return per page. If obeying the maxResults directive would result in records with the same failure time being split across pages, the directive is ignored and all records with the same failure time included on the page.
      Returns:
      this.
    • after

      public GetFailedWebhooksOperationSpec after(@Nullable @Nullable Long after)
      The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object