Skip to content

Commit 4da6e4d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0e52e6a of spec repo
1 parent b323d97 commit 4da6e4d

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

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

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

578578
export interface NetworkDeviceMonitoringApiListDevicesRequest {
579579
/**
580-
* Size for a given page. The maximum allowed value is 100.
580+
* Size for a given page. The maximum allowed value is 500. Defaults to 50.
581581
* @type number
582582
*/
583583
pageSize?: number;
584584
/**
585-
* Specific page number to return.
585+
* Specific page number to return. Defaults to 0.
586586
* @type number
587587
*/
588588
pageNumber?: number;
589589
/**
590-
* The field to sort the devices by.
590+
* The field to sort the devices by. Defaults to `name`.
591591
* @type string
592592
*/
593593
sort?: string;
@@ -710,7 +710,7 @@ export class NetworkDeviceMonitoringApi {
710710
param: NetworkDeviceMonitoringApiListDevicesRequest = {},
711711
options?: Configuration
712712
): AsyncGenerator<DevicesListData> {
713-
let pageSize = 10;
713+
let pageSize = 50;
714714
if (param.pageSize !== undefined) {
715715
pageSize = param.pageSize;
716716
}

0 commit comments

Comments
 (0)