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,95 @@
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
+
16
+ # Unit tests for IncidentIoSdk::IncidentStatusesV1Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IncidentStatusesV1Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IncidentIoSdk::IncidentStatusesV1Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IncidentStatusesV1Api' do
30
+ it 'should create an instance of IncidentStatusesV1Api' do
31
+ expect(@api_instance).to be_instance_of(IncidentIoSdk::IncidentStatusesV1Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for incident_statuses_v1_create
36
+ # Create Incident Statuses V1
37
+ # Create a new incident status
38
+ # @param incident_statuses_create_payload_v1
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [IncidentStatusesCreateResultV1]
41
+ describe 'incident_statuses_v1_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for incident_statuses_v1_delete
48
+ # Delete Incident Statuses V1
49
+ # Delete an incident status
50
+ # @param id Unique ID of this incident status
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'incident_statuses_v1_delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for incident_statuses_v1_list
60
+ # List Incident Statuses V1
61
+ # List all incident statuses for an organisation.
62
+ # @param [Hash] opts the optional parameters
63
+ # @return [IncidentStatusesListResultV1]
64
+ describe 'incident_statuses_v1_list test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ # unit tests for incident_statuses_v1_show
71
+ # Show Incident Statuses V1
72
+ # Get a single incident status.
73
+ # @param id Unique ID of this incident status
74
+ # @param [Hash] opts the optional parameters
75
+ # @return [IncidentStatusesShowResultV1]
76
+ describe 'incident_statuses_v1_show test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ # unit tests for incident_statuses_v1_update
83
+ # Update Incident Statuses V1
84
+ # Update an existing incident status
85
+ # @param id Unique ID of this incident status
86
+ # @param incident_statuses_update_payload_v1
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [IncidentStatusesUpdateResultV1]
89
+ describe 'incident_statuses_v1_update test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
92
+ end
93
+ end
94
+
95
+ end
@@ -0,0 +1,58 @@
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
+
16
+ # Unit tests for IncidentIoSdk::IncidentTimestampsV2Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IncidentTimestampsV2Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IncidentIoSdk::IncidentTimestampsV2Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IncidentTimestampsV2Api' do
30
+ it 'should create an instance of IncidentTimestampsV2Api' do
31
+ expect(@api_instance).to be_instance_of(IncidentIoSdk::IncidentTimestampsV2Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for incident_timestamps_v2_list
36
+ # List Incident Timestamps V2
37
+ # List all incident timestamps for an organisation.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [IncidentTimestampsListResultV2]
40
+ describe 'incident_timestamps_v2_list test' 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
+ # unit tests for incident_timestamps_v2_show
47
+ # Show Incident Timestamps V2
48
+ # Get a single incident timestamp.
49
+ # @param id Unique ID of this incident timestamp
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [IncidentTimestampsShowResultV2]
52
+ describe 'incident_timestamps_v2_show test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,58 @@
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
+
16
+ # Unit tests for IncidentIoSdk::IncidentTypesV1Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IncidentTypesV1Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IncidentIoSdk::IncidentTypesV1Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IncidentTypesV1Api' do
30
+ it 'should create an instance of IncidentTypesV1Api' do
31
+ expect(@api_instance).to be_instance_of(IncidentIoSdk::IncidentTypesV1Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for incident_types_v1_list
36
+ # List Incident Types V1
37
+ # List all incident types for an organisation.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [IncidentTypesListResultV1]
40
+ describe 'incident_types_v1_list test' 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
+ # unit tests for incident_types_v1_show
47
+ # Show Incident Types V1
48
+ # Get a single incident type.
49
+ # @param id Unique identifier for this Incident Type
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [IncidentTypesShowResultV1]
52
+ describe 'incident_types_v1_show test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,49 @@
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
+
16
+ # Unit tests for IncidentIoSdk::IncidentUpdatesV2Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IncidentUpdatesV2Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IncidentIoSdk::IncidentUpdatesV2Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IncidentUpdatesV2Api' do
30
+ it 'should create an instance of IncidentUpdatesV2Api' do
31
+ expect(@api_instance).to be_instance_of(IncidentIoSdk::IncidentUpdatesV2Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for incident_updates_v2_list
36
+ # List Incident Updates V2
37
+ # List all incident updates for an organisation, or for a specific incident.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :incident_id Incident whose updates you want to list
40
+ # @option opts [Integer] :page_size Integer number of records to return
41
+ # @option opts [String] :after An record&#39;s ID. This endpoint will return a list of records after this ID in relation to the API response order.
42
+ # @return [IncidentUpdatesListResultV2]
43
+ describe 'incident_updates_v2_list test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,73 @@
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
+
16
+ # Unit tests for IncidentIoSdk::IncidentsV1Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IncidentsV1Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IncidentIoSdk::IncidentsV1Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IncidentsV1Api' do
30
+ it 'should create an instance of IncidentsV1Api' do
31
+ expect(@api_instance).to be_instance_of(IncidentIoSdk::IncidentsV1Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for incidents_v1_create
36
+ # Create Incidents V1
37
+ # Create a new incident.
38
+ # @param incidents_create_payload_v1
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [IncidentsCreateResultV1]
41
+ describe 'incidents_v1_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for incidents_v1_list
48
+ # List Incidents V1
49
+ # List all incidents for an organisation.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [Integer] :page_size Integer number of records to return
52
+ # @option opts [String] :after An record&#39;s ID. This endpoint will return a list of records after this ID in relation to the API response order.
53
+ # @option opts [Array<String>] :status Filter for incidents in these statuses
54
+ # @return [IncidentsListResultV1]
55
+ describe 'incidents_v1_list test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
58
+ end
59
+ end
60
+
61
+ # unit tests for incidents_v1_show
62
+ # Show Incidents V1
63
+ # Get a single incident.
64
+ # @param id Unique identifier for the incident
65
+ # @param [Hash] opts the optional parameters
66
+ # @return [IncidentsShowResultV1]
67
+ describe 'incidents_v1_show test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
70
+ end
71
+ end
72
+
73
+ end
@@ -0,0 +1,94 @@
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
+
16
+ # Unit tests for IncidentIoSdk::IncidentsV2Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'IncidentsV2Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IncidentIoSdk::IncidentsV2Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of IncidentsV2Api' do
30
+ it 'should create an instance of IncidentsV2Api' do
31
+ expect(@api_instance).to be_instance_of(IncidentIoSdk::IncidentsV2Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for incidents_v2_create
36
+ # Create Incidents V2
37
+ # Create a new incident. Note that if the incident mode is set to \&quot;retrospective\&quot; then the new incident will not be announced in Slack.
38
+ # @param incidents_create_payload_v2
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [IncidentsCreateResultV2]
41
+ describe 'incidents_v2_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for incidents_v2_edit
48
+ # Edit Incidents V2
49
+ # Edit an existing incident. This endpoint allows you to edit the properties of an existing incident: e.g. set the severity or update custom fields. When using this endpoint, only fields that are provided will be edited (omitted fields will be ignored).
50
+ # @param id The unique identifier of the incident that you want to edit
51
+ # @param incidents_edit_payload_v2
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [IncidentsEditResultV2]
54
+ describe 'incidents_v2_edit test' 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
+ # unit tests for incidents_v2_list
61
+ # List Incidents V2
62
+ # List all incidents for an organisation. This endpoint supports a number of filters, which can help find incidents matching certain criteria. Filters are provided as query parameters, but due to the dynamic nature of what you can query by (different accounts have different custom fields, statuses, etc) they are more complex than most. The maximum page size that can be requested is 250. To help, here are some exemplar curl requests with a human description of what they search for. Note that: - Filters may be used together, and the result will be incidents that match all filters. - IDs are normally in UUID format, but have been replaced with shorter strings to improve readability. - All query parameters must be URI encoded. ### By status With status of id&#x3D;ABC, find all incidents that are set to that status: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;status[one_of]&#x3D;ABC&#39; Or all incidents that are not set to status with id&#x3D;ABC: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;status[not_in]&#x3D;ABC&#39; ### By created_at or updated_at Find all incidents that follow specified date parameters for created_at and updated_at fields. Possible values are \&quot;gte\&quot; (greater than or equal to) and \&quot;lte\&quot; (less than or equal to). The following example finds all incidents created before or on 2021-01-02T00:00:00Z: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;created_at[lte]&#x3D;2021-01-02&#39; ### By status category Find all incidents that are in a status category. Possible values are \&quot;triage\&quot;, \&quot;declined\&quot;, \&quot;merged\&quot;, \&quot;canceled\&quot;, \&quot;live\&quot;, \&quot;learning\&quot; and \&quot;closed\&quot;: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;status_category[one_of]&#x3D;live&#39; Or all incidents that are not in a status category: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;status_category[not_in]&#x3D;live&#39; ### By severity With severity of id&#x3D;ABC, find all incidents that are set to that severity: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;severity[one_of]&#x3D;ABC&#39; Or all incidents where severity rank is greater-than-or-equal-to the rank of severity id&#x3D;ABC: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;severity[gte]&#x3D;ABC&#39; Or all incidents where severity rank is less-than-or-equal-to the rank of severity id&#x3D;ABC: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;severity[lte]&#x3D;ABC&#39; ### By incident type With incident type of id&#x3D;ABC, find all incidents that are of that type: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;incident_type[one_of]&#x3D;ABC&#39; Or all incidents not of that type: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;incident_type[not_in]&#x3D;ABC&#39; ### By incident mode By default, we return standard and retrospective incidents. This means that test and tutorial incidents are filtered out. To override this behaviour, you can use the mode filter to specify which modes you want to get. To find incidents of all modes: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;mode[one_of]&#x3D;standard&amp;mode[one_of]&#x3D;retrospective&amp;mode[one_of]&#x3D;test&amp;mode[one_of]&#x3D;tutorial&#39; To find just test incidents: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;mode[one_of]&#x3D;test&#39; ### By incident role Roles and custom fields have another nested layer in the query parameter, to account for operations against any of the roles or custom fields created in the account. With incident role id&#x3D;ABC, find all incidents where that role is unset: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;incident_role[ABC][is_blank]&#x3D;true&#39; Or where the role has been set: curl --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;incident_role[ABC][is_blank]&#x3D;false&#39; ### By option custom fields With an option custom field id&#x3D;ABC, all incidents that have field ABC set to the custom field option of id&#x3D;XYZ: curl \\ --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;custom_field[ABC][one_of]&#x3D;XYZ&#39; Or all incidents that do not have custom field id&#x3D;ABC set to option id&#x3D;XYZ: curl \\ --get &#39;https://api.incident.io/v2/incidents&#39; \\ --data &#39;custom_field[ABC][not_in]&#x3D;XYZ&#39;
63
+ # @param [Hash] opts the optional parameters
64
+ # @option opts [Integer] :page_size number of records to return
65
+ # @option opts [String] :after An incident&#39;s ID. This endpoint will return a list of incidents after this ID in relation to the API response order.
66
+ # @option opts [Hash<String, Array<String>>] :status Filter on incident status. The accepted operators are &#39;one_of&#39;, or &#39;not_in&#39;.
67
+ # @option opts [Hash<String, Array<String>>] :status_category Filter on the category of the incidents status. The accepted operators are &#39;one_of&#39;, or &#39;not_in&#39;.
68
+ # @option opts [Hash<String, Array<String>>] :created_at Filter on incident created at timestamp. The accepted operators are &#39;gte&#39;, &#39;lte&#39; and &#39;date_range&#39;.
69
+ # @option opts [Hash<String, Array<String>>] :updated_at Filter on incident updated at timestamp. The accepted operators are &#39;gte&#39;, &#39;lte&#39; and &#39;date_range&#39;.
70
+ # @option opts [Hash<String, Array<String>>] :severity Filter on incident severity. The accepted operators are &#39;one_of&#39;, &#39;not_in&#39;, &#39;gte&#39;, &#39;lte&#39;.
71
+ # @option opts [Hash<String, Array<String>>] :incident_type Filter on incident type. The accepted operators are &#39;one_of, or &#39;not_in&#39;.
72
+ # @option opts [Hash<String, Hash<String, Array<String>>>] :incident_role Filter on an incident role. Role ID should be sent, followed by the operator and values. The accepted operators are &#39;one_of&#39;, &#39;is_blank&#39;.
73
+ # @option opts [Hash<String, Hash<String, Array<String>>>] :custom_field Filter on an incident custom field. Custom field ID should be sent, followed by the operator and values. Accepted operator will depend on the custom field type.
74
+ # @option opts [Hash<String, Array<String>>] :mode Filter on incident mode. The accepted operator is &#39;one_of&#39;. If this is not provided, this value defaults to &#x60;{\&quot;one_of\&quot;: [\&quot;standard\&quot;, \&quot;retrospective\&quot;] }&#x60;, meaning that test and tutorial incidents are not included.
75
+ # @return [IncidentsListResultV2]
76
+ describe 'incidents_v2_list test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ # unit tests for incidents_v2_show
83
+ # Show Incidents V2
84
+ # Get a single incident. The ID supplied can be either the incident&#39;s full ID, or the numeric part of its reference. For example, to get INC-123, you could use either its full ID or: curl \\ --get &#39;https://api.incident.io/v2/incidents/123
85
+ # @param id Unique identifier for the incident
86
+ # @param [Hash] opts the optional parameters
87
+ # @return [IncidentsShowResultV2]
88
+ describe 'incidents_v2_show test' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
91
+ end
92
+ end
93
+
94
+ end
@@ -0,0 +1,123 @@
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
+
16
+ # Unit tests for IncidentIoSdk::SchedulesV2Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'SchedulesV2Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = IncidentIoSdk::SchedulesV2Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of SchedulesV2Api' do
30
+ it 'should create an instance of SchedulesV2Api' do
31
+ expect(@api_instance).to be_instance_of(IncidentIoSdk::SchedulesV2Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for schedules_v2_create
36
+ # Create Schedules V2
37
+ # Create a new schedule.
38
+ # @param schedules_create_payload_v2
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [SchedulesCreateResultV2]
41
+ describe 'schedules_v2_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for schedules_v2_create_override
48
+ # CreateOverride Schedules V2
49
+ # Create a new schedule override.
50
+ # @param schedules_create_override_payload_v2
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [SchedulesCreateOverrideResultV2]
53
+ describe 'schedules_v2_create_override test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for schedules_v2_destroy
60
+ # Destroy Schedules V2
61
+ # Archives a single schedule.
62
+ # @param id Unique internal ID of the schedule
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [nil]
65
+ describe 'schedules_v2_destroy test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for schedules_v2_list
72
+ # List Schedules V2
73
+ # List configured schedules.
74
+ # @param [Hash] opts the optional parameters
75
+ # @option opts [Integer] :page_size number of records to return
76
+ # @option opts [String] :after A schedule&#39;s ID. This endpoint will return a list of schedules after this ID in relation to the API response order.
77
+ # @return [SchedulesListResultV2]
78
+ describe 'schedules_v2_list test' 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
+ # unit tests for schedules_v2_list_schedule_entries
85
+ # ListScheduleEntries Schedules V2
86
+ # Get a list of schedule entries. The endpoint will return all entries that overlap with the given window, if one is provided.
87
+ # @param schedule_id The ID of the schedule to get entries for.
88
+ # @param [Hash] opts the optional parameters
89
+ # @option opts [Time] :entry_window_start The start of the window to get entries for.
90
+ # @option opts [Time] :entry_window_end The end of the window to get entries for.
91
+ # @return [SchedulesListScheduleEntriesResultV2]
92
+ describe 'schedules_v2_list_schedule_entries test' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
95
+ end
96
+ end
97
+
98
+ # unit tests for schedules_v2_show
99
+ # Show Schedules V2
100
+ # Get a single schedule.
101
+ # @param id Unique internal ID of the schedule
102
+ # @param [Hash] opts the optional parameters
103
+ # @return [SchedulesShowResultV2]
104
+ describe 'schedules_v2_show test' do
105
+ it 'should work' do
106
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
107
+ end
108
+ end
109
+
110
+ # unit tests for schedules_v2_update
111
+ # Update Schedules V2
112
+ # Update a schedule.
113
+ # @param id The schedule ID to update.
114
+ # @param schedules_update_payload_v2
115
+ # @param [Hash] opts the optional parameters
116
+ # @return [SchedulesUpdateResultV2]
117
+ describe 'schedules_v2_update test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
120
+ end
121
+ end
122
+
123
+ end