Skip to content

Commit f089692

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9cf5748 of spec repo
1 parent 9206cb5 commit f089692

8 files changed

Lines changed: 19 additions & 19 deletions

File tree

.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:

examples/v2/dashboard-lists/DeleteDashboardListItems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require "datadog_api_client"
44
api_instance = DatadogAPIClient::V2::DashboardListsAPI.new
55

6-
body = DatadogAPIClient::V2::DashboardListDeleteItemsRequest.new({
6+
body = DatadogAPIClient::V2::DashboardListRemoveItemsRequest.new({
77
dashboards: [
88
DatadogAPIClient::V2::DashboardListItemRequest.new({
99
id: "q5j-nti-fv6",

examples/v2/dashboard-lists/DeleteDashboardListItems_2656706656.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# there is a valid "dashboard" in the system
1010
DASHBOARD_ID = ENV["DASHBOARD_ID"]
1111

12-
body = DatadogAPIClient::V2::DashboardListDeleteItemsRequest.new({
12+
body = DatadogAPIClient::V2::DashboardListRemoveItemsRequest.new({
1313
dashboards: [
1414
DatadogAPIClient::V2::DashboardListItemRequest.new({
1515
id: DASHBOARD_ID,

examples/v2/dashboard-lists/DeleteDashboardListItems_3851624753.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# there is a valid "screenboard_dashboard" in the system
1010
SCREENBOARD_DASHBOARD_ID = ENV["SCREENBOARD_DASHBOARD_ID"]
1111

12-
body = DatadogAPIClient::V2::DashboardListDeleteItemsRequest.new({
12+
body = DatadogAPIClient::V2::DashboardListRemoveItemsRequest.new({
1313
dashboards: [
1414
DatadogAPIClient::V2::DashboardListItemRequest.new({
1515
id: SCREENBOARD_DASHBOARD_ID,

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@
20132013
},
20142014
"v2.DeleteDashboardListItems" => {
20152015
"dashboard_list_id" => "Integer",
2016-
"body" => "DashboardListDeleteItemsRequest",
2016+
"body" => "DashboardListRemoveItemsRequest",
20172017
},
20182018
"v2.GetDashboardListItems" => {
20192019
"dashboard_list_id" => "Integer",

lib/datadog_api_client/inflector.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,12 +2157,12 @@ def overrides
21572157
"v2.cvss" => "CVSS",
21582158
"v2.dashboard_list_add_items_request" => "DashboardListAddItemsRequest",
21592159
"v2.dashboard_list_add_items_response" => "DashboardListAddItemsResponse",
2160-
"v2.dashboard_list_delete_items_request" => "DashboardListDeleteItemsRequest",
21612160
"v2.dashboard_list_delete_items_response" => "DashboardListDeleteItemsResponse",
21622161
"v2.dashboard_list_item" => "DashboardListItem",
21632162
"v2.dashboard_list_item_request" => "DashboardListItemRequest",
21642163
"v2.dashboard_list_item_response" => "DashboardListItemResponse",
21652164
"v2.dashboard_list_items" => "DashboardListItems",
2165+
"v2.dashboard_list_remove_items_request" => "DashboardListRemoveItemsRequest",
21662166
"v2.dashboard_list_update_items_request" => "DashboardListUpdateItemsRequest",
21672167
"v2.dashboard_list_update_items_response" => "DashboardListUpdateItemsResponse",
21682168
"v2.dashboard_trigger_wrapper" => "DashboardTriggerWrapper",

lib/datadog_api_client/v2/api/dashboard_lists_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def delete_dashboard_list_items(dashboard_list_id, body, opts = {})
108108
# Delete dashboards from an existing dashboard list.
109109
#
110110
# @param dashboard_list_id [Integer] ID of the dashboard list to delete items from.
111-
# @param body [DashboardListDeleteItemsRequest] Dashboards to delete from the dashboard list.
111+
# @param body [DashboardListRemoveItemsRequest] Dashboards to delete from the dashboard list.
112112
# @param opts [Hash] the optional parameters
113113
# @return [Array<(DashboardListDeleteItemsResponse, Integer, Hash)>] DashboardListDeleteItemsResponse data, response status code and response headers
114114
def delete_dashboard_list_items_with_http_info(dashboard_list_id, body, opts = {})

lib/datadog_api_client/v2/models/dashboard_list_delete_items_request.rb renamed to lib/datadog_api_client/v2/models/dashboard_list_remove_items_request.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# Request containing a list of dashboards to delete.
21-
class DashboardListDeleteItemsRequest
20+
# Request containing a list of dashboards to remove.
21+
class DashboardListRemoveItemsRequest
2222
include BaseGenericModel
2323

2424
# List of dashboards to delete from the dashboard list.
@@ -47,7 +47,7 @@ def self.openapi_types
4747
# @!visibility private
4848
def initialize(attributes = {})
4949
if (!attributes.is_a?(Hash))
50-
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::DashboardListDeleteItemsRequest` initialize method"
50+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::DashboardListRemoveItemsRequest` initialize method"
5151
end
5252

5353
self.additional_properties = {}

0 commit comments

Comments
 (0)