Skip to content

Commit

Permalink
Regenerate client from commit 4470dfc1 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Aug 21, 2024
1 parent b7b4b9b commit e738ba9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-21 14:10:00.040648",
"spec_repo_commit": "5bcbcb40"
"regenerated": "2024-08-21 15:16:50.670612",
"spec_repo_commit": "4470dfc1"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-21 14:10:00.067118",
"spec_repo_commit": "5bcbcb40"
"regenerated": "2024-08-21 15:16:50.697349",
"spec_repo_commit": "4470dfc1"
}
}
}
4 changes: 2 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4736,11 +4736,11 @@ components:
$ref: '#/components/schemas/WidgetEventSize'
group_by:
description: Group by configuration for the List Stream Widget. Group by
can be used only with logs_pattern_stream (up to 3 items) or logs_transaction_stream
can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream
(one group by item is required) list stream source.
items:
$ref: '#/components/schemas/ListStreamGroupByItems'
maxItems: 3
maxItems: 4
type: array
indexes:
description: List of indexes.
Expand Down
8 changes: 4 additions & 4 deletions lib/datadog_api_client/v1/models/list_stream_query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ListStreamQuery
# Size to use to display an event.
attr_accessor :event_size

# Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 3 items) or logs_transaction_stream (one group by item is required) list stream source.
# Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream (one group by item is required) list stream source.
attr_reader :group_by

# List of indexes.
Expand Down Expand Up @@ -141,7 +141,7 @@ def valid?
return false if !@compute.nil? && @compute.length > 5
return false if !@compute.nil? && @compute.length < 1
return false if @data_source.nil?
return false if !@group_by.nil? && @group_by.length > 3
return false if !@group_by.nil? && @group_by.length > 4
return false if @query_string.nil?
true
end
Expand Down Expand Up @@ -173,8 +173,8 @@ def data_source=(data_source)
# @param group_by [Object] Object to be assigned
# @!visibility private
def group_by=(group_by)
if !group_by.nil? && group_by.length > 3
fail ArgumentError, 'invalid value for "group_by", number of items must be less than or equal to 3.'
if !group_by.nil? && group_by.length > 4
fail ArgumentError, 'invalid value for "group_by", number of items must be less than or equal to 4.'
end
@group_by = group_by
end
Expand Down

0 comments on commit e738ba9

Please sign in to comment.