Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59588,13 +59588,14 @@ paths:
results.'
operationId: ListFleetAgents
parameters:
- description: Page number for pagination (must be greater than 0).
- description: Page number for pagination (starts at 0).
in: query
name: page_number
required: false
schema:
default: 0
format: int64
minimum: 1
minimum: 0
type: integer
- description: Number of results per page (must be greater than 0 and less than
or equal to 100).
Expand Down
6 changes: 3 additions & 3 deletions lib/datadog_api_client/v2/api/fleet_automation_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def list_fleet_agents(opts = {})
# Use the `page_number` and `page_size` query parameters to paginate through results.
#
# @param opts [Hash] the optional parameters
# @option opts [Integer] :page_number Page number for pagination (must be greater than 0).
# @option opts [Integer] :page_number Page number for pagination (starts at 0).
# @option opts [Integer] :page_size Number of results per page (must be greater than 0 and less than or equal to 100).
# @option opts [String] :sort_attribute Attribute to sort by.
# @option opts [Boolean] :sort_descending Sort order (true for descending, false for ascending).
Expand All @@ -711,8 +711,8 @@ def list_fleet_agents_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FleetAutomationAPI.list_fleet_agents ...'
end
if @api_client.config.client_side_validation && !opts[:'page_number'].nil? && opts[:'page_number'] < 1
fail ArgumentError, 'invalid value for "opts[:"page_number"]" when calling FleetAutomationAPI.list_fleet_agents, must be greater than or equal to 1.'
if @api_client.config.client_side_validation && !opts[:'page_number'].nil? && opts[:'page_number'] < 0
fail ArgumentError, 'invalid value for "opts[:"page_number"]" when calling FleetAutomationAPI.list_fleet_agents, must be greater than or equal to 0.'
end
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 100
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling FleetAutomationAPI.list_fleet_agents, must be smaller than or equal to 100.'
Expand Down
Loading