Skip to content

Commit 491dc96

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit b8f0eb7 of spec repo (#525)
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 ccee45c commit 491dc96

File tree

10 files changed

+58
-101
lines changed

10 files changed

+58
-101
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-02-16 09:18:22.142250",
8-
"spec_repo_commit": "0047b09"
7+
"regenerated": "2022-02-16 12:30:40.890500",
8+
"spec_repo_commit": "b8f0eb7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-02-16 09:18:22.163393",
13-
"spec_repo_commit": "0047b09"
12+
"regenerated": "2022-02-16 12:30:40.907946",
13+
"spec_repo_commit": "b8f0eb7"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 30 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,6 +1686,33 @@ components:
16861686
oneOf:
16871687
- $ref: '#/components/schemas/User'
16881688
type: object
1689+
IncidentResponseMeta:
1690+
description: The metadata object containing pagination metadata.
1691+
properties:
1692+
pagination:
1693+
$ref: '#/components/schemas/IncidentResponseMetaPagination'
1694+
readOnly: true
1695+
type: object
1696+
IncidentResponseMetaPagination:
1697+
description: Pagination properties.
1698+
properties:
1699+
next_offset:
1700+
description: The index of the first element in the next page of results.
1701+
Equal to page size added to the current offset.
1702+
example: 1000
1703+
format: int64
1704+
type: integer
1705+
offset:
1706+
description: The index of the first element in the results.
1707+
example: 10
1708+
format: int64
1709+
type: integer
1710+
size:
1711+
description: Maximum size of pages to return.
1712+
example: 1000
1713+
format: int64
1714+
type: integer
1715+
type: object
16891716
IncidentResponseRelationships:
16901717
description: The incident's relationships from a response.
16911718
properties:
@@ -1855,30 +1882,7 @@ components:
18551882
readOnly: true
18561883
type: array
18571884
meta:
1858-
description: The metadata object containing pagination metadata.
1859-
properties:
1860-
pagination:
1861-
description: Pagination properties.
1862-
properties:
1863-
next_offset:
1864-
description: The index of the first element in the next page of
1865-
results. Equal to page size added to the current offset.
1866-
example: 1000
1867-
format: int64
1868-
type: integer
1869-
offset:
1870-
description: The index of the first element in the results.
1871-
example: 10
1872-
format: int64
1873-
type: integer
1874-
size:
1875-
description: Maximum size of pages to return.
1876-
example: 1000
1877-
format: int64
1878-
type: integer
1879-
type: object
1880-
readOnly: true
1881-
type: object
1885+
$ref: '#/components/schemas/IncidentResponseMeta'
18821886
required:
18831887
- data
18841888
type: object
@@ -2036,30 +2040,7 @@ components:
20362040
readOnly: true
20372041
type: array
20382042
meta:
2039-
description: The metadata object containing pagination metadata.
2040-
properties:
2041-
pagination:
2042-
description: Pagination properties.
2043-
properties:
2044-
next_offset:
2045-
description: The index of the first element in the next page of
2046-
results. Equal to page size added to the current offset.
2047-
example: 1000
2048-
format: int64
2049-
type: integer
2050-
offset:
2051-
description: The index of the first element in the results.
2052-
example: 10
2053-
format: int64
2054-
type: integer
2055-
size:
2056-
description: Maximum size of pages to return.
2057-
example: 1000
2058-
format: int64
2059-
type: integer
2060-
type: object
2061-
readOnly: true
2062-
type: object
2043+
$ref: '#/components/schemas/IncidentResponseMeta'
20632044
required:
20642045
- data
20652046
type: object
@@ -2305,30 +2286,7 @@ components:
23052286
readOnly: true
23062287
type: array
23072288
meta:
2308-
description: The metadata object containing pagination metadata.
2309-
properties:
2310-
pagination:
2311-
description: Pagination properties.
2312-
properties:
2313-
next_offset:
2314-
description: The index of the first element in the next page of
2315-
results. Equal to page size added to the current offset.
2316-
example: 1000
2317-
format: int64
2318-
type: integer
2319-
offset:
2320-
description: The index of the first element in the results.
2321-
example: 10
2322-
format: int64
2323-
type: integer
2324-
size:
2325-
description: Maximum size of pages to return.
2326-
example: 1000
2327-
format: int64
2328-
type: integer
2329-
type: object
2330-
readOnly: true
2331-
type: object
2289+
$ref: '#/components/schemas/IncidentResponseMeta'
23322290
required:
23332291
- data
23342292
type: object

packages/datadog-api-client-v2/.openapi-generator/FILES

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ models/IncidentResponse.ts
129129
models/IncidentResponseAttributes.ts
130130
models/IncidentResponseData.ts
131131
models/IncidentResponseIncludedItem.ts
132+
models/IncidentResponseMeta.ts
133+
models/IncidentResponseMetaPagination.ts
132134
models/IncidentResponseRelationships.ts
133135
models/IncidentServiceCreateAttributes.ts
134136
models/IncidentServiceCreateData.ts
@@ -143,8 +145,6 @@ models/IncidentServiceUpdateAttributes.ts
143145
models/IncidentServiceUpdateData.ts
144146
models/IncidentServiceUpdateRequest.ts
145147
models/IncidentServicesResponse.ts
146-
models/IncidentServicesResponseMeta.ts
147-
models/IncidentServicesResponseMetaPagination.ts
148148
models/IncidentTeamCreateAttributes.ts
149149
models/IncidentTeamCreateData.ts
150150
models/IncidentTeamCreateRequest.ts

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ export { IncidentResponse } from "./models/IncidentResponse";
267267
export { IncidentResponseAttributes } from "./models/IncidentResponseAttributes";
268268
export { IncidentResponseData } from "./models/IncidentResponseData";
269269
export { IncidentResponseIncludedItem } from "./models/IncidentResponseIncludedItem";
270+
export { IncidentResponseMeta } from "./models/IncidentResponseMeta";
271+
export { IncidentResponseMetaPagination } from "./models/IncidentResponseMetaPagination";
270272
export { IncidentResponseRelationships } from "./models/IncidentResponseRelationships";
271273
export { IncidentServiceCreateAttributes } from "./models/IncidentServiceCreateAttributes";
272274
export { IncidentServiceCreateData } from "./models/IncidentServiceCreateData";
@@ -281,8 +283,6 @@ export { IncidentServiceUpdateAttributes } from "./models/IncidentServiceUpdateA
281283
export { IncidentServiceUpdateData } from "./models/IncidentServiceUpdateData";
282284
export { IncidentServiceUpdateRequest } from "./models/IncidentServiceUpdateRequest";
283285
export { IncidentServicesResponse } from "./models/IncidentServicesResponse";
284-
export { IncidentServicesResponseMeta } from "./models/IncidentServicesResponseMeta";
285-
export { IncidentServicesResponseMetaPagination } from "./models/IncidentServicesResponseMetaPagination";
286286
export { IncidentTeamCreateAttributes } from "./models/IncidentTeamCreateAttributes";
287287
export { IncidentTeamCreateData } from "./models/IncidentTeamCreateData";
288288
export { IncidentTeamCreateRequest } from "./models/IncidentTeamCreateRequest";

packages/datadog-api-client-v2/models/IncidentServicesResponseMeta.ts renamed to packages/datadog-api-client-v2/models/IncidentResponseMeta.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
* Do not edit the class manually.
99
*/
1010

11-
import { IncidentServicesResponseMetaPagination } from "./IncidentServicesResponseMetaPagination";
11+
import { IncidentResponseMetaPagination } from "./IncidentResponseMetaPagination";
1212
import { AttributeTypeMap } from "./ObjectSerializer";
1313

1414
/**
1515
* The metadata object containing pagination metadata.
1616
*/
1717

18-
export class IncidentServicesResponseMeta {
19-
"pagination"?: IncidentServicesResponseMetaPagination;
18+
export class IncidentResponseMeta {
19+
"pagination"?: IncidentResponseMetaPagination;
2020

2121
/**
2222
* @ignore
@@ -29,15 +29,15 @@ export class IncidentServicesResponseMeta {
2929
static readonly attributeTypeMap: AttributeTypeMap = {
3030
pagination: {
3131
baseName: "pagination",
32-
type: "IncidentServicesResponseMetaPagination",
32+
type: "IncidentResponseMetaPagination",
3333
},
3434
};
3535

3636
/**
3737
* @ignore
3838
*/
3939
static getAttributeTypeMap(): AttributeTypeMap {
40-
return IncidentServicesResponseMeta.attributeTypeMap;
40+
return IncidentResponseMeta.attributeTypeMap;
4141
}
4242

4343
public constructor() {}

packages/datadog-api-client-v2/models/IncidentServicesResponseMetaPagination.ts renamed to packages/datadog-api-client-v2/models/IncidentResponseMetaPagination.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { AttributeTypeMap } from "./ObjectSerializer";
1414
* Pagination properties.
1515
*/
1616

17-
export class IncidentServicesResponseMetaPagination {
17+
export class IncidentResponseMetaPagination {
1818
/**
1919
* The index of the first element in the next page of results. Equal to page size added to the current offset.
2020
*/
@@ -58,7 +58,7 @@ export class IncidentServicesResponseMetaPagination {
5858
* @ignore
5959
*/
6060
static getAttributeTypeMap(): AttributeTypeMap {
61-
return IncidentServicesResponseMetaPagination.attributeTypeMap;
61+
return IncidentResponseMetaPagination.attributeTypeMap;
6262
}
6363

6464
public constructor() {}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* Do not edit the class manually.
99
*/
1010

11+
import { IncidentResponseMeta } from "./IncidentResponseMeta";
1112
import { IncidentServiceIncludedItems } from "./IncidentServiceIncludedItems";
1213
import { IncidentServiceResponseData } from "./IncidentServiceResponseData";
13-
import { IncidentServicesResponseMeta } from "./IncidentServicesResponseMeta";
1414
import { AttributeTypeMap } from "./ObjectSerializer";
1515

1616
/**
@@ -26,7 +26,7 @@ export class IncidentServicesResponse {
2626
* Included related resources which the user requested.
2727
*/
2828
"included"?: Array<IncidentServiceIncludedItems>;
29-
"meta"?: IncidentServicesResponseMeta;
29+
"meta"?: IncidentResponseMeta;
3030

3131
/**
3232
* @ignore
@@ -48,7 +48,7 @@ export class IncidentServicesResponse {
4848
},
4949
meta: {
5050
baseName: "meta",
51-
type: "IncidentServicesResponseMeta",
51+
type: "IncidentResponseMeta",
5252
},
5353
};
5454

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Do not edit the class manually.
99
*/
1010

11-
import { IncidentServicesResponseMeta } from "./IncidentServicesResponseMeta";
11+
import { IncidentResponseMeta } from "./IncidentResponseMeta";
1212
import { IncidentTeamIncludedItems } from "./IncidentTeamIncludedItems";
1313
import { IncidentTeamResponseData } from "./IncidentTeamResponseData";
1414
import { AttributeTypeMap } from "./ObjectSerializer";
@@ -26,7 +26,7 @@ export class IncidentTeamsResponse {
2626
* Included related resources which the user requested.
2727
*/
2828
"included"?: Array<IncidentTeamIncludedItems>;
29-
"meta"?: IncidentServicesResponseMeta;
29+
"meta"?: IncidentResponseMeta;
3030

3131
/**
3232
* @ignore
@@ -48,7 +48,7 @@ export class IncidentTeamsResponse {
4848
},
4949
meta: {
5050
baseName: "meta",
51-
type: "IncidentServicesResponseMeta",
51+
type: "IncidentResponseMeta",
5252
},
5353
};
5454

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import { IncidentResponseData } from "./IncidentResponseData";
1212
import { IncidentResponseIncludedItem } from "./IncidentResponseIncludedItem";
13-
import { IncidentServicesResponseMeta } from "./IncidentServicesResponseMeta";
13+
import { IncidentResponseMeta } from "./IncidentResponseMeta";
1414
import { AttributeTypeMap } from "./ObjectSerializer";
1515

1616
/**
@@ -26,7 +26,7 @@ export class IncidentsResponse {
2626
* Included related resources that the user requested.
2727
*/
2828
"included"?: Array<IncidentResponseIncludedItem>;
29-
"meta"?: IncidentServicesResponseMeta;
29+
"meta"?: IncidentResponseMeta;
3030

3131
/**
3232
* @ignore
@@ -48,7 +48,7 @@ export class IncidentsResponse {
4848
},
4949
meta: {
5050
baseName: "meta",
51-
type: "IncidentServicesResponseMeta",
51+
type: "IncidentResponseMeta",
5252
},
5353
};
5454

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ import { IncidentNotificationHandle } from "./IncidentNotificationHandle";
6969
import { IncidentResponse } from "./IncidentResponse";
7070
import { IncidentResponseAttributes } from "./IncidentResponseAttributes";
7171
import { IncidentResponseData } from "./IncidentResponseData";
72+
import { IncidentResponseMeta } from "./IncidentResponseMeta";
73+
import { IncidentResponseMetaPagination } from "./IncidentResponseMetaPagination";
7274
import { IncidentResponseRelationships } from "./IncidentResponseRelationships";
7375
import { IncidentServiceCreateAttributes } from "./IncidentServiceCreateAttributes";
7476
import { IncidentServiceCreateData } from "./IncidentServiceCreateData";
@@ -81,8 +83,6 @@ import { IncidentServiceUpdateAttributes } from "./IncidentServiceUpdateAttribut
8183
import { IncidentServiceUpdateData } from "./IncidentServiceUpdateData";
8284
import { IncidentServiceUpdateRequest } from "./IncidentServiceUpdateRequest";
8385
import { IncidentServicesResponse } from "./IncidentServicesResponse";
84-
import { IncidentServicesResponseMeta } from "./IncidentServicesResponseMeta";
85-
import { IncidentServicesResponseMetaPagination } from "./IncidentServicesResponseMetaPagination";
8686
import { IncidentTeamCreateAttributes } from "./IncidentTeamCreateAttributes";
8787
import { IncidentTeamCreateData } from "./IncidentTeamCreateData";
8888
import { IncidentTeamCreateRequest } from "./IncidentTeamCreateRequest";
@@ -548,6 +548,8 @@ const typeMap: { [index: string]: any } = {
548548
IncidentResponse: IncidentResponse,
549549
IncidentResponseAttributes: IncidentResponseAttributes,
550550
IncidentResponseData: IncidentResponseData,
551+
IncidentResponseMeta: IncidentResponseMeta,
552+
IncidentResponseMetaPagination: IncidentResponseMetaPagination,
551553
IncidentResponseRelationships: IncidentResponseRelationships,
552554
IncidentServiceCreateAttributes: IncidentServiceCreateAttributes,
553555
IncidentServiceCreateData: IncidentServiceCreateData,
@@ -560,9 +562,6 @@ const typeMap: { [index: string]: any } = {
560562
IncidentServiceUpdateData: IncidentServiceUpdateData,
561563
IncidentServiceUpdateRequest: IncidentServiceUpdateRequest,
562564
IncidentServicesResponse: IncidentServicesResponse,
563-
IncidentServicesResponseMeta: IncidentServicesResponseMeta,
564-
IncidentServicesResponseMetaPagination:
565-
IncidentServicesResponseMetaPagination,
566565
IncidentTeamCreateAttributes: IncidentTeamCreateAttributes,
567566
IncidentTeamCreateData: IncidentTeamCreateData,
568567
IncidentTeamCreateRequest: IncidentTeamCreateRequest,

0 commit comments

Comments
 (0)