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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbcc5e4de61ae28dc7d613447ba0929af006fb965b13894890dc453290613a0a
4
- data.tar.gz: bd3b7cc7abe1768fb4ca20d72da9e3696f0e905238f8d68cce7ed183c644b5b3
3
+ metadata.gz: f691ff6e0620300032fb0df3529db5e5dc5d5873a05084b97bd751953cbed684
4
+ data.tar.gz: 3c9b591eea0b994d0b543af852ea8fcf34633b784ec1fa4a9a6dae669c8f4894
5
5
  SHA512:
6
- metadata.gz: a5413e03b0843bb2d24ed4d5e02550575fb97effdb9cef8cb85a75884973dcba09d9cc626beeb5d79bce04314a7c12cadf51f5c49e0d419a8b9025789b4a509d
7
- data.tar.gz: a222edd8171c69d6fede2f22151b4b54d9f3d6ad117ab2dfbe8a193a280afc4b8a7a34acaab29de08ebf7dc5c12a56dd4f2f62a0ffae11b6a13f1baca4bcb0f5
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
@@ -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.2.0"
7
+ VERSION = "2.3.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.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - incident.io