/** * DevOps API * Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](https://docs.oracle.com/iaas/Content/devops/using/home.htm). * OpenAPI spec version: 20210630 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ /** * Details of the user configured settings for viewing the metrics. */ export interface RepositoryAnalyticsDetails { /** * Email address of the author. */ "authorEmail"?: string; /** * The name of the metric to be filtered. */ "repositoryMetrics": Array; /** * Metrics aggregated for the defined period. */ "aggregationDuration"?: RepositoryAnalyticsDetails.AggregationDuration; /** * The beginning of the metric data query time range. */ "startTime": Date; /** * The end of the metric data query time range. */ "endTime"?: Date; /** * Attribute by which metric data has to be grouped */ "groupBy"?: RepositoryAnalyticsDetails.GroupBy; } export declare namespace RepositoryAnalyticsDetails { enum RepositoryMetrics { Commits = "COMMITS", LinesAdded = "LINES_ADDED", LinesDeleted = "LINES_DELETED", PullRequestCreated = "PULL_REQUEST_CREATED", PullRequestMerged = "PULL_REQUEST_MERGED", PullRequestDeclined = "PULL_REQUEST_DECLINED", PullRequestReviewStartDurationInDays = "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS", PullRequestReviewDurationInDays = "PULL_REQUEST_REVIEW_DURATION_IN_DAYS", PullRequestApproved = "PULL_REQUEST_APPROVED", PullRequestReviewed = "PULL_REQUEST_REVIEWED", PullRequestComments = "PULL_REQUEST_COMMENTS" } enum AggregationDuration { Daily = "DAILY", Weekly = "WEEKLY", Monthly = "MONTHLY", Yearly = "YEARLY" } enum GroupBy { Author = "AUTHOR" } function getJsonObj(obj: RepositoryAnalyticsDetails): object; function getDeserializedJsonObj(obj: RepositoryAnalyticsDetails): object; }