Class GetAuditRecordsOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetAuditRecordsOperationSpec

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

Specification for the GetAuditRecords operation.

Get audit records

  • Field Details

    • VALIDATION_ENABLED

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

    • GetAuditRecordsOperationSpec

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

      @Internal public GetAuditRecordsOperationSpec(Integer offset, Integer limit, String filter, String from, String to)
      Constructs a validated instance of GetAuditRecordsOperationSpec.

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

      Parameters:
      offset - The number of records to skip before returning the first result.
      limit - The maximum number of results to return.
      filter - The strings to match with audit field content, space separated.
      from - The date and time on or after which returned audit records must have been created. If to is provided from must be before to or no audit records are returned.
      to - The date and time on or before which returned audit results must have been created. If from is provided to must be after from or no audit records are returned.
    • GetAuditRecordsOperationSpec

      protected GetAuditRecordsOperationSpec()
  • Method Details

    • validate

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

    • offset

      @Nullable public @Nullable Integer offset()
      The number of records to skip before returning the first result.
    • limit

      @Nullable public @Nullable Integer limit()
      The maximum number of results to return.
    • filter

      @Nullable public @Nullable String filter()
      The strings to match with audit field content, space separated.
    • from

      @Nullable public @Nullable String from()
      The date and time on or after which returned audit records must have been created. If to is provided from must be before to or no audit records are returned.
    • to

      @Nullable public @Nullable String to()
      The date and time on or before which returned audit results must have been created. If from is provided to must be after from or no audit records are returned.
    • offset

      public GetAuditRecordsOperationSpec offset(@Nullable @Nullable Integer offset)
      The number of records to skip before returning the first result.
      Returns:
      this.
    • limit

      public GetAuditRecordsOperationSpec limit(@Nullable @Nullable Integer limit)
      The maximum number of results to return.
      Returns:
      this.
    • filter

      public GetAuditRecordsOperationSpec filter(@Nullable @Nullable String filter)
      The strings to match with audit field content, space separated.
      Returns:
      this.
    • from

      public GetAuditRecordsOperationSpec from(@Nullable @Nullable String from)
      The date and time on or after which returned audit records must have been created. If to is provided from must be before to or no audit records are returned.
      Returns:
      this.
    • to

      public GetAuditRecordsOperationSpec to(@Nullable @Nullable String to)
      The date and time on or before which returned audit results must have been created. If from is provided to must be after from or no audit records are returned.
      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