Skip to content

Commit b233cb0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 6cd8a07 of spec repo (#3567)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 7ca95b2 commit b233cb0

10 files changed

Lines changed: 54 additions & 38 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87672,6 +87672,10 @@ components:
8767287672
description: A description of the critical asset.
8767387673
example: Production database servers handling PII
8767487674
type: string
87675+
editable:
87676+
description: Whether the critical asset is editable.
87677+
example: true
87678+
type: boolean
8767587679
enabled:
8767687680
description: Whether the critical asset is enabled.
8767787681
example: true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-01-02T19:09:02.221Z
1+
2026-07-10T15:48:20.043Z

cassettes/features/v2/security_monitoring/Create-a-critical-asset-returns-OK-response.yml

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-01-12T19:41:34.038Z
1+
2026-07-10T15:48:20.956Z

cassettes/features/v2/security_monitoring/Delete-a-critical-asset-returns-OK-response.yml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-01-12T19:41:36.187Z
1+
2026-07-10T15:48:22.074Z

cassettes/features/v2/security_monitoring/Get-a-critical-asset-returns-OK-response.yml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-01-12T19:41:37.223Z
1+
2026-07-10T15:48:23.863Z

cassettes/features/v2/security_monitoring/Update-a-critical-asset-returns-OK-response.yml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/datadog_api_client/v2/models/security_monitoring_critical_asset_attributes.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ class SecurityMonitoringCriticalAssetAttributes
3333
# A description of the critical asset.
3434
attr_accessor :description
3535

36+
# Whether the critical asset is editable.
37+
attr_accessor :editable
38+
3639
# Whether the critical asset is enabled.
3740
attr_accessor :enabled
3841

@@ -70,6 +73,7 @@ def self.attribute_map
7073
:'creation_date' => :'creation_date',
7174
:'creator' => :'creator',
7275
:'description' => :'description',
76+
:'editable' => :'editable',
7377
:'enabled' => :'enabled',
7478
:'query' => :'query',
7579
:'rule_query' => :'rule_query',
@@ -90,6 +94,7 @@ def self.openapi_types
9094
:'creation_date' => :'Integer',
9195
:'creator' => :'SecurityMonitoringUser',
9296
:'description' => :'String',
97+
:'editable' => :'Boolean',
9398
:'enabled' => :'Boolean',
9499
:'query' => :'String',
95100
:'rule_query' => :'String',
@@ -136,6 +141,10 @@ def initialize(attributes = {})
136141
self.description = attributes[:'description']
137142
end
138143

144+
if attributes.key?(:'editable')
145+
self.editable = attributes[:'editable']
146+
end
147+
139148
if attributes.key?(:'enabled')
140149
self.enabled = attributes[:'enabled']
141150
end
@@ -223,6 +232,7 @@ def ==(o)
223232
creation_date == o.creation_date &&
224233
creator == o.creator &&
225234
description == o.description &&
235+
editable == o.editable &&
226236
enabled == o.enabled &&
227237
query == o.query &&
228238
rule_query == o.rule_query &&
@@ -239,7 +249,7 @@ def ==(o)
239249
# @return [Integer] Hash code
240250
# @!visibility private
241251
def hash
242-
[creation_author_id, creation_date, creator, description, enabled, query, rule_query, severity, tags, update_author_id, update_date, updater, version, additional_properties].hash
252+
[creation_author_id, creation_date, creator, description, editable, enabled, query, rule_query, severity, tags, update_author_id, update_date, updater, version, additional_properties].hash
243253
end
244254
end
245255
end

0 commit comments

Comments
 (0)