Skip to content

Commit 31f80f9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ca9a9f5c of spec repo
1 parent 98b7a07 commit 31f80f9

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-08-19 19:42:25.923818",
8-
"spec_repo_commit": "e0cd2a66"
7+
"regenerated": "2024-08-20 15:51:39.081713",
8+
"spec_repo_commit": "ca9a9f5c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-19 19:42:25.942542",
13-
"spec_repo_commit": "e0cd2a66"
12+
"regenerated": "2024-08-20 15:51:39.099231",
13+
"spec_repo_commit": "ca9a9f5c"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19549,6 +19549,10 @@ components:
1954919549
description: A description for the suppression rule.
1955019550
example: This rule suppresses low-severity signals in staging environments.
1955119551
type: string
19552+
editable:
19553+
description: Whether the suppression rule is editable.
19554+
example: true
19555+
type: boolean
1955219556
enabled:
1955319557
description: Whether the suppression rule is enabled.
1955419558
example: true

lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ class SecurityMonitoringSuppressionAttributes
3333
# A description for the suppression rule.
3434
attr_accessor :description
3535

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

@@ -65,6 +68,7 @@ def self.attribute_map
6568
:'creator' => :'creator',
6669
:'data_exclusion_query' => :'data_exclusion_query',
6770
:'description' => :'description',
71+
:'editable' => :'editable',
6872
:'enabled' => :'enabled',
6973
:'expiration_date' => :'expiration_date',
7074
:'name' => :'name',
@@ -84,6 +88,7 @@ def self.openapi_types
8488
:'creator' => :'SecurityMonitoringUser',
8589
:'data_exclusion_query' => :'String',
8690
:'description' => :'String',
91+
:'editable' => :'Boolean',
8792
:'enabled' => :'Boolean',
8893
:'expiration_date' => :'Integer',
8994
:'name' => :'String',
@@ -127,6 +132,10 @@ def initialize(attributes = {})
127132
self.description = attributes[:'description']
128133
end
129134

135+
if attributes.key?(:'editable')
136+
self.editable = attributes[:'editable']
137+
end
138+
130139
if attributes.key?(:'enabled')
131140
self.enabled = attributes[:'enabled']
132141
end
@@ -188,6 +197,7 @@ def ==(o)
188197
creator == o.creator &&
189198
data_exclusion_query == o.data_exclusion_query &&
190199
description == o.description &&
200+
editable == o.editable &&
191201
enabled == o.enabled &&
192202
expiration_date == o.expiration_date &&
193203
name == o.name &&
@@ -202,7 +212,7 @@ def ==(o)
202212
# @return [Integer] Hash code
203213
# @!visibility private
204214
def hash
205-
[creation_date, creator, data_exclusion_query, description, enabled, expiration_date, name, rule_query, suppression_query, update_date, updater, version].hash
215+
[creation_date, creator, data_exclusion_query, description, editable, enabled, expiration_date, name, rule_query, suppression_query, update_date, updater, version].hash
206216
end
207217
end
208218
end

0 commit comments

Comments
 (0)