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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb3b4a9a28f5f5db7a2e59ebebbb42fa21b840280569c916414787c5dd1cdf72
4
- data.tar.gz: 80ce95671e405e39fc224a524137bfa1369ef0331f72190c06ad34193c2e9c97
3
+ metadata.gz: db185a5d33db094fa36757f52c73ac482d31f6dec13dff5ad5dd7a6d478488a6
4
+ data.tar.gz: cc4e4a07601fc2248dd56c4fb3cc4b79f3604d5f40cec622f95ba7a5db29e56d
5
5
  SHA512:
6
- metadata.gz: bbacbae706661d82008ed80628c07f5493e3277d4eef9b37f37f85efd5613e8f4bb9306688d569513e58fc39ad72f157d1973bb5c42b900e434477aa0e2b2f97
7
- data.tar.gz: e424a3500cd30be0b846a7b0ea302360cafe09394faa35d1bfb77ce67deda7c05b9f84cef50a781f71a7c6e746b8f409717f714779d506fce199ff81fc16c66d
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
@@ -4,5 +4,5 @@ module IncidentIo
4
4
  # The release workflow sets this before building, so it tracks whatever we
5
5
  # last published. Listed in .openapi-generator-ignore so regeneration can't
6
6
  # reset it.
7
- VERSION = "2.70.0"
7
+ VERSION = "2.71.0"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incident_io_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.70.0
4
+ version: 2.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - incident.io