Show / Hide Table of Contents

Class RepositoryMetricSummary

The metrics details of a repository resource.

Inheritance
object
RepositoryMetricSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class RepositoryMetricSummary

Properties

Count

Declaration
[JsonProperty(PropertyName = "count")]
public double Count { get; set; }
Property Value
Type Description
double

Represents the total number of the metric being calculated.

Dimensions

Declaration
[JsonProperty(PropertyName = "dimensions")]
public Dictionary<string, string> Dimensions { get; set; }
Property Value
Type Description
Dictionary<string, string>

The qualifiers provided in the definition of the returned metric.

DurationInSeconds

Declaration
[JsonProperty(PropertyName = "durationInSeconds")]
public long? DurationInSeconds { get; set; }
Property Value
Type Description
long?

The duration of the returned aggregated data in seconds.

MetricName

Declaration
[JsonProperty(PropertyName = "metricName")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MetricName? MetricName { get; set; }
Property Value
Type Description
MetricName?

Type of metric

StartTimestampInEpochSeconds

Declaration
[JsonProperty(PropertyName = "startTimestampInEpochSeconds")]
public long? StartTimestampInEpochSeconds { get; set; }
Property Value
Type Description
long?

The start time associated with the value of the metric.

Sum

Declaration
[JsonProperty(PropertyName = "sum")]
public double Sum { get; set; }
Property Value
Type Description
double

Represents the total duration in days calculated corresponding to the total no. of PRs. This is used only for "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS" and "PULL_REQUEST_REVIEW_DURATION_IN_DAYS" metrics.

In this article
Back to top