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
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-12-12 14:27:15.162688",
"spec_repo_commit": "3ebe762b"
"regenerated": "2024-12-12 15:23:55.421590",
"spec_repo_commit": "222e1f81"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-12 14:27:15.181601",
"spec_repo_commit": "3ebe762b"
"regenerated": "2024-12-12 15:23:55.452691",
"spec_repo_commit": "222e1f81"
}
}
}
5 changes: 0 additions & 5 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4654,11 +4654,6 @@ components:
description: Widget column field.
example: content
type: string
is_clustering_pattern_field_path:
description: Identifies the clustering pattern field column, usable only
with logs_pattern_stream.
example: true
type: boolean
width:
$ref: '#/components/schemas/ListStreamColumnWidth'
required:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-11-20T19:43:46.485Z
2024-12-11T19:18:02.796Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion examples/v1/dashboards/CreateDashboard_1039800684.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
DatadogAPIClient::V1::ListStreamColumn.new({
width: DatadogAPIClient::V1::ListStreamColumnWidth::AUTO,
field: "message",
is_clustering_pattern_field_path: true,
}),
],
query: DatadogAPIClient::V1::ListStreamQuery.new({
Expand Down
2 changes: 1 addition & 1 deletion features/v1/dashboards.feature
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ Feature: Dashboards
@team:DataDog/dashboards-backend
Scenario: Create a new dashboard with logs_pattern_stream list_stream widget
Given new "CreateDashboard" request
And body with value {"layout_type": "ordered", "title": "{{ unique }} with list_stream widget","widgets": [{"definition": {"type": "list_stream","requests": [{"columns":[{"width":"auto","field":"timestamp"},{"width":"auto","field":"message", "is_clustering_pattern_field_path": true}],"query":{"data_source":"logs_pattern_stream","query_string":"","clustering_pattern_field_path":"message","group_by":[{"facet":"service"}]}, "response_format":"event_list"}]}}]}
And body with value {"layout_type": "ordered", "title": "{{ unique }} with list_stream widget","widgets": [{"definition": {"type": "list_stream","requests": [{"columns":[{"width":"auto","field":"timestamp"},{"width":"auto","field":"message"}],"query":{"data_source":"logs_pattern_stream","query_string":"","clustering_pattern_field_path":"message","group_by":[{"facet":"service"}]}, "response_format":"event_list"}]}}]}
When the request is sent
Then the response status is 200 OK
And the response "widgets[0].definition.requests[0].query.data_source" is equal to "logs_pattern_stream"
Expand Down
12 changes: 1 addition & 11 deletions lib/datadog_api_client/v1/models/list_stream_column.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ class ListStreamColumn
# Widget column field.
attr_reader :field

# Identifies the clustering pattern field column, usable only with logs_pattern_stream.
attr_accessor :is_clustering_pattern_field_path

# Widget column width.
attr_reader :width

Expand All @@ -37,7 +34,6 @@ class ListStreamColumn
def self.attribute_map
{
:'field' => :'field',
:'is_clustering_pattern_field_path' => :'is_clustering_pattern_field_path',
:'width' => :'width'
}
end
Expand All @@ -47,7 +43,6 @@ def self.attribute_map
def self.openapi_types
{
:'field' => :'String',
:'is_clustering_pattern_field_path' => :'Boolean',
:'width' => :'ListStreamColumnWidth'
}
end
Expand All @@ -74,10 +69,6 @@ def initialize(attributes = {})
self.field = attributes[:'field']
end

if attributes.key?(:'is_clustering_pattern_field_path')
self.is_clustering_pattern_field_path = attributes[:'is_clustering_pattern_field_path']
end

if attributes.key?(:'width')
self.width = attributes[:'width']
end
Expand Down Expand Up @@ -139,7 +130,6 @@ def ==(o)
return true if self.equal?(o)
self.class == o.class &&
field == o.field &&
is_clustering_pattern_field_path == o.is_clustering_pattern_field_path &&
width == o.width &&
additional_properties == o.additional_properties
end
Expand All @@ -148,7 +138,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[field, is_clustering_pattern_field_path, width, additional_properties].hash
[field, width, additional_properties].hash
end
end
end
Loading