incident_io_api 2.25.0 → 2.27.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: 40e89a464123404cef9a72eb1b3a8b83a501f46cdf53a375ae8cf08d937ff4d3
4
- data.tar.gz: fb8adbae0b27585a60e5f1cf5f79f3dd84ab5de8e7d8792c349a946df65e4fab
3
+ metadata.gz: e38363d3b1719c94a267e962eda94bb00a36db2607f33d8f3748e34e3ff43e25
4
+ data.tar.gz: 723cfe80b22f1de7c72610d684d64a9949168c7f564768518ad50f31e72b5382
5
5
  SHA512:
6
- metadata.gz: b83ab03f17e3e2dbf40471762a25860bad130280a106c1198a1723911980d18f4cfc81ae7973ed1fcc652a17c313f67345b87eedbb0dae1fda79185a3ea84134
7
- data.tar.gz: c31e75b709d620b0b62ddf3ff7f79a94bf1e1985ed82a55802399d3d4d85ca489f46a924dd8a2bf82e15e8e49b79b142396e0de83cf2ec98be3452ab70e287a0
6
+ metadata.gz: 4a4eac6441e2d1c673883327ee82ec7d2f9c362bab67fc194be202c0955d28b5f6bc34b6587212627cbcee4a71cd5481832fd9d72796b6b2a7d917d25fdddfc1
7
+ data.tar.gz: 90af268de9b23923fe5b7a0a3dfb3e89ce970608acbe0a406ca071bfcbc210433fb8d5d3b61935330e2031d64227b43fa40e86d99b010623256420a83f86435f
@@ -0,0 +1,305 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #Ruby client for the incident.io API.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module IncidentIo
17
+ class AuditLogInvestigationConfigUpdatedMetadataV2 < ApiModelBase
18
+ # What an investigation does with a duplicate incident after the change (suggest, auto)
19
+ attr_accessor :after_auto_merge_mode
20
+
21
+ # When investigations start on their own after the change (off, silent, on, conditional)
22
+ attr_accessor :after_auto_run_mode
23
+
24
+ # Whether conditional auto-run is re-checked on incident updates after the change (true, false)
25
+ attr_accessor :after_evaluate_auto_run_on_incident_update
26
+
27
+ # Whether the progress thread is hidden after the change (true, false)
28
+ attr_accessor :after_hide_progress_thread
29
+
30
+ # Whether investigations can open code change tasks on their own after the change (off, on)
31
+ attr_accessor :after_propose_code_changes_mode
32
+
33
+ # Whether investigations are switched on after the change (enabled, scheduled_for_enable, disabled)
34
+ attr_accessor :after_status
35
+
36
+ # The summary template used after the change (default, compact)
37
+ attr_accessor :after_summary_template
38
+
39
+ # What an investigation did with a duplicate incident before the change (suggest, auto)
40
+ attr_accessor :before_auto_merge_mode
41
+
42
+ # When investigations started on their own before the change (off, silent, on, conditional)
43
+ attr_accessor :before_auto_run_mode
44
+
45
+ # Whether conditional auto-run was re-checked on incident updates before the change (true, false)
46
+ attr_accessor :before_evaluate_auto_run_on_incident_update
47
+
48
+ # Whether the progress thread was hidden before the change (true, false)
49
+ attr_accessor :before_hide_progress_thread
50
+
51
+ # Whether investigations could open code change tasks on their own before the change (off, on)
52
+ attr_accessor :before_propose_code_changes_mode
53
+
54
+ # Whether investigations were switched on before the change (enabled, scheduled_for_enable, disabled)
55
+ attr_accessor :before_status
56
+
57
+ # The summary template used before the change (default, compact)
58
+ attr_accessor :before_summary_template
59
+
60
+ # What the update changed, comma separated (status, auto_run_mode, condition_groups, evaluate_auto_run_on_incident_update, auto_merge_mode, propose_code_changes_mode, tuneables, hide_progress_thread, summary_template)
61
+ attr_accessor :changed
62
+
63
+ # Attribute mapping from ruby-style variable name to JSON key.
64
+ def self.attribute_map
65
+ {
66
+ :'after_auto_merge_mode' => :'after_auto_merge_mode',
67
+ :'after_auto_run_mode' => :'after_auto_run_mode',
68
+ :'after_evaluate_auto_run_on_incident_update' => :'after_evaluate_auto_run_on_incident_update',
69
+ :'after_hide_progress_thread' => :'after_hide_progress_thread',
70
+ :'after_propose_code_changes_mode' => :'after_propose_code_changes_mode',
71
+ :'after_status' => :'after_status',
72
+ :'after_summary_template' => :'after_summary_template',
73
+ :'before_auto_merge_mode' => :'before_auto_merge_mode',
74
+ :'before_auto_run_mode' => :'before_auto_run_mode',
75
+ :'before_evaluate_auto_run_on_incident_update' => :'before_evaluate_auto_run_on_incident_update',
76
+ :'before_hide_progress_thread' => :'before_hide_progress_thread',
77
+ :'before_propose_code_changes_mode' => :'before_propose_code_changes_mode',
78
+ :'before_status' => :'before_status',
79
+ :'before_summary_template' => :'before_summary_template',
80
+ :'changed' => :'changed'
81
+ }
82
+ end
83
+
84
+ # Returns attribute mapping this model knows about
85
+ def self.acceptable_attribute_map
86
+ attribute_map
87
+ end
88
+
89
+ # Returns all the JSON keys this model knows about
90
+ def self.acceptable_attributes
91
+ acceptable_attribute_map.values
92
+ end
93
+
94
+ # Attribute type mapping.
95
+ def self.openapi_types
96
+ {
97
+ :'after_auto_merge_mode' => :'String',
98
+ :'after_auto_run_mode' => :'String',
99
+ :'after_evaluate_auto_run_on_incident_update' => :'String',
100
+ :'after_hide_progress_thread' => :'String',
101
+ :'after_propose_code_changes_mode' => :'String',
102
+ :'after_status' => :'String',
103
+ :'after_summary_template' => :'String',
104
+ :'before_auto_merge_mode' => :'String',
105
+ :'before_auto_run_mode' => :'String',
106
+ :'before_evaluate_auto_run_on_incident_update' => :'String',
107
+ :'before_hide_progress_thread' => :'String',
108
+ :'before_propose_code_changes_mode' => :'String',
109
+ :'before_status' => :'String',
110
+ :'before_summary_template' => :'String',
111
+ :'changed' => :'String'
112
+ }
113
+ end
114
+
115
+ # List of attributes with nullable: true
116
+ def self.openapi_nullable
117
+ Set.new([
118
+ ])
119
+ end
120
+
121
+ # Initializes the object
122
+ # @param [Hash] attributes Model attributes in the form of hash
123
+ def initialize(attributes = {})
124
+ if (!attributes.is_a?(Hash))
125
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::AuditLogInvestigationConfigUpdatedMetadataV2` initialize method"
126
+ end
127
+
128
+ # check to see if the attribute exists and convert string to symbol for hash key
129
+ acceptable_attribute_map = self.class.acceptable_attribute_map
130
+ attributes = attributes.each_with_object({}) { |(k, v), h|
131
+ if (!acceptable_attribute_map.key?(k.to_sym))
132
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::AuditLogInvestigationConfigUpdatedMetadataV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
133
+ end
134
+ h[k.to_sym] = v
135
+ }
136
+
137
+ if attributes.key?(:'after_auto_merge_mode')
138
+ self.after_auto_merge_mode = attributes[:'after_auto_merge_mode']
139
+ end
140
+
141
+ if attributes.key?(:'after_auto_run_mode')
142
+ self.after_auto_run_mode = attributes[:'after_auto_run_mode']
143
+ end
144
+
145
+ if attributes.key?(:'after_evaluate_auto_run_on_incident_update')
146
+ self.after_evaluate_auto_run_on_incident_update = attributes[:'after_evaluate_auto_run_on_incident_update']
147
+ end
148
+
149
+ if attributes.key?(:'after_hide_progress_thread')
150
+ self.after_hide_progress_thread = attributes[:'after_hide_progress_thread']
151
+ end
152
+
153
+ if attributes.key?(:'after_propose_code_changes_mode')
154
+ self.after_propose_code_changes_mode = attributes[:'after_propose_code_changes_mode']
155
+ end
156
+
157
+ if attributes.key?(:'after_status')
158
+ self.after_status = attributes[:'after_status']
159
+ end
160
+
161
+ if attributes.key?(:'after_summary_template')
162
+ self.after_summary_template = attributes[:'after_summary_template']
163
+ end
164
+
165
+ if attributes.key?(:'before_auto_merge_mode')
166
+ self.before_auto_merge_mode = attributes[:'before_auto_merge_mode']
167
+ end
168
+
169
+ if attributes.key?(:'before_auto_run_mode')
170
+ self.before_auto_run_mode = attributes[:'before_auto_run_mode']
171
+ end
172
+
173
+ if attributes.key?(:'before_evaluate_auto_run_on_incident_update')
174
+ self.before_evaluate_auto_run_on_incident_update = attributes[:'before_evaluate_auto_run_on_incident_update']
175
+ end
176
+
177
+ if attributes.key?(:'before_hide_progress_thread')
178
+ self.before_hide_progress_thread = attributes[:'before_hide_progress_thread']
179
+ end
180
+
181
+ if attributes.key?(:'before_propose_code_changes_mode')
182
+ self.before_propose_code_changes_mode = attributes[:'before_propose_code_changes_mode']
183
+ end
184
+
185
+ if attributes.key?(:'before_status')
186
+ self.before_status = attributes[:'before_status']
187
+ end
188
+
189
+ if attributes.key?(:'before_summary_template')
190
+ self.before_summary_template = attributes[:'before_summary_template']
191
+ end
192
+
193
+ if attributes.key?(:'changed')
194
+ self.changed = attributes[:'changed']
195
+ else
196
+ self.changed = nil
197
+ end
198
+ end
199
+
200
+ # Show invalid properties with the reasons. Usually used together with valid?
201
+ # @return Array for valid properties with the reasons
202
+ def list_invalid_properties
203
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
204
+ invalid_properties = Array.new
205
+ if @changed.nil?
206
+ invalid_properties.push('invalid value for "changed", changed cannot be nil.')
207
+ end
208
+
209
+ invalid_properties
210
+ end
211
+
212
+ # Check to see if the all the properties in the model are valid
213
+ # @return true if the model is valid
214
+ def valid?
215
+ warn '[DEPRECATED] the `valid?` method is obsolete'
216
+ return false if @changed.nil?
217
+ true
218
+ end
219
+
220
+ # Custom attribute writer method with validation
221
+ # @param [Object] changed Value to be assigned
222
+ def changed=(changed)
223
+ if changed.nil?
224
+ fail ArgumentError, 'changed cannot be nil'
225
+ end
226
+
227
+ @changed = changed
228
+ end
229
+
230
+ # Checks equality by comparing each attribute.
231
+ # @param [Object] Object to be compared
232
+ def ==(o)
233
+ return true if self.equal?(o)
234
+ self.class == o.class &&
235
+ after_auto_merge_mode == o.after_auto_merge_mode &&
236
+ after_auto_run_mode == o.after_auto_run_mode &&
237
+ after_evaluate_auto_run_on_incident_update == o.after_evaluate_auto_run_on_incident_update &&
238
+ after_hide_progress_thread == o.after_hide_progress_thread &&
239
+ after_propose_code_changes_mode == o.after_propose_code_changes_mode &&
240
+ after_status == o.after_status &&
241
+ after_summary_template == o.after_summary_template &&
242
+ before_auto_merge_mode == o.before_auto_merge_mode &&
243
+ before_auto_run_mode == o.before_auto_run_mode &&
244
+ before_evaluate_auto_run_on_incident_update == o.before_evaluate_auto_run_on_incident_update &&
245
+ before_hide_progress_thread == o.before_hide_progress_thread &&
246
+ before_propose_code_changes_mode == o.before_propose_code_changes_mode &&
247
+ before_status == o.before_status &&
248
+ before_summary_template == o.before_summary_template &&
249
+ changed == o.changed
250
+ end
251
+
252
+ # @see the `==` method
253
+ # @param [Object] Object to be compared
254
+ def eql?(o)
255
+ self == o
256
+ end
257
+
258
+ # Calculates hash code according to all attributes.
259
+ # @return [Integer] Hash code
260
+ def hash
261
+ [after_auto_merge_mode, after_auto_run_mode, after_evaluate_auto_run_on_incident_update, after_hide_progress_thread, after_propose_code_changes_mode, after_status, after_summary_template, before_auto_merge_mode, before_auto_run_mode, before_evaluate_auto_run_on_incident_update, before_hide_progress_thread, before_propose_code_changes_mode, before_status, before_summary_template, changed].hash
262
+ end
263
+
264
+ # Builds the object from hash
265
+ # @param [Hash] attributes Model attributes in the form of hash
266
+ # @return [Object] Returns the model itself
267
+ def self.build_from_hash(attributes)
268
+ return nil unless attributes.is_a?(Hash)
269
+ attributes = attributes.transform_keys(&:to_sym)
270
+ transformed_hash = {}
271
+ openapi_types.each_pair do |key, type|
272
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
273
+ transformed_hash["#{key}"] = nil
274
+ elsif type =~ /\AArray<(.*)>/i
275
+ # check to ensure the input is an array given that the attribute
276
+ # is documented as an array but the input is not
277
+ if attributes[attribute_map[key]].is_a?(Array)
278
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
279
+ end
280
+ elsif !attributes[attribute_map[key]].nil?
281
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
282
+ end
283
+ end
284
+ new(transformed_hash)
285
+ end
286
+
287
+ # Returns the object in the form of hash
288
+ # @return [Hash] Returns the object in the form of hash
289
+ def to_hash
290
+ hash = {}
291
+ self.class.attribute_map.each_pair do |attr, param|
292
+ value = self.send(attr)
293
+ if value.nil?
294
+ is_nullable = self.class.openapi_nullable.include?(attr)
295
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
296
+ end
297
+
298
+ hash[param] = _to_hash(value)
299
+ end
300
+ hash
301
+ end
302
+
303
+ end
304
+
305
+ end
@@ -21,7 +21,7 @@ module IncidentIo
21
21
  # The name of the target
22
22
  attr_accessor :name
23
23
 
24
- # The type of target Known values: `api_key`, `alert`, `alert_chat_message_template`, `alert_route`, `alert_schema`, `alert_source`, `alert_priority`, `announcement_rule`, `announcement_post_template`, `catalog_type`, `catalog_entry`, `catalog_attribute`, `connector_config`, `custom_field`, `debrief_invite_rule`, `escalation`, `escalation_path`, `escalation_path_template`, `extension_connector`, `extension_connector_tool`, `extension_plugin`, `glossary_entry`, `investigation_trigger`, `follow_up_category`, `follow_up_priority`, `holiday_user_feed`, `hris_time_off_policy`, `incident`, `incident_call_transcription_session`, `incident_call_setting`, `incident_duration_metric`, `incident_template`, `maintenance_window`, `incident_role`, `incident_status`, `incident_timestamp`, `incident_timestamp_set_by_rule`, `incident_type`, `integration`, `internal_status_page`, `ip_allowlist`, `nudge`, `on_call_notification_method`, `on_call_notification_pause`, `organisation`, `organisation_settings`, `schedule_override`, `schedule_sync_rule`, `schedule_sync_target`, `policy`, `policy_report_schedule`, `post_incident_task`, `postmortem_template`, `postmortem_template_section`, `private_incident_membership`, `rbac_role`, `scim_group`, `schedule`, `team_role`, `secret`, `severity`, `status_page`, `status_page_sub_page`, `status_page_template`, `team_settings`, `telemetry_data_source`, `twilio_connection`, `user`, `user_api_key`, `workflow`, `activity_log`, `timeline_item`, `on_call_upsell_request`
24
+ # The type of target Known values: `api_key`, `alert`, `alert_chat_message_template`, `alert_route`, `alert_schema`, `alert_source`, `alert_priority`, `announcement_rule`, `announcement_post_template`, `catalog_type`, `catalog_entry`, `catalog_attribute`, `connector_config`, `custom_field`, `debrief_invite_rule`, `escalation`, `escalation_path`, `escalation_path_template`, `extension_connector`, `extension_connector_tool`, `extension_plugin`, `glossary_entry`, `investigation_trigger`, `investigation_config`, `follow_up_category`, `follow_up_priority`, `holiday_user_feed`, `hris_time_off_policy`, `incident`, `incident_call_transcription_session`, `incident_call_setting`, `incident_duration_metric`, `incident_template`, `maintenance_window`, `incident_role`, `incident_status`, `incident_timestamp`, `incident_timestamp_set_by_rule`, `incident_type`, `integration`, `internal_status_page`, `ip_allowlist`, `nudge`, `on_call_notification_method`, `on_call_notification_pause`, `organisation`, `organisation_settings`, `schedule_override`, `schedule_sync_rule`, `schedule_sync_target`, `policy`, `policy_report_schedule`, `post_incident_task`, `postmortem_template`, `postmortem_template_section`, `private_incident_membership`, `rbac_role`, `scim_group`, `schedule`, `team_role`, `secret`, `severity`, `status_page`, `status_page_sub_page`, `status_page_template`, `team_settings`, `telemetry_data_source`, `twilio_connection`, `user`, `user_api_key`, `workflow`, `activity_log`, `timeline_item`, `on_call_upsell_request`
25
25
  attr_accessor :type
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -0,0 +1,192 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #Ruby client for the incident.io API.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module IncidentIo
17
+ class AuditLogTelemetryDataSourcePassthroughChangedMetadataV2 < ApiModelBase
18
+ # Whether the connector was offered to external MCP clients before the change
19
+ attr_accessor :from
20
+
21
+ # Whether the connector is offered to external MCP clients after the change
22
+ attr_accessor :to
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'from' => :'from',
28
+ :'to' => :'to'
29
+ }
30
+ end
31
+
32
+ # Returns attribute mapping this model knows about
33
+ def self.acceptable_attribute_map
34
+ attribute_map
35
+ end
36
+
37
+ # Returns all the JSON keys this model knows about
38
+ def self.acceptable_attributes
39
+ acceptable_attribute_map.values
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.openapi_types
44
+ {
45
+ :'from' => :'String',
46
+ :'to' => :'String'
47
+ }
48
+ end
49
+
50
+ # List of attributes with nullable: true
51
+ def self.openapi_nullable
52
+ Set.new([
53
+ ])
54
+ end
55
+
56
+ # Initializes the object
57
+ # @param [Hash] attributes Model attributes in the form of hash
58
+ def initialize(attributes = {})
59
+ if (!attributes.is_a?(Hash))
60
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::AuditLogTelemetryDataSourcePassthroughChangedMetadataV2` initialize method"
61
+ end
62
+
63
+ # check to see if the attribute exists and convert string to symbol for hash key
64
+ acceptable_attribute_map = self.class.acceptable_attribute_map
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!acceptable_attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::AuditLogTelemetryDataSourcePassthroughChangedMetadataV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'from')
73
+ self.from = attributes[:'from']
74
+ else
75
+ self.from = nil
76
+ end
77
+
78
+ if attributes.key?(:'to')
79
+ self.to = attributes[:'to']
80
+ else
81
+ self.to = nil
82
+ end
83
+ end
84
+
85
+ # Show invalid properties with the reasons. Usually used together with valid?
86
+ # @return Array for valid properties with the reasons
87
+ def list_invalid_properties
88
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
89
+ invalid_properties = Array.new
90
+ if @from.nil?
91
+ invalid_properties.push('invalid value for "from", from cannot be nil.')
92
+ end
93
+
94
+ if @to.nil?
95
+ invalid_properties.push('invalid value for "to", to cannot be nil.')
96
+ end
97
+
98
+ invalid_properties
99
+ end
100
+
101
+ # Check to see if the all the properties in the model are valid
102
+ # @return true if the model is valid
103
+ def valid?
104
+ warn '[DEPRECATED] the `valid?` method is obsolete'
105
+ return false if @from.nil?
106
+ return false if @to.nil?
107
+ true
108
+ end
109
+
110
+ # Custom attribute writer method with validation
111
+ # @param [Object] from Value to be assigned
112
+ def from=(from)
113
+ if from.nil?
114
+ fail ArgumentError, 'from cannot be nil'
115
+ end
116
+
117
+ @from = from
118
+ end
119
+
120
+ # Custom attribute writer method with validation
121
+ # @param [Object] to Value to be assigned
122
+ def to=(to)
123
+ if to.nil?
124
+ fail ArgumentError, 'to cannot be nil'
125
+ end
126
+
127
+ @to = to
128
+ end
129
+
130
+ # Checks equality by comparing each attribute.
131
+ # @param [Object] Object to be compared
132
+ def ==(o)
133
+ return true if self.equal?(o)
134
+ self.class == o.class &&
135
+ from == o.from &&
136
+ to == o.to
137
+ end
138
+
139
+ # @see the `==` method
140
+ # @param [Object] Object to be compared
141
+ def eql?(o)
142
+ self == o
143
+ end
144
+
145
+ # Calculates hash code according to all attributes.
146
+ # @return [Integer] Hash code
147
+ def hash
148
+ [from, to].hash
149
+ end
150
+
151
+ # Builds the object from hash
152
+ # @param [Hash] attributes Model attributes in the form of hash
153
+ # @return [Object] Returns the model itself
154
+ def self.build_from_hash(attributes)
155
+ return nil unless attributes.is_a?(Hash)
156
+ attributes = attributes.transform_keys(&:to_sym)
157
+ transformed_hash = {}
158
+ openapi_types.each_pair do |key, type|
159
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
160
+ transformed_hash["#{key}"] = nil
161
+ elsif type =~ /\AArray<(.*)>/i
162
+ # check to ensure the input is an array given that the attribute
163
+ # is documented as an array but the input is not
164
+ if attributes[attribute_map[key]].is_a?(Array)
165
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
166
+ end
167
+ elsif !attributes[attribute_map[key]].nil?
168
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
169
+ end
170
+ end
171
+ new(transformed_hash)
172
+ end
173
+
174
+ # Returns the object in the form of hash
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_hash
177
+ hash = {}
178
+ self.class.attribute_map.each_pair do |attr, param|
179
+ value = self.send(attr)
180
+ if value.nil?
181
+ is_nullable = self.class.openapi_nullable.include?(attr)
182
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
183
+ end
184
+
185
+ hash[param] = _to_hash(value)
186
+ end
187
+ hash
188
+ end
189
+
190
+ end
191
+
192
+ end
@@ -0,0 +1,326 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #Ruby client for the incident.io API.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module IncidentIo
17
+ class AuditLogsInvestigationConfigUpdatedV1 < ApiModelBase
18
+ # The type of log entry that this is
19
+ attr_accessor :action
20
+
21
+ attr_accessor :actor
22
+
23
+ attr_accessor :context
24
+
25
+ attr_accessor :metadata
26
+
27
+ # When the entry occurred
28
+ attr_accessor :occurred_at
29
+
30
+ # The custom field that was created
31
+ attr_accessor :targets
32
+
33
+ # Which version the event is
34
+ attr_accessor :version
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+ :'action' => :'action',
40
+ :'actor' => :'actor',
41
+ :'context' => :'context',
42
+ :'metadata' => :'metadata',
43
+ :'occurred_at' => :'occurred_at',
44
+ :'targets' => :'targets',
45
+ :'version' => :'version'
46
+ }
47
+ end
48
+
49
+ # Returns attribute mapping this model knows about
50
+ def self.acceptable_attribute_map
51
+ attribute_map
52
+ end
53
+
54
+ # Returns all the JSON keys this model knows about
55
+ def self.acceptable_attributes
56
+ acceptable_attribute_map.values
57
+ end
58
+
59
+ # Attribute type mapping.
60
+ def self.openapi_types
61
+ {
62
+ :'action' => :'String',
63
+ :'actor' => :'AuditLogActorV2',
64
+ :'context' => :'AuditLogEntryContextV2',
65
+ :'metadata' => :'AuditLogInvestigationConfigUpdatedMetadataV2',
66
+ :'occurred_at' => :'Time',
67
+ :'targets' => :'Array<AuditLogTargetV2>',
68
+ :'version' => :'Integer'
69
+ }
70
+ end
71
+
72
+ # List of attributes with nullable: true
73
+ def self.openapi_nullable
74
+ Set.new([
75
+ ])
76
+ end
77
+
78
+ # Initializes the object
79
+ # @param [Hash] attributes Model attributes in the form of hash
80
+ def initialize(attributes = {})
81
+ if (!attributes.is_a?(Hash))
82
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::AuditLogsInvestigationConfigUpdatedV1` initialize method"
83
+ end
84
+
85
+ # check to see if the attribute exists and convert string to symbol for hash key
86
+ acceptable_attribute_map = self.class.acceptable_attribute_map
87
+ attributes = attributes.each_with_object({}) { |(k, v), h|
88
+ if (!acceptable_attribute_map.key?(k.to_sym))
89
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::AuditLogsInvestigationConfigUpdatedV1`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
90
+ end
91
+ h[k.to_sym] = v
92
+ }
93
+
94
+ if attributes.key?(:'action')
95
+ self.action = attributes[:'action']
96
+ else
97
+ self.action = nil
98
+ end
99
+
100
+ if attributes.key?(:'actor')
101
+ self.actor = attributes[:'actor']
102
+ else
103
+ self.actor = nil
104
+ end
105
+
106
+ if attributes.key?(:'context')
107
+ self.context = attributes[:'context']
108
+ else
109
+ self.context = nil
110
+ end
111
+
112
+ if attributes.key?(:'metadata')
113
+ self.metadata = attributes[:'metadata']
114
+ else
115
+ self.metadata = nil
116
+ end
117
+
118
+ if attributes.key?(:'occurred_at')
119
+ self.occurred_at = attributes[:'occurred_at']
120
+ else
121
+ self.occurred_at = nil
122
+ end
123
+
124
+ if attributes.key?(:'targets')
125
+ if (value = attributes[:'targets']).is_a?(Array)
126
+ self.targets = value
127
+ end
128
+ else
129
+ self.targets = nil
130
+ end
131
+
132
+ if attributes.key?(:'version')
133
+ self.version = attributes[:'version']
134
+ else
135
+ self.version = nil
136
+ end
137
+ end
138
+
139
+ # Show invalid properties with the reasons. Usually used together with valid?
140
+ # @return Array for valid properties with the reasons
141
+ def list_invalid_properties
142
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
143
+ invalid_properties = Array.new
144
+ if @action.nil?
145
+ invalid_properties.push('invalid value for "action", action cannot be nil.')
146
+ end
147
+
148
+ if @actor.nil?
149
+ invalid_properties.push('invalid value for "actor", actor cannot be nil.')
150
+ end
151
+
152
+ if @context.nil?
153
+ invalid_properties.push('invalid value for "context", context cannot be nil.')
154
+ end
155
+
156
+ if @metadata.nil?
157
+ invalid_properties.push('invalid value for "metadata", metadata cannot be nil.')
158
+ end
159
+
160
+ if @occurred_at.nil?
161
+ invalid_properties.push('invalid value for "occurred_at", occurred_at cannot be nil.')
162
+ end
163
+
164
+ if @targets.nil?
165
+ invalid_properties.push('invalid value for "targets", targets cannot be nil.')
166
+ end
167
+
168
+ if @version.nil?
169
+ invalid_properties.push('invalid value for "version", version cannot be nil.')
170
+ end
171
+
172
+ invalid_properties
173
+ end
174
+
175
+ # Check to see if the all the properties in the model are valid
176
+ # @return true if the model is valid
177
+ def valid?
178
+ warn '[DEPRECATED] the `valid?` method is obsolete'
179
+ return false if @action.nil?
180
+ return false if @actor.nil?
181
+ return false if @context.nil?
182
+ return false if @metadata.nil?
183
+ return false if @occurred_at.nil?
184
+ return false if @targets.nil?
185
+ return false if @version.nil?
186
+ true
187
+ end
188
+
189
+ # Custom attribute writer method with validation
190
+ # @param [Object] action Value to be assigned
191
+ def action=(action)
192
+ if action.nil?
193
+ fail ArgumentError, 'action cannot be nil'
194
+ end
195
+
196
+ @action = action
197
+ end
198
+
199
+ # Custom attribute writer method with validation
200
+ # @param [Object] actor Value to be assigned
201
+ def actor=(actor)
202
+ if actor.nil?
203
+ fail ArgumentError, 'actor cannot be nil'
204
+ end
205
+
206
+ @actor = actor
207
+ end
208
+
209
+ # Custom attribute writer method with validation
210
+ # @param [Object] context Value to be assigned
211
+ def context=(context)
212
+ if context.nil?
213
+ fail ArgumentError, 'context cannot be nil'
214
+ end
215
+
216
+ @context = context
217
+ end
218
+
219
+ # Custom attribute writer method with validation
220
+ # @param [Object] metadata Value to be assigned
221
+ def metadata=(metadata)
222
+ if metadata.nil?
223
+ fail ArgumentError, 'metadata cannot be nil'
224
+ end
225
+
226
+ @metadata = metadata
227
+ end
228
+
229
+ # Custom attribute writer method with validation
230
+ # @param [Object] occurred_at Value to be assigned
231
+ def occurred_at=(occurred_at)
232
+ if occurred_at.nil?
233
+ fail ArgumentError, 'occurred_at cannot be nil'
234
+ end
235
+
236
+ @occurred_at = occurred_at
237
+ end
238
+
239
+ # Custom attribute writer method with validation
240
+ # @param [Object] targets Value to be assigned
241
+ def targets=(targets)
242
+ if targets.nil?
243
+ fail ArgumentError, 'targets cannot be nil'
244
+ end
245
+
246
+ @targets = targets
247
+ end
248
+
249
+ # Custom attribute writer method with validation
250
+ # @param [Object] version Value to be assigned
251
+ def version=(version)
252
+ if version.nil?
253
+ fail ArgumentError, 'version cannot be nil'
254
+ end
255
+
256
+ @version = version
257
+ end
258
+
259
+ # Checks equality by comparing each attribute.
260
+ # @param [Object] Object to be compared
261
+ def ==(o)
262
+ return true if self.equal?(o)
263
+ self.class == o.class &&
264
+ action == o.action &&
265
+ actor == o.actor &&
266
+ context == o.context &&
267
+ metadata == o.metadata &&
268
+ occurred_at == o.occurred_at &&
269
+ targets == o.targets &&
270
+ version == o.version
271
+ end
272
+
273
+ # @see the `==` method
274
+ # @param [Object] Object to be compared
275
+ def eql?(o)
276
+ self == o
277
+ end
278
+
279
+ # Calculates hash code according to all attributes.
280
+ # @return [Integer] Hash code
281
+ def hash
282
+ [action, actor, context, metadata, occurred_at, targets, version].hash
283
+ end
284
+
285
+ # Builds the object from hash
286
+ # @param [Hash] attributes Model attributes in the form of hash
287
+ # @return [Object] Returns the model itself
288
+ def self.build_from_hash(attributes)
289
+ return nil unless attributes.is_a?(Hash)
290
+ attributes = attributes.transform_keys(&:to_sym)
291
+ transformed_hash = {}
292
+ openapi_types.each_pair do |key, type|
293
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
294
+ transformed_hash["#{key}"] = nil
295
+ elsif type =~ /\AArray<(.*)>/i
296
+ # check to ensure the input is an array given that the attribute
297
+ # is documented as an array but the input is not
298
+ if attributes[attribute_map[key]].is_a?(Array)
299
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
300
+ end
301
+ elsif !attributes[attribute_map[key]].nil?
302
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
303
+ end
304
+ end
305
+ new(transformed_hash)
306
+ end
307
+
308
+ # Returns the object in the form of hash
309
+ # @return [Hash] Returns the object in the form of hash
310
+ def to_hash
311
+ hash = {}
312
+ self.class.attribute_map.each_pair do |attr, param|
313
+ value = self.send(attr)
314
+ if value.nil?
315
+ is_nullable = self.class.openapi_nullable.include?(attr)
316
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
317
+ end
318
+
319
+ hash[param] = _to_hash(value)
320
+ end
321
+ hash
322
+ end
323
+
324
+ end
325
+
326
+ end
@@ -0,0 +1,326 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #Ruby client for the incident.io API.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module IncidentIo
17
+ class AuditLogsTelemetryDataSourcePassthroughChangedV1 < ApiModelBase
18
+ # The type of log entry that this is
19
+ attr_accessor :action
20
+
21
+ attr_accessor :actor
22
+
23
+ attr_accessor :context
24
+
25
+ attr_accessor :metadata
26
+
27
+ # When the entry occurred
28
+ attr_accessor :occurred_at
29
+
30
+ # The custom field that was created
31
+ attr_accessor :targets
32
+
33
+ # Which version the event is
34
+ attr_accessor :version
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+ :'action' => :'action',
40
+ :'actor' => :'actor',
41
+ :'context' => :'context',
42
+ :'metadata' => :'metadata',
43
+ :'occurred_at' => :'occurred_at',
44
+ :'targets' => :'targets',
45
+ :'version' => :'version'
46
+ }
47
+ end
48
+
49
+ # Returns attribute mapping this model knows about
50
+ def self.acceptable_attribute_map
51
+ attribute_map
52
+ end
53
+
54
+ # Returns all the JSON keys this model knows about
55
+ def self.acceptable_attributes
56
+ acceptable_attribute_map.values
57
+ end
58
+
59
+ # Attribute type mapping.
60
+ def self.openapi_types
61
+ {
62
+ :'action' => :'String',
63
+ :'actor' => :'AuditLogActorV2',
64
+ :'context' => :'AuditLogEntryContextV2',
65
+ :'metadata' => :'AuditLogTelemetryDataSourcePassthroughChangedMetadataV2',
66
+ :'occurred_at' => :'Time',
67
+ :'targets' => :'Array<AuditLogTargetV2>',
68
+ :'version' => :'Integer'
69
+ }
70
+ end
71
+
72
+ # List of attributes with nullable: true
73
+ def self.openapi_nullable
74
+ Set.new([
75
+ ])
76
+ end
77
+
78
+ # Initializes the object
79
+ # @param [Hash] attributes Model attributes in the form of hash
80
+ def initialize(attributes = {})
81
+ if (!attributes.is_a?(Hash))
82
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::AuditLogsTelemetryDataSourcePassthroughChangedV1` initialize method"
83
+ end
84
+
85
+ # check to see if the attribute exists and convert string to symbol for hash key
86
+ acceptable_attribute_map = self.class.acceptable_attribute_map
87
+ attributes = attributes.each_with_object({}) { |(k, v), h|
88
+ if (!acceptable_attribute_map.key?(k.to_sym))
89
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::AuditLogsTelemetryDataSourcePassthroughChangedV1`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
90
+ end
91
+ h[k.to_sym] = v
92
+ }
93
+
94
+ if attributes.key?(:'action')
95
+ self.action = attributes[:'action']
96
+ else
97
+ self.action = nil
98
+ end
99
+
100
+ if attributes.key?(:'actor')
101
+ self.actor = attributes[:'actor']
102
+ else
103
+ self.actor = nil
104
+ end
105
+
106
+ if attributes.key?(:'context')
107
+ self.context = attributes[:'context']
108
+ else
109
+ self.context = nil
110
+ end
111
+
112
+ if attributes.key?(:'metadata')
113
+ self.metadata = attributes[:'metadata']
114
+ else
115
+ self.metadata = nil
116
+ end
117
+
118
+ if attributes.key?(:'occurred_at')
119
+ self.occurred_at = attributes[:'occurred_at']
120
+ else
121
+ self.occurred_at = nil
122
+ end
123
+
124
+ if attributes.key?(:'targets')
125
+ if (value = attributes[:'targets']).is_a?(Array)
126
+ self.targets = value
127
+ end
128
+ else
129
+ self.targets = nil
130
+ end
131
+
132
+ if attributes.key?(:'version')
133
+ self.version = attributes[:'version']
134
+ else
135
+ self.version = nil
136
+ end
137
+ end
138
+
139
+ # Show invalid properties with the reasons. Usually used together with valid?
140
+ # @return Array for valid properties with the reasons
141
+ def list_invalid_properties
142
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
143
+ invalid_properties = Array.new
144
+ if @action.nil?
145
+ invalid_properties.push('invalid value for "action", action cannot be nil.')
146
+ end
147
+
148
+ if @actor.nil?
149
+ invalid_properties.push('invalid value for "actor", actor cannot be nil.')
150
+ end
151
+
152
+ if @context.nil?
153
+ invalid_properties.push('invalid value for "context", context cannot be nil.')
154
+ end
155
+
156
+ if @metadata.nil?
157
+ invalid_properties.push('invalid value for "metadata", metadata cannot be nil.')
158
+ end
159
+
160
+ if @occurred_at.nil?
161
+ invalid_properties.push('invalid value for "occurred_at", occurred_at cannot be nil.')
162
+ end
163
+
164
+ if @targets.nil?
165
+ invalid_properties.push('invalid value for "targets", targets cannot be nil.')
166
+ end
167
+
168
+ if @version.nil?
169
+ invalid_properties.push('invalid value for "version", version cannot be nil.')
170
+ end
171
+
172
+ invalid_properties
173
+ end
174
+
175
+ # Check to see if the all the properties in the model are valid
176
+ # @return true if the model is valid
177
+ def valid?
178
+ warn '[DEPRECATED] the `valid?` method is obsolete'
179
+ return false if @action.nil?
180
+ return false if @actor.nil?
181
+ return false if @context.nil?
182
+ return false if @metadata.nil?
183
+ return false if @occurred_at.nil?
184
+ return false if @targets.nil?
185
+ return false if @version.nil?
186
+ true
187
+ end
188
+
189
+ # Custom attribute writer method with validation
190
+ # @param [Object] action Value to be assigned
191
+ def action=(action)
192
+ if action.nil?
193
+ fail ArgumentError, 'action cannot be nil'
194
+ end
195
+
196
+ @action = action
197
+ end
198
+
199
+ # Custom attribute writer method with validation
200
+ # @param [Object] actor Value to be assigned
201
+ def actor=(actor)
202
+ if actor.nil?
203
+ fail ArgumentError, 'actor cannot be nil'
204
+ end
205
+
206
+ @actor = actor
207
+ end
208
+
209
+ # Custom attribute writer method with validation
210
+ # @param [Object] context Value to be assigned
211
+ def context=(context)
212
+ if context.nil?
213
+ fail ArgumentError, 'context cannot be nil'
214
+ end
215
+
216
+ @context = context
217
+ end
218
+
219
+ # Custom attribute writer method with validation
220
+ # @param [Object] metadata Value to be assigned
221
+ def metadata=(metadata)
222
+ if metadata.nil?
223
+ fail ArgumentError, 'metadata cannot be nil'
224
+ end
225
+
226
+ @metadata = metadata
227
+ end
228
+
229
+ # Custom attribute writer method with validation
230
+ # @param [Object] occurred_at Value to be assigned
231
+ def occurred_at=(occurred_at)
232
+ if occurred_at.nil?
233
+ fail ArgumentError, 'occurred_at cannot be nil'
234
+ end
235
+
236
+ @occurred_at = occurred_at
237
+ end
238
+
239
+ # Custom attribute writer method with validation
240
+ # @param [Object] targets Value to be assigned
241
+ def targets=(targets)
242
+ if targets.nil?
243
+ fail ArgumentError, 'targets cannot be nil'
244
+ end
245
+
246
+ @targets = targets
247
+ end
248
+
249
+ # Custom attribute writer method with validation
250
+ # @param [Object] version Value to be assigned
251
+ def version=(version)
252
+ if version.nil?
253
+ fail ArgumentError, 'version cannot be nil'
254
+ end
255
+
256
+ @version = version
257
+ end
258
+
259
+ # Checks equality by comparing each attribute.
260
+ # @param [Object] Object to be compared
261
+ def ==(o)
262
+ return true if self.equal?(o)
263
+ self.class == o.class &&
264
+ action == o.action &&
265
+ actor == o.actor &&
266
+ context == o.context &&
267
+ metadata == o.metadata &&
268
+ occurred_at == o.occurred_at &&
269
+ targets == o.targets &&
270
+ version == o.version
271
+ end
272
+
273
+ # @see the `==` method
274
+ # @param [Object] Object to be compared
275
+ def eql?(o)
276
+ self == o
277
+ end
278
+
279
+ # Calculates hash code according to all attributes.
280
+ # @return [Integer] Hash code
281
+ def hash
282
+ [action, actor, context, metadata, occurred_at, targets, version].hash
283
+ end
284
+
285
+ # Builds the object from hash
286
+ # @param [Hash] attributes Model attributes in the form of hash
287
+ # @return [Object] Returns the model itself
288
+ def self.build_from_hash(attributes)
289
+ return nil unless attributes.is_a?(Hash)
290
+ attributes = attributes.transform_keys(&:to_sym)
291
+ transformed_hash = {}
292
+ openapi_types.each_pair do |key, type|
293
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
294
+ transformed_hash["#{key}"] = nil
295
+ elsif type =~ /\AArray<(.*)>/i
296
+ # check to ensure the input is an array given that the attribute
297
+ # is documented as an array but the input is not
298
+ if attributes[attribute_map[key]].is_a?(Array)
299
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
300
+ end
301
+ elsif !attributes[attribute_map[key]].nil?
302
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
303
+ end
304
+ end
305
+ new(transformed_hash)
306
+ end
307
+
308
+ # Returns the object in the form of hash
309
+ # @return [Hash] Returns the object in the form of hash
310
+ def to_hash
311
+ hash = {}
312
+ self.class.attribute_map.each_pair do |attr, param|
313
+ value = self.send(attr)
314
+ if value.nil?
315
+ is_nullable = self.class.openapi_nullable.include?(attr)
316
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
317
+ end
318
+
319
+ hash[param] = _to_hash(value)
320
+ end
321
+ hash
322
+ end
323
+
324
+ end
325
+
326
+ end
@@ -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.25.0"
7
+ VERSION = "2.27.0"
8
8
  end
data/lib/incident_io.rb CHANGED
@@ -233,6 +233,7 @@ IncidentIo.autoload :AuditLogExtensionPluginUpdatedMetadataV2, 'incident_io/mode
233
233
  IncidentIo.autoload :AuditLogHrisTimeOffPolicyUpdatedMetadataV2, 'incident_io/models/audit_log_hris_time_off_policy_updated_metadata_v2'
234
234
  IncidentIo.autoload :AuditLogIPAllowlistUpdatedMetadataV2, 'incident_io/models/audit_log_ip_allowlist_updated_metadata_v2'
235
235
  IncidentIo.autoload :AuditLogIncidentTypeDefaultTeamsMetadataV2, 'incident_io/models/audit_log_incident_type_default_teams_metadata_v2'
236
+ IncidentIo.autoload :AuditLogInvestigationConfigUpdatedMetadataV2, 'incident_io/models/audit_log_investigation_config_updated_metadata_v2'
236
237
  IncidentIo.autoload :AuditLogInvestigationTriggerMetadataV2, 'incident_io/models/audit_log_investigation_trigger_metadata_v2'
237
238
  IncidentIo.autoload :AuditLogMicrosoftEntraTenantLinkedMetadataV2, 'incident_io/models/audit_log_microsoft_entra_tenant_linked_metadata_v2'
238
239
  IncidentIo.autoload :AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2, 'incident_io/models/audit_log_mobile_intune_enabled_setting_updated_metadata_v2'
@@ -255,6 +256,7 @@ IncidentIo.autoload :AuditLogTargetV2, 'incident_io/models/audit_log_target_v2'
255
256
  IncidentIo.autoload :AuditLogTelemetryDataSourceAccessModeChangedMetadataV2, 'incident_io/models/audit_log_telemetry_data_source_access_mode_changed_metadata_v2'
256
257
  IncidentIo.autoload :AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2, 'incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2'
257
258
  IncidentIo.autoload :AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2, 'incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2_v2'
259
+ IncidentIo.autoload :AuditLogTelemetryDataSourcePassthroughChangedMetadataV2, 'incident_io/models/audit_log_telemetry_data_source_passthrough_changed_metadata_v2'
258
260
  IncidentIo.autoload :AuditLogTelemetryDataSourceQueriedMetadataV2, 'incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2'
259
261
  IncidentIo.autoload :AuditLogTelemetryDataSourceQueriedMetadataV2V2, 'incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2_v2'
260
262
  IncidentIo.autoload :AuditLogTelemetryDataSourceRequestedMetadataV2, 'incident_io/models/audit_log_telemetry_data_source_requested_metadata_v2'
@@ -371,6 +373,7 @@ IncidentIo.autoload :AuditLogsIntegrationUninstalledV1, 'incident_io/models/audi
371
373
  IncidentIo.autoload :AuditLogsInternalStatusPageCreatedV1, 'incident_io/models/audit_logs_internal_status_page_created_v1'
372
374
  IncidentIo.autoload :AuditLogsInternalStatusPageDeletedV1, 'incident_io/models/audit_logs_internal_status_page_deleted_v1'
373
375
  IncidentIo.autoload :AuditLogsInternalStatusPageUpdatedV1, 'incident_io/models/audit_logs_internal_status_page_updated_v1'
376
+ IncidentIo.autoload :AuditLogsInvestigationConfigUpdatedV1, 'incident_io/models/audit_logs_investigation_config_updated_v1'
374
377
  IncidentIo.autoload :AuditLogsInvestigationTriggerCreatedV1, 'incident_io/models/audit_logs_investigation_trigger_created_v1'
375
378
  IncidentIo.autoload :AuditLogsInvestigationTriggerDeletedV1, 'incident_io/models/audit_logs_investigation_trigger_deleted_v1'
376
379
  IncidentIo.autoload :AuditLogsInvestigationTriggerUpdatedV1, 'incident_io/models/audit_logs_investigation_trigger_updated_v1'
@@ -479,6 +482,7 @@ IncidentIo.autoload :AuditLogsTelemetryDataSourceAccessModeChangedV1, 'incident_
479
482
  IncidentIo.autoload :AuditLogsTelemetryDataSourceAccessPolicyChangedV1, 'incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v1'
480
483
  IncidentIo.autoload :AuditLogsTelemetryDataSourceAccessPolicyChangedV2, 'incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v2'
481
484
  IncidentIo.autoload :AuditLogsTelemetryDataSourceInstalledV1, 'incident_io/models/audit_logs_telemetry_data_source_installed_v1'
485
+ IncidentIo.autoload :AuditLogsTelemetryDataSourcePassthroughChangedV1, 'incident_io/models/audit_logs_telemetry_data_source_passthrough_changed_v1'
482
486
  IncidentIo.autoload :AuditLogsTelemetryDataSourceQueriedV1, 'incident_io/models/audit_logs_telemetry_data_source_queried_v1'
483
487
  IncidentIo.autoload :AuditLogsTelemetryDataSourceQueriedV2, 'incident_io/models/audit_logs_telemetry_data_source_queried_v2'
484
488
  IncidentIo.autoload :AuditLogsTelemetryDataSourceRequestedV1, 'incident_io/models/audit_logs_telemetry_data_source_requested_v1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incident_io_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.25.0
4
+ version: 2.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - incident.io
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-23 00:00:00.000000000 Z
11
+ date: 2026-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -359,6 +359,7 @@ files:
359
359
  - lib/incident_io/models/audit_log_extension_plugin_updated_metadata_v2.rb
360
360
  - lib/incident_io/models/audit_log_hris_time_off_policy_updated_metadata_v2.rb
361
361
  - lib/incident_io/models/audit_log_incident_type_default_teams_metadata_v2.rb
362
+ - lib/incident_io/models/audit_log_investigation_config_updated_metadata_v2.rb
362
363
  - lib/incident_io/models/audit_log_investigation_trigger_metadata_v2.rb
363
364
  - lib/incident_io/models/audit_log_ip_allowlist_updated_metadata_v2.rb
364
365
  - lib/incident_io/models/audit_log_microsoft_entra_tenant_linked_metadata_v2.rb
@@ -382,6 +383,7 @@ files:
382
383
  - lib/incident_io/models/audit_log_telemetry_data_source_access_mode_changed_metadata_v2.rb
383
384
  - lib/incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2.rb
384
385
  - lib/incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2_v2.rb
386
+ - lib/incident_io/models/audit_log_telemetry_data_source_passthrough_changed_metadata_v2.rb
385
387
  - lib/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2.rb
386
388
  - lib/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2_v2.rb
387
389
  - lib/incident_io/models/audit_log_telemetry_data_source_requested_metadata_v2.rb
@@ -497,6 +499,7 @@ files:
497
499
  - lib/incident_io/models/audit_logs_internal_status_page_created_v1.rb
498
500
  - lib/incident_io/models/audit_logs_internal_status_page_deleted_v1.rb
499
501
  - lib/incident_io/models/audit_logs_internal_status_page_updated_v1.rb
502
+ - lib/incident_io/models/audit_logs_investigation_config_updated_v1.rb
500
503
  - lib/incident_io/models/audit_logs_investigation_trigger_created_v1.rb
501
504
  - lib/incident_io/models/audit_logs_investigation_trigger_deleted_v1.rb
502
505
  - lib/incident_io/models/audit_logs_investigation_trigger_updated_v1.rb
@@ -606,6 +609,7 @@ files:
606
609
  - lib/incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v1.rb
607
610
  - lib/incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v2.rb
608
611
  - lib/incident_io/models/audit_logs_telemetry_data_source_installed_v1.rb
612
+ - lib/incident_io/models/audit_logs_telemetry_data_source_passthrough_changed_v1.rb
609
613
  - lib/incident_io/models/audit_logs_telemetry_data_source_queried_v1.rb
610
614
  - lib/incident_io/models/audit_logs_telemetry_data_source_queried_v2.rb
611
615
  - lib/incident_io/models/audit_logs_telemetry_data_source_requested_v1.rb