/**
 * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
 * This product includes software developed at Datadog (https://www.datadoghq.com/).
 * Copyright 2020-Present Datadog, Inc.
 */
import { CIAppCIError } from "./CIAppCIError";
import { CIAppGitInfo } from "./CIAppGitInfo";
import { CIAppHostInfo } from "./CIAppHostInfo";
import { CIAppPipelineEventParentPipeline } from "./CIAppPipelineEventParentPipeline";
import { CIAppPipelineEventPipelineLevel } from "./CIAppPipelineEventPipelineLevel";
import { CIAppPipelineEventPipelineStatus } from "./CIAppPipelineEventPipelineStatus";
import { CIAppPipelineEventPreviousPipeline } from "./CIAppPipelineEventPreviousPipeline";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
 * Details of the top level pipeline, build, or workflow of your CI.
 */
export declare class CIAppPipelineEventPipeline {
    /**
     * Time when the pipeline run finished. It cannot be older than 18 hours in the past from the current time. The time format must be RFC3339.
     */
    "end": Date;
    /**
     * Contains information of the CI error.
     */
    "error"?: CIAppCIError;
    /**
     * If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.
     * Note that either `tag` or `branch` has to be provided, but not both.
     */
    "git": CIAppGitInfo | null;
    /**
     * Whether or not the pipeline was triggered manually by the user.
     */
    "isManual"?: boolean;
    /**
     * Whether or not the pipeline was resumed after being blocked.
     */
    "isResumed"?: boolean;
    /**
     * Used to distinguish between pipelines, stages, jobs, and steps.
     */
    "level": CIAppPipelineEventPipelineLevel;
    /**
     * A list of user-defined metrics. The metrics must follow the `key:value` pattern and the value must be numeric.
     */
    "metrics"?: Array<string>;
    /**
     * Name of the pipeline. All pipeline runs for the builds should have the same name.
     */
    "name": string;
    /**
     * Contains information of the host running the pipeline, stage, job, or step.
     */
    "node"?: CIAppHostInfo;
    /**
     * A map of key-value parameters or environment variables that were defined for the pipeline.
     */
    "parameters"?: {
        [key: string]: string;
    };
    /**
     * If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.
     */
    "parentPipeline"?: CIAppPipelineEventParentPipeline;
    /**
     * Whether or not the pipeline was a partial retry of a previous attempt. A partial retry is one
     * which only runs a subset of the original jobs.
     */
    "partialRetry": boolean;
    /**
     * Any ID used in the provider to identify the pipeline run even if it is not unique across retries.
     * If the `pipeline_id` is unique, then both `unique_id` and `pipeline_id` can be set to the same value.
     */
    "pipelineId"?: string;
    /**
     * If the pipeline is a retry, this should contain the details of the previous attempt.
     */
    "previousAttempt"?: CIAppPipelineEventPreviousPipeline;
    /**
     * The queue time in milliseconds, if applicable.
     */
    "queueTime"?: number;
    /**
     * Time when the pipeline run started (it should not include any queue time). The time format must be RFC3339.
     */
    "start": Date;
    /**
     * The final status of the pipeline.
     */
    "status": CIAppPipelineEventPipelineStatus;
    /**
     * A list of user-defined tags. The tags must follow the `key:value` pattern.
     */
    "tags"?: Array<string>;
    /**
     * UUID of the pipeline run. The ID has to be unique across retries and pipelines,
     * including partial retries.
     */
    "uniqueId": string;
    /**
     * The URL to look at the pipeline in the CI provider UI.
     */
    "url": string;
    /**
     * @ignore
     */
    "_unparsed"?: boolean;
    /**
     * @ignore
     */
    static readonly attributeTypeMap: AttributeTypeMap;
    /**
     * @ignore
     */
    static getAttributeTypeMap(): AttributeTypeMap;
    constructor();
}
