@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
52 lines (51 loc) • 1.48 kB
TypeScript
/**
* 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 { SpansAggregateSortType } from "./SpansAggregateSortType";
import { SpansAggregationFunction } from "./SpansAggregationFunction";
import { SpansSortOrder } from "./SpansSortOrder";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* A sort rule.
*/
export declare class SpansAggregateSort {
/**
* An aggregation function.
*/
"aggregation"?: SpansAggregationFunction;
/**
* The metric to sort by (only used for `type=measure`).
*/
"metric"?: string;
/**
* The order to use, ascending or descending.
*/
"order"?: SpansSortOrder;
/**
* The type of sorting algorithm.
*/
"type"?: SpansAggregateSortType;
/**
* A container for additional, undeclared properties.
* This is a holder for any undeclared properties as specified with
* the 'additionalProperties' keyword in the OAS document.
*/
"additionalProperties"?: {
[key: string]: any;
};
/**
* @ignore
*/
"_unparsed"?: boolean;
/**
* @ignore
*/
static readonly attributeTypeMap: AttributeTypeMap;
/**
* @ignore
*/
static getAttributeTypeMap(): AttributeTypeMap;
constructor();
}