/** * 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 { ConditionOperator } from "./ConditionOperator"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Targeting condition details. A condition is either an inline * predicate with `operator`, `attribute`, and `value`, or a reference to a * saved filter with `saved_filter_id`. The inline fields are omitted for saved-filter * references. */ export declare class Condition { /** * The user or request attribute to evaluate. Omitted for saved-filter references. */ "attribute"?: string; /** * The timestamp when the condition was created. */ "createdAt": Date; /** * The unique identifier of the condition. */ "id": string; /** * The operator used in a targeting condition. */ "operator"?: ConditionOperator; /** * The ID of the saved filter referenced by this condition, or null for inline conditions. */ "savedFilterId"?: string; /** * The timestamp when the condition was last updated. */ "updatedAt": Date; /** * Values used by the selected operator. Omitted for saved-filter references. */ "value"?: Array; /** * 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(); }