incident_io_sdk 0.1.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.
Files changed (1027) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +859 -0
  4. data/incident_io_sdk.gemspec +29 -0
  5. data/lib/incident_io_sdk/api/actions_v1_api.rb +155 -0
  6. data/lib/incident_io_sdk/api/actions_v2_api.rb +152 -0
  7. data/lib/incident_io_sdk/api/alert_attributes_v2_api.rb +345 -0
  8. data/lib/incident_io_sdk/api/alert_events_v2_api.rb +99 -0
  9. data/lib/incident_io_sdk/api/alert_routes_v2_api.rb +363 -0
  10. data/lib/incident_io_sdk/api/alert_sources_v2_api.rb +345 -0
  11. data/lib/incident_io_sdk/api/alerts_v2_api.rb +247 -0
  12. data/lib/incident_io_sdk/api/catalog_v2_api.rb +816 -0
  13. data/lib/incident_io_sdk/api/catalog_v3_api.rb +823 -0
  14. data/lib/incident_io_sdk/api/custom_field_options_v1_api.rb +358 -0
  15. data/lib/incident_io_sdk/api/custom_fields_v1_api.rb +345 -0
  16. data/lib/incident_io_sdk/api/custom_fields_v2_api.rb +345 -0
  17. data/lib/incident_io_sdk/api/escalations_v2_api.rb +288 -0
  18. data/lib/incident_io_sdk/api/follow_ups_v2_api.rb +152 -0
  19. data/lib/incident_io_sdk/api/incident_attachments_v1_api.rb +221 -0
  20. data/lib/incident_io_sdk/api/incident_memberships_v1_api.rb +156 -0
  21. data/lib/incident_io_sdk/api/incident_roles_v1_api.rb +345 -0
  22. data/lib/incident_io_sdk/api/incident_roles_v2_api.rb +345 -0
  23. data/lib/incident_io_sdk/api/incident_statuses_v1_api.rb +345 -0
  24. data/lib/incident_io_sdk/api/incident_timestamps_v2_api.rb +142 -0
  25. data/lib/incident_io_sdk/api/incident_types_v1_api.rb +142 -0
  26. data/lib/incident_io_sdk/api/incident_updates_v2_api.rb +88 -0
  27. data/lib/incident_io_sdk/api/incidents_v1_api.rb +223 -0
  28. data/lib/incident_io_sdk/api/incidents_v2_api.rb +317 -0
  29. data/lib/incident_io_sdk/api/schedules_v2_api.rb +489 -0
  30. data/lib/incident_io_sdk/api/severities_v1_api.rb +345 -0
  31. data/lib/incident_io_sdk/api/users_v2_api.rb +154 -0
  32. data/lib/incident_io_sdk/api/utilities_v1_api.rb +193 -0
  33. data/lib/incident_io_sdk/api/workflows_v2_api.rb +348 -0
  34. data/lib/incident_io_sdk/api_client.rb +392 -0
  35. data/lib/incident_io_sdk/api_error.rb +58 -0
  36. data/lib/incident_io_sdk/configuration.rb +301 -0
  37. data/lib/incident_io_sdk/models/action_v1.rb +435 -0
  38. data/lib/incident_io_sdk/models/action_v2.rb +416 -0
  39. data/lib/incident_io_sdk/models/actions_list_result_v1.rb +239 -0
  40. data/lib/incident_io_sdk/models/actions_list_result_v2.rb +239 -0
  41. data/lib/incident_io_sdk/models/actions_show_result_v1.rb +237 -0
  42. data/lib/incident_io_sdk/models/actions_show_result_v2.rb +237 -0
  43. data/lib/incident_io_sdk/models/actor_v1.rb +229 -0
  44. data/lib/incident_io_sdk/models/actor_v2.rb +229 -0
  45. data/lib/incident_io_sdk/models/after_pagination_meta_result_v2.rb +265 -0
  46. data/lib/incident_io_sdk/models/alert_attribute_catalog_entry_v2.rb +292 -0
  47. data/lib/incident_io_sdk/models/alert_attribute_entry_v2.rb +258 -0
  48. data/lib/incident_io_sdk/models/alert_attribute_v2.rb +319 -0
  49. data/lib/incident_io_sdk/models/alert_attribute_value_v2.rb +240 -0
  50. data/lib/incident_io_sdk/models/alert_attributes_create_payload_v2.rb +292 -0
  51. data/lib/incident_io_sdk/models/alert_attributes_create_result_v2.rb +237 -0
  52. data/lib/incident_io_sdk/models/alert_attributes_list_result_v2.rb +239 -0
  53. data/lib/incident_io_sdk/models/alert_attributes_show_result_v2.rb +237 -0
  54. data/lib/incident_io_sdk/models/alert_attributes_update_payload_v2.rb +292 -0
  55. data/lib/incident_io_sdk/models/alert_attributes_update_result_v2.rb +237 -0
  56. data/lib/incident_io_sdk/models/alert_events_create_http_payload_v2.rb +331 -0
  57. data/lib/incident_io_sdk/models/alert_events_create_http_result_v2.rb +292 -0
  58. data/lib/incident_io_sdk/models/alert_route_alert_source_payload_v2.rb +267 -0
  59. data/lib/incident_io_sdk/models/alert_route_alert_source_v2.rb +267 -0
  60. data/lib/incident_io_sdk/models/alert_route_auto_generated_template_binding_payload_v2.rb +230 -0
  61. data/lib/incident_io_sdk/models/alert_route_auto_generated_template_binding_v2.rb +247 -0
  62. data/lib/incident_io_sdk/models/alert_route_channel_config_payload_v2.rb +258 -0
  63. data/lib/incident_io_sdk/models/alert_route_channel_config_v2.rb +258 -0
  64. data/lib/incident_io_sdk/models/alert_route_channel_target_payload_v2.rb +264 -0
  65. data/lib/incident_io_sdk/models/alert_route_channel_target_v2.rb +264 -0
  66. data/lib/incident_io_sdk/models/alert_route_custom_field_binding_payload_v2.rb +315 -0
  67. data/lib/incident_io_sdk/models/alert_route_custom_field_binding_v2.rb +315 -0
  68. data/lib/incident_io_sdk/models/alert_route_escalation_config_payload_v2.rb +267 -0
  69. data/lib/incident_io_sdk/models/alert_route_escalation_config_v2.rb +267 -0
  70. data/lib/incident_io_sdk/models/alert_route_escalation_target_payload_v2.rb +229 -0
  71. data/lib/incident_io_sdk/models/alert_route_escalation_target_v2.rb +229 -0
  72. data/lib/incident_io_sdk/models/alert_route_incident_config_payload_v2.rb +377 -0
  73. data/lib/incident_io_sdk/models/alert_route_incident_config_v2.rb +377 -0
  74. data/lib/incident_io_sdk/models/alert_route_incident_template_payload_v2.rb +303 -0
  75. data/lib/incident_io_sdk/models/alert_route_incident_template_v2.rb +303 -0
  76. data/lib/incident_io_sdk/models/alert_route_severity_binding_payload_v2.rb +271 -0
  77. data/lib/incident_io_sdk/models/alert_route_severity_binding_v2.rb +271 -0
  78. data/lib/incident_io_sdk/models/alert_route_slim_v2.rb +292 -0
  79. data/lib/incident_io_sdk/models/alert_route_template_binding_payload_v2.rb +220 -0
  80. data/lib/incident_io_sdk/models/alert_route_template_binding_v2.rb +220 -0
  81. data/lib/incident_io_sdk/models/alert_route_v2.rb +560 -0
  82. data/lib/incident_io_sdk/models/alert_routes_create_payload_v2.rb +533 -0
  83. data/lib/incident_io_sdk/models/alert_routes_create_result_v2.rb +237 -0
  84. data/lib/incident_io_sdk/models/alert_routes_list_result_v2.rb +265 -0
  85. data/lib/incident_io_sdk/models/alert_routes_show_result_v2.rb +237 -0
  86. data/lib/incident_io_sdk/models/alert_routes_update_payload_v2.rb +533 -0
  87. data/lib/incident_io_sdk/models/alert_routes_update_result_v2.rb +237 -0
  88. data/lib/incident_io_sdk/models/alert_slim_v2.rb +454 -0
  89. data/lib/incident_io_sdk/models/alert_source_email_options_v2.rb +238 -0
  90. data/lib/incident_io_sdk/models/alert_source_jira_options_v2.rb +240 -0
  91. data/lib/incident_io_sdk/models/alert_source_v2.rb +370 -0
  92. data/lib/incident_io_sdk/models/alert_sources_create_payload_v2.rb +324 -0
  93. data/lib/incident_io_sdk/models/alert_sources_create_result_v2.rb +237 -0
  94. data/lib/incident_io_sdk/models/alert_sources_list_result_v2.rb +239 -0
  95. data/lib/incident_io_sdk/models/alert_sources_show_result_v2.rb +237 -0
  96. data/lib/incident_io_sdk/models/alert_sources_update_payload_v2.rb +273 -0
  97. data/lib/incident_io_sdk/models/alert_sources_update_result_v2.rb +237 -0
  98. data/lib/incident_io_sdk/models/alert_template_attribute_payload_v2.rb +264 -0
  99. data/lib/incident_io_sdk/models/alert_template_attribute_v2.rb +264 -0
  100. data/lib/incident_io_sdk/models/alert_template_payload_v2.rb +321 -0
  101. data/lib/incident_io_sdk/models/alert_template_v2.rb +321 -0
  102. data/lib/incident_io_sdk/models/alert_v2.rb +483 -0
  103. data/lib/incident_io_sdk/models/alerts_list_incident_alerts_result_v2.rb +265 -0
  104. data/lib/incident_io_sdk/models/alerts_list_result_v2.rb +265 -0
  105. data/lib/incident_io_sdk/models/alerts_show_result_v2.rb +237 -0
  106. data/lib/incident_io_sdk/models/api_key_v1.rb +265 -0
  107. data/lib/incident_io_sdk/models/api_key_v2.rb +265 -0
  108. data/lib/incident_io_sdk/models/audit_log_actor_metadata_v2.rb +261 -0
  109. data/lib/incident_io_sdk/models/audit_log_actor_v2.rb +308 -0
  110. data/lib/incident_io_sdk/models/audit_log_entry_context_v2.rb +248 -0
  111. data/lib/incident_io_sdk/models/audit_log_private_incident_access_attempted_metadata_v2.rb +255 -0
  112. data/lib/incident_io_sdk/models/audit_log_target_v2.rb +299 -0
  113. data/lib/incident_io_sdk/models/audit_log_user_role_membership_changed_metadata_v2.rb +319 -0
  114. data/lib/incident_io_sdk/models/audit_log_user_scim_group_mapping_changed_metadata_v2.rb +251 -0
  115. data/lib/incident_io_sdk/models/audit_logs_alert_route_created_v1.rb +373 -0
  116. data/lib/incident_io_sdk/models/audit_logs_alert_route_deleted_v1.rb +373 -0
  117. data/lib/incident_io_sdk/models/audit_logs_alert_route_updated_v1.rb +373 -0
  118. data/lib/incident_io_sdk/models/audit_logs_alert_schema_updated_v1.rb +373 -0
  119. data/lib/incident_io_sdk/models/audit_logs_alert_source_config_created_v1.rb +373 -0
  120. data/lib/incident_io_sdk/models/audit_logs_alert_source_config_deleted_v1.rb +373 -0
  121. data/lib/incident_io_sdk/models/audit_logs_alert_source_config_updated_v1.rb +373 -0
  122. data/lib/incident_io_sdk/models/audit_logs_announcement_rule_created_v1.rb +373 -0
  123. data/lib/incident_io_sdk/models/audit_logs_announcement_rule_deleted_v1.rb +373 -0
  124. data/lib/incident_io_sdk/models/audit_logs_announcement_rule_updated_v1.rb +373 -0
  125. data/lib/incident_io_sdk/models/audit_logs_api_key_created_v1.rb +373 -0
  126. data/lib/incident_io_sdk/models/audit_logs_api_key_deleted_v1.rb +373 -0
  127. data/lib/incident_io_sdk/models/audit_logs_catalog_type_created_v1.rb +373 -0
  128. data/lib/incident_io_sdk/models/audit_logs_catalog_type_deleted_v1.rb +373 -0
  129. data/lib/incident_io_sdk/models/audit_logs_catalog_type_updated_v1.rb +373 -0
  130. data/lib/incident_io_sdk/models/audit_logs_custom_field_created_v1.rb +373 -0
  131. data/lib/incident_io_sdk/models/audit_logs_custom_field_deleted_v1.rb +373 -0
  132. data/lib/incident_io_sdk/models/audit_logs_custom_field_updated_v1.rb +373 -0
  133. data/lib/incident_io_sdk/models/audit_logs_debrief_invite_rule_created_v1.rb +373 -0
  134. data/lib/incident_io_sdk/models/audit_logs_debrief_invite_rule_deleted_v1.rb +373 -0
  135. data/lib/incident_io_sdk/models/audit_logs_debrief_invite_rule_updated_v1.rb +373 -0
  136. data/lib/incident_io_sdk/models/audit_logs_escalation_path_created_v1.rb +373 -0
  137. data/lib/incident_io_sdk/models/audit_logs_escalation_path_deleted_v1.rb +373 -0
  138. data/lib/incident_io_sdk/models/audit_logs_escalation_path_updated_v1.rb +373 -0
  139. data/lib/incident_io_sdk/models/audit_logs_follow_up_priority_created_v1.rb +373 -0
  140. data/lib/incident_io_sdk/models/audit_logs_follow_up_priority_deleted_v1.rb +373 -0
  141. data/lib/incident_io_sdk/models/audit_logs_follow_up_priority_updated_v1.rb +373 -0
  142. data/lib/incident_io_sdk/models/audit_logs_holiday_user_feed_created_v1.rb +373 -0
  143. data/lib/incident_io_sdk/models/audit_logs_holiday_user_feed_deleted_v1.rb +373 -0
  144. data/lib/incident_io_sdk/models/audit_logs_holiday_user_feed_updated_v1.rb +373 -0
  145. data/lib/incident_io_sdk/models/audit_logs_incident_call_setting_updated_v1.rb +373 -0
  146. data/lib/incident_io_sdk/models/audit_logs_incident_duration_metric_created_v1.rb +373 -0
  147. data/lib/incident_io_sdk/models/audit_logs_incident_duration_metric_deleted_v1.rb +373 -0
  148. data/lib/incident_io_sdk/models/audit_logs_incident_duration_metric_updated_v1.rb +373 -0
  149. data/lib/incident_io_sdk/models/audit_logs_incident_role_created_v1.rb +373 -0
  150. data/lib/incident_io_sdk/models/audit_logs_incident_role_deleted_v1.rb +373 -0
  151. data/lib/incident_io_sdk/models/audit_logs_incident_role_updated_v1.rb +373 -0
  152. data/lib/incident_io_sdk/models/audit_logs_incident_status_created_v1.rb +373 -0
  153. data/lib/incident_io_sdk/models/audit_logs_incident_status_deleted_v1.rb +373 -0
  154. data/lib/incident_io_sdk/models/audit_logs_incident_status_updated_v1.rb +373 -0
  155. data/lib/incident_io_sdk/models/audit_logs_incident_timestamp_created_v1.rb +373 -0
  156. data/lib/incident_io_sdk/models/audit_logs_incident_timestamp_deleted_v1.rb +373 -0
  157. data/lib/incident_io_sdk/models/audit_logs_incident_timestamp_updated_v1.rb +373 -0
  158. data/lib/incident_io_sdk/models/audit_logs_incident_type_created_v1.rb +373 -0
  159. data/lib/incident_io_sdk/models/audit_logs_incident_type_deleted_v1.rb +373 -0
  160. data/lib/incident_io_sdk/models/audit_logs_incident_type_updated_v1.rb +373 -0
  161. data/lib/incident_io_sdk/models/audit_logs_integration_installed_v1.rb +373 -0
  162. data/lib/incident_io_sdk/models/audit_logs_integration_uninstalled_v1.rb +373 -0
  163. data/lib/incident_io_sdk/models/audit_logs_internal_status_page_created_v1.rb +373 -0
  164. data/lib/incident_io_sdk/models/audit_logs_internal_status_page_deleted_v1.rb +373 -0
  165. data/lib/incident_io_sdk/models/audit_logs_internal_status_page_updated_v1.rb +373 -0
  166. data/lib/incident_io_sdk/models/audit_logs_nudge_created_v1.rb +373 -0
  167. data/lib/incident_io_sdk/models/audit_logs_nudge_deleted_v1.rb +373 -0
  168. data/lib/incident_io_sdk/models/audit_logs_nudge_updated_v1.rb +373 -0
  169. data/lib/incident_io_sdk/models/audit_logs_policy_created_v1.rb +373 -0
  170. data/lib/incident_io_sdk/models/audit_logs_policy_deleted_v1.rb +373 -0
  171. data/lib/incident_io_sdk/models/audit_logs_policy_updated_v1.rb +373 -0
  172. data/lib/incident_io_sdk/models/audit_logs_post_incident_task_created_v1.rb +373 -0
  173. data/lib/incident_io_sdk/models/audit_logs_post_incident_task_deleted_v1.rb +373 -0
  174. data/lib/incident_io_sdk/models/audit_logs_post_incident_task_updated_v1.rb +373 -0
  175. data/lib/incident_io_sdk/models/audit_logs_postmortem_section_created_v1.rb +373 -0
  176. data/lib/incident_io_sdk/models/audit_logs_postmortem_section_created_v2.rb +373 -0
  177. data/lib/incident_io_sdk/models/audit_logs_postmortem_section_deleted_v1.rb +373 -0
  178. data/lib/incident_io_sdk/models/audit_logs_postmortem_section_deleted_v2.rb +373 -0
  179. data/lib/incident_io_sdk/models/audit_logs_postmortem_section_updated_v1.rb +373 -0
  180. data/lib/incident_io_sdk/models/audit_logs_postmortem_section_updated_v2.rb +373 -0
  181. data/lib/incident_io_sdk/models/audit_logs_postmortem_template_created_v1.rb +373 -0
  182. data/lib/incident_io_sdk/models/audit_logs_postmortem_template_created_v2.rb +373 -0
  183. data/lib/incident_io_sdk/models/audit_logs_postmortem_template_deleted_v1.rb +373 -0
  184. data/lib/incident_io_sdk/models/audit_logs_postmortem_template_deleted_v2.rb +373 -0
  185. data/lib/incident_io_sdk/models/audit_logs_postmortem_template_updated_v1.rb +373 -0
  186. data/lib/incident_io_sdk/models/audit_logs_postmortem_template_updated_v2.rb +373 -0
  187. data/lib/incident_io_sdk/models/audit_logs_private_incident_access_attempted_v1.rb +399 -0
  188. data/lib/incident_io_sdk/models/audit_logs_private_incident_access_requested_v1.rb +373 -0
  189. data/lib/incident_io_sdk/models/audit_logs_private_incident_membership_granted_v1.rb +373 -0
  190. data/lib/incident_io_sdk/models/audit_logs_private_incident_membership_revoked_v1.rb +373 -0
  191. data/lib/incident_io_sdk/models/audit_logs_rbac_role_created_v1.rb +373 -0
  192. data/lib/incident_io_sdk/models/audit_logs_rbac_role_deleted_v1.rb +373 -0
  193. data/lib/incident_io_sdk/models/audit_logs_rbac_role_updated_v1.rb +373 -0
  194. data/lib/incident_io_sdk/models/audit_logs_schedule_created_v1.rb +373 -0
  195. data/lib/incident_io_sdk/models/audit_logs_schedule_deleted_v1.rb +373 -0
  196. data/lib/incident_io_sdk/models/audit_logs_schedule_override_created_v1.rb +373 -0
  197. data/lib/incident_io_sdk/models/audit_logs_schedule_override_deleted_v1.rb +373 -0
  198. data/lib/incident_io_sdk/models/audit_logs_schedule_override_updated_v1.rb +373 -0
  199. data/lib/incident_io_sdk/models/audit_logs_schedule_updated_v1.rb +373 -0
  200. data/lib/incident_io_sdk/models/audit_logs_scim_group_role_mappings_updated_v1.rb +399 -0
  201. data/lib/incident_io_sdk/models/audit_logs_severity_created_v1.rb +373 -0
  202. data/lib/incident_io_sdk/models/audit_logs_severity_deleted_v1.rb +373 -0
  203. data/lib/incident_io_sdk/models/audit_logs_severity_updated_v1.rb +373 -0
  204. data/lib/incident_io_sdk/models/audit_logs_status_page_created_v1.rb +373 -0
  205. data/lib/incident_io_sdk/models/audit_logs_status_page_deleted_v1.rb +373 -0
  206. data/lib/incident_io_sdk/models/audit_logs_status_page_sub_page_created_v1.rb +373 -0
  207. data/lib/incident_io_sdk/models/audit_logs_status_page_sub_page_deleted_v1.rb +373 -0
  208. data/lib/incident_io_sdk/models/audit_logs_status_page_sub_page_updated_v1.rb +373 -0
  209. data/lib/incident_io_sdk/models/audit_logs_status_page_template_created_v1.rb +373 -0
  210. data/lib/incident_io_sdk/models/audit_logs_status_page_template_deleted_v1.rb +373 -0
  211. data/lib/incident_io_sdk/models/audit_logs_status_page_template_updated_v1.rb +373 -0
  212. data/lib/incident_io_sdk/models/audit_logs_status_page_updated_v1.rb +373 -0
  213. data/lib/incident_io_sdk/models/audit_logs_user_created_v1.rb +373 -0
  214. data/lib/incident_io_sdk/models/audit_logs_user_deactivated_v1.rb +373 -0
  215. data/lib/incident_io_sdk/models/audit_logs_user_reinstated_v1.rb +373 -0
  216. data/lib/incident_io_sdk/models/audit_logs_user_role_memberships_updated_v1.rb +399 -0
  217. data/lib/incident_io_sdk/models/audit_logs_user_updated_v1.rb +373 -0
  218. data/lib/incident_io_sdk/models/audit_logs_workflow_created_v1.rb +373 -0
  219. data/lib/incident_io_sdk/models/audit_logs_workflow_deleted_v1.rb +373 -0
  220. data/lib/incident_io_sdk/models/audit_logs_workflow_updated_v1.rb +373 -0
  221. data/lib/incident_io_sdk/models/catalog_create_entry_payload_v2.rb +326 -0
  222. data/lib/incident_io_sdk/models/catalog_create_entry_payload_v3.rb +326 -0
  223. data/lib/incident_io_sdk/models/catalog_create_entry_result_v2.rb +237 -0
  224. data/lib/incident_io_sdk/models/catalog_create_entry_result_v3.rb +237 -0
  225. data/lib/incident_io_sdk/models/catalog_create_type_payload_v2.rb +385 -0
  226. data/lib/incident_io_sdk/models/catalog_create_type_payload_v3.rb +385 -0
  227. data/lib/incident_io_sdk/models/catalog_create_type_result_v2.rb +237 -0
  228. data/lib/incident_io_sdk/models/catalog_create_type_result_v3.rb +237 -0
  229. data/lib/incident_io_sdk/models/catalog_engine_param_binding_payload_v3.rb +232 -0
  230. data/lib/incident_io_sdk/models/catalog_engine_param_binding_value_payload_v3.rb +221 -0
  231. data/lib/incident_io_sdk/models/catalog_entry_engine_param_binding_v2.rb +232 -0
  232. data/lib/incident_io_sdk/models/catalog_entry_engine_param_binding_v3.rb +232 -0
  233. data/lib/incident_io_sdk/models/catalog_entry_engine_param_binding_value_v2.rb +344 -0
  234. data/lib/incident_io_sdk/models/catalog_entry_engine_param_binding_value_v3.rb +248 -0
  235. data/lib/incident_io_sdk/models/catalog_entry_reference_v2.rb +302 -0
  236. data/lib/incident_io_sdk/models/catalog_entry_v2.rb +451 -0
  237. data/lib/incident_io_sdk/models/catalog_entry_v3.rb +451 -0
  238. data/lib/incident_io_sdk/models/catalog_list_entries_result_v2.rb +291 -0
  239. data/lib/incident_io_sdk/models/catalog_list_entries_result_v3.rb +291 -0
  240. data/lib/incident_io_sdk/models/catalog_list_resources_result_v2.rb +239 -0
  241. data/lib/incident_io_sdk/models/catalog_list_resources_result_v3.rb +239 -0
  242. data/lib/incident_io_sdk/models/catalog_list_types_result_v2.rb +239 -0
  243. data/lib/incident_io_sdk/models/catalog_list_types_result_v3.rb +239 -0
  244. data/lib/incident_io_sdk/models/catalog_resource_v2.rb +370 -0
  245. data/lib/incident_io_sdk/models/catalog_resource_v3.rb +370 -0
  246. data/lib/incident_io_sdk/models/catalog_show_entry_result_v2.rb +263 -0
  247. data/lib/incident_io_sdk/models/catalog_show_entry_result_v3.rb +263 -0
  248. data/lib/incident_io_sdk/models/catalog_show_type_result_v2.rb +237 -0
  249. data/lib/incident_io_sdk/models/catalog_show_type_result_v3.rb +237 -0
  250. data/lib/incident_io_sdk/models/catalog_type_attribute_path_item_payload_v2.rb +238 -0
  251. data/lib/incident_io_sdk/models/catalog_type_attribute_path_item_payload_v3.rb +238 -0
  252. data/lib/incident_io_sdk/models/catalog_type_attribute_path_item_v2.rb +265 -0
  253. data/lib/incident_io_sdk/models/catalog_type_attribute_path_item_v3.rb +265 -0
  254. data/lib/incident_io_sdk/models/catalog_type_attribute_payload_v2.rb +368 -0
  255. data/lib/incident_io_sdk/models/catalog_type_attribute_payload_v3.rb +368 -0
  256. data/lib/incident_io_sdk/models/catalog_type_attribute_v2.rb +392 -0
  257. data/lib/incident_io_sdk/models/catalog_type_attribute_v3.rb +392 -0
  258. data/lib/incident_io_sdk/models/catalog_type_schema_v2.rb +267 -0
  259. data/lib/incident_io_sdk/models/catalog_type_schema_v3.rb +267 -0
  260. data/lib/incident_io_sdk/models/catalog_type_v2.rb +670 -0
  261. data/lib/incident_io_sdk/models/catalog_type_v3.rb +643 -0
  262. data/lib/incident_io_sdk/models/catalog_update_entry_payload_v2.rb +299 -0
  263. data/lib/incident_io_sdk/models/catalog_update_entry_payload_v3.rb +311 -0
  264. data/lib/incident_io_sdk/models/catalog_update_entry_result_v2.rb +263 -0
  265. data/lib/incident_io_sdk/models/catalog_update_entry_result_v3.rb +263 -0
  266. data/lib/incident_io_sdk/models/catalog_update_type_payload_v2.rb +375 -0
  267. data/lib/incident_io_sdk/models/catalog_update_type_payload_v3.rb +375 -0
  268. data/lib/incident_io_sdk/models/catalog_update_type_result_v2.rb +237 -0
  269. data/lib/incident_io_sdk/models/catalog_update_type_result_v3.rb +237 -0
  270. data/lib/incident_io_sdk/models/catalog_update_type_schema_payload_v2.rb +265 -0
  271. data/lib/incident_io_sdk/models/catalog_update_type_schema_payload_v3.rb +265 -0
  272. data/lib/incident_io_sdk/models/catalog_update_type_schema_result_v2.rb +237 -0
  273. data/lib/incident_io_sdk/models/catalog_update_type_schema_result_v3.rb +237 -0
  274. data/lib/incident_io_sdk/models/condition_group_payload_v2.rb +240 -0
  275. data/lib/incident_io_sdk/models/condition_group_v2.rb +240 -0
  276. data/lib/incident_io_sdk/models/condition_operation_v2.rb +265 -0
  277. data/lib/incident_io_sdk/models/condition_payload_v2.rb +294 -0
  278. data/lib/incident_io_sdk/models/condition_subject_v2.rb +265 -0
  279. data/lib/incident_io_sdk/models/condition_v2.rb +292 -0
  280. data/lib/incident_io_sdk/models/custom_field_entry_payload_v1.rb +267 -0
  281. data/lib/incident_io_sdk/models/custom_field_entry_payload_v2.rb +267 -0
  282. data/lib/incident_io_sdk/models/custom_field_entry_v1.rb +266 -0
  283. data/lib/incident_io_sdk/models/custom_field_entry_v2.rb +266 -0
  284. data/lib/incident_io_sdk/models/custom_field_filter_by_options_v2.rb +265 -0
  285. data/lib/incident_io_sdk/models/custom_field_option_v1.rb +319 -0
  286. data/lib/incident_io_sdk/models/custom_field_option_v2.rb +319 -0
  287. data/lib/incident_io_sdk/models/custom_field_options_create_payload_v1.rb +277 -0
  288. data/lib/incident_io_sdk/models/custom_field_options_create_result_v1.rb +237 -0
  289. data/lib/incident_io_sdk/models/custom_field_options_list_result_v1.rb +265 -0
  290. data/lib/incident_io_sdk/models/custom_field_options_show_result_v1.rb +237 -0
  291. data/lib/incident_io_sdk/models/custom_field_options_update_payload_v1.rb +265 -0
  292. data/lib/incident_io_sdk/models/custom_field_options_update_result_v1.rb +237 -0
  293. data/lib/incident_io_sdk/models/custom_field_type_info_v1.rb +381 -0
  294. data/lib/incident_io_sdk/models/custom_field_type_info_v2.rb +381 -0
  295. data/lib/incident_io_sdk/models/custom_field_v1.rb +580 -0
  296. data/lib/incident_io_sdk/models/custom_field_v2.rb +445 -0
  297. data/lib/incident_io_sdk/models/custom_field_value_payload_v1.rb +281 -0
  298. data/lib/incident_io_sdk/models/custom_field_value_payload_v2.rb +281 -0
  299. data/lib/incident_io_sdk/models/custom_field_value_v1.rb +259 -0
  300. data/lib/incident_io_sdk/models/custom_field_value_v2.rb +259 -0
  301. data/lib/incident_io_sdk/models/custom_fields_create_payload_v1.rb +460 -0
  302. data/lib/incident_io_sdk/models/custom_fields_create_payload_v2.rb +364 -0
  303. data/lib/incident_io_sdk/models/custom_fields_create_result_v1.rb +237 -0
  304. data/lib/incident_io_sdk/models/custom_fields_create_result_v2.rb +237 -0
  305. data/lib/incident_io_sdk/models/custom_fields_list_result_v1.rb +239 -0
  306. data/lib/incident_io_sdk/models/custom_fields_list_result_v2.rb +239 -0
  307. data/lib/incident_io_sdk/models/custom_fields_show_result_v1.rb +237 -0
  308. data/lib/incident_io_sdk/models/custom_fields_show_result_v2.rb +237 -0
  309. data/lib/incident_io_sdk/models/custom_fields_update_payload_v1.rb +431 -0
  310. data/lib/incident_io_sdk/models/custom_fields_update_payload_v2.rb +303 -0
  311. data/lib/incident_io_sdk/models/custom_fields_update_result_v1.rb +237 -0
  312. data/lib/incident_io_sdk/models/custom_fields_update_result_v2.rb +237 -0
  313. data/lib/incident_io_sdk/models/embedded_catalog_entry_v1.rb +287 -0
  314. data/lib/incident_io_sdk/models/embedded_catalog_entry_v2.rb +287 -0
  315. data/lib/incident_io_sdk/models/embedded_incident_role_v2.rb +479 -0
  316. data/lib/incident_io_sdk/models/engine_param_binding_payload_v2.rb +232 -0
  317. data/lib/incident_io_sdk/models/engine_param_binding_v2.rb +232 -0
  318. data/lib/incident_io_sdk/models/engine_param_binding_value_payload_v2.rb +231 -0
  319. data/lib/incident_io_sdk/models/engine_param_binding_value_v2.rb +258 -0
  320. data/lib/incident_io_sdk/models/engine_reference_v2.rb +319 -0
  321. data/lib/incident_io_sdk/models/escalation_path_node_if_else_payload_v2.rb +281 -0
  322. data/lib/incident_io_sdk/models/escalation_path_node_if_else_v2.rb +298 -0
  323. data/lib/incident_io_sdk/models/escalation_path_node_level_v2.rb +313 -0
  324. data/lib/incident_io_sdk/models/escalation_path_node_notify_channel_v2.rb +304 -0
  325. data/lib/incident_io_sdk/models/escalation_path_node_payload_v2.rb +325 -0
  326. data/lib/incident_io_sdk/models/escalation_path_node_repeat_v2.rb +265 -0
  327. data/lib/incident_io_sdk/models/escalation_path_node_v2.rb +325 -0
  328. data/lib/incident_io_sdk/models/escalation_path_round_robin_config_v2.rb +248 -0
  329. data/lib/incident_io_sdk/models/escalation_path_target_v2.rb +340 -0
  330. data/lib/incident_io_sdk/models/escalation_path_v2.rb +335 -0
  331. data/lib/incident_io_sdk/models/escalations_create_path_payload_v2.rb +291 -0
  332. data/lib/incident_io_sdk/models/escalations_create_path_result_v2.rb +237 -0
  333. data/lib/incident_io_sdk/models/escalations_show_path_result_v2.rb +237 -0
  334. data/lib/incident_io_sdk/models/escalations_update_path_payload_v2.rb +291 -0
  335. data/lib/incident_io_sdk/models/escalations_update_path_result_v2.rb +237 -0
  336. data/lib/incident_io_sdk/models/expression_branch_payload_v2.rb +266 -0
  337. data/lib/incident_io_sdk/models/expression_branch_v2.rb +266 -0
  338. data/lib/incident_io_sdk/models/expression_branches_opts_payload_v2.rb +266 -0
  339. data/lib/incident_io_sdk/models/expression_branches_opts_v2.rb +266 -0
  340. data/lib/incident_io_sdk/models/expression_else_branch_payload_v2.rb +237 -0
  341. data/lib/incident_io_sdk/models/expression_else_branch_v2.rb +237 -0
  342. data/lib/incident_io_sdk/models/expression_filter_opts_payload_v2.rb +240 -0
  343. data/lib/incident_io_sdk/models/expression_filter_opts_v2.rb +240 -0
  344. data/lib/incident_io_sdk/models/expression_navigate_opts_payload_v2.rb +238 -0
  345. data/lib/incident_io_sdk/models/expression_navigate_opts_v2.rb +265 -0
  346. data/lib/incident_io_sdk/models/expression_operation_payload_v2.rb +298 -0
  347. data/lib/incident_io_sdk/models/expression_operation_v2.rb +324 -0
  348. data/lib/incident_io_sdk/models/expression_parse_opts_payload_v2.rb +264 -0
  349. data/lib/incident_io_sdk/models/expression_parse_opts_v2.rb +264 -0
  350. data/lib/incident_io_sdk/models/expression_payload_v2.rb +329 -0
  351. data/lib/incident_io_sdk/models/expression_v2.rb +355 -0
  352. data/lib/incident_io_sdk/models/external_issue_reference_v1.rb +275 -0
  353. data/lib/incident_io_sdk/models/external_issue_reference_v2.rb +316 -0
  354. data/lib/incident_io_sdk/models/external_issue_reference_v6.rb +316 -0
  355. data/lib/incident_io_sdk/models/external_resource_v1.rb +343 -0
  356. data/lib/incident_io_sdk/models/follow_up_priority_v2.rb +302 -0
  357. data/lib/incident_io_sdk/models/follow_up_v2.rb +444 -0
  358. data/lib/incident_io_sdk/models/follow_ups_list_result_v2.rb +239 -0
  359. data/lib/incident_io_sdk/models/follow_ups_show_result_v2.rb +237 -0
  360. data/lib/incident_io_sdk/models/grouping_key_v2.rb +238 -0
  361. data/lib/incident_io_sdk/models/identity_v1.rb +306 -0
  362. data/lib/incident_io_sdk/models/incident_alert_v2.rb +300 -0
  363. data/lib/incident_io_sdk/models/incident_attachment_v1.rb +291 -0
  364. data/lib/incident_io_sdk/models/incident_attachments_create_payload_v1.rb +264 -0
  365. data/lib/incident_io_sdk/models/incident_attachments_create_payload_v1_resource.rb +289 -0
  366. data/lib/incident_io_sdk/models/incident_attachments_create_result_v1.rb +237 -0
  367. data/lib/incident_io_sdk/models/incident_attachments_list_result_v1.rb +239 -0
  368. data/lib/incident_io_sdk/models/incident_duration_metric_v2.rb +265 -0
  369. data/lib/incident_io_sdk/models/incident_duration_metric_with_value_v2.rb +247 -0
  370. data/lib/incident_io_sdk/models/incident_edit_payload_v2.rb +307 -0
  371. data/lib/incident_io_sdk/models/incident_membership_v1.rb +345 -0
  372. data/lib/incident_io_sdk/models/incident_memberships_create_payload_v1.rb +263 -0
  373. data/lib/incident_io_sdk/models/incident_memberships_create_result_v1.rb +237 -0
  374. data/lib/incident_io_sdk/models/incident_memberships_revoke_payload_v1.rb +264 -0
  375. data/lib/incident_io_sdk/models/incident_role_assignment_payload_v1.rb +264 -0
  376. data/lib/incident_io_sdk/models/incident_role_assignment_payload_v2.rb +247 -0
  377. data/lib/incident_io_sdk/models/incident_role_assignment_v1.rb +246 -0
  378. data/lib/incident_io_sdk/models/incident_role_assignment_v2.rb +246 -0
  379. data/lib/incident_io_sdk/models/incident_role_v1.rb +479 -0
  380. data/lib/incident_io_sdk/models/incident_role_v2.rb +469 -0
  381. data/lib/incident_io_sdk/models/incident_roles_create_payload_v1.rb +364 -0
  382. data/lib/incident_io_sdk/models/incident_roles_create_payload_v2.rb +337 -0
  383. data/lib/incident_io_sdk/models/incident_roles_create_result_v1.rb +237 -0
  384. data/lib/incident_io_sdk/models/incident_roles_create_result_v2.rb +237 -0
  385. data/lib/incident_io_sdk/models/incident_roles_list_result_v1.rb +239 -0
  386. data/lib/incident_io_sdk/models/incident_roles_list_result_v2.rb +239 -0
  387. data/lib/incident_io_sdk/models/incident_roles_show_result_v1.rb +237 -0
  388. data/lib/incident_io_sdk/models/incident_roles_show_result_v2.rb +237 -0
  389. data/lib/incident_io_sdk/models/incident_roles_update_payload_v1.rb +347 -0
  390. data/lib/incident_io_sdk/models/incident_roles_update_payload_v2.rb +337 -0
  391. data/lib/incident_io_sdk/models/incident_roles_update_result_v1.rb +237 -0
  392. data/lib/incident_io_sdk/models/incident_roles_update_result_v2.rb +237 -0
  393. data/lib/incident_io_sdk/models/incident_slim_v2.rb +410 -0
  394. data/lib/incident_io_sdk/models/incident_status_v1.rb +422 -0
  395. data/lib/incident_io_sdk/models/incident_status_v2.rb +422 -0
  396. data/lib/incident_io_sdk/models/incident_statuses_create_payload_v1.rb +316 -0
  397. data/lib/incident_io_sdk/models/incident_statuses_create_result_v1.rb +237 -0
  398. data/lib/incident_io_sdk/models/incident_statuses_list_result_v1.rb +239 -0
  399. data/lib/incident_io_sdk/models/incident_statuses_show_result_v1.rb +237 -0
  400. data/lib/incident_io_sdk/models/incident_statuses_update_payload_v1.rb +265 -0
  401. data/lib/incident_io_sdk/models/incident_statuses_update_result_v1.rb +237 -0
  402. data/lib/incident_io_sdk/models/incident_timestamp_v2.rb +292 -0
  403. data/lib/incident_io_sdk/models/incident_timestamp_value_payload_v2.rb +248 -0
  404. data/lib/incident_io_sdk/models/incident_timestamp_value_v1.rb +248 -0
  405. data/lib/incident_io_sdk/models/incident_timestamp_value_v2.rb +221 -0
  406. data/lib/incident_io_sdk/models/incident_timestamp_with_value_v2.rb +246 -0
  407. data/lib/incident_io_sdk/models/incident_timestamps_list_result_v2.rb +239 -0
  408. data/lib/incident_io_sdk/models/incident_timestamps_show_result_v2.rb +237 -0
  409. data/lib/incident_io_sdk/models/incident_type_v1.rb +451 -0
  410. data/lib/incident_io_sdk/models/incident_type_v2.rb +451 -0
  411. data/lib/incident_io_sdk/models/incident_types_list_result_v1.rb +239 -0
  412. data/lib/incident_io_sdk/models/incident_types_show_result_v1.rb +237 -0
  413. data/lib/incident_io_sdk/models/incident_update_v2.rb +373 -0
  414. data/lib/incident_io_sdk/models/incident_updates_list_result_v2.rb +248 -0
  415. data/lib/incident_io_sdk/models/incident_v1.rb +673 -0
  416. data/lib/incident_io_sdk/models/incident_v2.rb +741 -0
  417. data/lib/incident_io_sdk/models/incident_with_status_change_v2.rb +299 -0
  418. data/lib/incident_io_sdk/models/incidents_create_payload_v1.rb +427 -0
  419. data/lib/incident_io_sdk/models/incidents_create_payload_v2.rb +426 -0
  420. data/lib/incident_io_sdk/models/incidents_create_result_v1.rb +237 -0
  421. data/lib/incident_io_sdk/models/incidents_create_result_v2.rb +237 -0
  422. data/lib/incident_io_sdk/models/incidents_edit_payload_v2.rb +264 -0
  423. data/lib/incident_io_sdk/models/incidents_edit_result_v2.rb +237 -0
  424. data/lib/incident_io_sdk/models/incidents_list_result_v1.rb +248 -0
  425. data/lib/incident_io_sdk/models/incidents_list_result_v2.rb +248 -0
  426. data/lib/incident_io_sdk/models/incidents_show_result_v1.rb +237 -0
  427. data/lib/incident_io_sdk/models/incidents_show_result_v2.rb +237 -0
  428. data/lib/incident_io_sdk/models/management_meta_v2.rb +301 -0
  429. data/lib/incident_io_sdk/models/pagination_meta_result_v1.rb +248 -0
  430. data/lib/incident_io_sdk/models/pagination_meta_result_v2.rb +248 -0
  431. data/lib/incident_io_sdk/models/pagination_meta_result_v3.rb +248 -0
  432. data/lib/incident_io_sdk/models/pagination_meta_result_with_total_v1.rb +258 -0
  433. data/lib/incident_io_sdk/models/pagination_meta_result_with_total_v2.rb +258 -0
  434. data/lib/incident_io_sdk/models/rbac_role_v2.rb +302 -0
  435. data/lib/incident_io_sdk/models/retrospective_incident_options_v2.rb +241 -0
  436. data/lib/incident_io_sdk/models/returns_meta_v2.rb +265 -0
  437. data/lib/incident_io_sdk/models/schedule_config_create_payload_v2.rb +222 -0
  438. data/lib/incident_io_sdk/models/schedule_config_update_payload_v2.rb +222 -0
  439. data/lib/incident_io_sdk/models/schedule_config_v2.rb +240 -0
  440. data/lib/incident_io_sdk/models/schedule_create_payload_v2.rb +273 -0
  441. data/lib/incident_io_sdk/models/schedule_entries_list_payload_v2.rb +295 -0
  442. data/lib/incident_io_sdk/models/schedule_entry_v2.rb +312 -0
  443. data/lib/incident_io_sdk/models/schedule_holidays_public_config_payload_v2.rb +240 -0
  444. data/lib/incident_io_sdk/models/schedule_holidays_public_config_v2.rb +240 -0
  445. data/lib/incident_io_sdk/models/schedule_layer_create_payload_v2.rb +248 -0
  446. data/lib/incident_io_sdk/models/schedule_layer_update_payload_v2.rb +231 -0
  447. data/lib/incident_io_sdk/models/schedule_layer_v2.rb +231 -0
  448. data/lib/incident_io_sdk/models/schedule_override_v2.rb +434 -0
  449. data/lib/incident_io_sdk/models/schedule_rotation_create_payload_v2.rb +310 -0
  450. data/lib/incident_io_sdk/models/schedule_rotation_handover_v2.rb +264 -0
  451. data/lib/incident_io_sdk/models/schedule_rotation_update_payload_v2.rb +293 -0
  452. data/lib/incident_io_sdk/models/schedule_rotation_v2.rb +430 -0
  453. data/lib/incident_io_sdk/models/schedule_rotation_working_interval_create_payload_v2.rb +316 -0
  454. data/lib/incident_io_sdk/models/schedule_rotation_working_interval_update_payload_v2.rb +275 -0
  455. data/lib/incident_io_sdk/models/schedule_rotation_working_interval_v2.rb +316 -0
  456. data/lib/incident_io_sdk/models/schedule_update_payload_v2.rb +273 -0
  457. data/lib/incident_io_sdk/models/schedule_v2.rb +432 -0
  458. data/lib/incident_io_sdk/models/schedules_create_override_payload_v2.rb +372 -0
  459. data/lib/incident_io_sdk/models/schedules_create_override_result_v2.rb +237 -0
  460. data/lib/incident_io_sdk/models/schedules_create_payload_v2.rb +237 -0
  461. data/lib/incident_io_sdk/models/schedules_create_result_v2.rb +237 -0
  462. data/lib/incident_io_sdk/models/schedules_list_result_v2.rb +248 -0
  463. data/lib/incident_io_sdk/models/schedules_list_schedule_entries_result_v2.rb +246 -0
  464. data/lib/incident_io_sdk/models/schedules_show_result_v2.rb +237 -0
  465. data/lib/incident_io_sdk/models/schedules_update_payload_v2.rb +237 -0
  466. data/lib/incident_io_sdk/models/schedules_update_result_v2.rb +237 -0
  467. data/lib/incident_io_sdk/models/severities_create_payload_v1.rb +284 -0
  468. data/lib/incident_io_sdk/models/severities_create_result_v1.rb +237 -0
  469. data/lib/incident_io_sdk/models/severities_list_result_v1.rb +239 -0
  470. data/lib/incident_io_sdk/models/severities_show_result_v1.rb +237 -0
  471. data/lib/incident_io_sdk/models/severities_update_payload_v1.rb +284 -0
  472. data/lib/incident_io_sdk/models/severities_update_result_v1.rb +237 -0
  473. data/lib/incident_io_sdk/models/severity_v1.rb +382 -0
  474. data/lib/incident_io_sdk/models/severity_v2.rb +382 -0
  475. data/lib/incident_io_sdk/models/step_config_payload_v2.rb +304 -0
  476. data/lib/incident_io_sdk/models/step_config_slim_v2.rb +265 -0
  477. data/lib/incident_io_sdk/models/step_config_v2.rb +331 -0
  478. data/lib/incident_io_sdk/models/trigger_slim_v2.rb +265 -0
  479. data/lib/incident_io_sdk/models/user_reference_payload_v1.rb +241 -0
  480. data/lib/incident_io_sdk/models/user_reference_payload_v2.rb +241 -0
  481. data/lib/incident_io_sdk/models/user_v1.rb +336 -0
  482. data/lib/incident_io_sdk/models/user_v2.rb +336 -0
  483. data/lib/incident_io_sdk/models/user_with_roles_v2.rb +390 -0
  484. data/lib/incident_io_sdk/models/users_list_result_v2.rb +265 -0
  485. data/lib/incident_io_sdk/models/users_show_result_v2.rb +237 -0
  486. data/lib/incident_io_sdk/models/utilities_identity_result_v1.rb +237 -0
  487. data/lib/incident_io_sdk/models/webhook_incident_user_v2.rb +275 -0
  488. data/lib/incident_io_sdk/models/webhook_incident_v2.rb +763 -0
  489. data/lib/incident_io_sdk/models/webhook_private_resource_v2.rb +238 -0
  490. data/lib/incident_io_sdk/models/webhooks_private_incident_action_created_v1_response_body.rb +288 -0
  491. data/lib/incident_io_sdk/models/webhooks_private_incident_action_updated_v1_response_body.rb +288 -0
  492. data/lib/incident_io_sdk/models/webhooks_private_incident_follow_up_created_v1_response_body.rb +288 -0
  493. data/lib/incident_io_sdk/models/webhooks_private_incident_follow_up_updated_v1_response_body.rb +288 -0
  494. data/lib/incident_io_sdk/models/webhooks_private_incident_incident_created_v2_response_body.rb +288 -0
  495. data/lib/incident_io_sdk/models/webhooks_private_incident_incident_updated_v2_response_body.rb +288 -0
  496. data/lib/incident_io_sdk/models/webhooks_private_incident_membership_granted_v1_response_body.rb +288 -0
  497. data/lib/incident_io_sdk/models/webhooks_private_incident_membership_revoked_v1_response_body.rb +288 -0
  498. data/lib/incident_io_sdk/models/webhooks_public_incident_action_created_v1_response_body.rb +288 -0
  499. data/lib/incident_io_sdk/models/webhooks_public_incident_action_updated_v1_response_body.rb +288 -0
  500. data/lib/incident_io_sdk/models/webhooks_public_incident_follow_up_created_v1_response_body.rb +288 -0
  501. data/lib/incident_io_sdk/models/webhooks_public_incident_follow_up_updated_v1_response_body.rb +288 -0
  502. data/lib/incident_io_sdk/models/webhooks_public_incident_incident_created_v2_response_body.rb +288 -0
  503. data/lib/incident_io_sdk/models/webhooks_public_incident_incident_status_updated_v2_response_body.rb +288 -0
  504. data/lib/incident_io_sdk/models/webhooks_public_incident_incident_updated_v2_response_body.rb +288 -0
  505. data/lib/incident_io_sdk/models/weekday_interval_config_v2.rb +320 -0
  506. data/lib/incident_io_sdk/models/weekday_interval_v2.rb +316 -0
  507. data/lib/incident_io_sdk/models/workflow_delay_v2.rb +265 -0
  508. data/lib/incident_io_sdk/models/workflow_slim_v2.rb +626 -0
  509. data/lib/incident_io_sdk/models/workflow_v2.rb +626 -0
  510. data/lib/incident_io_sdk/models/workflows_create_workflow_payload_v2.rb +568 -0
  511. data/lib/incident_io_sdk/models/workflows_create_workflow_result_v2.rb +263 -0
  512. data/lib/incident_io_sdk/models/workflows_list_workflows_result_v2.rb +239 -0
  513. data/lib/incident_io_sdk/models/workflows_show_workflow_result_v2.rb +263 -0
  514. data/lib/incident_io_sdk/models/workflows_update_workflow_payload_v2.rb +541 -0
  515. data/lib/incident_io_sdk/models/workflows_update_workflow_result_v2.rb +263 -0
  516. data/lib/incident_io_sdk/version.rb +15 -0
  517. data/lib/incident_io_sdk.rb +547 -0
  518. data/spec/api/actions_v1_api_spec.rb +61 -0
  519. data/spec/api/actions_v2_api_spec.rb +60 -0
  520. data/spec/api/alert_attributes_v2_api_spec.rb +95 -0
  521. data/spec/api/alert_events_v2_api_spec.rb +49 -0
  522. data/spec/api/alert_routes_v2_api_spec.rb +97 -0
  523. data/spec/api/alert_sources_v2_api_spec.rb +95 -0
  524. data/spec/api/alerts_v2_api_spec.rb +77 -0
  525. data/spec/api/catalog_v2_api_spec.rb +182 -0
  526. data/spec/api/catalog_v3_api_spec.rb +183 -0
  527. data/spec/api/custom_field_options_v1_api_spec.rb +98 -0
  528. data/spec/api/custom_fields_v1_api_spec.rb +95 -0
  529. data/spec/api/custom_fields_v2_api_spec.rb +95 -0
  530. data/spec/api/escalations_v2_api_spec.rb +84 -0
  531. data/spec/api/follow_ups_v2_api_spec.rb +60 -0
  532. data/spec/api/incident_attachments_v1_api_spec.rb +73 -0
  533. data/spec/api/incident_memberships_v1_api_spec.rb +59 -0
  534. data/spec/api/incident_roles_v1_api_spec.rb +95 -0
  535. data/spec/api/incident_roles_v2_api_spec.rb +95 -0
  536. data/spec/api/incident_statuses_v1_api_spec.rb +95 -0
  537. data/spec/api/incident_timestamps_v2_api_spec.rb +58 -0
  538. data/spec/api/incident_types_v1_api_spec.rb +58 -0
  539. data/spec/api/incident_updates_v2_api_spec.rb +49 -0
  540. data/spec/api/incidents_v1_api_spec.rb +73 -0
  541. data/spec/api/incidents_v2_api_spec.rb +94 -0
  542. data/spec/api/schedules_v2_api_spec.rb +123 -0
  543. data/spec/api/severities_v1_api_spec.rb +95 -0
  544. data/spec/api/users_v2_api_spec.rb +62 -0
  545. data/spec/api/utilities_v1_api_spec.rb +68 -0
  546. data/spec/api/workflows_v2_api_spec.rb +96 -0
  547. data/spec/models/action_v1_spec.rb +94 -0
  548. data/spec/models/action_v2_spec.rb +82 -0
  549. data/spec/models/actions_list_result_v1_spec.rb +36 -0
  550. data/spec/models/actions_list_result_v2_spec.rb +36 -0
  551. data/spec/models/actions_show_result_v1_spec.rb +36 -0
  552. data/spec/models/actions_show_result_v2_spec.rb +36 -0
  553. data/spec/models/actor_v1_spec.rb +42 -0
  554. data/spec/models/actor_v2_spec.rb +42 -0
  555. data/spec/models/after_pagination_meta_result_v2_spec.rb +42 -0
  556. data/spec/models/alert_attribute_catalog_entry_v2_spec.rb +48 -0
  557. data/spec/models/alert_attribute_entry_v2_spec.rb +48 -0
  558. data/spec/models/alert_attribute_v2_spec.rb +54 -0
  559. data/spec/models/alert_attribute_value_v2_spec.rb +48 -0
  560. data/spec/models/alert_attributes_create_payload_v2_spec.rb +48 -0
  561. data/spec/models/alert_attributes_create_result_v2_spec.rb +36 -0
  562. data/spec/models/alert_attributes_list_result_v2_spec.rb +36 -0
  563. data/spec/models/alert_attributes_show_result_v2_spec.rb +36 -0
  564. data/spec/models/alert_attributes_update_payload_v2_spec.rb +48 -0
  565. data/spec/models/alert_attributes_update_result_v2_spec.rb +36 -0
  566. data/spec/models/alert_events_create_http_payload_v2_spec.rb +70 -0
  567. data/spec/models/alert_events_create_http_result_v2_spec.rb +48 -0
  568. data/spec/models/alert_route_alert_source_payload_v2_spec.rb +42 -0
  569. data/spec/models/alert_route_alert_source_v2_spec.rb +42 -0
  570. data/spec/models/alert_route_auto_generated_template_binding_payload_v2_spec.rb +42 -0
  571. data/spec/models/alert_route_auto_generated_template_binding_v2_spec.rb +42 -0
  572. data/spec/models/alert_route_channel_config_payload_v2_spec.rb +48 -0
  573. data/spec/models/alert_route_channel_config_v2_spec.rb +48 -0
  574. data/spec/models/alert_route_channel_target_payload_v2_spec.rb +42 -0
  575. data/spec/models/alert_route_channel_target_v2_spec.rb +42 -0
  576. data/spec/models/alert_route_custom_field_binding_payload_v2_spec.rb +52 -0
  577. data/spec/models/alert_route_custom_field_binding_v2_spec.rb +52 -0
  578. data/spec/models/alert_route_escalation_config_payload_v2_spec.rb +42 -0
  579. data/spec/models/alert_route_escalation_config_v2_spec.rb +42 -0
  580. data/spec/models/alert_route_escalation_target_payload_v2_spec.rb +42 -0
  581. data/spec/models/alert_route_escalation_target_v2_spec.rb +42 -0
  582. data/spec/models/alert_route_incident_config_payload_v2_spec.rb +66 -0
  583. data/spec/models/alert_route_incident_config_v2_spec.rb +66 -0
  584. data/spec/models/alert_route_incident_template_payload_v2_spec.rb +78 -0
  585. data/spec/models/alert_route_incident_template_v2_spec.rb +78 -0
  586. data/spec/models/alert_route_severity_binding_payload_v2_spec.rb +46 -0
  587. data/spec/models/alert_route_severity_binding_v2_spec.rb +46 -0
  588. data/spec/models/alert_route_slim_v2_spec.rb +48 -0
  589. data/spec/models/alert_route_template_binding_payload_v2_spec.rb +36 -0
  590. data/spec/models/alert_route_template_binding_v2_spec.rb +36 -0
  591. data/spec/models/alert_route_v2_spec.rb +114 -0
  592. data/spec/models/alert_routes_create_payload_v2_spec.rb +108 -0
  593. data/spec/models/alert_routes_create_result_v2_spec.rb +36 -0
  594. data/spec/models/alert_routes_list_result_v2_spec.rb +42 -0
  595. data/spec/models/alert_routes_show_result_v2_spec.rb +36 -0
  596. data/spec/models/alert_routes_update_payload_v2_spec.rb +108 -0
  597. data/spec/models/alert_routes_update_result_v2_spec.rb +36 -0
  598. data/spec/models/alert_slim_v2_spec.rb +94 -0
  599. data/spec/models/alert_source_email_options_v2_spec.rb +36 -0
  600. data/spec/models/alert_source_jira_options_v2_spec.rb +36 -0
  601. data/spec/models/alert_source_v2_spec.rb +76 -0
  602. data/spec/models/alert_sources_create_payload_v2_spec.rb +58 -0
  603. data/spec/models/alert_sources_create_result_v2_spec.rb +36 -0
  604. data/spec/models/alert_sources_list_result_v2_spec.rb +36 -0
  605. data/spec/models/alert_sources_show_result_v2_spec.rb +36 -0
  606. data/spec/models/alert_sources_update_payload_v2_spec.rb +48 -0
  607. data/spec/models/alert_sources_update_result_v2_spec.rb +36 -0
  608. data/spec/models/alert_template_attribute_payload_v2_spec.rb +42 -0
  609. data/spec/models/alert_template_attribute_v2_spec.rb +42 -0
  610. data/spec/models/alert_template_payload_v2_spec.rb +54 -0
  611. data/spec/models/alert_template_v2_spec.rb +54 -0
  612. data/spec/models/alert_v2_spec.rb +100 -0
  613. data/spec/models/alerts_list_incident_alerts_result_v2_spec.rb +42 -0
  614. data/spec/models/alerts_list_result_v2_spec.rb +42 -0
  615. data/spec/models/alerts_show_result_v2_spec.rb +36 -0
  616. data/spec/models/api_key_v1_spec.rb +42 -0
  617. data/spec/models/api_key_v2_spec.rb +42 -0
  618. data/spec/models/audit_log_actor_metadata_v2_spec.rb +60 -0
  619. data/spec/models/audit_log_actor_v2_spec.rb +58 -0
  620. data/spec/models/audit_log_entry_context_v2_spec.rb +42 -0
  621. data/spec/models/audit_log_private_incident_access_attempted_metadata_v2_spec.rb +40 -0
  622. data/spec/models/audit_log_target_v2_spec.rb +52 -0
  623. data/spec/models/audit_log_user_role_membership_changed_metadata_v2_spec.rb +54 -0
  624. data/spec/models/audit_log_user_scim_group_mapping_changed_metadata_v2_spec.rb +54 -0
  625. data/spec/models/audit_logs_alert_route_created_v1_spec.rb +66 -0
  626. data/spec/models/audit_logs_alert_route_deleted_v1_spec.rb +66 -0
  627. data/spec/models/audit_logs_alert_route_updated_v1_spec.rb +66 -0
  628. data/spec/models/audit_logs_alert_schema_updated_v1_spec.rb +66 -0
  629. data/spec/models/audit_logs_alert_source_config_created_v1_spec.rb +66 -0
  630. data/spec/models/audit_logs_alert_source_config_deleted_v1_spec.rb +66 -0
  631. data/spec/models/audit_logs_alert_source_config_updated_v1_spec.rb +66 -0
  632. data/spec/models/audit_logs_announcement_rule_created_v1_spec.rb +66 -0
  633. data/spec/models/audit_logs_announcement_rule_deleted_v1_spec.rb +66 -0
  634. data/spec/models/audit_logs_announcement_rule_updated_v1_spec.rb +66 -0
  635. data/spec/models/audit_logs_api_key_created_v1_spec.rb +66 -0
  636. data/spec/models/audit_logs_api_key_deleted_v1_spec.rb +66 -0
  637. data/spec/models/audit_logs_catalog_type_created_v1_spec.rb +66 -0
  638. data/spec/models/audit_logs_catalog_type_deleted_v1_spec.rb +66 -0
  639. data/spec/models/audit_logs_catalog_type_updated_v1_spec.rb +66 -0
  640. data/spec/models/audit_logs_custom_field_created_v1_spec.rb +66 -0
  641. data/spec/models/audit_logs_custom_field_deleted_v1_spec.rb +66 -0
  642. data/spec/models/audit_logs_custom_field_updated_v1_spec.rb +66 -0
  643. data/spec/models/audit_logs_debrief_invite_rule_created_v1_spec.rb +66 -0
  644. data/spec/models/audit_logs_debrief_invite_rule_deleted_v1_spec.rb +66 -0
  645. data/spec/models/audit_logs_debrief_invite_rule_updated_v1_spec.rb +66 -0
  646. data/spec/models/audit_logs_escalation_path_created_v1_spec.rb +66 -0
  647. data/spec/models/audit_logs_escalation_path_deleted_v1_spec.rb +66 -0
  648. data/spec/models/audit_logs_escalation_path_updated_v1_spec.rb +66 -0
  649. data/spec/models/audit_logs_follow_up_priority_created_v1_spec.rb +66 -0
  650. data/spec/models/audit_logs_follow_up_priority_deleted_v1_spec.rb +66 -0
  651. data/spec/models/audit_logs_follow_up_priority_updated_v1_spec.rb +66 -0
  652. data/spec/models/audit_logs_holiday_user_feed_created_v1_spec.rb +66 -0
  653. data/spec/models/audit_logs_holiday_user_feed_deleted_v1_spec.rb +66 -0
  654. data/spec/models/audit_logs_holiday_user_feed_updated_v1_spec.rb +66 -0
  655. data/spec/models/audit_logs_incident_call_setting_updated_v1_spec.rb +66 -0
  656. data/spec/models/audit_logs_incident_duration_metric_created_v1_spec.rb +66 -0
  657. data/spec/models/audit_logs_incident_duration_metric_deleted_v1_spec.rb +66 -0
  658. data/spec/models/audit_logs_incident_duration_metric_updated_v1_spec.rb +66 -0
  659. data/spec/models/audit_logs_incident_role_created_v1_spec.rb +66 -0
  660. data/spec/models/audit_logs_incident_role_deleted_v1_spec.rb +66 -0
  661. data/spec/models/audit_logs_incident_role_updated_v1_spec.rb +66 -0
  662. data/spec/models/audit_logs_incident_status_created_v1_spec.rb +66 -0
  663. data/spec/models/audit_logs_incident_status_deleted_v1_spec.rb +66 -0
  664. data/spec/models/audit_logs_incident_status_updated_v1_spec.rb +66 -0
  665. data/spec/models/audit_logs_incident_timestamp_created_v1_spec.rb +66 -0
  666. data/spec/models/audit_logs_incident_timestamp_deleted_v1_spec.rb +66 -0
  667. data/spec/models/audit_logs_incident_timestamp_updated_v1_spec.rb +66 -0
  668. data/spec/models/audit_logs_incident_type_created_v1_spec.rb +66 -0
  669. data/spec/models/audit_logs_incident_type_deleted_v1_spec.rb +66 -0
  670. data/spec/models/audit_logs_incident_type_updated_v1_spec.rb +66 -0
  671. data/spec/models/audit_logs_integration_installed_v1_spec.rb +66 -0
  672. data/spec/models/audit_logs_integration_uninstalled_v1_spec.rb +66 -0
  673. data/spec/models/audit_logs_internal_status_page_created_v1_spec.rb +66 -0
  674. data/spec/models/audit_logs_internal_status_page_deleted_v1_spec.rb +66 -0
  675. data/spec/models/audit_logs_internal_status_page_updated_v1_spec.rb +66 -0
  676. data/spec/models/audit_logs_nudge_created_v1_spec.rb +66 -0
  677. data/spec/models/audit_logs_nudge_deleted_v1_spec.rb +66 -0
  678. data/spec/models/audit_logs_nudge_updated_v1_spec.rb +66 -0
  679. data/spec/models/audit_logs_policy_created_v1_spec.rb +66 -0
  680. data/spec/models/audit_logs_policy_deleted_v1_spec.rb +66 -0
  681. data/spec/models/audit_logs_policy_updated_v1_spec.rb +66 -0
  682. data/spec/models/audit_logs_post_incident_task_created_v1_spec.rb +66 -0
  683. data/spec/models/audit_logs_post_incident_task_deleted_v1_spec.rb +66 -0
  684. data/spec/models/audit_logs_post_incident_task_updated_v1_spec.rb +66 -0
  685. data/spec/models/audit_logs_postmortem_section_created_v1_spec.rb +66 -0
  686. data/spec/models/audit_logs_postmortem_section_created_v2_spec.rb +66 -0
  687. data/spec/models/audit_logs_postmortem_section_deleted_v1_spec.rb +66 -0
  688. data/spec/models/audit_logs_postmortem_section_deleted_v2_spec.rb +66 -0
  689. data/spec/models/audit_logs_postmortem_section_updated_v1_spec.rb +66 -0
  690. data/spec/models/audit_logs_postmortem_section_updated_v2_spec.rb +66 -0
  691. data/spec/models/audit_logs_postmortem_template_created_v1_spec.rb +66 -0
  692. data/spec/models/audit_logs_postmortem_template_created_v2_spec.rb +66 -0
  693. data/spec/models/audit_logs_postmortem_template_deleted_v1_spec.rb +66 -0
  694. data/spec/models/audit_logs_postmortem_template_deleted_v2_spec.rb +66 -0
  695. data/spec/models/audit_logs_postmortem_template_updated_v1_spec.rb +66 -0
  696. data/spec/models/audit_logs_postmortem_template_updated_v2_spec.rb +66 -0
  697. data/spec/models/audit_logs_private_incident_access_attempted_v1_spec.rb +72 -0
  698. data/spec/models/audit_logs_private_incident_access_requested_v1_spec.rb +66 -0
  699. data/spec/models/audit_logs_private_incident_membership_granted_v1_spec.rb +66 -0
  700. data/spec/models/audit_logs_private_incident_membership_revoked_v1_spec.rb +66 -0
  701. data/spec/models/audit_logs_rbac_role_created_v1_spec.rb +66 -0
  702. data/spec/models/audit_logs_rbac_role_deleted_v1_spec.rb +66 -0
  703. data/spec/models/audit_logs_rbac_role_updated_v1_spec.rb +66 -0
  704. data/spec/models/audit_logs_schedule_created_v1_spec.rb +66 -0
  705. data/spec/models/audit_logs_schedule_deleted_v1_spec.rb +66 -0
  706. data/spec/models/audit_logs_schedule_override_created_v1_spec.rb +66 -0
  707. data/spec/models/audit_logs_schedule_override_deleted_v1_spec.rb +66 -0
  708. data/spec/models/audit_logs_schedule_override_updated_v1_spec.rb +66 -0
  709. data/spec/models/audit_logs_schedule_updated_v1_spec.rb +66 -0
  710. data/spec/models/audit_logs_scim_group_role_mappings_updated_v1_spec.rb +72 -0
  711. data/spec/models/audit_logs_severity_created_v1_spec.rb +66 -0
  712. data/spec/models/audit_logs_severity_deleted_v1_spec.rb +66 -0
  713. data/spec/models/audit_logs_severity_updated_v1_spec.rb +66 -0
  714. data/spec/models/audit_logs_status_page_created_v1_spec.rb +66 -0
  715. data/spec/models/audit_logs_status_page_deleted_v1_spec.rb +66 -0
  716. data/spec/models/audit_logs_status_page_sub_page_created_v1_spec.rb +66 -0
  717. data/spec/models/audit_logs_status_page_sub_page_deleted_v1_spec.rb +66 -0
  718. data/spec/models/audit_logs_status_page_sub_page_updated_v1_spec.rb +66 -0
  719. data/spec/models/audit_logs_status_page_template_created_v1_spec.rb +66 -0
  720. data/spec/models/audit_logs_status_page_template_deleted_v1_spec.rb +66 -0
  721. data/spec/models/audit_logs_status_page_template_updated_v1_spec.rb +66 -0
  722. data/spec/models/audit_logs_status_page_updated_v1_spec.rb +66 -0
  723. data/spec/models/audit_logs_user_created_v1_spec.rb +66 -0
  724. data/spec/models/audit_logs_user_deactivated_v1_spec.rb +66 -0
  725. data/spec/models/audit_logs_user_reinstated_v1_spec.rb +66 -0
  726. data/spec/models/audit_logs_user_role_memberships_updated_v1_spec.rb +72 -0
  727. data/spec/models/audit_logs_user_updated_v1_spec.rb +66 -0
  728. data/spec/models/audit_logs_workflow_created_v1_spec.rb +66 -0
  729. data/spec/models/audit_logs_workflow_deleted_v1_spec.rb +66 -0
  730. data/spec/models/audit_logs_workflow_updated_v1_spec.rb +66 -0
  731. data/spec/models/catalog_create_entry_payload_v2_spec.rb +66 -0
  732. data/spec/models/catalog_create_entry_payload_v3_spec.rb +66 -0
  733. data/spec/models/catalog_create_entry_result_v2_spec.rb +36 -0
  734. data/spec/models/catalog_create_entry_result_v3_spec.rb +36 -0
  735. data/spec/models/catalog_create_type_payload_v2_spec.rb +96 -0
  736. data/spec/models/catalog_create_type_payload_v3_spec.rb +96 -0
  737. data/spec/models/catalog_create_type_result_v2_spec.rb +36 -0
  738. data/spec/models/catalog_create_type_result_v3_spec.rb +36 -0
  739. data/spec/models/catalog_engine_param_binding_payload_v3_spec.rb +42 -0
  740. data/spec/models/catalog_engine_param_binding_value_payload_v3_spec.rb +36 -0
  741. data/spec/models/catalog_entry_engine_param_binding_v2_spec.rb +42 -0
  742. data/spec/models/catalog_entry_engine_param_binding_v3_spec.rb +42 -0
  743. data/spec/models/catalog_entry_engine_param_binding_value_v2_spec.rb +90 -0
  744. data/spec/models/catalog_entry_engine_param_binding_value_v3_spec.rb +42 -0
  745. data/spec/models/catalog_entry_reference_v2_spec.rb +54 -0
  746. data/spec/models/catalog_entry_v2_spec.rb +90 -0
  747. data/spec/models/catalog_entry_v3_spec.rb +90 -0
  748. data/spec/models/catalog_list_entries_result_v2_spec.rb +48 -0
  749. data/spec/models/catalog_list_entries_result_v3_spec.rb +48 -0
  750. data/spec/models/catalog_list_resources_result_v2_spec.rb +36 -0
  751. data/spec/models/catalog_list_resources_result_v3_spec.rb +36 -0
  752. data/spec/models/catalog_list_types_result_v2_spec.rb +36 -0
  753. data/spec/models/catalog_list_types_result_v3_spec.rb +36 -0
  754. data/spec/models/catalog_resource_v2_spec.rb +64 -0
  755. data/spec/models/catalog_resource_v3_spec.rb +64 -0
  756. data/spec/models/catalog_show_entry_result_v2_spec.rb +42 -0
  757. data/spec/models/catalog_show_entry_result_v3_spec.rb +42 -0
  758. data/spec/models/catalog_show_type_result_v2_spec.rb +36 -0
  759. data/spec/models/catalog_show_type_result_v3_spec.rb +36 -0
  760. data/spec/models/catalog_type_attribute_path_item_payload_v2_spec.rb +36 -0
  761. data/spec/models/catalog_type_attribute_path_item_payload_v3_spec.rb +36 -0
  762. data/spec/models/catalog_type_attribute_path_item_v2_spec.rb +42 -0
  763. data/spec/models/catalog_type_attribute_path_item_v3_spec.rb +42 -0
  764. data/spec/models/catalog_type_attribute_payload_v2_spec.rb +76 -0
  765. data/spec/models/catalog_type_attribute_payload_v3_spec.rb +76 -0
  766. data/spec/models/catalog_type_attribute_v2_spec.rb +76 -0
  767. data/spec/models/catalog_type_attribute_v3_spec.rb +76 -0
  768. data/spec/models/catalog_type_schema_v2_spec.rb +42 -0
  769. data/spec/models/catalog_type_schema_v3_spec.rb +42 -0
  770. data/spec/models/catalog_type_v2_spec.rb +162 -0
  771. data/spec/models/catalog_type_v3_spec.rb +156 -0
  772. data/spec/models/catalog_update_entry_payload_v2_spec.rb +60 -0
  773. data/spec/models/catalog_update_entry_payload_v3_spec.rb +66 -0
  774. data/spec/models/catalog_update_entry_result_v2_spec.rb +42 -0
  775. data/spec/models/catalog_update_entry_result_v3_spec.rb +42 -0
  776. data/spec/models/catalog_update_type_payload_v2_spec.rb +90 -0
  777. data/spec/models/catalog_update_type_payload_v3_spec.rb +90 -0
  778. data/spec/models/catalog_update_type_result_v2_spec.rb +36 -0
  779. data/spec/models/catalog_update_type_result_v3_spec.rb +36 -0
  780. data/spec/models/catalog_update_type_schema_payload_v2_spec.rb +42 -0
  781. data/spec/models/catalog_update_type_schema_payload_v3_spec.rb +42 -0
  782. data/spec/models/catalog_update_type_schema_result_v2_spec.rb +36 -0
  783. data/spec/models/catalog_update_type_schema_result_v3_spec.rb +36 -0
  784. data/spec/models/condition_group_payload_v2_spec.rb +36 -0
  785. data/spec/models/condition_group_v2_spec.rb +36 -0
  786. data/spec/models/condition_operation_v2_spec.rb +42 -0
  787. data/spec/models/condition_payload_v2_spec.rb +48 -0
  788. data/spec/models/condition_subject_v2_spec.rb +42 -0
  789. data/spec/models/condition_v2_spec.rb +48 -0
  790. data/spec/models/custom_field_entry_payload_v1_spec.rb +42 -0
  791. data/spec/models/custom_field_entry_payload_v2_spec.rb +42 -0
  792. data/spec/models/custom_field_entry_v1_spec.rb +42 -0
  793. data/spec/models/custom_field_entry_v2_spec.rb +42 -0
  794. data/spec/models/custom_field_filter_by_options_v2_spec.rb +42 -0
  795. data/spec/models/custom_field_option_v1_spec.rb +54 -0
  796. data/spec/models/custom_field_option_v2_spec.rb +54 -0
  797. data/spec/models/custom_field_options_create_payload_v1_spec.rb +48 -0
  798. data/spec/models/custom_field_options_create_result_v1_spec.rb +36 -0
  799. data/spec/models/custom_field_options_list_result_v1_spec.rb +42 -0
  800. data/spec/models/custom_field_options_show_result_v1_spec.rb +36 -0
  801. data/spec/models/custom_field_options_update_payload_v1_spec.rb +42 -0
  802. data/spec/models/custom_field_options_update_result_v1_spec.rb +36 -0
  803. data/spec/models/custom_field_type_info_v1_spec.rb +64 -0
  804. data/spec/models/custom_field_type_info_v2_spec.rb +64 -0
  805. data/spec/models/custom_field_v1_spec.rb +126 -0
  806. data/spec/models/custom_field_v2_spec.rb +94 -0
  807. data/spec/models/custom_field_value_payload_v1_spec.rb +72 -0
  808. data/spec/models/custom_field_value_payload_v2_spec.rb +72 -0
  809. data/spec/models/custom_field_value_v1_spec.rb +60 -0
  810. data/spec/models/custom_field_value_v2_spec.rb +60 -0
  811. data/spec/models/custom_fields_create_payload_v1_spec.rb +96 -0
  812. data/spec/models/custom_fields_create_payload_v2_spec.rb +76 -0
  813. data/spec/models/custom_fields_create_result_v1_spec.rb +36 -0
  814. data/spec/models/custom_fields_create_result_v2_spec.rb +36 -0
  815. data/spec/models/custom_fields_list_result_v1_spec.rb +36 -0
  816. data/spec/models/custom_fields_list_result_v2_spec.rb +36 -0
  817. data/spec/models/custom_fields_show_result_v1_spec.rb +36 -0
  818. data/spec/models/custom_fields_show_result_v2_spec.rb +36 -0
  819. data/spec/models/custom_fields_update_payload_v1_spec.rb +86 -0
  820. data/spec/models/custom_fields_update_payload_v2_spec.rb +60 -0
  821. data/spec/models/custom_fields_update_result_v1_spec.rb +36 -0
  822. data/spec/models/custom_fields_update_result_v2_spec.rb +36 -0
  823. data/spec/models/embedded_catalog_entry_v1_spec.rb +54 -0
  824. data/spec/models/embedded_catalog_entry_v2_spec.rb +54 -0
  825. data/spec/models/embedded_incident_role_v2_spec.rb +88 -0
  826. data/spec/models/engine_param_binding_payload_v2_spec.rb +42 -0
  827. data/spec/models/engine_param_binding_v2_spec.rb +42 -0
  828. data/spec/models/engine_param_binding_value_payload_v2_spec.rb +42 -0
  829. data/spec/models/engine_param_binding_value_v2_spec.rb +48 -0
  830. data/spec/models/engine_reference_v2_spec.rb +54 -0
  831. data/spec/models/escalation_path_node_if_else_payload_v2_spec.rb +48 -0
  832. data/spec/models/escalation_path_node_if_else_v2_spec.rb +48 -0
  833. data/spec/models/escalation_path_node_level_v2_spec.rb +64 -0
  834. data/spec/models/escalation_path_node_notify_channel_v2_spec.rb +58 -0
  835. data/spec/models/escalation_path_node_payload_v2_spec.rb +70 -0
  836. data/spec/models/escalation_path_node_repeat_v2_spec.rb +42 -0
  837. data/spec/models/escalation_path_node_v2_spec.rb +70 -0
  838. data/spec/models/escalation_path_round_robin_config_v2_spec.rb +42 -0
  839. data/spec/models/escalation_path_target_v2_spec.rb +66 -0
  840. data/spec/models/escalation_path_v2_spec.rb +60 -0
  841. data/spec/models/escalations_create_path_payload_v2_spec.rb +54 -0
  842. data/spec/models/escalations_create_path_result_v2_spec.rb +36 -0
  843. data/spec/models/escalations_show_path_result_v2_spec.rb +36 -0
  844. data/spec/models/escalations_update_path_payload_v2_spec.rb +54 -0
  845. data/spec/models/escalations_update_path_result_v2_spec.rb +36 -0
  846. data/spec/models/expression_branch_payload_v2_spec.rb +42 -0
  847. data/spec/models/expression_branch_v2_spec.rb +42 -0
  848. data/spec/models/expression_branches_opts_payload_v2_spec.rb +42 -0
  849. data/spec/models/expression_branches_opts_v2_spec.rb +42 -0
  850. data/spec/models/expression_else_branch_payload_v2_spec.rb +36 -0
  851. data/spec/models/expression_else_branch_v2_spec.rb +36 -0
  852. data/spec/models/expression_filter_opts_payload_v2_spec.rb +36 -0
  853. data/spec/models/expression_filter_opts_v2_spec.rb +36 -0
  854. data/spec/models/expression_navigate_opts_payload_v2_spec.rb +36 -0
  855. data/spec/models/expression_navigate_opts_v2_spec.rb +42 -0
  856. data/spec/models/expression_operation_payload_v2_spec.rb +64 -0
  857. data/spec/models/expression_operation_v2_spec.rb +70 -0
  858. data/spec/models/expression_parse_opts_payload_v2_spec.rb +42 -0
  859. data/spec/models/expression_parse_opts_v2_spec.rb +42 -0
  860. data/spec/models/expression_payload_v2_spec.rb +60 -0
  861. data/spec/models/expression_v2_spec.rb +66 -0
  862. data/spec/models/external_issue_reference_v1_spec.rb +52 -0
  863. data/spec/models/external_issue_reference_v2_spec.rb +52 -0
  864. data/spec/models/external_issue_reference_v6_spec.rb +52 -0
  865. data/spec/models/external_resource_v1_spec.rb +58 -0
  866. data/spec/models/follow_up_priority_v2_spec.rb +54 -0
  867. data/spec/models/follow_up_v2_spec.rb +100 -0
  868. data/spec/models/follow_ups_list_result_v2_spec.rb +36 -0
  869. data/spec/models/follow_ups_show_result_v2_spec.rb +36 -0
  870. data/spec/models/grouping_key_v2_spec.rb +36 -0
  871. data/spec/models/identity_v1_spec.rb +52 -0
  872. data/spec/models/incident_alert_v2_spec.rb +54 -0
  873. data/spec/models/incident_attachment_v1_spec.rb +48 -0
  874. data/spec/models/incident_attachments_create_payload_v1_resource_spec.rb +46 -0
  875. data/spec/models/incident_attachments_create_payload_v1_spec.rb +42 -0
  876. data/spec/models/incident_attachments_create_result_v1_spec.rb +36 -0
  877. data/spec/models/incident_attachments_list_result_v1_spec.rb +36 -0
  878. data/spec/models/incident_duration_metric_v2_spec.rb +42 -0
  879. data/spec/models/incident_duration_metric_with_value_v2_spec.rb +42 -0
  880. data/spec/models/incident_edit_payload_v2_spec.rb +84 -0
  881. data/spec/models/incident_membership_v1_spec.rb +60 -0
  882. data/spec/models/incident_memberships_create_payload_v1_spec.rb +42 -0
  883. data/spec/models/incident_memberships_create_result_v1_spec.rb +36 -0
  884. data/spec/models/incident_memberships_revoke_payload_v1_spec.rb +42 -0
  885. data/spec/models/incident_role_assignment_payload_v1_spec.rb +42 -0
  886. data/spec/models/incident_role_assignment_payload_v2_spec.rb +42 -0
  887. data/spec/models/incident_role_assignment_v1_spec.rb +42 -0
  888. data/spec/models/incident_role_assignment_v2_spec.rb +42 -0
  889. data/spec/models/incident_role_v1_spec.rb +88 -0
  890. data/spec/models/incident_role_v2_spec.rb +82 -0
  891. data/spec/models/incident_roles_create_payload_v1_spec.rb +60 -0
  892. data/spec/models/incident_roles_create_payload_v2_spec.rb +54 -0
  893. data/spec/models/incident_roles_create_result_v1_spec.rb +36 -0
  894. data/spec/models/incident_roles_create_result_v2_spec.rb +36 -0
  895. data/spec/models/incident_roles_list_result_v1_spec.rb +36 -0
  896. data/spec/models/incident_roles_list_result_v2_spec.rb +36 -0
  897. data/spec/models/incident_roles_show_result_v1_spec.rb +36 -0
  898. data/spec/models/incident_roles_show_result_v2_spec.rb +36 -0
  899. data/spec/models/incident_roles_update_payload_v1_spec.rb +60 -0
  900. data/spec/models/incident_roles_update_payload_v2_spec.rb +54 -0
  901. data/spec/models/incident_roles_update_result_v1_spec.rb +36 -0
  902. data/spec/models/incident_roles_update_result_v2_spec.rb +36 -0
  903. data/spec/models/incident_slim_v2_spec.rb +80 -0
  904. data/spec/models/incident_status_v1_spec.rb +76 -0
  905. data/spec/models/incident_status_v2_spec.rb +76 -0
  906. data/spec/models/incident_statuses_create_payload_v1_spec.rb +52 -0
  907. data/spec/models/incident_statuses_create_result_v1_spec.rb +36 -0
  908. data/spec/models/incident_statuses_list_result_v1_spec.rb +36 -0
  909. data/spec/models/incident_statuses_show_result_v1_spec.rb +36 -0
  910. data/spec/models/incident_statuses_update_payload_v1_spec.rb +42 -0
  911. data/spec/models/incident_statuses_update_result_v1_spec.rb +36 -0
  912. data/spec/models/incident_timestamp_v2_spec.rb +48 -0
  913. data/spec/models/incident_timestamp_value_payload_v2_spec.rb +42 -0
  914. data/spec/models/incident_timestamp_value_v1_spec.rb +42 -0
  915. data/spec/models/incident_timestamp_value_v2_spec.rb +36 -0
  916. data/spec/models/incident_timestamp_with_value_v2_spec.rb +42 -0
  917. data/spec/models/incident_timestamps_list_result_v2_spec.rb +36 -0
  918. data/spec/models/incident_timestamps_show_result_v2_spec.rb +36 -0
  919. data/spec/models/incident_type_v1_spec.rb +82 -0
  920. data/spec/models/incident_type_v2_spec.rb +82 -0
  921. data/spec/models/incident_types_list_result_v1_spec.rb +36 -0
  922. data/spec/models/incident_types_show_result_v1_spec.rb +36 -0
  923. data/spec/models/incident_update_v2_spec.rb +78 -0
  924. data/spec/models/incident_updates_list_result_v2_spec.rb +42 -0
  925. data/spec/models/incident_v1_spec.rb +168 -0
  926. data/spec/models/incident_v2_spec.rb +206 -0
  927. data/spec/models/incident_with_status_change_v2_spec.rb +54 -0
  928. data/spec/models/incidents_create_payload_v1_spec.rb +120 -0
  929. data/spec/models/incidents_create_payload_v2_spec.rb +122 -0
  930. data/spec/models/incidents_create_result_v1_spec.rb +36 -0
  931. data/spec/models/incidents_create_result_v2_spec.rb +36 -0
  932. data/spec/models/incidents_edit_payload_v2_spec.rb +42 -0
  933. data/spec/models/incidents_edit_result_v2_spec.rb +36 -0
  934. data/spec/models/incidents_list_result_v1_spec.rb +42 -0
  935. data/spec/models/incidents_list_result_v2_spec.rb +42 -0
  936. data/spec/models/incidents_show_result_v1_spec.rb +36 -0
  937. data/spec/models/incidents_show_result_v2_spec.rb +36 -0
  938. data/spec/models/management_meta_v2_spec.rb +52 -0
  939. data/spec/models/pagination_meta_result_v1_spec.rb +42 -0
  940. data/spec/models/pagination_meta_result_v2_spec.rb +42 -0
  941. data/spec/models/pagination_meta_result_v3_spec.rb +42 -0
  942. data/spec/models/pagination_meta_result_with_total_v1_spec.rb +48 -0
  943. data/spec/models/pagination_meta_result_with_total_v2_spec.rb +48 -0
  944. data/spec/models/rbac_role_v2_spec.rb +54 -0
  945. data/spec/models/retrospective_incident_options_v2_spec.rb +48 -0
  946. data/spec/models/returns_meta_v2_spec.rb +42 -0
  947. data/spec/models/schedule_config_create_payload_v2_spec.rb +36 -0
  948. data/spec/models/schedule_config_update_payload_v2_spec.rb +36 -0
  949. data/spec/models/schedule_config_v2_spec.rb +36 -0
  950. data/spec/models/schedule_create_payload_v2_spec.rb +66 -0
  951. data/spec/models/schedule_entries_list_payload_v2_spec.rb +48 -0
  952. data/spec/models/schedule_entry_v2_spec.rb +72 -0
  953. data/spec/models/schedule_holidays_public_config_payload_v2_spec.rb +36 -0
  954. data/spec/models/schedule_holidays_public_config_v2_spec.rb +36 -0
  955. data/spec/models/schedule_layer_create_payload_v2_spec.rb +42 -0
  956. data/spec/models/schedule_layer_update_payload_v2_spec.rb +42 -0
  957. data/spec/models/schedule_layer_v2_spec.rb +42 -0
  958. data/spec/models/schedule_override_v2_spec.rb +84 -0
  959. data/spec/models/schedule_rotation_create_payload_v2_spec.rb +78 -0
  960. data/spec/models/schedule_rotation_handover_v2_spec.rb +46 -0
  961. data/spec/models/schedule_rotation_update_payload_v2_spec.rb +78 -0
  962. data/spec/models/schedule_rotation_v2_spec.rb +84 -0
  963. data/spec/models/schedule_rotation_working_interval_create_payload_v2_spec.rb +52 -0
  964. data/spec/models/schedule_rotation_working_interval_update_payload_v2_spec.rb +52 -0
  965. data/spec/models/schedule_rotation_working_interval_v2_spec.rb +52 -0
  966. data/spec/models/schedule_update_payload_v2_spec.rb +66 -0
  967. data/spec/models/schedule_v2_spec.rb +90 -0
  968. data/spec/models/schedules_create_override_payload_v2_spec.rb +66 -0
  969. data/spec/models/schedules_create_override_result_v2_spec.rb +36 -0
  970. data/spec/models/schedules_create_payload_v2_spec.rb +36 -0
  971. data/spec/models/schedules_create_result_v2_spec.rb +36 -0
  972. data/spec/models/schedules_list_result_v2_spec.rb +42 -0
  973. data/spec/models/schedules_list_schedule_entries_result_v2_spec.rb +42 -0
  974. data/spec/models/schedules_show_result_v2_spec.rb +36 -0
  975. data/spec/models/schedules_update_payload_v2_spec.rb +36 -0
  976. data/spec/models/schedules_update_result_v2_spec.rb +36 -0
  977. data/spec/models/severities_create_payload_v1_spec.rb +48 -0
  978. data/spec/models/severities_create_result_v1_spec.rb +36 -0
  979. data/spec/models/severities_list_result_v1_spec.rb +36 -0
  980. data/spec/models/severities_show_result_v1_spec.rb +36 -0
  981. data/spec/models/severities_update_payload_v1_spec.rb +48 -0
  982. data/spec/models/severities_update_result_v1_spec.rb +36 -0
  983. data/spec/models/severity_v1_spec.rb +66 -0
  984. data/spec/models/severity_v2_spec.rb +66 -0
  985. data/spec/models/step_config_payload_v2_spec.rb +54 -0
  986. data/spec/models/step_config_slim_v2_spec.rb +42 -0
  987. data/spec/models/step_config_v2_spec.rb +60 -0
  988. data/spec/models/trigger_slim_v2_spec.rb +42 -0
  989. data/spec/models/user_reference_payload_v1_spec.rb +48 -0
  990. data/spec/models/user_reference_payload_v2_spec.rb +48 -0
  991. data/spec/models/user_v1_spec.rb +64 -0
  992. data/spec/models/user_v2_spec.rb +64 -0
  993. data/spec/models/user_with_roles_v2_spec.rb +76 -0
  994. data/spec/models/users_list_result_v2_spec.rb +42 -0
  995. data/spec/models/users_show_result_v2_spec.rb +36 -0
  996. data/spec/models/utilities_identity_result_v1_spec.rb +36 -0
  997. data/spec/models/webhook_incident_user_v2_spec.rb +48 -0
  998. data/spec/models/webhook_incident_v2_spec.rb +218 -0
  999. data/spec/models/webhook_private_resource_v2_spec.rb +36 -0
  1000. data/spec/models/webhooks_private_incident_action_created_v1_response_body_spec.rb +46 -0
  1001. data/spec/models/webhooks_private_incident_action_updated_v1_response_body_spec.rb +46 -0
  1002. data/spec/models/webhooks_private_incident_follow_up_created_v1_response_body_spec.rb +46 -0
  1003. data/spec/models/webhooks_private_incident_follow_up_updated_v1_response_body_spec.rb +46 -0
  1004. data/spec/models/webhooks_private_incident_incident_created_v2_response_body_spec.rb +46 -0
  1005. data/spec/models/webhooks_private_incident_incident_updated_v2_response_body_spec.rb +46 -0
  1006. data/spec/models/webhooks_private_incident_membership_granted_v1_response_body_spec.rb +46 -0
  1007. data/spec/models/webhooks_private_incident_membership_revoked_v1_response_body_spec.rb +46 -0
  1008. data/spec/models/webhooks_public_incident_action_created_v1_response_body_spec.rb +46 -0
  1009. data/spec/models/webhooks_public_incident_action_updated_v1_response_body_spec.rb +46 -0
  1010. data/spec/models/webhooks_public_incident_follow_up_created_v1_response_body_spec.rb +46 -0
  1011. data/spec/models/webhooks_public_incident_follow_up_updated_v1_response_body_spec.rb +46 -0
  1012. data/spec/models/webhooks_public_incident_incident_created_v2_response_body_spec.rb +46 -0
  1013. data/spec/models/webhooks_public_incident_incident_status_updated_v2_response_body_spec.rb +46 -0
  1014. data/spec/models/webhooks_public_incident_incident_updated_v2_response_body_spec.rb +46 -0
  1015. data/spec/models/weekday_interval_config_v2_spec.rb +54 -0
  1016. data/spec/models/weekday_interval_v2_spec.rb +52 -0
  1017. data/spec/models/workflow_delay_v2_spec.rb +42 -0
  1018. data/spec/models/workflow_slim_v2_spec.rb +144 -0
  1019. data/spec/models/workflow_v2_spec.rb +144 -0
  1020. data/spec/models/workflows_create_workflow_payload_v2_spec.rb +132 -0
  1021. data/spec/models/workflows_create_workflow_result_v2_spec.rb +42 -0
  1022. data/spec/models/workflows_list_workflows_result_v2_spec.rb +36 -0
  1023. data/spec/models/workflows_show_workflow_result_v2_spec.rb +42 -0
  1024. data/spec/models/workflows_update_workflow_payload_v2_spec.rb +126 -0
  1025. data/spec/models/workflows_update_workflow_result_v2_spec.rb +42 -0
  1026. data/spec/spec_helper.rb +111 -0
  1027. metadata +1621 -0
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IncidentIoSdk::WebhookIncidentUserV2
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe IncidentIoSdk::WebhookIncidentUserV2 do
21
+ let(:instance) { IncidentIoSdk::WebhookIncidentUserV2.new }
22
+
23
+ describe 'test an instance of WebhookIncidentUserV2' do
24
+ it 'should create an instance of WebhookIncidentUserV2' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(IncidentIoSdk::WebhookIncidentUserV2)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "actor_user_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "incident_id"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "user_id"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,218 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IncidentIoSdk::WebhookIncidentV2
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe IncidentIoSdk::WebhookIncidentV2 do
21
+ let(:instance) { IncidentIoSdk::WebhookIncidentV2.new }
22
+
23
+ describe 'test an instance of WebhookIncidentV2' do
24
+ it 'should create an instance of WebhookIncidentV2' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(IncidentIoSdk::WebhookIncidentV2)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "call_url"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "created_at"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "creator"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "custom_field_entries"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "duration_metrics"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "external_issue_reference"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "has_debrief"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "id"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "incident_role_assignments"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "incident_status"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "incident_timestamp_values"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "incident_type"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "mode"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["standard", "retrospective", "test", "tutorial"])
106
+ # validator.allowable_values.each do |value|
107
+ # expect { instance.mode = value }.not_to raise_error
108
+ # end
109
+ end
110
+ end
111
+
112
+ describe 'test attribute "most_recent_update_message"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
115
+ end
116
+ end
117
+
118
+ describe 'test attribute "name"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
121
+ end
122
+ end
123
+
124
+ describe 'test attribute "permalink"' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
127
+ end
128
+ end
129
+
130
+ describe 'test attribute "postmortem_document_url"' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
133
+ end
134
+ end
135
+
136
+ describe 'test attribute "reference"' do
137
+ it 'should work' do
138
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
139
+ end
140
+ end
141
+
142
+ describe 'test attribute "related_incidents"' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
145
+ end
146
+ end
147
+
148
+ describe 'test attribute "severity"' do
149
+ it 'should work' do
150
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
151
+ end
152
+ end
153
+
154
+ describe 'test attribute "slack_channel_id"' do
155
+ it 'should work' do
156
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
157
+ end
158
+ end
159
+
160
+ describe 'test attribute "slack_channel_name"' do
161
+ it 'should work' do
162
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
163
+ end
164
+ end
165
+
166
+ describe 'test attribute "slack_team_id"' do
167
+ it 'should work' do
168
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
169
+ end
170
+ end
171
+
172
+ describe 'test attribute "summary"' do
173
+ it 'should work' do
174
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
175
+ end
176
+ end
177
+
178
+ describe 'test attribute "updated_at"' do
179
+ it 'should work' do
180
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
181
+ end
182
+ end
183
+
184
+ describe 'test attribute "visibility"' do
185
+ it 'should work' do
186
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
187
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["public", "private"])
188
+ # validator.allowable_values.each do |value|
189
+ # expect { instance.visibility = value }.not_to raise_error
190
+ # end
191
+ end
192
+ end
193
+
194
+ describe 'test attribute "workload_minutes_late"' do
195
+ it 'should work' do
196
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
197
+ end
198
+ end
199
+
200
+ describe 'test attribute "workload_minutes_sleeping"' do
201
+ it 'should work' do
202
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
203
+ end
204
+ end
205
+
206
+ describe 'test attribute "workload_minutes_total"' do
207
+ it 'should work' do
208
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
209
+ end
210
+ end
211
+
212
+ describe 'test attribute "workload_minutes_working"' do
213
+ it 'should work' do
214
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
215
+ end
216
+ end
217
+
218
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IncidentIoSdk::WebhookPrivateResourceV2
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe IncidentIoSdk::WebhookPrivateResourceV2 do
21
+ let(:instance) { IncidentIoSdk::WebhookPrivateResourceV2.new }
22
+
23
+ describe 'test an instance of WebhookPrivateResourceV2' do
24
+ it 'should create an instance of WebhookPrivateResourceV2' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(IncidentIoSdk::WebhookPrivateResourceV2)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IncidentIoSdk::WebhooksPrivateIncidentActionCreatedV1ResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe IncidentIoSdk::WebhooksPrivateIncidentActionCreatedV1ResponseBody do
21
+ let(:instance) { IncidentIoSdk::WebhooksPrivateIncidentActionCreatedV1ResponseBody.new }
22
+
23
+ describe 'test an instance of WebhooksPrivateIncidentActionCreatedV1ResponseBody' do
24
+ it 'should create an instance of WebhooksPrivateIncidentActionCreatedV1ResponseBody' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(IncidentIoSdk::WebhooksPrivateIncidentActionCreatedV1ResponseBody)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "event_type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["public_incident.incident_created_v2", "private_incident.incident_created_v2", "public_incident.incident_updated_v2", "private_incident.incident_updated_v2", "public_incident.incident_status_updated_v2", "public_incident.follow_up_created_v1", "private_incident.follow_up_created_v1", "public_incident.follow_up_updated_v1", "private_incident.follow_up_updated_v1", "public_incident.action_created_v1", "private_incident.action_created_v1", "public_incident.action_updated_v1", "private_incident.action_updated_v1", "private_incident.membership_granted_v1", "private_incident.membership_revoked_v1"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.event_type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "private_incident_action_created_v1"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IncidentIoSdk::WebhooksPrivateIncidentActionUpdatedV1ResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe IncidentIoSdk::WebhooksPrivateIncidentActionUpdatedV1ResponseBody do
21
+ let(:instance) { IncidentIoSdk::WebhooksPrivateIncidentActionUpdatedV1ResponseBody.new }
22
+
23
+ describe 'test an instance of WebhooksPrivateIncidentActionUpdatedV1ResponseBody' do
24
+ it 'should create an instance of WebhooksPrivateIncidentActionUpdatedV1ResponseBody' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(IncidentIoSdk::WebhooksPrivateIncidentActionUpdatedV1ResponseBody)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "event_type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["public_incident.incident_created_v2", "private_incident.incident_created_v2", "public_incident.incident_updated_v2", "private_incident.incident_updated_v2", "public_incident.incident_status_updated_v2", "public_incident.follow_up_created_v1", "private_incident.follow_up_created_v1", "public_incident.follow_up_updated_v1", "private_incident.follow_up_updated_v1", "public_incident.action_created_v1", "private_incident.action_created_v1", "public_incident.action_updated_v1", "private_incident.action_updated_v1", "private_incident.membership_granted_v1", "private_incident.membership_revoked_v1"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.event_type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "private_incident_action_updated_v1"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IncidentIoSdk::WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe IncidentIoSdk::WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody do
21
+ let(:instance) { IncidentIoSdk::WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody.new }
22
+
23
+ describe 'test an instance of WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody' do
24
+ it 'should create an instance of WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(IncidentIoSdk::WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "event_type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["public_incident.incident_created_v2", "private_incident.incident_created_v2", "public_incident.incident_updated_v2", "private_incident.incident_updated_v2", "public_incident.incident_status_updated_v2", "public_incident.follow_up_created_v1", "private_incident.follow_up_created_v1", "public_incident.follow_up_updated_v1", "private_incident.follow_up_updated_v1", "public_incident.action_created_v1", "private_incident.action_created_v1", "public_incident.action_updated_v1", "private_incident.action_updated_v1", "private_incident.membership_granted_v1", "private_incident.membership_revoked_v1"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.event_type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "private_incident_follow_up_created_v1"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IncidentIoSdk::WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe IncidentIoSdk::WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody do
21
+ let(:instance) { IncidentIoSdk::WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody.new }
22
+
23
+ describe 'test an instance of WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody' do
24
+ it 'should create an instance of WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(IncidentIoSdk::WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "event_type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["public_incident.incident_created_v2", "private_incident.incident_created_v2", "public_incident.incident_updated_v2", "private_incident.incident_updated_v2", "public_incident.incident_status_updated_v2", "public_incident.follow_up_created_v1", "private_incident.follow_up_created_v1", "public_incident.follow_up_updated_v1", "private_incident.follow_up_updated_v1", "public_incident.action_created_v1", "private_incident.action_created_v1", "public_incident.action_updated_v1", "private_incident.action_updated_v1", "private_incident.membership_granted_v1", "private_incident.membership_revoked_v1"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.event_type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "private_incident_follow_up_updated_v1"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IncidentIoSdk::WebhooksPrivateIncidentIncidentCreatedV2ResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe IncidentIoSdk::WebhooksPrivateIncidentIncidentCreatedV2ResponseBody do
21
+ let(:instance) { IncidentIoSdk::WebhooksPrivateIncidentIncidentCreatedV2ResponseBody.new }
22
+
23
+ describe 'test an instance of WebhooksPrivateIncidentIncidentCreatedV2ResponseBody' do
24
+ it 'should create an instance of WebhooksPrivateIncidentIncidentCreatedV2ResponseBody' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(IncidentIoSdk::WebhooksPrivateIncidentIncidentCreatedV2ResponseBody)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "event_type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["public_incident.incident_created_v2", "private_incident.incident_created_v2", "public_incident.incident_updated_v2", "private_incident.incident_updated_v2", "public_incident.incident_status_updated_v2", "public_incident.follow_up_created_v1", "private_incident.follow_up_created_v1", "public_incident.follow_up_updated_v1", "private_incident.follow_up_updated_v1", "public_incident.action_created_v1", "private_incident.action_created_v1", "public_incident.action_updated_v1", "private_incident.action_updated_v1", "private_incident.membership_granted_v1", "private_incident.membership_revoked_v1"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.event_type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "private_incident_incident_created_v2"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ end