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-08-21 16:52:37.001384",
"spec_repo_commit": "ffed3856"
"regenerated": "2024-08-21 17:41:01.263937",
"spec_repo_commit": "e8ef24a7"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-21 16:52:37.026367",
"spec_repo_commit": "ffed3856"
"regenerated": "2024-08-21 17:41:01.289192",
"spec_repo_commit": "e8ef24a7"
}
}
}
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19603,6 +19603,10 @@ components:
description: A description for the suppression rule.
example: This rule suppresses low-severity signals in staging environments.
type: string
editable:
description: Whether the suppression rule is editable.
example: true
type: boolean
enabled:
description: Whether the suppression rule is enabled.
example: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class SecurityMonitoringSuppressionAttributes
# A description for the suppression rule.
attr_accessor :description

# Whether the suppression rule is editable.
attr_accessor :editable

# Whether the suppression rule is enabled.
attr_accessor :enabled

Expand Down Expand Up @@ -67,6 +70,7 @@ def self.attribute_map
:'creator' => :'creator',
:'data_exclusion_query' => :'data_exclusion_query',
:'description' => :'description',
:'editable' => :'editable',
:'enabled' => :'enabled',
:'expiration_date' => :'expiration_date',
:'name' => :'name',
Expand All @@ -86,6 +90,7 @@ def self.openapi_types
:'creator' => :'SecurityMonitoringUser',
:'data_exclusion_query' => :'String',
:'description' => :'String',
:'editable' => :'Boolean',
:'enabled' => :'Boolean',
:'expiration_date' => :'Integer',
:'name' => :'String',
Expand Down Expand Up @@ -131,6 +136,10 @@ def initialize(attributes = {})
self.description = attributes[:'description']
end

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

if attributes.key?(:'enabled')
self.enabled = attributes[:'enabled']
end
Expand Down Expand Up @@ -212,6 +221,7 @@ def ==(o)
creator == o.creator &&
data_exclusion_query == o.data_exclusion_query &&
description == o.description &&
editable == o.editable &&
enabled == o.enabled &&
expiration_date == o.expiration_date &&
name == o.name &&
Expand All @@ -227,7 +237,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[creation_date, creator, data_exclusion_query, description, enabled, expiration_date, name, rule_query, suppression_query, update_date, updater, version].hash
[creation_date, creator, data_exclusion_query, description, editable, enabled, expiration_date, name, rule_query, suppression_query, update_date, updater, version].hash
end
end
end