Skip to content

Commit 87691f9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b2126cb8 of spec repo
1 parent e5b72a9 commit 87691f9

File tree

6 files changed

+74
-12
lines changed

6 files changed

+74
-12
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-06-13 08:10:05.511357",
8-
"spec_repo_commit": "eb5da65e"
7+
"regenerated": "2024-06-14 08:39:19.700777",
8+
"spec_repo_commit": "b2126cb8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-06-13 08:10:05.529041",
13-
"spec_repo_commit": "eb5da65e"
12+
"regenerated": "2024-06-14 08:39:19.718784",
13+
"spec_repo_commit": "b2126cb8"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -10568,8 +10568,14 @@ components:
1056810568
ListAPIsResponseData:
1056910569
description: Data envelope for `ListAPIsResponse`.
1057010570
properties:
10571+
attributes:
10572+
$ref: '#/components/schemas/ListAPIsResponseDataAttributes'
1057110573
id:
1057210574
$ref: '#/components/schemas/ApiID'
10575+
type: object
10576+
ListAPIsResponseDataAttributes:
10577+
description: Attributes for `ListAPIsResponseData`.
10578+
properties:
1057310579
name:
1057410580
description: API name.
1057510581
example: Payments API

packages/datadog-api-client-v2/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,7 @@ export { JSONAPIErrorItem } from "./models/JSONAPIErrorItem";
11361136
export { JSONAPIErrorResponse } from "./models/JSONAPIErrorResponse";
11371137
export { ListAPIsResponse } from "./models/ListAPIsResponse";
11381138
export { ListAPIsResponseData } from "./models/ListAPIsResponseData";
1139+
export { ListAPIsResponseDataAttributes } from "./models/ListAPIsResponseDataAttributes";
11391140
export { ListAPIsResponseMeta } from "./models/ListAPIsResponseMeta";
11401141
export { ListAPIsResponseMetaPagination } from "./models/ListAPIsResponseMetaPagination";
11411142
export { ListApplicationKeysResponse } from "./models/ListApplicationKeysResponse";

packages/datadog-api-client-v2/models/ListAPIsResponseData.ts

+9-8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* This product includes software developed at Datadog (https://www.datadoghq.com/).
44
* Copyright 2020-Present Datadog, Inc.
55
*/
6+
import { ListAPIsResponseDataAttributes } from "./ListAPIsResponseDataAttributes";
67

78
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
89

@@ -11,13 +12,13 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1112
*/
1213
export class ListAPIsResponseData {
1314
/**
14-
* API identifier.
15+
* Attributes for `ListAPIsResponseData`.
1516
*/
16-
"id"?: string;
17+
"attributes"?: ListAPIsResponseDataAttributes;
1718
/**
18-
* API name.
19+
* API identifier.
1920
*/
20-
"name"?: string;
21+
"id"?: string;
2122

2223
/**
2324
* A container for additional, undeclared properties.
@@ -35,15 +36,15 @@ export class ListAPIsResponseData {
3536
* @ignore
3637
*/
3738
static readonly attributeTypeMap: AttributeTypeMap = {
39+
attributes: {
40+
baseName: "attributes",
41+
type: "ListAPIsResponseDataAttributes",
42+
},
3843
id: {
3944
baseName: "id",
4045
type: "string",
4146
format: "uuid",
4247
},
43-
name: {
44-
baseName: "name",
45-
type: "string",
46-
},
4748
additionalProperties: {
4849
baseName: "additionalProperties",
4950
type: "any",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/**
2+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4+
* Copyright 2020-Present Datadog, Inc.
5+
*/
6+
7+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8+
9+
/**
10+
* Attributes for `ListAPIsResponseData`.
11+
*/
12+
export class ListAPIsResponseDataAttributes {
13+
/**
14+
* API name.
15+
*/
16+
"name"?: string;
17+
18+
/**
19+
* A container for additional, undeclared properties.
20+
* This is a holder for any undeclared properties as specified with
21+
* the 'additionalProperties' keyword in the OAS document.
22+
*/
23+
"additionalProperties"?: { [key: string]: any };
24+
25+
/**
26+
* @ignore
27+
*/
28+
"_unparsed"?: boolean;
29+
30+
/**
31+
* @ignore
32+
*/
33+
static readonly attributeTypeMap: AttributeTypeMap = {
34+
name: {
35+
baseName: "name",
36+
type: "string",
37+
},
38+
additionalProperties: {
39+
baseName: "additionalProperties",
40+
type: "any",
41+
},
42+
};
43+
44+
/**
45+
* @ignore
46+
*/
47+
static getAttributeTypeMap(): AttributeTypeMap {
48+
return ListAPIsResponseDataAttributes.attributeTypeMap;
49+
}
50+
51+
public constructor() {}
52+
}

packages/datadog-api-client-v2/models/ObjectSerializer.ts

+2
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ import { JiraIssue } from "./JiraIssue";
478478
import { JiraIssueResult } from "./JiraIssueResult";
479479
import { ListAPIsResponse } from "./ListAPIsResponse";
480480
import { ListAPIsResponseData } from "./ListAPIsResponseData";
481+
import { ListAPIsResponseDataAttributes } from "./ListAPIsResponseDataAttributes";
481482
import { ListAPIsResponseMeta } from "./ListAPIsResponseMeta";
482483
import { ListAPIsResponseMetaPagination } from "./ListAPIsResponseMetaPagination";
483484
import { ListApplicationKeysResponse } from "./ListApplicationKeysResponse";
@@ -2270,6 +2271,7 @@ const typeMap: { [index: string]: any } = {
22702271
JiraIssueResult: JiraIssueResult,
22712272
ListAPIsResponse: ListAPIsResponse,
22722273
ListAPIsResponseData: ListAPIsResponseData,
2274+
ListAPIsResponseDataAttributes: ListAPIsResponseDataAttributes,
22732275
ListAPIsResponseMeta: ListAPIsResponseMeta,
22742276
ListAPIsResponseMetaPagination: ListAPIsResponseMetaPagination,
22752277
ListApplicationKeysResponse: ListApplicationKeysResponse,

0 commit comments

Comments
 (0)