incident_io_api 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/incident_io/models/grouping_settings_v3.rb +11 -1
- data/lib/incident_io/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f691ff6e0620300032fb0df3529db5e5dc5d5873a05084b97bd751953cbed684
|
|
4
|
+
data.tar.gz: 3c9b591eea0b994d0b543af852ea8fcf34633b784ec1fa4a9a6dae669c8f4894
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5a57ab0dd3f7e0477e9f2bb40459bd74cb712a8a40390192a44fda2b1ac5d2510f2a51582de9a375a67f5d3e37f8b5211eeb4b9698814b8fe7ceb661a4ec4fd
|
|
7
|
+
data.tar.gz: 51695b740bb9abd863207da4deeffc07a889728e4487e0aa4dff18e1456c45ad51bf76cc1296f71a6496b89095ebccd7694f4cf8d9ae2955e02a221189ca10f3
|
|
@@ -15,6 +15,9 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class GroupingSettingsV3 < ApiModelBase
|
|
18
|
+
# Use AI to group similar looking alerts. AI alert grouping can only group alerts that are attributed to the same team, so grouping keys must only contain the team alert attribute. Private alerts are grouped by key alone unless AI incident access allows private incidents and alerts. Omit it on an update to keep the current value.
|
|
19
|
+
attr_accessor :ai_enabled
|
|
20
|
+
|
|
18
21
|
# Whether grouping is enabled
|
|
19
22
|
attr_accessor :enabled
|
|
20
23
|
|
|
@@ -30,6 +33,7 @@ module IncidentIo
|
|
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
34
|
def self.attribute_map
|
|
32
35
|
{
|
|
36
|
+
:'ai_enabled' => :'ai_enabled',
|
|
33
37
|
:'enabled' => :'enabled',
|
|
34
38
|
:'grouping_keys' => :'grouping_keys',
|
|
35
39
|
:'window_seconds' => :'window_seconds',
|
|
@@ -50,6 +54,7 @@ module IncidentIo
|
|
|
50
54
|
# Attribute type mapping.
|
|
51
55
|
def self.openapi_types
|
|
52
56
|
{
|
|
57
|
+
:'ai_enabled' => :'Boolean',
|
|
53
58
|
:'enabled' => :'Boolean',
|
|
54
59
|
:'grouping_keys' => :'Array<GroupingKeyV3>',
|
|
55
60
|
:'window_seconds' => :'Integer',
|
|
@@ -79,6 +84,10 @@ module IncidentIo
|
|
|
79
84
|
h[k.to_sym] = v
|
|
80
85
|
}
|
|
81
86
|
|
|
87
|
+
if attributes.key?(:'ai_enabled')
|
|
88
|
+
self.ai_enabled = attributes[:'ai_enabled']
|
|
89
|
+
end
|
|
90
|
+
|
|
82
91
|
if attributes.key?(:'enabled')
|
|
83
92
|
self.enabled = attributes[:'enabled']
|
|
84
93
|
else
|
|
@@ -163,6 +172,7 @@ module IncidentIo
|
|
|
163
172
|
def ==(o)
|
|
164
173
|
return true if self.equal?(o)
|
|
165
174
|
self.class == o.class &&
|
|
175
|
+
ai_enabled == o.ai_enabled &&
|
|
166
176
|
enabled == o.enabled &&
|
|
167
177
|
grouping_keys == o.grouping_keys &&
|
|
168
178
|
window_seconds == o.window_seconds &&
|
|
@@ -178,7 +188,7 @@ module IncidentIo
|
|
|
178
188
|
# Calculates hash code according to all attributes.
|
|
179
189
|
# @return [Integer] Hash code
|
|
180
190
|
def hash
|
|
181
|
-
[enabled, grouping_keys, window_seconds, window_type].hash
|
|
191
|
+
[ai_enabled, enabled, grouping_keys, window_seconds, window_type].hash
|
|
182
192
|
end
|
|
183
193
|
|
|
184
194
|
# Builds the object from hash
|
data/lib/incident_io/version.rb
CHANGED