Skip to content

Commit d7f955d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 470facc of spec repo
1 parent 0352cef commit d7f955d

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
@@ -19766,15 +19766,6 @@ components:
1976619766
$ref: "#/components/schemas/DashboardListItemResponse"
1976719767
type: array
1976819768
type: object
19769-
DashboardListDeleteItemsRequest:
19770-
description: Request containing a list of dashboards to delete.
19771-
properties:
19772-
dashboards:
19773-
description: List of dashboards to delete from the dashboard list.
19774-
items:
19775-
$ref: "#/components/schemas/DashboardListItemRequest"
19776-
type: array
19777-
type: object
1977819769
DashboardListDeleteItemsResponse:
1977919770
description: Response containing a list of deleted dashboards.
1978019771
properties:
@@ -19898,6 +19889,15 @@ components:
1989819889
required:
1989919890
- dashboards
1990019891
type: object
19892+
DashboardListRemoveItemsRequest:
19893+
description: Request containing a list of dashboards to remove.
19894+
properties:
19895+
dashboards:
19896+
description: List of dashboards to delete from the dashboard list.
19897+
items:
19898+
$ref: "#/components/schemas/DashboardListItemRequest"
19899+
type: array
19900+
type: object
1990119901
DashboardListUpdateItemsRequest:
1990219902
description: Request containing the list of dashboards to update to.
1990319903
properties:
@@ -83591,7 +83591,7 @@ paths:
8359183591
content:
8359283592
application/json:
8359383593
schema:
83594-
$ref: "#/components/schemas/DashboardListDeleteItemsRequest"
83594+
$ref: "#/components/schemas/DashboardListRemoveItemsRequest"
8359583595
description: Dashboards to delete from the dashboard list.
8359683596
required: true
8359783597
responses:

features/support/scenarios_model_mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5763,7 +5763,7 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
57635763
"format": "int64",
57645764
},
57655765
"body": {
5766-
"type": "DashboardListDeleteItemsRequest",
5766+
"type": "DashboardListRemoveItemsRequest",
57675767
"format": "",
57685768
},
57695769
"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
@@ -2403,12 +2403,12 @@ export { CustomRulesetResponse } from "./models/CustomRulesetResponse";
24032403
export { CVSS } from "./models/CVSS";
24042404
export { DashboardListAddItemsRequest } from "./models/DashboardListAddItemsRequest";
24052405
export { DashboardListAddItemsResponse } from "./models/DashboardListAddItemsResponse";
2406-
export { DashboardListDeleteItemsRequest } from "./models/DashboardListDeleteItemsRequest";
24072406
export { DashboardListDeleteItemsResponse } from "./models/DashboardListDeleteItemsResponse";
24082407
export { DashboardListItem } from "./models/DashboardListItem";
24092408
export { DashboardListItemRequest } from "./models/DashboardListItemRequest";
24102409
export { DashboardListItemResponse } from "./models/DashboardListItemResponse";
24112410
export { DashboardListItems } from "./models/DashboardListItems";
2411+
export { DashboardListRemoveItemsRequest } from "./models/DashboardListRemoveItemsRequest";
24122412
export { DashboardListUpdateItemsRequest } from "./models/DashboardListUpdateItemsRequest";
24132413
export { DashboardListUpdateItemsResponse } from "./models/DashboardListUpdateItemsResponse";
24142414
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
@@ -893,12 +893,12 @@ import { DORAListFailuresRequestAttributes } from "./DORAListFailuresRequestAttr
893893
import { DORAListFailuresRequestData } from "./DORAListFailuresRequestData";
894894
import { DashboardListAddItemsRequest } from "./DashboardListAddItemsRequest";
895895
import { DashboardListAddItemsResponse } from "./DashboardListAddItemsResponse";
896-
import { DashboardListDeleteItemsRequest } from "./DashboardListDeleteItemsRequest";
897896
import { DashboardListDeleteItemsResponse } from "./DashboardListDeleteItemsResponse";
898897
import { DashboardListItem } from "./DashboardListItem";
899898
import { DashboardListItemRequest } from "./DashboardListItemRequest";
900899
import { DashboardListItemResponse } from "./DashboardListItemResponse";
901900
import { DashboardListItems } from "./DashboardListItems";
901+
import { DashboardListRemoveItemsRequest } from "./DashboardListRemoveItemsRequest";
902902
import { DashboardListUpdateItemsRequest } from "./DashboardListUpdateItemsRequest";
903903
import { DashboardListUpdateItemsResponse } from "./DashboardListUpdateItemsResponse";
904904
import { DashboardTriggerWrapper } from "./DashboardTriggerWrapper";
@@ -6866,12 +6866,12 @@ const typeMap: { [index: string]: any } = {
68666866
DORAListFailuresRequestData: DORAListFailuresRequestData,
68676867
DashboardListAddItemsRequest: DashboardListAddItemsRequest,
68686868
DashboardListAddItemsResponse: DashboardListAddItemsResponse,
6869-
DashboardListDeleteItemsRequest: DashboardListDeleteItemsRequest,
68706869
DashboardListDeleteItemsResponse: DashboardListDeleteItemsResponse,
68716870
DashboardListItem: DashboardListItem,
68726871
DashboardListItemRequest: DashboardListItemRequest,
68736872
DashboardListItemResponse: DashboardListItemResponse,
68746873
DashboardListItems: DashboardListItems,
6874+
DashboardListRemoveItemsRequest: DashboardListRemoveItemsRequest,
68756875
DashboardListUpdateItemsRequest: DashboardListUpdateItemsRequest,
68766876
DashboardListUpdateItemsResponse: DashboardListUpdateItemsResponse,
68776877
DashboardTriggerWrapper: DashboardTriggerWrapper,

0 commit comments

Comments
 (0)