UNPKG

@datadog/datadog-api-client

Version:
54 lines (53 loc) 1.54 kB
/** * 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 { AnalysisRequestRule } from "./AnalysisRequestRule"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * The attributes of the analysis request, containing the source code and rules to apply. */ export declare class AnalysisRequestDataAttributes { /** * The base64-encoded source code to analyze. */ "code": string; /** * The encoding of the source code file (must be `utf-8`). */ "fileEncoding": string; /** * The name of the file being analyzed. */ "filename": string; /** * The programming language of the source code. */ "language": string; /** * The list of static analysis rules to apply during analysis. */ "rules": Array<AnalysisRequestRule>; /** * 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(); }