incident_io_api 2.70.0 → 2.71.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: db185a5d33db094fa36757f52c73ac482d31f6dec13dff5ad5dd7a6d478488a6
|
|
4
|
+
data.tar.gz: cc4e4a07601fc2248dd56c4fb3cc4b79f3604d5f40cec622f95ba7a5db29e56d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 435e686c21eeff4b08b02f00acc341e8aab8c0a8f2be9e2bb28711395befe35dec11c65f3da5b9dbb57b678a60c3c79cf10c05575c8a702fe014f5d3a14536dc
|
|
7
|
+
data.tar.gz: 2ce793a9086de3c34ec07db912da80c78c3cad27e5de7ef264a7962020dcc8fa0d7f349f6dc61032c35eb91f72568cc9dc6d42ff422dede3fe9c6211f36da49a
|
|
@@ -18,6 +18,9 @@ module IncidentIo
|
|
|
18
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 not grouped unless AI incident access allows private incidents and alerts. Omit it on an update to keep the current value.
|
|
19
19
|
attr_accessor :ai_enabled
|
|
20
20
|
|
|
21
|
+
# Optional instructions the model follows when AI groups alerts on this route, such as how the systems you run relate to each other. Up to 2000 characters.
|
|
22
|
+
attr_accessor :ai_instructions
|
|
23
|
+
|
|
21
24
|
# Whether grouping is enabled
|
|
22
25
|
attr_accessor :enabled
|
|
23
26
|
|
|
@@ -34,6 +37,7 @@ module IncidentIo
|
|
|
34
37
|
def self.attribute_map
|
|
35
38
|
{
|
|
36
39
|
:'ai_enabled' => :'ai_enabled',
|
|
40
|
+
:'ai_instructions' => :'ai_instructions',
|
|
37
41
|
:'enabled' => :'enabled',
|
|
38
42
|
:'grouping_keys' => :'grouping_keys',
|
|
39
43
|
:'window_seconds' => :'window_seconds',
|
|
@@ -55,6 +59,7 @@ module IncidentIo
|
|
|
55
59
|
def self.openapi_types
|
|
56
60
|
{
|
|
57
61
|
:'ai_enabled' => :'Boolean',
|
|
62
|
+
:'ai_instructions' => :'String',
|
|
58
63
|
:'enabled' => :'Boolean',
|
|
59
64
|
:'grouping_keys' => :'Array<GroupingKeyV3>',
|
|
60
65
|
:'window_seconds' => :'Integer',
|
|
@@ -88,6 +93,10 @@ module IncidentIo
|
|
|
88
93
|
self.ai_enabled = attributes[:'ai_enabled']
|
|
89
94
|
end
|
|
90
95
|
|
|
96
|
+
if attributes.key?(:'ai_instructions')
|
|
97
|
+
self.ai_instructions = attributes[:'ai_instructions']
|
|
98
|
+
end
|
|
99
|
+
|
|
91
100
|
if attributes.key?(:'enabled')
|
|
92
101
|
self.enabled = attributes[:'enabled']
|
|
93
102
|
else
|
|
@@ -173,6 +182,7 @@ module IncidentIo
|
|
|
173
182
|
return true if self.equal?(o)
|
|
174
183
|
self.class == o.class &&
|
|
175
184
|
ai_enabled == o.ai_enabled &&
|
|
185
|
+
ai_instructions == o.ai_instructions &&
|
|
176
186
|
enabled == o.enabled &&
|
|
177
187
|
grouping_keys == o.grouping_keys &&
|
|
178
188
|
window_seconds == o.window_seconds &&
|
|
@@ -188,7 +198,7 @@ module IncidentIo
|
|
|
188
198
|
# Calculates hash code according to all attributes.
|
|
189
199
|
# @return [Integer] Hash code
|
|
190
200
|
def hash
|
|
191
|
-
[ai_enabled, enabled, grouping_keys, window_seconds, window_type].hash
|
|
201
|
+
[ai_enabled, ai_instructions, enabled, grouping_keys, window_seconds, window_type].hash
|
|
192
202
|
end
|
|
193
203
|
|
|
194
204
|
# Builds the object from hash
|
data/lib/incident_io/version.rb
CHANGED