View Javadoc

1   package com.atlassian.jira.rest.client.api.domain.input;
2   
3   import org.joda.time.DateTime;
4   
5   import javax.annotation.Nullable;
6   
7   /**
8    * Input data for searching audit records
9    *
10   * @since v2.0.0
11   */
12  public class AuditRecordSearchInput {
13  
14      @Nullable
15      private final Integer offset;
16      @Nullable
17      private final Integer limit;
18      @Nullable
19      private final String textFilter;
20      @Nullable
21      private final DateTime from;
22      @Nullable
23      private final DateTime to;
24  
25      public AuditRecordSearchInput(final Integer offset, final Integer limit, final String textFilter, final DateTime from, final DateTime to) {
26          this.offset = offset;
27          this.limit = limit;
28          this.textFilter = textFilter;
29          this.from = from;
30          this.to = to;
31      }
32  
33      @Nullable
34      public Integer getOffset() {
35          return offset;
36      }
37  
38      @Nullable
39      public Integer getLimit() {
40          return limit;
41      }
42  
43      @Nullable
44      public String getTextFilter() {
45          return textFilter;
46      }
47  
48      @Nullable
49      public DateTime getFrom() {
50          return from;
51      }
52  
53      @Nullable
54      public DateTime getTo() {
55          return to;
56      }
57  }