Skip to content

Commit 848a43f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit de78e1e5 of spec repo (#741)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 3395c44 commit 848a43f

File tree

6 files changed

+84
-4
lines changed

6 files changed

+84
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-06-27 16:07:52.649564",
8-
"spec_repo_commit": "2d1ebbf0"
7+
"regenerated": "2022-06-28 06:45:52.602520",
8+
"spec_repo_commit": "de78e1e5"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-06-27 16:07:52.664534",
13-
"spec_repo_commit": "2d1ebbf0"
12+
"regenerated": "2022-06-28 06:45:52.618119",
13+
"spec_repo_commit": "de78e1e5"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3797,6 +3797,23 @@ components:
37973797
description: List of IPv6 prefixes by location.
37983798
type: object
37993799
type: object
3800+
IPPrefixesSyntheticsPrivateLocations:
3801+
description: Available prefix information for the Synthetics Private Locations
3802+
endpoints.
3803+
properties:
3804+
prefixes_ipv4:
3805+
description: List of IPv4 prefixes.
3806+
items:
3807+
description: IPv4 prefix
3808+
type: string
3809+
type: array
3810+
prefixes_ipv6:
3811+
description: List of IPv6 prefixes.
3812+
items:
3813+
description: IPv6 prefix
3814+
type: string
3815+
type: array
3816+
type: object
38003817
IPPrefixesWebhooks:
38013818
description: Available prefix information for the Webhook endpoints.
38023819
properties:
@@ -3832,6 +3849,8 @@ components:
38323849
$ref: '#/components/schemas/IPPrefixesProcess'
38333850
synthetics:
38343851
$ref: '#/components/schemas/IPPrefixesSynthetics'
3852+
synthetics-private-locations:
3853+
$ref: '#/components/schemas/IPPrefixesSyntheticsPrivateLocations'
38353854
version:
38363855
description: Version of the IP list.
38373856
example: 11

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ export { IPPrefixesAPM } from "./models/IPPrefixesAPM";
483483
export { IPPrefixesLogs } from "./models/IPPrefixesLogs";
484484
export { IPPrefixesProcess } from "./models/IPPrefixesProcess";
485485
export { IPPrefixesSynthetics } from "./models/IPPrefixesSynthetics";
486+
export { IPPrefixesSyntheticsPrivateLocations } from "./models/IPPrefixesSyntheticsPrivateLocations";
486487
export { IPPrefixesWebhooks } from "./models/IPPrefixesWebhooks";
487488
export { IPRanges } from "./models/IPRanges";
488489
export { ListStreamColumn } from "./models/ListStreamColumn";
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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+
* Available prefix information for the Synthetics Private Locations endpoints.
11+
*/
12+
export class IPPrefixesSyntheticsPrivateLocations {
13+
/**
14+
* List of IPv4 prefixes.
15+
*/
16+
"prefixesIpv4"?: Array<string>;
17+
/**
18+
* List of IPv6 prefixes.
19+
*/
20+
"prefixesIpv6"?: Array<string>;
21+
22+
/**
23+
* @ignore
24+
*/
25+
"unparsedObject"?: any;
26+
27+
/**
28+
* @ignore
29+
*/
30+
static readonly attributeTypeMap: AttributeTypeMap = {
31+
prefixesIpv4: {
32+
baseName: "prefixes_ipv4",
33+
type: "Array<string>",
34+
},
35+
prefixesIpv6: {
36+
baseName: "prefixes_ipv6",
37+
type: "Array<string>",
38+
},
39+
};
40+
41+
/**
42+
* @ignore
43+
*/
44+
static getAttributeTypeMap(): AttributeTypeMap {
45+
return IPPrefixesSyntheticsPrivateLocations.attributeTypeMap;
46+
}
47+
48+
public constructor() {}
49+
}

packages/datadog-api-client-v1/models/IPRanges.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { IPPrefixesAPM } from "./IPPrefixesAPM";
99
import { IPPrefixesLogs } from "./IPPrefixesLogs";
1010
import { IPPrefixesProcess } from "./IPPrefixesProcess";
1111
import { IPPrefixesSynthetics } from "./IPPrefixesSynthetics";
12+
import { IPPrefixesSyntheticsPrivateLocations } from "./IPPrefixesSyntheticsPrivateLocations";
1213
import { IPPrefixesWebhooks } from "./IPPrefixesWebhooks";
1314

1415
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
@@ -45,6 +46,10 @@ export class IPRanges {
4546
* Available prefix information for the Synthetics endpoints.
4647
*/
4748
"synthetics"?: IPPrefixesSynthetics;
49+
/**
50+
* Available prefix information for the Synthetics Private Locations endpoints.
51+
*/
52+
"syntheticsPrivateLocations"?: IPPrefixesSyntheticsPrivateLocations;
4853
/**
4954
* Version of the IP list.
5055
*/
@@ -91,6 +96,10 @@ export class IPRanges {
9196
baseName: "synthetics",
9297
type: "IPPrefixesSynthetics",
9398
},
99+
syntheticsPrivateLocations: {
100+
baseName: "synthetics-private-locations",
101+
type: "IPPrefixesSyntheticsPrivateLocations",
102+
},
94103
version: {
95104
baseName: "version",
96105
type: "number",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ import { IPPrefixesAgents } from "./IPPrefixesAgents";
117117
import { IPPrefixesLogs } from "./IPPrefixesLogs";
118118
import { IPPrefixesProcess } from "./IPPrefixesProcess";
119119
import { IPPrefixesSynthetics } from "./IPPrefixesSynthetics";
120+
import { IPPrefixesSyntheticsPrivateLocations } from "./IPPrefixesSyntheticsPrivateLocations";
120121
import { IPPrefixesWebhooks } from "./IPPrefixesWebhooks";
121122
import { IPRanges } from "./IPRanges";
122123
import { IdpFormData } from "./IdpFormData";
@@ -1354,6 +1355,7 @@ const typeMap: { [index: string]: any } = {
13541355
IPPrefixesLogs: IPPrefixesLogs,
13551356
IPPrefixesProcess: IPPrefixesProcess,
13561357
IPPrefixesSynthetics: IPPrefixesSynthetics,
1358+
IPPrefixesSyntheticsPrivateLocations: IPPrefixesSyntheticsPrivateLocations,
13571359
IPPrefixesWebhooks: IPPrefixesWebhooks,
13581360
IPRanges: IPRanges,
13591361
IdpFormData: IdpFormData,

0 commit comments

Comments
 (0)