# Athenian::FilterPullRequestsRequest ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **account** | **Integer** | Session account ID. | | | **date_from** | **Date** | PRs must be updated later than or equal to this date. | | | **date_to** | **Date** | PRs must be updated earlier than or equal to this date. | | | **timezone** | **Integer** | Local time zone offset in minutes, used to adjust `date_from` and `date_to`. | [optional] | | **_in** | **Array<String>** | Set of repositories. An empty list raises a bad response 400. Duplicates are automatically ignored. | | | **events** | [**Array<PullRequestEvent>**](PullRequestEvent.md) | Allowed PR events that happened between `date_from` and `date_to`. | [optional] | | **stages** | [**Array<PullRequestStage>**](PullRequestStage.md) | Allowed PR stages that are defined at `date_to`. | [optional] | | **with** | [**PullRequestWith**](PullRequestWith.md) | | [optional] | | **labels_include** | **Array<String>** | At least one of these labels must be present in each returned PR. | [optional] | | **labels_exclude** | **Array<String>** | None of these labels must be present in each returned PR. | [optional] | | **exclude_inactive** | **Boolean** | Value indicating whether PRs without events in the given time frame shall be ignored. | | | **jira** | [**JIRAFilter**](JIRAFilter.md) | | [optional] | | **updated_from** | **Date** | Paginate the response: the returned PRs are updated on GitHub no older than this timestamp, including the beginning. Note: \"updated on GitHub\" means that we don´t consider release or deployment timestamps. Use this field only to paginate after calling `/paginate/pull_requests`. Subject of future changes. | [optional] | | **updated_to** | **Date** | Paginate the response: the returned PRs are updated on GitHub no later than this timestamp, not including the ending. Note: \"updated on GitHub\" means that we don´t consider release or deployment timestamps. Use this field only to paginate after calling `/paginate/pull_requests`. Subject of future changes. | [optional] | | **limit** | **Integer** | Maximum number of pull requests to return. The list is sorted by the last update timestamp. `null` means no limit. | [optional] | | **environments** | **Array<String>** | Target environments for the deployment events, impacts `events` and `stages`. If omitted, we match any deployment in any environment. | [optional] | ## Example ```ruby require 'athenian' instance = Athenian::FilterPullRequestsRequest.new( account: null, date_from: null, date_to: null, timezone: null, _in: ["github.com/athenianco/athenian-webapp","github.com/athenianco/athenian-api"], events: null, stages: null, with: null, labels_include: null, labels_exclude: null, exclude_inactive: null, jira: null, updated_from: null, updated_to: null, limit: null, environments: null ) ```