Skip to content

Commit a22f5cd

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 28dca1fa of spec repo
1 parent ec4000d commit a22f5cd

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-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.6",
7-
"regenerated": "2025-04-08 20:55:42.262152",
8-
"spec_repo_commit": "21cf6edb"
7+
"regenerated": "2025-04-09 16:17:50.967268",
8+
"spec_repo_commit": "28dca1fa"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-08 20:55:42.277778",
13-
"spec_repo_commit": "21cf6edb"
12+
"regenerated": "2025-04-09 16:17:50.983068",
13+
"spec_repo_commit": "28dca1fa"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45050,6 +45050,13 @@ paths:
4505045050
required: true
4505145051
schema:
4505245052
type: string
45053+
- description: Whether to get the IP addresses of the interfaces.
45054+
example: true
45055+
in: query
45056+
name: get_ip_addresses
45057+
required: false
45058+
schema:
45059+
type: boolean
4505345060
responses:
4505445061
'200':
4505545062
content:

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,6 +1757,7 @@
17571757
},
17581758
"v2.GetInterfaces" => {
17591759
"device_id" => "String",
1760+
"get_ip_addresses" => "Boolean",
17601761
},
17611762
"v2.ListDeviceUserTags" => {
17621763
"device_id" => "String",

lib/datadog_api_client/v2/api/network_device_monitoring_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def get_interfaces(device_id, opts = {})
102102
#
103103
# @param device_id [String] The ID of the device to get interfaces from.
104104
# @param opts [Hash] the optional parameters
105+
# @option opts [Boolean] :get_ip_addresses Whether to get the IP addresses of the interfaces.
105106
# @return [Array<(GetInterfacesResponse, Integer, Hash)>] GetInterfacesResponse data, response status code and response headers
106107
def get_interfaces_with_http_info(device_id, opts = {})
107108

@@ -118,6 +119,7 @@ def get_interfaces_with_http_info(device_id, opts = {})
118119
# query parameters
119120
query_params = opts[:query_params] || {}
120121
query_params[:'device_id'] = device_id
122+
query_params[:'get_ip_addresses'] = opts[:'get_ip_addresses'] if !opts[:'get_ip_addresses'].nil?
121123

122124
# header parameters
123125
header_params = opts[:header_params] || {}

0 commit comments

Comments
 (0)