Sha256: 51105b258d5353a44f74cd3a2733f149ec77d81781be5e18513d2f61b339f092

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

# Athenian::CalculatedPullRequestMetricsItem

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **_for** | [**ForSetPullRequests**](ForSetPullRequests.md) |  |  |
| **granularity** | **String** | How often the metrics are reported. The value must satisfy the following regular expression: /^all|(([1-9]\\d* )?(aligned )?(day|week|month|year))$/. \"all\" produces a single interval [`date_from`, `date_to`]. \"aligned week/month/year\" produces intervals cut by calendar week/month/year borders, for example, when `date_from` is `2020-01-15` and `date_to` is `2020-03-10`, the intervals will be `2020-01-15` - `2020-02-01` - `2020-03-01` - `2020-03-10`. | [optional] |
| **values** | [**Array<CalculatedLinearMetricValues>**](CalculatedLinearMetricValues.md) | The sequence steps from `date_from` till `date_to` by `granularity`. |  |

## Example

```ruby
require 'athenian'

instance = Athenian::CalculatedPullRequestMetricsItem.new(
  _for: null,
  granularity: 2 week,
  values: null
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
athenian-2.1.86 docs/CalculatedPullRequestMetricsItem.md
athenian-2.1.85 docs/CalculatedPullRequestMetricsItem.md
athenian-2.1.81 docs/CalculatedPullRequestMetricsItem.md