-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate client from commit 7b7ec49c of spec repo
- Loading branch information
ci.datadog-api-spec
committed
Dec 20, 2024
1 parent
e17558a
commit 3575ec8
Showing
6 changed files
with
116 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
packages/datadog-api-client-v2/models/JSONAPIErrorItemSource.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/** | ||
* 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 { AttributeTypeMap } from "../../datadog-api-client-common/util"; | ||
|
||
/** | ||
* References to the source of the error. | ||
*/ | ||
export class JSONAPIErrorItemSource { | ||
/** | ||
* a string indicating the name of a single request header which caused the error. | ||
*/ | ||
"header"?: string; | ||
/** | ||
* A string indicating which URI query parameter caused the error. | ||
*/ | ||
"parameter"?: string; | ||
/** | ||
* A JSON Pointer to the value in the request document that caused the error. | ||
*/ | ||
"pointer"?: string; | ||
|
||
/** | ||
* 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 = { | ||
header: { | ||
baseName: "header", | ||
type: "string", | ||
}, | ||
parameter: { | ||
baseName: "parameter", | ||
type: "string", | ||
}, | ||
pointer: { | ||
baseName: "pointer", | ||
type: "string", | ||
}, | ||
additionalProperties: { | ||
baseName: "additionalProperties", | ||
type: "any", | ||
}, | ||
}; | ||
|
||
/** | ||
* @ignore | ||
*/ | ||
static getAttributeTypeMap(): AttributeTypeMap { | ||
return JSONAPIErrorItemSource.attributeTypeMap; | ||
} | ||
|
||
public constructor() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters