Skip to content

Commit 62b4d43

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a4d8609 of spec repo
1 parent f66f825 commit 62b4d43

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19144,15 +19144,6 @@ components:
1914419144
$ref: "#/components/schemas/DashboardListItemResponse"
1914519145
type: array
1914619146
type: object
19147-
DashboardListDeleteItemsRequest:
19148-
description: Request containing a list of dashboards to delete.
19149-
properties:
19150-
dashboards:
19151-
description: List of dashboards to delete from the dashboard list.
19152-
items:
19153-
$ref: "#/components/schemas/DashboardListItemRequest"
19154-
type: array
19155-
type: object
1915619147
DashboardListDeleteItemsResponse:
1915719148
description: Response containing a list of deleted dashboards.
1915819149
properties:
@@ -19276,6 +19267,15 @@ components:
1927619267
required:
1927719268
- dashboards
1927819269
type: object
19270+
DashboardListRemoveItemsRequest:
19271+
description: Request containing a list of dashboards to remove.
19272+
properties:
19273+
dashboards:
19274+
description: List of dashboards to delete from the dashboard list.
19275+
items:
19276+
$ref: "#/components/schemas/DashboardListItemRequest"
19277+
type: array
19278+
type: object
1927919279
DashboardListUpdateItemsRequest:
1928019280
description: Request containing the list of dashboards to update to.
1928119281
properties:
@@ -81673,7 +81673,7 @@ paths:
8167381673
content:
8167481674
application/json:
8167581675
schema:
81676-
$ref: "#/components/schemas/DashboardListDeleteItemsRequest"
81676+
$ref: "#/components/schemas/DashboardListRemoveItemsRequest"
8167781677
description: Dashboards to delete from the dashboard list.
8167881678
required: true
8167981679
responses:

features/support/scenarios_model_mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5735,7 +5735,7 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
57355735
"format": "int64",
57365736
},
57375737
"body": {
5738-
"type": "DashboardListDeleteItemsRequest",
5738+
"type": "DashboardListRemoveItemsRequest",
57395739
"format": "",
57405740
},
57415741
"operationResponseType": "DashboardListDeleteItemsResponse",

packages/datadog-api-client-v2/apis/DashboardListsApi.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import { ApiException } from "../../datadog-api-client-common/exception";
1919
import { APIErrorResponse } from "../models/APIErrorResponse";
2020
import { DashboardListAddItemsRequest } from "../models/DashboardListAddItemsRequest";
2121
import { DashboardListAddItemsResponse } from "../models/DashboardListAddItemsResponse";
22-
import { DashboardListDeleteItemsRequest } from "../models/DashboardListDeleteItemsRequest";
2322
import { DashboardListDeleteItemsResponse } from "../models/DashboardListDeleteItemsResponse";
2423
import { DashboardListItems } from "../models/DashboardListItems";
24+
import { DashboardListRemoveItemsRequest } from "../models/DashboardListRemoveItemsRequest";
2525
import { DashboardListUpdateItemsRequest } from "../models/DashboardListUpdateItemsRequest";
2626
import { DashboardListUpdateItemsResponse } from "../models/DashboardListUpdateItemsResponse";
2727

@@ -79,7 +79,7 @@ export class DashboardListsApiRequestFactory extends BaseAPIRequestFactory {
7979

8080
public async deleteDashboardListItems(
8181
dashboardListId: number,
82-
body: DashboardListDeleteItemsRequest,
82+
body: DashboardListRemoveItemsRequest,
8383
_options?: Configuration
8484
): Promise<RequestContext> {
8585
const _config = _options || this.configuration;
@@ -114,7 +114,7 @@ export class DashboardListsApiRequestFactory extends BaseAPIRequestFactory {
114114
]);
115115
requestContext.setHeaderParam("Content-Type", contentType);
116116
const serializedBody = ObjectSerializer.stringify(
117-
ObjectSerializer.serialize(body, "DashboardListDeleteItemsRequest", ""),
117+
ObjectSerializer.serialize(body, "DashboardListRemoveItemsRequest", ""),
118118
contentType
119119
);
120120
requestContext.setBody(serializedBody);
@@ -493,9 +493,9 @@ export interface DashboardListsApiDeleteDashboardListItemsRequest {
493493
dashboardListId: number;
494494
/**
495495
* Dashboards to delete from the dashboard list.
496-
* @type DashboardListDeleteItemsRequest
496+
* @type DashboardListRemoveItemsRequest
497497
*/
498-
body: DashboardListDeleteItemsRequest;
498+
body: DashboardListRemoveItemsRequest;
499499
}
500500

501501
export interface DashboardListsApiGetDashboardListItemsRequest {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2356,12 +2356,12 @@ export { CustomRulesetResponse } from "./models/CustomRulesetResponse";
23562356
export { CVSS } from "./models/CVSS";
23572357
export { DashboardListAddItemsRequest } from "./models/DashboardListAddItemsRequest";
23582358
export { DashboardListAddItemsResponse } from "./models/DashboardListAddItemsResponse";
2359-
export { DashboardListDeleteItemsRequest } from "./models/DashboardListDeleteItemsRequest";
23602359
export { DashboardListDeleteItemsResponse } from "./models/DashboardListDeleteItemsResponse";
23612360
export { DashboardListItem } from "./models/DashboardListItem";
23622361
export { DashboardListItemRequest } from "./models/DashboardListItemRequest";
23632362
export { DashboardListItemResponse } from "./models/DashboardListItemResponse";
23642363
export { DashboardListItems } from "./models/DashboardListItems";
2364+
export { DashboardListRemoveItemsRequest } from "./models/DashboardListRemoveItemsRequest";
23652365
export { DashboardListUpdateItemsRequest } from "./models/DashboardListUpdateItemsRequest";
23662366
export { DashboardListUpdateItemsResponse } from "./models/DashboardListUpdateItemsResponse";
23672367
export { DashboardTriggerWrapper } from "./models/DashboardTriggerWrapper";

packages/datadog-api-client-v2/models/DashboardListDeleteItemsRequest.ts renamed to packages/datadog-api-client-v2/models/DashboardListRemoveItemsRequest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import { DashboardListItemRequest } from "./DashboardListItemRequest";
88
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
99

1010
/**
11-
* Request containing a list of dashboards to delete.
11+
* Request containing a list of dashboards to remove.
1212
*/
13-
export class DashboardListDeleteItemsRequest {
13+
export class DashboardListRemoveItemsRequest {
1414
/**
1515
* List of dashboards to delete from the dashboard list.
1616
*/
@@ -46,7 +46,7 @@ export class DashboardListDeleteItemsRequest {
4646
* @ignore
4747
*/
4848
static getAttributeTypeMap(): AttributeTypeMap {
49-
return DashboardListDeleteItemsRequest.attributeTypeMap;
49+
return DashboardListRemoveItemsRequest.attributeTypeMap;
5050
}
5151

5252
public constructor() {}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,12 +875,12 @@ import { DORAListFailuresRequestAttributes } from "./DORAListFailuresRequestAttr
875875
import { DORAListFailuresRequestData } from "./DORAListFailuresRequestData";
876876
import { DashboardListAddItemsRequest } from "./DashboardListAddItemsRequest";
877877
import { DashboardListAddItemsResponse } from "./DashboardListAddItemsResponse";
878-
import { DashboardListDeleteItemsRequest } from "./DashboardListDeleteItemsRequest";
879878
import { DashboardListDeleteItemsResponse } from "./DashboardListDeleteItemsResponse";
880879
import { DashboardListItem } from "./DashboardListItem";
881880
import { DashboardListItemRequest } from "./DashboardListItemRequest";
882881
import { DashboardListItemResponse } from "./DashboardListItemResponse";
883882
import { DashboardListItems } from "./DashboardListItems";
883+
import { DashboardListRemoveItemsRequest } from "./DashboardListRemoveItemsRequest";
884884
import { DashboardListUpdateItemsRequest } from "./DashboardListUpdateItemsRequest";
885885
import { DashboardListUpdateItemsResponse } from "./DashboardListUpdateItemsResponse";
886886
import { DashboardTriggerWrapper } from "./DashboardTriggerWrapper";
@@ -6743,12 +6743,12 @@ const typeMap: { [index: string]: any } = {
67436743
DORAListFailuresRequestData: DORAListFailuresRequestData,
67446744
DashboardListAddItemsRequest: DashboardListAddItemsRequest,
67456745
DashboardListAddItemsResponse: DashboardListAddItemsResponse,
6746-
DashboardListDeleteItemsRequest: DashboardListDeleteItemsRequest,
67476746
DashboardListDeleteItemsResponse: DashboardListDeleteItemsResponse,
67486747
DashboardListItem: DashboardListItem,
67496748
DashboardListItemRequest: DashboardListItemRequest,
67506749
DashboardListItemResponse: DashboardListItemResponse,
67516750
DashboardListItems: DashboardListItems,
6751+
DashboardListRemoveItemsRequest: DashboardListRemoveItemsRequest,
67526752
DashboardListUpdateItemsRequest: DashboardListUpdateItemsRequest,
67536753
DashboardListUpdateItemsResponse: DashboardListUpdateItemsResponse,
67546754
DashboardTriggerWrapper: DashboardTriggerWrapper,

0 commit comments

Comments
 (0)