Sha256: be4d528965a599e6eccf6a8435dd5f61e7aaf8af5ab893ea16a6eee2edf43a82

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

# Athenian::CodeCheckMetricsRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **_for** | [**Array<ForSetCodeChecks>**](ForSetCodeChecks.md) | Sets of developers and repositories for which to calculate the metrics. The aggregation is `AND` between repositories and developers. The aggregation is `OR` inside both repositories and developers. |  |
| **metrics** | [**Array<CodeCheckMetricID>**](CodeCheckMetricID.md) | Requested metric identifiers. |  |
| **date_from** | **Date** | Date from when to start measuring the metrics. |  |
| **date_to** | **Date** | Date until which to measure the metrics. |  |
| **timezone** | **Integer** | Local time zone offset in minutes, used to adjust `date_from` and `date_to`. | [optional] |
| **granularities** | **Array<String>** | The splits of the specified time range. |  |
| **quantiles** | **Array<Float>** | Cut the distributions at certain quantiles. The default values are [0, 1] which means no cutting. | [optional] |
| **account** | **Integer** | Session account ID. |  |
| **split_by_check_runs** | **Boolean** | Calculate metrics separately for each number of check runs in suite. | [optional] |

## Example

```ruby
require 'athenian'

instance = Athenian::CodeCheckMetricsRequest.new(
  _for: null,
  metrics: null,
  date_from: null,
  date_to: null,
  timezone: null,
  granularities: null,
  quantiles: [0,0.95],
  account: null,
  split_by_check_runs: null
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

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