@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
63 lines (62 loc) • 1.66 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 { CreateVariant } from "./CreateVariant";
import { ValueType } from "./ValueType";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* Attributes for creating a new feature flag.
*/
export declare class CreateFeatureFlagAttributes {
/**
* The key of the default variant.
*/
"defaultVariantKey"?: string;
/**
* The description of the feature flag.
*/
"description": string;
/**
* JSON schema for validation when value_type is JSON.
*/
"jsonSchema"?: string;
/**
* The unique key of the feature flag.
*/
"key": string;
/**
* The name of the feature flag.
*/
"name": string;
/**
* The type of values for the feature flag variants.
*/
"valueType": ValueType;
/**
* The variants of the feature flag.
*/
"variants": Array<CreateVariant>;
/**
* 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();
}