Skip to content

Commit 9765cc0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0e52e6a of spec repo
1 parent 6ee12bc commit 9765cc0

2 files changed

Lines changed: 29 additions & 7 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,27 @@ components:
783783
required: false
784784
schema:
785785
type: string
786+
NDMPageNumber:
787+
description: Specific page number to return. Defaults to 0.
788+
in: query
789+
name: page[number]
790+
required: false
791+
schema:
792+
default: 0
793+
example: 0
794+
format: int64
795+
type: integer
796+
NDMPageSize:
797+
description: Size for a given page. The maximum allowed value is 500. Defaults
798+
to 50.
799+
in: query
800+
name: page[size]
801+
required: false
802+
schema:
803+
default: 50
804+
example: 50
805+
format: int64
806+
type: integer
786807
NotificationRuleIDPathParameter:
787808
description: Notification Rule UUID
788809
example: e555e290-ed65-49bd-ae18-8acbfcf18db7
@@ -85569,14 +85590,15 @@ paths:
8556985590
description: Get the list of devices.
8557085591
operationId: ListDevices
8557185592
parameters:
85572-
- $ref: '#/components/parameters/PageSize'
85573-
- $ref: '#/components/parameters/PageNumber'
85574-
- description: The field to sort the devices by.
85593+
- $ref: '#/components/parameters/NDMPageSize'
85594+
- $ref: '#/components/parameters/NDMPageNumber'
85595+
- description: The field to sort the devices by. Defaults to `name`.
8557585596
example: status
8557685597
in: query
8557785598
name: sort
8557885599
required: false
8557985600
schema:
85601+
default: name
8558085602
type: string
8558185603
- description: Filter devices by tag.
8558285604
example: status:ok

services/network_device_monitoring/src/v2/NetworkDeviceMonitoringApi.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -635,17 +635,17 @@ export interface NetworkDeviceMonitoringApiGetInterfacesRequest {
635635

636636
export interface NetworkDeviceMonitoringApiListDevicesRequest {
637637
/**
638-
* Size for a given page. The maximum allowed value is 100.
638+
* Size for a given page. The maximum allowed value is 500. Defaults to 50.
639639
* @type number
640640
*/
641641
pageSize?: number;
642642
/**
643-
* Specific page number to return.
643+
* Specific page number to return. Defaults to 0.
644644
* @type number
645645
*/
646646
pageNumber?: number;
647647
/**
648-
* The field to sort the devices by.
648+
* The field to sort the devices by. Defaults to `name`.
649649
* @type string
650650
*/
651651
sort?: string;
@@ -770,7 +770,7 @@ export class NetworkDeviceMonitoringApi {
770770
param: NetworkDeviceMonitoringApiListDevicesRequest = {},
771771
options?: Configuration,
772772
): AsyncGenerator<DevicesListData> {
773-
let pageSize = 10;
773+
let pageSize = 50;
774774
if (param.pageSize !== undefined) {
775775
pageSize = param.pageSize;
776776
}

0 commit comments

Comments
 (0)