Skip to content

Commit 70de6c1

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

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-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.865376",
8-
"spec_repo_commit": "21cf6edb"
7+
"regenerated": "2025-04-09 16:17:51.006395",
8+
"spec_repo_commit": "28dca1fa"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-08 20:55:42.884212",
13-
"spec_repo_commit": "21cf6edb"
12+
"regenerated": "2025-04-09 16:17:51.022523",
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/support/scenarios_model_mapping.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4950,6 +4950,10 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
49504950
"type": "string",
49514951
"format": "",
49524952
},
4953+
"getIpAddresses": {
4954+
"type": "boolean",
4955+
"format": "",
4956+
},
49534957
"operationResponseType": "GetInterfacesResponse",
49544958
},
49554959
"v2.ListDeviceUserTags": {

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export class NetworkDeviceMonitoringApiRequestFactory extends BaseAPIRequestFact
5858

5959
public async getInterfaces(
6060
deviceId: string,
61+
getIpAddresses?: boolean,
6162
_options?: Configuration
6263
): Promise<RequestContext> {
6364
const _config = _options || this.configuration;
@@ -85,6 +86,13 @@ export class NetworkDeviceMonitoringApiRequestFactory extends BaseAPIRequestFact
8586
""
8687
);
8788
}
89+
if (getIpAddresses !== undefined) {
90+
requestContext.setQueryParam(
91+
"get_ip_addresses",
92+
ObjectSerializer.serialize(getIpAddresses, "boolean", ""),
93+
""
94+
);
95+
}
8896

8997
// Apply auth methods
9098
applySecurityAuthentication(_config, requestContext, [
@@ -559,6 +567,11 @@ export interface NetworkDeviceMonitoringApiGetInterfacesRequest {
559567
* @type string
560568
*/
561569
deviceId: string;
570+
/**
571+
* Whether to get the IP addresses of the interfaces.
572+
* @type boolean
573+
*/
574+
getIpAddresses?: boolean;
562575
}
563576

564577
export interface NetworkDeviceMonitoringApiListDevicesRequest {
@@ -653,6 +666,7 @@ export class NetworkDeviceMonitoringApi {
653666
): Promise<GetInterfacesResponse> {
654667
const requestContextPromise = this.requestFactory.getInterfaces(
655668
param.deviceId,
669+
param.getIpAddresses,
656670
options
657671
);
658672
return requestContextPromise.then((requestContext) => {

0 commit comments

Comments
 (0)