incident_io_api 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +7 -0
- data/README.md +177 -0
- data/lib/incident_io/api/actions_v1_api.rb +157 -0
- data/lib/incident_io/api/actions_v2_api.rb +368 -0
- data/lib/incident_io/api/actions_v3_api.rb +373 -0
- data/lib/incident_io/api/alert_attributes_v2_api.rb +347 -0
- data/lib/incident_io/api/alert_events_v2_api.rb +105 -0
- data/lib/incident_io/api/alert_notes_v1_api.rb +367 -0
- data/lib/incident_io/api/alert_routes_v2_api.rb +365 -0
- data/lib/incident_io/api/alert_routes_v3_api.rb +361 -0
- data/lib/incident_io/api/alert_sources_v2_api.rb +415 -0
- data/lib/incident_io/api/alerts_v2_api.rb +772 -0
- data/lib/incident_io/api/announcement_rules_v2_api.rb +361 -0
- data/lib/incident_io/api/announcement_templates_v2_api.rb +347 -0
- data/lib/incident_io/api/api_keys_v1_api.rb +435 -0
- data/lib/incident_io/api/call_routes_v2_api.rb +940 -0
- data/lib/incident_io/api/call_sessions_v2_api.rb +100 -0
- data/lib/incident_io/api/call_transcript_entries_v2_api.rb +100 -0
- data/lib/incident_io/api/catalog_v2_api.rb +860 -0
- data/lib/incident_io/api/catalog_v3_api.rb +902 -0
- data/lib/incident_io/api/custom_field_options_v1_api.rb +368 -0
- data/lib/incident_io/api/custom_fields_v1_api.rb +362 -0
- data/lib/incident_io/api/custom_fields_v2_api.rb +347 -0
- data/lib/incident_io/api/escalation_path_templates_v2_api.rb +369 -0
- data/lib/incident_io/api/escalations_v2_api.rb +869 -0
- data/lib/incident_io/api/follow_ups_v2_api.rb +448 -0
- data/lib/incident_io/api/follow_ups_v3_api.rb +518 -0
- data/lib/incident_io/api/heartbeat_v2_api.rb +160 -0
- data/lib/incident_io/api/incident_activity_log_entries_v2_api.rb +107 -0
- data/lib/incident_io/api/incident_attachments_v1_api.rb +219 -0
- data/lib/incident_io/api/incident_memberships_v1_api.rb +158 -0
- data/lib/incident_io/api/incident_participant_workloads_v2_api.rb +86 -0
- data/lib/incident_io/api/incident_participants_v2_api.rb +86 -0
- data/lib/incident_io/api/incident_relationships_v1_api.rb +100 -0
- data/lib/incident_io/api/incident_roles_v1_api.rb +362 -0
- data/lib/incident_io/api/incident_roles_v2_api.rb +347 -0
- data/lib/incident_io/api/incident_statuses_v1_api.rb +347 -0
- data/lib/incident_io/api/incident_templates_v1_api.rb +429 -0
- data/lib/incident_io/api/incident_timeline_items_v2_api.rb +242 -0
- data/lib/incident_io/api/incident_timestamps_v2_api.rb +142 -0
- data/lib/incident_io/api/incident_types_v1_api.rb +142 -0
- data/lib/incident_io/api/incident_updates_v2_api.rb +164 -0
- data/lib/incident_io/api/incidents_v1_api.rb +236 -0
- data/lib/incident_io/api/incidents_v2_api.rb +405 -0
- data/lib/incident_io/api/ip_allowlists_v1_api.rb +147 -0
- data/lib/incident_io/api/maintenance_windows_v1_api.rb +367 -0
- data/lib/incident_io/api/pay_configs_v2_api.rb +1071 -0
- data/lib/incident_io/api/pay_reports_v2_api.rb +498 -0
- data/lib/incident_io/api/policies_v2_api.rb +364 -0
- data/lib/incident_io/api/policy_findings_v2_api.rb +296 -0
- data/lib/incident_io/api/postmortem_documents_v1_api.rb +367 -0
- data/lib/incident_io/api/schedule_sync_targets_v2_api.rb +361 -0
- data/lib/incident_io/api/schedules_v2_api.rb +1501 -0
- data/lib/incident_io/api/secrets_v2_api.rb +438 -0
- data/lib/incident_io/api/severities_v1_api.rb +347 -0
- data/lib/incident_io/api/status_pages_v1_api.rb +91 -0
- data/lib/incident_io/api/status_pages_v2_api.rb +1102 -0
- data/lib/incident_io/api/teams_v3_api.rb +156 -0
- data/lib/incident_io/api/telemetry_v2_api.rb +96 -0
- data/lib/incident_io/api/users_v2_api.rb +428 -0
- data/lib/incident_io/api/utilities_v1_api.rb +193 -0
- data/lib/incident_io/api/workflow_runs_v2_api.rb +165 -0
- data/lib/incident_io/api/workflows_v2_api.rb +350 -0
- data/lib/incident_io/api_client.rb +441 -0
- data/lib/incident_io/api_error.rb +58 -0
- data/lib/incident_io/api_model_base.rb +88 -0
- data/lib/incident_io/configuration.rb +392 -0
- data/lib/incident_io/deprecation.rb +31 -0
- data/lib/incident_io/errors.rb +101 -0
- data/lib/incident_io/models/action_v1.rb +338 -0
- data/lib/incident_io/models/action_v2.rb +345 -0
- data/lib/incident_io/models/action_v3.rb +345 -0
- data/lib/incident_io/models/actions_create_payload_v2.rb +202 -0
- data/lib/incident_io/models/actions_create_payload_v3.rb +202 -0
- data/lib/incident_io/models/actions_create_result_v2.rb +164 -0
- data/lib/incident_io/models/actions_create_result_v3.rb +164 -0
- data/lib/incident_io/models/actions_list_result_v1.rb +166 -0
- data/lib/incident_io/models/actions_list_result_v2.rb +166 -0
- data/lib/incident_io/models/actions_list_result_v3.rb +192 -0
- data/lib/incident_io/models/actions_show_result_v1.rb +164 -0
- data/lib/incident_io/models/actions_show_result_v2.rb +164 -0
- data/lib/incident_io/models/actions_show_result_v3.rb +164 -0
- data/lib/incident_io/models/actions_update_payload_v2.rb +202 -0
- data/lib/incident_io/models/actions_update_payload_v3.rb +202 -0
- data/lib/incident_io/models/actions_update_result_v2.rb +164 -0
- data/lib/incident_io/models/actions_update_result_v3.rb +164 -0
- data/lib/incident_io/models/activity_action_ref_v2.rb +174 -0
- data/lib/incident_io/models/activity_action_updated_v2.rb +212 -0
- data/lib/incident_io/models/activity_alert_ref_v2.rb +174 -0
- data/lib/incident_io/models/activity_custom_field_value_update_v2.rb +200 -0
- data/lib/incident_io/models/activity_escalation_acknowledged_v2.rb +174 -0
- data/lib/incident_io/models/activity_escalation_created_v2.rb +196 -0
- data/lib/incident_io/models/activity_follow_up_ref_v2.rb +174 -0
- data/lib/incident_io/models/activity_follow_up_updated_v2.rb +232 -0
- data/lib/incident_io/models/activity_incident_merged_v2.rb +166 -0
- data/lib/incident_io/models/activity_incident_rename_v2.rb +201 -0
- data/lib/incident_io/models/activity_incident_timestamp_set_v2.rb +210 -0
- data/lib/incident_io/models/activity_incident_type_changed_v2.rb +165 -0
- data/lib/incident_io/models/activity_incident_update_v2.rb +230 -0
- data/lib/incident_io/models/activity_incident_visibility_changed_v2.rb +201 -0
- data/lib/incident_io/models/activity_role_update_v2.rb +174 -0
- data/lib/incident_io/models/activity_status_change_v2.rb +165 -0
- data/lib/incident_io/models/activity_summary_update_v2.rb +167 -0
- data/lib/incident_io/models/activity_workflow_ran_v2.rb +184 -0
- data/lib/incident_io/models/actor_v1.rb +156 -0
- data/lib/incident_io/models/actor_v2.rb +174 -0
- data/lib/incident_io/models/after_pagination_meta_result_v2.rb +192 -0
- data/lib/incident_io/models/alert_actor_v2.rb +192 -0
- data/lib/incident_io/models/alert_attribute_catalog_entry_v2.rb +219 -0
- data/lib/incident_io/models/alert_attribute_entry_v2.rb +185 -0
- data/lib/incident_io/models/alert_attribute_v2.rb +283 -0
- data/lib/incident_io/models/alert_attribute_value_v2.rb +167 -0
- data/lib/incident_io/models/alert_attributes_create_payload_v2.rb +239 -0
- data/lib/incident_io/models/alert_attributes_create_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_attributes_list_result_v2.rb +166 -0
- data/lib/incident_io/models/alert_attributes_show_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_attributes_update_payload_v2.rb +239 -0
- data/lib/incident_io/models/alert_attributes_update_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_events_create_http_payload_v2.rb +234 -0
- data/lib/incident_io/models/alert_events_create_http_result_v2.rb +219 -0
- data/lib/incident_io/models/alert_grouping_config_v3.rb +164 -0
- data/lib/incident_io/models/alert_message_config_payload_v3.rb +176 -0
- data/lib/incident_io/models/alert_message_config_v3.rb +176 -0
- data/lib/incident_io/models/alert_message_destination_payload_v3.rb +185 -0
- data/lib/incident_io/models/alert_message_destination_v3.rb +185 -0
- data/lib/incident_io/models/alert_note_v1.rb +331 -0
- data/lib/incident_io/models/alert_notes_create_payload_v1.rb +185 -0
- data/lib/incident_io/models/alert_notes_create_result_v1.rb +164 -0
- data/lib/incident_io/models/alert_notes_list_result_v1.rb +192 -0
- data/lib/incident_io/models/alert_notes_show_result_v1.rb +164 -0
- data/lib/incident_io/models/alert_notes_update_payload_v1.rb +165 -0
- data/lib/incident_io/models/alert_notes_update_result_v1.rb +164 -0
- data/lib/incident_io/models/alert_route_alert_source_payload_v2.rb +194 -0
- data/lib/incident_io/models/alert_route_alert_source_payload_v3.rb +194 -0
- data/lib/incident_io/models/alert_route_alert_source_v2.rb +194 -0
- data/lib/incident_io/models/alert_route_alert_source_v3.rb +194 -0
- data/lib/incident_io/models/alert_route_auto_generated_template_binding_payload_v2.rb +157 -0
- data/lib/incident_io/models/alert_route_auto_generated_template_binding_payload_v3.rb +157 -0
- data/lib/incident_io/models/alert_route_auto_generated_template_binding_v2.rb +174 -0
- data/lib/incident_io/models/alert_route_auto_generated_template_binding_v3.rb +174 -0
- data/lib/incident_io/models/alert_route_channel_config_payload_v2.rb +185 -0
- data/lib/incident_io/models/alert_route_channel_config_v2.rb +185 -0
- data/lib/incident_io/models/alert_route_channel_target_payload_v2.rb +191 -0
- data/lib/incident_io/models/alert_route_channel_target_payload_v3.rb +201 -0
- data/lib/incident_io/models/alert_route_channel_target_v2.rb +191 -0
- data/lib/incident_io/models/alert_route_channel_target_v3.rb +201 -0
- data/lib/incident_io/models/alert_route_custom_field_binding_payload_v2.rb +218 -0
- data/lib/incident_io/models/alert_route_custom_field_binding_payload_v3.rb +218 -0
- data/lib/incident_io/models/alert_route_custom_field_binding_v2.rb +218 -0
- data/lib/incident_io/models/alert_route_custom_field_binding_v3.rb +218 -0
- data/lib/incident_io/models/alert_route_escalation_config_payload_v2.rb +194 -0
- data/lib/incident_io/models/alert_route_escalation_config_payload_v3.rb +203 -0
- data/lib/incident_io/models/alert_route_escalation_config_v2.rb +194 -0
- data/lib/incident_io/models/alert_route_escalation_config_v3.rb +203 -0
- data/lib/incident_io/models/alert_route_escalation_target_payload_v2.rb +156 -0
- data/lib/incident_io/models/alert_route_escalation_target_payload_v3.rb +156 -0
- data/lib/incident_io/models/alert_route_escalation_target_v2.rb +156 -0
- data/lib/incident_io/models/alert_route_escalation_target_v3.rb +156 -0
- data/lib/incident_io/models/alert_route_incident_config_payload_v2.rb +314 -0
- data/lib/incident_io/models/alert_route_incident_config_payload_v3.rb +214 -0
- data/lib/incident_io/models/alert_route_incident_config_v2.rb +331 -0
- data/lib/incident_io/models/alert_route_incident_config_v3.rb +214 -0
- data/lib/incident_io/models/alert_route_incident_template_payload_v2.rb +239 -0
- data/lib/incident_io/models/alert_route_incident_template_payload_v3.rb +231 -0
- data/lib/incident_io/models/alert_route_incident_template_v2.rb +239 -0
- data/lib/incident_io/models/alert_route_incident_template_v3.rb +231 -0
- data/lib/incident_io/models/alert_route_severity_binding_payload_v2.rb +174 -0
- data/lib/incident_io/models/alert_route_severity_binding_payload_v3.rb +174 -0
- data/lib/incident_io/models/alert_route_severity_binding_v2.rb +174 -0
- data/lib/incident_io/models/alert_route_severity_binding_v3.rb +174 -0
- data/lib/incident_io/models/alert_route_slim_v2.rb +219 -0
- data/lib/incident_io/models/alert_route_slim_v3.rb +219 -0
- data/lib/incident_io/models/alert_route_template_binding_payload_v2.rb +147 -0
- data/lib/incident_io/models/alert_route_template_binding_payload_v3.rb +147 -0
- data/lib/incident_io/models/alert_route_template_binding_v2.rb +147 -0
- data/lib/incident_io/models/alert_route_template_binding_v3.rb +147 -0
- data/lib/incident_io/models/alert_route_v2.rb +508 -0
- data/lib/incident_io/models/alert_route_v3.rb +496 -0
- data/lib/incident_io/models/alert_route_when_alert_joins_group_payload_v3.rb +203 -0
- data/lib/incident_io/models/alert_route_when_alert_joins_group_v3.rb +175 -0
- data/lib/incident_io/models/alert_routes_create_payload_v2.rb +454 -0
- data/lib/incident_io/models/alert_routes_create_payload_v3.rb +422 -0
- data/lib/incident_io/models/alert_routes_create_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_routes_create_result_v3.rb +164 -0
- data/lib/incident_io/models/alert_routes_list_result_v2.rb +192 -0
- data/lib/incident_io/models/alert_routes_list_result_v3.rb +192 -0
- data/lib/incident_io/models/alert_routes_show_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_routes_show_result_v3.rb +164 -0
- data/lib/incident_io/models/alert_routes_update_payload_v2.rb +481 -0
- data/lib/incident_io/models/alert_routes_update_payload_v3.rb +449 -0
- data/lib/incident_io/models/alert_routes_update_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_routes_update_result_v3.rb +164 -0
- data/lib/incident_io/models/alert_slim_v2.rb +369 -0
- data/lib/incident_io/models/alert_source_azure_devops_options_v2.rb +167 -0
- data/lib/incident_io/models/alert_source_email_options_payload_v2.rb +177 -0
- data/lib/incident_io/models/alert_source_email_options_v2.rb +204 -0
- data/lib/incident_io/models/alert_source_heartbeat_options_payload_v2.rb +189 -0
- data/lib/incident_io/models/alert_source_heartbeat_options_v2.rb +246 -0
- data/lib/incident_io/models/alert_source_http_custom_options_v2.rb +192 -0
- data/lib/incident_io/models/alert_source_jira_options_v2.rb +167 -0
- data/lib/incident_io/models/alert_source_rate_limit_sharding_v2.rb +166 -0
- data/lib/incident_io/models/alert_source_v2.rb +373 -0
- data/lib/incident_io/models/alert_sources_create_payload_v2.rb +326 -0
- data/lib/incident_io/models/alert_sources_create_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_sources_list_result_v2.rb +166 -0
- data/lib/incident_io/models/alert_sources_show_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_sources_update_payload_v2.rb +309 -0
- data/lib/incident_io/models/alert_sources_update_result_v2.rb +164 -0
- data/lib/incident_io/models/alert_sources_validate_payload_v2.rb +203 -0
- data/lib/incident_io/models/alert_tag_v2.rb +192 -0
- data/lib/incident_io/models/alert_template_attribute_binding_payload_v2.rb +169 -0
- data/lib/incident_io/models/alert_template_attribute_binding_v2.rb +169 -0
- data/lib/incident_io/models/alert_template_attribute_payload_v2.rb +191 -0
- data/lib/incident_io/models/alert_template_attribute_v2.rb +191 -0
- data/lib/incident_io/models/alert_template_payload_v2.rb +267 -0
- data/lib/incident_io/models/alert_template_v2.rb +284 -0
- data/lib/incident_io/models/alert_v2.rb +410 -0
- data/lib/incident_io/models/alerts_add_tags_payload_v2.rb +176 -0
- data/lib/incident_io/models/alerts_add_tags_result_v2.rb +164 -0
- data/lib/incident_io/models/alerts_create_incident_alert_payload_v2.rb +204 -0
- data/lib/incident_io/models/alerts_create_incident_alert_result_v2.rb +164 -0
- data/lib/incident_io/models/alerts_list_alert_tags_result_v2.rb +192 -0
- data/lib/incident_io/models/alerts_list_incident_alerts_result_v2.rb +192 -0
- data/lib/incident_io/models/alerts_list_result_v2.rb +192 -0
- data/lib/incident_io/models/alerts_remove_tags_payload_v2.rb +176 -0
- data/lib/incident_io/models/alerts_remove_tags_result_v2.rb +164 -0
- data/lib/incident_io/models/alerts_resolve_result_v2.rb +164 -0
- data/lib/incident_io/models/alerts_set_tags_payload_v2.rb +176 -0
- data/lib/incident_io/models/alerts_set_tags_result_v2.rb +164 -0
- data/lib/incident_io/models/alerts_show_result_v2.rb +164 -0
- data/lib/incident_io/models/alerts_transition_incident_alert_payload_v2.rb +165 -0
- data/lib/incident_io/models/alerts_transition_incident_alert_result_v2.rb +164 -0
- data/lib/incident_io/models/announcement_rule_v2.rb +464 -0
- data/lib/incident_io/models/announcement_rules_create_payload_v2.rb +314 -0
- data/lib/incident_io/models/announcement_rules_create_result_v2.rb +164 -0
- data/lib/incident_io/models/announcement_rules_list_result_v2.rb +192 -0
- data/lib/incident_io/models/announcement_rules_show_result_v2.rb +164 -0
- data/lib/incident_io/models/announcement_rules_update_payload_v2.rb +314 -0
- data/lib/incident_io/models/announcement_rules_update_result_v2.rb +164 -0
- data/lib/incident_io/models/announcement_template_action_payload_v2.rb +202 -0
- data/lib/incident_io/models/announcement_template_action_v2.rb +229 -0
- data/lib/incident_io/models/announcement_template_field_payload_v2.rb +241 -0
- data/lib/incident_io/models/announcement_template_field_v2.rb +268 -0
- data/lib/incident_io/models/announcement_template_rich_text_v2.rb +193 -0
- data/lib/incident_io/models/announcement_template_v2.rb +307 -0
- data/lib/incident_io/models/announcement_templates_create_payload_v2.rb +201 -0
- data/lib/incident_io/models/announcement_templates_create_result_v2.rb +164 -0
- data/lib/incident_io/models/announcement_templates_list_result_v2.rb +166 -0
- data/lib/incident_io/models/announcement_templates_show_result_v2.rb +164 -0
- data/lib/incident_io/models/announcement_templates_update_payload_v2.rb +235 -0
- data/lib/incident_io/models/announcement_templates_update_result_v2.rb +164 -0
- data/lib/incident_io/models/api_key_actor_v1.rb +192 -0
- data/lib/incident_io/models/api_key_actor_v2.rb +192 -0
- data/lib/incident_io/models/api_key_role_v1.rb +192 -0
- data/lib/incident_io/models/api_key_team_role_v1.rb +192 -0
- data/lib/incident_io/models/api_key_v1.rb +409 -0
- data/lib/incident_io/models/api_keys_create_payload_v1.rb +310 -0
- data/lib/incident_io/models/api_keys_create_result_v1.rb +191 -0
- data/lib/incident_io/models/api_keys_list_result_v1.rb +192 -0
- data/lib/incident_io/models/api_keys_rotate_payload_v1.rb +183 -0
- data/lib/incident_io/models/api_keys_rotate_result_v1.rb +191 -0
- data/lib/incident_io/models/api_keys_show_result_v1.rb +164 -0
- data/lib/incident_io/models/api_keys_update_payload_v1.rb +310 -0
- data/lib/incident_io/models/api_keys_update_result_v1.rb +164 -0
- data/lib/incident_io/models/audit_log_actor_metadata_v2.rb +198 -0
- data/lib/incident_io/models/audit_log_actor_v2.rb +211 -0
- data/lib/incident_io/models/audit_log_announcement_post_template_owning_teams_metadata_v2.rb +192 -0
- data/lib/incident_io/models/audit_log_announcement_rule_metadata_v2.rb +246 -0
- data/lib/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2.rb +196 -0
- data/lib/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2_v2.rb +192 -0
- data/lib/incident_io/models/audit_log_email_otp_login_setting_updated_metadata_v2.rb +148 -0
- data/lib/incident_io/models/audit_log_entry_context_v2.rb +175 -0
- data/lib/incident_io/models/audit_log_extension_connector_called_metadata_v2.rb +256 -0
- data/lib/incident_io/models/audit_log_extension_connector_called_metadata_v2_v2.rb +266 -0
- data/lib/incident_io/models/audit_log_extension_connector_called_metadata_v3_v2.rb +296 -0
- data/lib/incident_io/models/audit_log_hris_time_off_policy_updated_metadata_v2.rb +178 -0
- data/lib/incident_io/models/audit_log_incident_type_default_teams_metadata_v2.rb +192 -0
- data/lib/incident_io/models/audit_log_ip_allowlist_updated_metadata_v2.rb +198 -0
- data/lib/incident_io/models/audit_log_microsoft_entra_tenant_linked_metadata_v2.rb +158 -0
- data/lib/incident_io/models/audit_log_mobile_intune_enabled_setting_updated_metadata_v2.rb +148 -0
- data/lib/incident_io/models/audit_log_on_call_notification_method_metadata_v2.rb +148 -0
- data/lib/incident_io/models/audit_log_on_call_notification_pause_metadata_v2.rb +249 -0
- data/lib/incident_io/models/audit_log_on_call_upsell_requested_metadata_v2.rb +246 -0
- data/lib/incident_io/models/audit_log_organisation_settings_updated_metadata_v2.rb +168 -0
- data/lib/incident_io/models/audit_log_policy_metadata_v2.rb +148 -0
- data/lib/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2.rb +148 -0
- data/lib/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2.rb +148 -0
- data/lib/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2.rb +148 -0
- data/lib/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2_v2.rb +219 -0
- data/lib/incident_io/models/audit_log_private_insights_exported_metadata_v2.rb +158 -0
- data/lib/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2.rb +158 -0
- data/lib/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2.rb +158 -0
- data/lib/incident_io/models/audit_log_qr_code_mobile_login_setting_updated_metadata_v2.rb +148 -0
- data/lib/incident_io/models/audit_log_schedule_override_metadata_v2.rb +300 -0
- data/lib/incident_io/models/audit_log_scim_group_seat_mapping_changed_metadata_v2.rb +192 -0
- data/lib/incident_io/models/audit_log_target_v2.rb +202 -0
- data/lib/incident_io/models/audit_log_telemetry_data_source_access_mode_changed_metadata_v2.rb +192 -0
- data/lib/incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2.rb +229 -0
- data/lib/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2.rb +229 -0
- data/lib/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2_v2.rb +239 -0
- data/lib/incident_io/models/audit_log_telemetry_data_source_requested_metadata_v2.rb +249 -0
- data/lib/incident_io/models/audit_log_telemetry_data_source_tool_access_changed_metadata_v2.rb +300 -0
- data/lib/incident_io/models/audit_log_telemetry_data_source_tool_overrides_changed_metadata_v2.rb +246 -0
- data/lib/incident_io/models/audit_log_telemetry_data_source_write_access_metadata_v2.rb +165 -0
- data/lib/incident_io/models/audit_log_twilio_connection_metadata_v2.rb +165 -0
- data/lib/incident_io/models/audit_log_user_logged_in_metadata_v2.rb +165 -0
- data/lib/incident_io/models/audit_log_user_role_membership_changed_metadata_v2.rb +246 -0
- data/lib/incident_io/models/audit_log_user_scim_group_mapping_changed_metadata_v2.rb +178 -0
- data/lib/incident_io/models/audit_logs_activity_log_scrubbed_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_chat_message_template_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_chat_message_template_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_chat_message_template_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_priority_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_priority_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_priority_set_as_default_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_priority_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_route_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_route_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_route_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_schema_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_scrubbed_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_source_config_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_source_config_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_alert_source_config_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_announcement_post_template_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_announcement_post_template_created_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_announcement_post_template_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_announcement_post_template_set_as_default_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_announcement_post_template_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_announcement_post_template_updated_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_announcement_rule_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_announcement_rule_created_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_announcement_rule_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_announcement_rule_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_announcement_rule_updated_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_api_key_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_api_key_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_api_key_rotated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_api_key_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_catalog_entry_attribute_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_catalog_entry_attribute_updated_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_catalog_type_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_catalog_type_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_catalog_type_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_connector_config_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_connector_config_token_generated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_connector_config_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_custom_field_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_custom_field_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_custom_field_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_debrief_invite_rule_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_debrief_invite_rule_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_debrief_invite_rule_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_email_otp_login_setting_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_escalation_path_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_escalation_path_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_escalation_path_template_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_escalation_path_template_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_escalation_path_template_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_escalation_path_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_escalation_scrubbed_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_extension_connector_called_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_extension_connector_called_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_extension_connector_called_v3.rb +326 -0
- data/lib/incident_io/models/audit_logs_follow_up_category_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_follow_up_category_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_follow_up_category_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_follow_up_priority_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_follow_up_priority_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_follow_up_priority_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_holiday_user_feed_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_holiday_user_feed_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_holiday_user_feed_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_hris_time_off_policy_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_incident_call_setting_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_call_transcription_session_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_duration_metric_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_duration_metric_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_duration_metric_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_role_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_role_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_role_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_status_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_status_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_status_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_template_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_template_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_template_set_as_default_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_template_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_timestamp_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_timestamp_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_timestamp_set_by_rule_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_timestamp_set_by_rule_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_timestamp_set_by_rule_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_timestamp_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_type_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_type_created_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_incident_type_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_type_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_incident_type_updated_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_integration_installed_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_integration_uninstalled_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_internal_status_page_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_internal_status_page_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_internal_status_page_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_ip_allowlist_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_maintenance_window_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_maintenance_window_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_maintenance_window_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_microsoft_entra_tenant_linked_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_mobile_intune_enabled_setting_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_nudge_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_nudge_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_nudge_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_method_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_method_created_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_method_destroyed_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_method_destroyed_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_pause_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_pause_created_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_pause_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_pause_deleted_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_pause_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_on_call_notification_pause_updated_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_on_call_upsell_requested_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_organisation_settings_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_policy_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_policy_created_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_policy_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_policy_report_schedule_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_policy_report_schedule_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_policy_report_schedule_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_policy_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_policy_updated_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_post_incident_task_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_post_incident_task_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_post_incident_task_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_section_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_section_created_v2.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_section_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_section_deleted_v2.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_section_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_section_updated_v2.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_template_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_template_created_v2.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_template_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_template_deleted_v2.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_template_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_postmortem_template_updated_v2.rb +300 -0
- data/lib/incident_io/models/audit_logs_private_alert_access_attempted_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_private_escalation_access_attempted_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_private_incident_access_attempted_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_private_incident_access_attempted_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_private_incident_access_requested_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_private_incident_accessed_via_bot_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_private_incident_membership_granted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_private_incident_membership_revoked_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_private_incident_membership_upgraded_to_direct_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_private_incident_team_membership_granted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_private_incident_team_membership_revoked_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_private_insights_exported_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_private_insights_measure_queried_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_private_insights_underlying_data_queried_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_qr_code_mobile_login_setting_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_rbac_role_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_rbac_role_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_rbac_role_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_override_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_override_created_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_schedule_override_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_override_deleted_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_schedule_override_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_override_updated_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_schedule_sync_rule_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_sync_rule_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_sync_rule_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_sync_target_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_sync_target_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_sync_target_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_schedule_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_scim_group_role_mappings_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_scim_group_seat_mappings_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_secret_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_secret_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_secret_reference_added_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_secret_reference_removed_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_secret_rotated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_secret_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_severity_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_severity_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_severity_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_sub_page_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_sub_page_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_sub_page_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_template_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_template_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_template_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_status_page_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_team_role_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_team_role_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_team_role_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_team_settings_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_access_mode_changed_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_installed_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_queried_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_queried_v2.rb +326 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_requested_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_tool_access_changed_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_tool_overrides_changed_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_uninstalled_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_write_access_granted_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_telemetry_data_source_write_access_revoked_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_timeline_item_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_twilio_connection_created_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_twilio_connection_deleted_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_twilio_connection_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_user_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_user_deactivated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_user_logged_in_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_user_reinstated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_user_role_memberships_updated_v1.rb +326 -0
- data/lib/incident_io/models/audit_logs_user_updated_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_workflow_created_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_workflow_deleted_v1.rb +300 -0
- data/lib/incident_io/models/audit_logs_workflow_updated_v1.rb +300 -0
- data/lib/incident_io/models/call_route_allowed_caller_v2.rb +203 -0
- data/lib/incident_io/models/call_route_option_v2.rb +258 -0
- data/lib/incident_io/models/call_route_path_node_level_v2.rb +168 -0
- data/lib/incident_io/models/call_route_path_node_payload_v2.rb +193 -0
- data/lib/incident_io/models/call_route_path_node_v2.rb +211 -0
- data/lib/incident_io/models/call_route_path_node_voicemail_v2.rb +175 -0
- data/lib/incident_io/models/call_route_target_v2.rb +240 -0
- data/lib/incident_io/models/call_route_v2.rb +470 -0
- data/lib/incident_io/models/call_routes_create_allowed_caller_payload_v2.rb +175 -0
- data/lib/incident_io/models/call_routes_create_allowed_caller_result_v2.rb +164 -0
- data/lib/incident_io/models/call_routes_create_option_payload_v2.rb +230 -0
- data/lib/incident_io/models/call_routes_create_option_result_v2.rb +164 -0
- data/lib/incident_io/models/call_routes_list_allowed_callers_result_v2.rb +166 -0
- data/lib/incident_io/models/call_routes_list_options_result_v2.rb +166 -0
- data/lib/incident_io/models/call_routes_list_result_v2.rb +175 -0
- data/lib/incident_io/models/call_routes_show_allowed_caller_result_v2.rb +164 -0
- data/lib/incident_io/models/call_routes_show_option_result_v2.rb +164 -0
- data/lib/incident_io/models/call_routes_show_result_v2.rb +164 -0
- data/lib/incident_io/models/call_routes_update_allowed_caller_payload_v2.rb +175 -0
- data/lib/incident_io/models/call_routes_update_allowed_caller_result_v2.rb +164 -0
- data/lib/incident_io/models/call_routes_update_option_payload_v2.rb +230 -0
- data/lib/incident_io/models/call_routes_update_option_result_v2.rb +164 -0
- data/lib/incident_io/models/call_routes_update_payload_v2.rb +275 -0
- data/lib/incident_io/models/call_routes_update_result_v2.rb +164 -0
- data/lib/incident_io/models/call_session_v2.rb +230 -0
- data/lib/incident_io/models/call_sessions_list_result_v2.rb +175 -0
- data/lib/incident_io/models/call_transcript_entries_list_result_v2.rb +175 -0
- data/lib/incident_io/models/call_transcript_entry_v2.rb +274 -0
- data/lib/incident_io/models/catalog_bulk_update_entries_payload_v3.rb +224 -0
- data/lib/incident_io/models/catalog_create_entry_payload_v2.rb +253 -0
- data/lib/incident_io/models/catalog_create_entry_payload_v3.rb +253 -0
- data/lib/incident_io/models/catalog_create_entry_result_v2.rb +164 -0
- data/lib/incident_io/models/catalog_create_entry_result_v3.rb +164 -0
- data/lib/incident_io/models/catalog_create_type_payload_v2.rb +266 -0
- data/lib/incident_io/models/catalog_create_type_payload_v3.rb +288 -0
- data/lib/incident_io/models/catalog_create_type_result_v2.rb +164 -0
- data/lib/incident_io/models/catalog_create_type_result_v3.rb +164 -0
- data/lib/incident_io/models/catalog_engine_param_binding_payload_v3.rb +159 -0
- data/lib/incident_io/models/catalog_engine_param_binding_value_payload_v3.rb +148 -0
- data/lib/incident_io/models/catalog_entry_engine_param_binding_v2.rb +159 -0
- data/lib/incident_io/models/catalog_entry_engine_param_binding_v3.rb +159 -0
- data/lib/incident_io/models/catalog_entry_engine_param_binding_value_v2.rb +271 -0
- data/lib/incident_io/models/catalog_entry_engine_param_binding_value_v3.rb +175 -0
- data/lib/incident_io/models/catalog_entry_reference_v2.rb +229 -0
- data/lib/incident_io/models/catalog_entry_slim_v3_v3.rb +202 -0
- data/lib/incident_io/models/catalog_entry_v2.rb +378 -0
- data/lib/incident_io/models/catalog_entry_v3.rb +378 -0
- data/lib/incident_io/models/catalog_list_entries_result_v2.rb +218 -0
- data/lib/incident_io/models/catalog_list_entries_result_v3.rb +218 -0
- data/lib/incident_io/models/catalog_list_resources_result_v2.rb +166 -0
- data/lib/incident_io/models/catalog_list_resources_result_v3.rb +166 -0
- data/lib/incident_io/models/catalog_list_types_result_v2.rb +166 -0
- data/lib/incident_io/models/catalog_list_types_result_v3.rb +166 -0
- data/lib/incident_io/models/catalog_resource_v2.rb +273 -0
- data/lib/incident_io/models/catalog_resource_v3.rb +300 -0
- data/lib/incident_io/models/catalog_show_entry_result_v2.rb +190 -0
- data/lib/incident_io/models/catalog_show_entry_result_v3.rb +190 -0
- data/lib/incident_io/models/catalog_show_type_result_v2.rb +164 -0
- data/lib/incident_io/models/catalog_show_type_result_v3.rb +164 -0
- data/lib/incident_io/models/catalog_type_attribute_path_item_payload_v2.rb +165 -0
- data/lib/incident_io/models/catalog_type_attribute_path_item_payload_v3.rb +165 -0
- data/lib/incident_io/models/catalog_type_attribute_path_item_v2.rb +192 -0
- data/lib/incident_io/models/catalog_type_attribute_path_item_v3.rb +192 -0
- data/lib/incident_io/models/catalog_type_attribute_payload_v2.rb +261 -0
- data/lib/incident_io/models/catalog_type_attribute_payload_v3.rb +261 -0
- data/lib/incident_io/models/catalog_type_attribute_v2.rb +295 -0
- data/lib/incident_io/models/catalog_type_attribute_v3.rb +295 -0
- data/lib/incident_io/models/catalog_type_schema_v2.rb +194 -0
- data/lib/incident_io/models/catalog_type_schema_v3.rb +194 -0
- data/lib/incident_io/models/catalog_type_v2.rb +581 -0
- data/lib/incident_io/models/catalog_type_v3.rb +630 -0
- data/lib/incident_io/models/catalog_update_entry_payload_v2.rb +226 -0
- data/lib/incident_io/models/catalog_update_entry_payload_v3.rb +238 -0
- data/lib/incident_io/models/catalog_update_entry_result_v2.rb +190 -0
- data/lib/incident_io/models/catalog_update_entry_result_v3.rb +190 -0
- data/lib/incident_io/models/catalog_update_type_payload_v2.rb +256 -0
- data/lib/incident_io/models/catalog_update_type_payload_v3.rb +278 -0
- data/lib/incident_io/models/catalog_update_type_result_v2.rb +164 -0
- data/lib/incident_io/models/catalog_update_type_result_v3.rb +164 -0
- data/lib/incident_io/models/catalog_update_type_schema_payload_v2.rb +192 -0
- data/lib/incident_io/models/catalog_update_type_schema_payload_v3.rb +192 -0
- data/lib/incident_io/models/catalog_update_type_schema_result_v2.rb +164 -0
- data/lib/incident_io/models/catalog_update_type_schema_result_v3.rb +164 -0
- data/lib/incident_io/models/chat_channel_slim_v2.rb +178 -0
- data/lib/incident_io/models/condition_group_payload_v2.rb +167 -0
- data/lib/incident_io/models/condition_group_payload_v3.rb +167 -0
- data/lib/incident_io/models/condition_group_v2.rb +167 -0
- data/lib/incident_io/models/condition_group_v3.rb +167 -0
- data/lib/incident_io/models/condition_operation_v2.rb +192 -0
- data/lib/incident_io/models/condition_operation_v3.rb +192 -0
- data/lib/incident_io/models/condition_payload_v2.rb +221 -0
- data/lib/incident_io/models/condition_payload_v3.rb +221 -0
- data/lib/incident_io/models/condition_subject_v2.rb +192 -0
- data/lib/incident_io/models/condition_subject_v3.rb +192 -0
- data/lib/incident_io/models/condition_v2.rb +219 -0
- data/lib/incident_io/models/condition_v3.rb +219 -0
- data/lib/incident_io/models/custom_field_entry_payload_v1.rb +194 -0
- data/lib/incident_io/models/custom_field_entry_payload_v2.rb +194 -0
- data/lib/incident_io/models/custom_field_entry_v1.rb +193 -0
- data/lib/incident_io/models/custom_field_entry_v2.rb +193 -0
- data/lib/incident_io/models/custom_field_filter_by_options_v2.rb +192 -0
- data/lib/incident_io/models/custom_field_fixed_filter_options_v2.rb +194 -0
- data/lib/incident_io/models/custom_field_option_v1.rb +246 -0
- data/lib/incident_io/models/custom_field_option_v2.rb +246 -0
- data/lib/incident_io/models/custom_field_options_create_payload_v1.rb +204 -0
- data/lib/incident_io/models/custom_field_options_create_result_v1.rb +164 -0
- data/lib/incident_io/models/custom_field_options_list_result_v1.rb +192 -0
- data/lib/incident_io/models/custom_field_options_show_result_v1.rb +164 -0
- data/lib/incident_io/models/custom_field_options_update_payload_v1.rb +192 -0
- data/lib/incident_io/models/custom_field_options_update_result_v1.rb +164 -0
- data/lib/incident_io/models/custom_field_type_info_v1.rb +284 -0
- data/lib/incident_io/models/custom_field_type_info_v2.rb +284 -0
- data/lib/incident_io/models/custom_field_v1.rb +459 -0
- data/lib/incident_io/models/custom_field_v2.rb +357 -0
- data/lib/incident_io/models/custom_field_value_payload_v1.rb +208 -0
- data/lib/incident_io/models/custom_field_value_payload_v2.rb +208 -0
- data/lib/incident_io/models/custom_field_value_v1.rb +186 -0
- data/lib/incident_io/models/custom_field_value_v2.rb +186 -0
- data/lib/incident_io/models/custom_fields_create_payload_v1.rb +339 -0
- data/lib/incident_io/models/custom_fields_create_payload_v2.rb +276 -0
- data/lib/incident_io/models/custom_fields_create_result_v1.rb +164 -0
- data/lib/incident_io/models/custom_fields_create_result_v2.rb +164 -0
- data/lib/incident_io/models/custom_fields_list_result_v1.rb +166 -0
- data/lib/incident_io/models/custom_fields_list_result_v2.rb +166 -0
- data/lib/incident_io/models/custom_fields_show_result_v1.rb +164 -0
- data/lib/incident_io/models/custom_fields_show_result_v2.rb +164 -0
- data/lib/incident_io/models/custom_fields_update_payload_v1.rb +312 -0
- data/lib/incident_io/models/custom_fields_update_payload_v2.rb +239 -0
- data/lib/incident_io/models/custom_fields_update_result_v1.rb +164 -0
- data/lib/incident_io/models/custom_fields_update_result_v2.rb +164 -0
- data/lib/incident_io/models/embedded_catalog_entry_v1.rb +214 -0
- data/lib/incident_io/models/embedded_catalog_entry_v2.rb +214 -0
- data/lib/incident_io/models/embedded_incident_role_v2.rb +382 -0
- data/lib/incident_io/models/engine_param_binding_payload_v2.rb +159 -0
- data/lib/incident_io/models/engine_param_binding_payload_v3.rb +159 -0
- data/lib/incident_io/models/engine_param_binding_v2.rb +159 -0
- data/lib/incident_io/models/engine_param_binding_v3.rb +159 -0
- data/lib/incident_io/models/engine_param_binding_value_payload_v2.rb +158 -0
- data/lib/incident_io/models/engine_param_binding_value_payload_v3.rb +158 -0
- data/lib/incident_io/models/engine_param_binding_value_v2.rb +185 -0
- data/lib/incident_io/models/engine_param_binding_value_v3.rb +158 -0
- data/lib/incident_io/models/engine_param_v2.rb +321 -0
- data/lib/incident_io/models/engine_reference_v2.rb +246 -0
- data/lib/incident_io/models/error_debug.rb +194 -0
- data/lib/incident_io/models/error_rate_limit.rb +246 -0
- data/lib/incident_io/models/error_response.rb +266 -0
- data/lib/incident_io/models/error_single.rb +213 -0
- data/lib/incident_io/models/error_source.rb +192 -0
- data/lib/incident_io/models/escalation_creator_v2.rb +166 -0
- data/lib/incident_io/models/escalation_event_v2.rb +253 -0
- data/lib/incident_io/models/escalation_path_node_delay_v2.rb +168 -0
- data/lib/incident_io/models/escalation_path_node_escalation_path_v2.rb +165 -0
- data/lib/incident_io/models/escalation_path_node_if_else_payload_v2.rb +208 -0
- data/lib/incident_io/models/escalation_path_node_if_else_v2.rb +225 -0
- data/lib/incident_io/models/escalation_path_node_level_v2.rb +225 -0
- data/lib/incident_io/models/escalation_path_node_level_with_binding_payload_v2.rb +225 -0
- data/lib/incident_io/models/escalation_path_node_level_with_binding_v2.rb +225 -0
- data/lib/incident_io/models/escalation_path_node_notify_channel_v2.rb +197 -0
- data/lib/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2.rb +197 -0
- data/lib/incident_io/models/escalation_path_node_notify_channel_with_binding_v2.rb +197 -0
- data/lib/incident_io/models/escalation_path_node_payload_v2.rb +246 -0
- data/lib/incident_io/models/escalation_path_node_repeat_v2.rb +192 -0
- data/lib/incident_io/models/escalation_path_node_v2.rb +246 -0
- data/lib/incident_io/models/escalation_path_repeat_config_v2.rb +210 -0
- data/lib/incident_io/models/escalation_path_retry_config_v2.rb +210 -0
- data/lib/incident_io/models/escalation_path_round_robin_config_v2.rb +175 -0
- data/lib/incident_io/models/escalation_path_target_v2.rb +239 -0
- data/lib/incident_io/models/escalation_path_target_with_binding_payload_v2.rb +231 -0
- data/lib/incident_io/models/escalation_path_target_with_binding_v2.rb +231 -0
- data/lib/incident_io/models/escalation_path_template_node_if_else_payload_v2.rb +208 -0
- data/lib/incident_io/models/escalation_path_template_node_if_else_v2.rb +225 -0
- data/lib/incident_io/models/escalation_path_template_node_payload_v2.rb +246 -0
- data/lib/incident_io/models/escalation_path_template_node_v2.rb +246 -0
- data/lib/incident_io/models/escalation_path_template_v2.rb +337 -0
- data/lib/incident_io/models/escalation_path_templates_create_payload_v2.rb +249 -0
- data/lib/incident_io/models/escalation_path_templates_create_result_v2.rb +164 -0
- data/lib/incident_io/models/escalation_path_templates_list_result_v2.rb +192 -0
- data/lib/incident_io/models/escalation_path_templates_show_result_v2.rb +164 -0
- data/lib/incident_io/models/escalation_path_templates_update_payload_v2.rb +249 -0
- data/lib/incident_io/models/escalation_path_templates_update_result_v2.rb +164 -0
- data/lib/incident_io/models/escalation_path_v2.rb +332 -0
- data/lib/incident_io/models/escalation_priority_v2.rb +166 -0
- data/lib/incident_io/models/escalation_respond_snooze_details_payload_v2.rb +175 -0
- data/lib/incident_io/models/escalation_user_response_options_v2.rb +194 -0
- data/lib/incident_io/models/escalation_v2.rb +449 -0
- data/lib/incident_io/models/escalation_with_status_change_v2.rb +210 -0
- data/lib/incident_io/models/escalations_check_escalation_permissions_payload_v2.rb +167 -0
- data/lib/incident_io/models/escalations_check_escalation_permissions_result_v2.rb +167 -0
- data/lib/incident_io/models/escalations_create_path_payload_v2.rb +259 -0
- data/lib/incident_io/models/escalations_create_path_result_v2.rb +164 -0
- data/lib/incident_io/models/escalations_create_payload_v2.rb +234 -0
- data/lib/incident_io/models/escalations_create_result_v2.rb +164 -0
- data/lib/incident_io/models/escalations_list_paths_result_v2.rb +192 -0
- data/lib/incident_io/models/escalations_list_result_v2.rb +192 -0
- data/lib/incident_io/models/escalations_reassign_escalation_payload_v2.rb +192 -0
- data/lib/incident_io/models/escalations_reassign_escalation_result_v2.rb +164 -0
- data/lib/incident_io/models/escalations_respond_escalation_payload_v2.rb +174 -0
- data/lib/incident_io/models/escalations_show_path_result_v2.rb +164 -0
- data/lib/incident_io/models/escalations_show_result_v2.rb +164 -0
- data/lib/incident_io/models/escalations_update_path_payload_v2.rb +259 -0
- data/lib/incident_io/models/escalations_update_path_result_v2.rb +164 -0
- data/lib/incident_io/models/expression_branch_payload_v2.rb +193 -0
- data/lib/incident_io/models/expression_branch_payload_v3.rb +193 -0
- data/lib/incident_io/models/expression_branch_v2.rb +193 -0
- data/lib/incident_io/models/expression_branch_v3.rb +193 -0
- data/lib/incident_io/models/expression_branches_opts_payload_v2.rb +193 -0
- data/lib/incident_io/models/expression_branches_opts_payload_v3.rb +193 -0
- data/lib/incident_io/models/expression_branches_opts_v2.rb +193 -0
- data/lib/incident_io/models/expression_branches_opts_v3.rb +193 -0
- data/lib/incident_io/models/expression_cast_opts_payload_v2.rb +164 -0
- data/lib/incident_io/models/expression_cast_opts_payload_v3.rb +164 -0
- data/lib/incident_io/models/expression_cast_opts_v2.rb +164 -0
- data/lib/incident_io/models/expression_cast_opts_v3.rb +164 -0
- data/lib/incident_io/models/expression_concatenate_opts_payload_v2.rb +165 -0
- data/lib/incident_io/models/expression_concatenate_opts_payload_v3.rb +165 -0
- data/lib/incident_io/models/expression_concatenate_opts_v2.rb +192 -0
- data/lib/incident_io/models/expression_concatenate_opts_v3.rb +192 -0
- data/lib/incident_io/models/expression_else_branch_payload_v2.rb +164 -0
- data/lib/incident_io/models/expression_else_branch_payload_v3.rb +164 -0
- data/lib/incident_io/models/expression_else_branch_v2.rb +164 -0
- data/lib/incident_io/models/expression_else_branch_v3.rb +164 -0
- data/lib/incident_io/models/expression_filter_opts_payload_v2.rb +167 -0
- data/lib/incident_io/models/expression_filter_opts_payload_v3.rb +167 -0
- data/lib/incident_io/models/expression_filter_opts_v2.rb +167 -0
- data/lib/incident_io/models/expression_filter_opts_v3.rb +167 -0
- data/lib/incident_io/models/expression_navigate_opts_payload_v2.rb +165 -0
- data/lib/incident_io/models/expression_navigate_opts_payload_v3.rb +165 -0
- data/lib/incident_io/models/expression_navigate_opts_v2.rb +192 -0
- data/lib/incident_io/models/expression_navigate_opts_v3.rb +192 -0
- data/lib/incident_io/models/expression_operation_payload_v2.rb +219 -0
- data/lib/incident_io/models/expression_operation_payload_v3.rb +219 -0
- data/lib/incident_io/models/expression_operation_v2.rb +245 -0
- data/lib/incident_io/models/expression_operation_v3.rb +245 -0
- data/lib/incident_io/models/expression_parse_opts_payload_v2.rb +191 -0
- data/lib/incident_io/models/expression_parse_opts_payload_v3.rb +191 -0
- data/lib/incident_io/models/expression_parse_opts_v2.rb +191 -0
- data/lib/incident_io/models/expression_parse_opts_v3.rb +191 -0
- data/lib/incident_io/models/expression_payload_v2.rb +256 -0
- data/lib/incident_io/models/expression_payload_v3.rb +256 -0
- data/lib/incident_io/models/expression_v2.rb +282 -0
- data/lib/incident_io/models/expression_v3.rb +282 -0
- data/lib/incident_io/models/external_issue_reference_v1.rb +168 -0
- data/lib/incident_io/models/external_issue_reference_v2.rb +219 -0
- data/lib/incident_io/models/external_resource_v1.rb +246 -0
- data/lib/incident_io/models/follow_up_category_v3.rb +229 -0
- data/lib/incident_io/models/follow_up_priority_v2.rb +229 -0
- data/lib/incident_io/models/follow_up_v2.rb +411 -0
- data/lib/incident_io/models/follow_up_v3.rb +420 -0
- data/lib/incident_io/models/follow_ups_connect_external_issue_payload_v2.rb +192 -0
- data/lib/incident_io/models/follow_ups_connect_external_issue_payload_v3.rb +192 -0
- data/lib/incident_io/models/follow_ups_connect_external_issue_result_v2.rb +164 -0
- data/lib/incident_io/models/follow_ups_connect_external_issue_result_v3.rb +164 -0
- data/lib/incident_io/models/follow_ups_create_from_link_payload_v3.rb +192 -0
- data/lib/incident_io/models/follow_ups_create_from_link_result_v3.rb +164 -0
- data/lib/incident_io/models/follow_ups_create_payload_v2.rb +264 -0
- data/lib/incident_io/models/follow_ups_create_payload_v3.rb +264 -0
- data/lib/incident_io/models/follow_ups_create_result_v2.rb +164 -0
- data/lib/incident_io/models/follow_ups_create_result_v3.rb +164 -0
- data/lib/incident_io/models/follow_ups_list_result_v2.rb +166 -0
- data/lib/incident_io/models/follow_ups_list_result_v3.rb +192 -0
- data/lib/incident_io/models/follow_ups_show_result_v2.rb +164 -0
- data/lib/incident_io/models/follow_ups_show_result_v3.rb +164 -0
- data/lib/incident_io/models/follow_ups_update_payload_v2.rb +254 -0
- data/lib/incident_io/models/follow_ups_update_payload_v3.rb +254 -0
- data/lib/incident_io/models/follow_ups_update_result_v2.rb +164 -0
- data/lib/incident_io/models/follow_ups_update_result_v3.rb +164 -0
- data/lib/incident_io/models/grouping_key_v2.rb +165 -0
- data/lib/incident_io/models/grouping_key_v3.rb +165 -0
- data/lib/incident_io/models/grouping_settings_v3.rb +225 -0
- data/lib/incident_io/models/identity_team_v1.rb +192 -0
- data/lib/incident_io/models/identity_v1.rb +279 -0
- data/lib/incident_io/models/image_v1.rb +192 -0
- data/lib/incident_io/models/incident_activity_log_content_v2.rb +301 -0
- data/lib/incident_io/models/incident_activity_log_entries_list_result_v2.rb +175 -0
- data/lib/incident_io/models/incident_activity_log_entry_v2.rb +310 -0
- data/lib/incident_io/models/incident_alert_v2.rb +227 -0
- data/lib/incident_io/models/incident_attachment_v1.rb +218 -0
- data/lib/incident_io/models/incident_attachments_create_payload_v1.rb +191 -0
- data/lib/incident_io/models/incident_attachments_create_payload_v1_resource.rb +205 -0
- data/lib/incident_io/models/incident_attachments_create_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_attachments_list_result_v1.rb +166 -0
- data/lib/incident_io/models/incident_duration_metric_v2.rb +192 -0
- data/lib/incident_io/models/incident_duration_metric_with_value_v2.rb +201 -0
- data/lib/incident_io/models/incident_edit_payload_v2.rb +234 -0
- data/lib/incident_io/models/incident_membership_v1.rb +272 -0
- data/lib/incident_io/models/incident_memberships_create_payload_v1.rb +191 -0
- data/lib/incident_io/models/incident_memberships_create_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_memberships_revoke_payload_v1.rb +191 -0
- data/lib/incident_io/models/incident_participant_v2.rb +191 -0
- data/lib/incident_io/models/incident_participant_workload_v2.rb +210 -0
- data/lib/incident_io/models/incident_participant_workloads_list_result_v2.rb +192 -0
- data/lib/incident_io/models/incident_participants_list_result_v2.rb +164 -0
- data/lib/incident_io/models/incident_participants_v2.rb +196 -0
- data/lib/incident_io/models/incident_relationship_details_v1.rb +219 -0
- data/lib/incident_io/models/incident_relationship_v1.rb +191 -0
- data/lib/incident_io/models/incident_relationships_list_result_v1.rb +175 -0
- data/lib/incident_io/models/incident_role_assignment_payload_v1.rb +191 -0
- data/lib/incident_io/models/incident_role_assignment_payload_v2.rb +174 -0
- data/lib/incident_io/models/incident_role_assignment_v1.rb +173 -0
- data/lib/incident_io/models/incident_role_assignment_v2.rb +173 -0
- data/lib/incident_io/models/incident_role_v1.rb +382 -0
- data/lib/incident_io/models/incident_role_v2.rb +372 -0
- data/lib/incident_io/models/incident_roles_create_payload_v1.rb +291 -0
- data/lib/incident_io/models/incident_roles_create_payload_v2.rb +264 -0
- data/lib/incident_io/models/incident_roles_create_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_roles_create_result_v2.rb +164 -0
- data/lib/incident_io/models/incident_roles_list_result_v1.rb +166 -0
- data/lib/incident_io/models/incident_roles_list_result_v2.rb +166 -0
- data/lib/incident_io/models/incident_roles_show_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_roles_show_result_v2.rb +164 -0
- data/lib/incident_io/models/incident_roles_update_payload_v1.rb +274 -0
- data/lib/incident_io/models/incident_roles_update_payload_v2.rb +264 -0
- data/lib/incident_io/models/incident_roles_update_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_roles_update_result_v2.rb +164 -0
- data/lib/incident_io/models/incident_slim_v2.rb +311 -0
- data/lib/incident_io/models/incident_status_v1.rb +325 -0
- data/lib/incident_io/models/incident_status_v2.rb +325 -0
- data/lib/incident_io/models/incident_statuses_create_payload_v1.rb +229 -0
- data/lib/incident_io/models/incident_statuses_create_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_statuses_list_result_v1.rb +166 -0
- data/lib/incident_io/models/incident_statuses_show_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_statuses_update_payload_v1.rb +202 -0
- data/lib/incident_io/models/incident_statuses_update_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_template_auto_generated_binding_payload_v1.rb +157 -0
- data/lib/incident_io/models/incident_template_auto_generated_binding_v1.rb +174 -0
- data/lib/incident_io/models/incident_template_binding_payload_v1.rb +147 -0
- data/lib/incident_io/models/incident_template_binding_v1.rb +147 -0
- data/lib/incident_io/models/incident_template_config_payload_v1.rb +231 -0
- data/lib/incident_io/models/incident_template_config_v1.rb +231 -0
- data/lib/incident_io/models/incident_template_custom_field_binding_payload_v1.rb +218 -0
- data/lib/incident_io/models/incident_template_custom_field_binding_v1.rb +218 -0
- data/lib/incident_io/models/incident_template_severity_binding_payload_v1.rb +174 -0
- data/lib/incident_io/models/incident_template_severity_binding_v1.rb +174 -0
- data/lib/incident_io/models/incident_template_v1.rb +285 -0
- data/lib/incident_io/models/incident_template_validate_warning_v1.rb +193 -0
- data/lib/incident_io/models/incident_templates_create_payload_v1.rb +203 -0
- data/lib/incident_io/models/incident_templates_create_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_templates_list_result_v1.rb +175 -0
- data/lib/incident_io/models/incident_templates_show_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_templates_update_payload_v1.rb +203 -0
- data/lib/incident_io/models/incident_templates_update_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_templates_validate_payload_v1.rb +203 -0
- data/lib/incident_io/models/incident_templates_validate_result_v1.rb +167 -0
- data/lib/incident_io/models/incident_timeline_item_v2.rb +347 -0
- data/lib/incident_io/models/incident_timeline_items_create_payload_v2.rb +274 -0
- data/lib/incident_io/models/incident_timeline_items_create_result_v2.rb +164 -0
- data/lib/incident_io/models/incident_timeline_items_list_result_v2.rb +175 -0
- data/lib/incident_io/models/incident_timeline_items_update_payload_v2.rb +187 -0
- data/lib/incident_io/models/incident_timeline_items_update_result_v2.rb +164 -0
- data/lib/incident_io/models/incident_timestamp_v2.rb +219 -0
- data/lib/incident_io/models/incident_timestamp_value_payload_v2.rb +175 -0
- data/lib/incident_io/models/incident_timestamp_value_v1.rb +175 -0
- data/lib/incident_io/models/incident_timestamp_value_v2.rb +148 -0
- data/lib/incident_io/models/incident_timestamp_with_value_v2.rb +173 -0
- data/lib/incident_io/models/incident_timestamps_list_result_v2.rb +166 -0
- data/lib/incident_io/models/incident_timestamps_show_result_v2.rb +164 -0
- data/lib/incident_io/models/incident_type_v1.rb +366 -0
- data/lib/incident_io/models/incident_type_v2.rb +354 -0
- data/lib/incident_io/models/incident_types_list_result_v1.rb +166 -0
- data/lib/incident_io/models/incident_types_show_result_v1.rb +164 -0
- data/lib/incident_io/models/incident_update_v2.rb +300 -0
- data/lib/incident_io/models/incident_updates_create_payload_v2.rb +222 -0
- data/lib/incident_io/models/incident_updates_create_result_v2.rb +164 -0
- data/lib/incident_io/models/incident_updates_list_result_v2.rb +175 -0
- data/lib/incident_io/models/incident_v1.rb +572 -0
- data/lib/incident_io/models/incident_v2.rb +730 -0
- data/lib/incident_io/models/incident_with_status_change_v2.rb +226 -0
- data/lib/incident_io/models/incidents_create_payload_v1.rb +306 -0
- data/lib/incident_io/models/incidents_create_payload_v2.rb +317 -0
- data/lib/incident_io/models/incidents_create_result_v1.rb +164 -0
- data/lib/incident_io/models/incidents_create_result_v2.rb +164 -0
- data/lib/incident_io/models/incidents_edit_payload_v2.rb +191 -0
- data/lib/incident_io/models/incidents_edit_result_v2.rb +164 -0
- data/lib/incident_io/models/incidents_import_postmortem_document_payload_v2.rb +192 -0
- data/lib/incident_io/models/incidents_import_postmortem_document_result_v2.rb +164 -0
- data/lib/incident_io/models/incidents_list_result_v1.rb +175 -0
- data/lib/incident_io/models/incidents_list_result_v2.rb +175 -0
- data/lib/incident_io/models/incidents_show_result_v1.rb +164 -0
- data/lib/incident_io/models/incidents_show_result_v2.rb +164 -0
- data/lib/incident_io/models/ip_allowlist_item_v1.rb +175 -0
- data/lib/incident_io/models/ip_allowlist_v1.rb +231 -0
- data/lib/incident_io/models/ip_allowlists_show_ip_allowlist_result_v1.rb +164 -0
- data/lib/incident_io/models/ip_allowlists_update_ip_allowlist_payload_v1.rb +221 -0
- data/lib/incident_io/models/ip_allowlists_update_ip_allowlist_result_v1.rb +164 -0
- data/lib/incident_io/models/ip_range_v1.rb +193 -0
- data/lib/incident_io/models/linked_schedule_v2.rb +221 -0
- data/lib/incident_io/models/maintenance_window_escalation_target_payload_v1.rb +156 -0
- data/lib/incident_io/models/maintenance_window_escalation_target_v1.rb +156 -0
- data/lib/incident_io/models/maintenance_window_notify_channel_payload_v1.rb +203 -0
- data/lib/incident_io/models/maintenance_window_notify_channel_v1.rb +213 -0
- data/lib/incident_io/models/maintenance_window_v1.rb +522 -0
- data/lib/incident_io/models/maintenance_windows_create_payload_v1.rb +397 -0
- data/lib/incident_io/models/maintenance_windows_create_result_v1.rb +164 -0
- data/lib/incident_io/models/maintenance_windows_list_result_v1.rb +192 -0
- data/lib/incident_io/models/maintenance_windows_show_result_v1.rb +164 -0
- data/lib/incident_io/models/maintenance_windows_update_payload_v1.rb +397 -0
- data/lib/incident_io/models/maintenance_windows_update_result_v1.rb +164 -0
- data/lib/incident_io/models/management_meta_v2.rb +204 -0
- data/lib/incident_io/models/new_slack_user_group_payload_v2.rb +229 -0
- data/lib/incident_io/models/on_call_notification_method_phone_details_public_v2.rb +192 -0
- data/lib/incident_io/models/on_call_notification_method_public_v2.rb +255 -0
- data/lib/incident_io/models/on_call_notification_rule_app_details_public_v2.rb +165 -0
- data/lib/incident_io/models/on_call_notification_rule_method_target_public_v2.rb +183 -0
- data/lib/incident_io/models/on_call_notification_rule_method_target_specific_public_v2.rb +165 -0
- data/lib/incident_io/models/on_call_notification_rule_phone_details_public_v2.rb +165 -0
- data/lib/incident_io/models/on_call_notification_rule_public_v2.rb +301 -0
- data/lib/incident_io/models/pagination_meta_result_v1.rb +184 -0
- data/lib/incident_io/models/pagination_meta_result_v2.rb +184 -0
- data/lib/incident_io/models/pagination_meta_result_v3.rb +184 -0
- data/lib/incident_io/models/pagination_meta_result_with_total_v1.rb +194 -0
- data/lib/incident_io/models/pagination_meta_result_with_total_v2.rb +194 -0
- data/lib/incident_io/models/pagination_meta_result_with_total_v3.rb +194 -0
- data/lib/incident_io/models/partial_entry_payload_v3.rb +237 -0
- data/lib/incident_io/models/pay_config_one_off_rule_payload_v2.rb +257 -0
- data/lib/incident_io/models/pay_config_one_off_rule_v2.rb +274 -0
- data/lib/incident_io/models/pay_config_v2.rb +421 -0
- data/lib/incident_io/models/pay_config_weekly_rule_payload_v2.rb +259 -0
- data/lib/incident_io/models/pay_config_weekly_rule_v2.rb +276 -0
- data/lib/incident_io/models/pay_configs_create_one_off_rule_payload_v2.rb +246 -0
- data/lib/incident_io/models/pay_configs_create_one_off_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_configs_create_payload_v2.rb +297 -0
- data/lib/incident_io/models/pay_configs_create_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_configs_create_weekly_rule_payload_v2.rb +248 -0
- data/lib/incident_io/models/pay_configs_create_weekly_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_configs_list_one_off_rules_result_v2.rb +166 -0
- data/lib/incident_io/models/pay_configs_list_result_v2.rb +192 -0
- data/lib/incident_io/models/pay_configs_list_weekly_rules_result_v2.rb +166 -0
- data/lib/incident_io/models/pay_configs_show_one_off_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_configs_show_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_configs_show_weekly_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_configs_update_one_off_rule_payload_v2.rb +246 -0
- data/lib/incident_io/models/pay_configs_update_one_off_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_configs_update_payload_v2.rb +273 -0
- data/lib/incident_io/models/pay_configs_update_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_configs_update_weekly_rule_payload_v2.rb +248 -0
- data/lib/incident_io/models/pay_configs_update_weekly_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_report_rotation_filter_v2.rb +204 -0
- data/lib/incident_io/models/pay_report_v2.rb +472 -0
- data/lib/incident_io/models/pay_reports_create_payload_v2.rb +318 -0
- data/lib/incident_io/models/pay_reports_create_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_reports_list_result_v2.rb +192 -0
- data/lib/incident_io/models/pay_reports_publish_payload_v2.rb +194 -0
- data/lib/incident_io/models/pay_reports_publish_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_reports_show_result_v2.rb +164 -0
- data/lib/incident_io/models/pay_reports_unpublish_payload_v2.rb +174 -0
- data/lib/incident_io/models/pay_reports_unpublish_result_v2.rb +164 -0
- data/lib/incident_io/models/policies_create_payload_v2.rb +324 -0
- data/lib/incident_io/models/policies_create_result_v2.rb +164 -0
- data/lib/incident_io/models/policies_list_result_v2.rb +192 -0
- data/lib/incident_io/models/policies_show_result_v2.rb +164 -0
- data/lib/incident_io/models/policies_update_payload_v2.rb +324 -0
- data/lib/incident_io/models/policies_update_result_v2.rb +164 -0
- data/lib/incident_io/models/policy_assignment_rules_payload_v2.rb +226 -0
- data/lib/incident_io/models/policy_assignment_rules_v2.rb +226 -0
- data/lib/incident_io/models/policy_debrief_payload_v2.rb +187 -0
- data/lib/incident_io/models/policy_debrief_v2.rb +187 -0
- data/lib/incident_io/models/policy_due_date_config_payload_v2.rb +238 -0
- data/lib/incident_io/models/policy_due_date_config_v2.rb +238 -0
- data/lib/incident_io/models/policy_finding_debrief_v2.rb +166 -0
- data/lib/incident_io/models/policy_finding_dismissal_v2.rb +217 -0
- data/lib/incident_io/models/policy_finding_follow_up_v2.rb +193 -0
- data/lib/incident_io/models/policy_finding_on_call_readiness_v2.rb +224 -0
- data/lib/incident_io/models/policy_finding_post_mortem_v2.rb +166 -0
- data/lib/incident_io/models/policy_finding_readiness_rule_v2.rb +203 -0
- data/lib/incident_io/models/policy_finding_schedule_impacted_user_v2.rb +217 -0
- data/lib/incident_io/models/policy_finding_schedule_v2.rb +262 -0
- data/lib/incident_io/models/policy_finding_v2.rb +437 -0
- data/lib/incident_io/models/policy_finding_vacation_conflict_v2.rb +267 -0
- data/lib/incident_io/models/policy_findings_dismiss_payload_v2.rb +174 -0
- data/lib/incident_io/models/policy_findings_dismiss_result_v2.rb +164 -0
- data/lib/incident_io/models/policy_findings_list_result_v2.rb +192 -0
- data/lib/incident_io/models/policy_findings_restore_result_v2.rb +164 -0
- data/lib/incident_io/models/policy_findings_show_result_v2.rb +164 -0
- data/lib/incident_io/models/policy_follow_up_payload_v2.rb +187 -0
- data/lib/incident_io/models/policy_follow_up_v2.rb +187 -0
- data/lib/incident_io/models/policy_on_call_readiness_v2.rb +171 -0
- data/lib/incident_io/models/policy_post_mortem_payload_v2.rb +187 -0
- data/lib/incident_io/models/policy_post_mortem_v2.rb +187 -0
- data/lib/incident_io/models/policy_readiness_rule_v2.rb +176 -0
- data/lib/incident_io/models/policy_reminder_cadence_v2.rb +166 -0
- data/lib/incident_io/models/policy_schedule_v2.rb +176 -0
- data/lib/incident_io/models/policy_v2.rb +403 -0
- data/lib/incident_io/models/postmortem_document_v1.rb +412 -0
- data/lib/incident_io/models/postmortem_document_with_status_change_v1.rb +218 -0
- data/lib/incident_io/models/postmortem_documents_attach_payload_v1.rb +202 -0
- data/lib/incident_io/models/postmortem_documents_attach_result_v1.rb +164 -0
- data/lib/incident_io/models/postmortem_documents_list_result_v1.rb +192 -0
- data/lib/incident_io/models/postmortem_documents_show_content_result_v1.rb +165 -0
- data/lib/incident_io/models/postmortem_documents_show_result_v1.rb +164 -0
- data/lib/incident_io/models/postmortem_documents_update_status_payload_v1.rb +165 -0
- data/lib/incident_io/models/postmortem_documents_update_status_result_v1.rb +164 -0
- data/lib/incident_io/models/rbac_role_v2.rb +229 -0
- data/lib/incident_io/models/retrospective_incident_options_v2.rb +168 -0
- data/lib/incident_io/models/returns_meta_v2.rb +192 -0
- data/lib/incident_io/models/returns_meta_v3.rb +192 -0
- data/lib/incident_io/models/schedule_config_create_payload_v2.rb +149 -0
- data/lib/incident_io/models/schedule_config_update_payload_v2.rb +149 -0
- data/lib/incident_io/models/schedule_config_v2.rb +167 -0
- data/lib/incident_io/models/schedule_create_payload_v2.rb +200 -0
- data/lib/incident_io/models/schedule_entries_list_payload_v2.rb +226 -0
- data/lib/incident_io/models/schedule_entry_v2.rb +240 -0
- data/lib/incident_io/models/schedule_holidays_public_config_payload_v2.rb +167 -0
- data/lib/incident_io/models/schedule_holidays_public_config_v2.rb +167 -0
- data/lib/incident_io/models/schedule_layer_create_payload_v2.rb +175 -0
- data/lib/incident_io/models/schedule_layer_update_payload_v2.rb +158 -0
- data/lib/incident_io/models/schedule_layer_v2.rb +158 -0
- data/lib/incident_io/models/schedule_override_v2.rb +361 -0
- data/lib/incident_io/models/schedule_replica_create_payload_v2.rb +286 -0
- data/lib/incident_io/models/schedule_replica_source_v2.rb +192 -0
- data/lib/incident_io/models/schedule_replica_user_status_v2.rb +175 -0
- data/lib/incident_io/models/schedule_replica_v2.rb +443 -0
- data/lib/incident_io/models/schedule_rotation_create_payload_v2.rb +263 -0
- data/lib/incident_io/models/schedule_rotation_handover_v2.rb +191 -0
- data/lib/incident_io/models/schedule_rotation_update_payload_v2.rb +246 -0
- data/lib/incident_io/models/schedule_rotation_v2.rb +367 -0
- data/lib/incident_io/models/schedule_rotation_working_interval_create_payload_v2.rb +219 -0
- data/lib/incident_io/models/schedule_rotation_working_interval_v2.rb +219 -0
- data/lib/incident_io/models/schedule_shift_change_v2.rb +222 -0
- data/lib/incident_io/models/schedule_slim_v2.rb +283 -0
- data/lib/incident_io/models/schedule_sync_rule_create_payload_v2.rb +226 -0
- data/lib/incident_io/models/schedule_sync_rule_v2.rb +364 -0
- data/lib/incident_io/models/schedule_sync_target_create_payload_v2.rb +196 -0
- data/lib/incident_io/models/schedule_sync_target_resource_v2.rb +328 -0
- data/lib/incident_io/models/schedule_sync_targets_create_payload_v2.rb +164 -0
- data/lib/incident_io/models/schedule_sync_targets_create_result_v2.rb +164 -0
- data/lib/incident_io/models/schedule_sync_targets_list_result_v2.rb +175 -0
- data/lib/incident_io/models/schedule_sync_targets_show_result_v2.rb +164 -0
- data/lib/incident_io/models/schedule_sync_targets_update_payload_v2.rb +177 -0
- data/lib/incident_io/models/schedule_sync_targets_update_result_v2.rb +164 -0
- data/lib/incident_io/models/schedule_update_payload_v2.rb +200 -0
- data/lib/incident_io/models/schedule_v2.rb +398 -0
- data/lib/incident_io/models/schedules_create_override_payload_v2.rb +299 -0
- data/lib/incident_io/models/schedules_create_override_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_create_payload_v2.rb +164 -0
- data/lib/incident_io/models/schedules_create_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_create_schedule_replica_payload_v2.rb +164 -0
- data/lib/incident_io/models/schedules_create_schedule_replica_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_create_schedule_sync_rule_payload_v2.rb +164 -0
- data/lib/incident_io/models/schedules_create_schedule_sync_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_list_overrides_result_v2.rb +175 -0
- data/lib/incident_io/models/schedules_list_result_v2.rb +175 -0
- data/lib/incident_io/models/schedules_list_schedule_entries_result_v2.rb +173 -0
- data/lib/incident_io/models/schedules_list_schedule_replicas_result_v2.rb +166 -0
- data/lib/incident_io/models/schedules_list_schedule_sync_rules_result_v2.rb +175 -0
- data/lib/incident_io/models/schedules_preview_schedule_entries_payload_v2.rb +184 -0
- data/lib/incident_io/models/schedules_preview_schedule_entries_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_show_override_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_show_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_show_schedule_replica_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_show_schedule_sync_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_update_override_payload_v2.rb +272 -0
- data/lib/incident_io/models/schedules_update_override_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_update_payload_v2.rb +164 -0
- data/lib/incident_io/models/schedules_update_result_v2.rb +164 -0
- data/lib/incident_io/models/schedules_update_schedule_sync_rule_payload_v2.rb +189 -0
- data/lib/incident_io/models/schedules_update_schedule_sync_rule_result_v2.rb +164 -0
- data/lib/incident_io/models/secret_v2.rb +321 -0
- data/lib/incident_io/models/secret_version_v2.rb +211 -0
- data/lib/incident_io/models/secrets_create_payload_v2.rb +214 -0
- data/lib/incident_io/models/secrets_create_result_v2.rb +164 -0
- data/lib/incident_io/models/secrets_list_result_v2.rb +175 -0
- data/lib/incident_io/models/secrets_rotate_payload_v2.rb +165 -0
- data/lib/incident_io/models/secrets_rotate_result_v2.rb +164 -0
- data/lib/incident_io/models/secrets_show_result_v2.rb +193 -0
- data/lib/incident_io/models/secrets_update_payload_v2.rb +187 -0
- data/lib/incident_io/models/secrets_update_result_v2.rb +164 -0
- data/lib/incident_io/models/severities_create_payload_v1.rb +211 -0
- data/lib/incident_io/models/severities_create_result_v1.rb +164 -0
- data/lib/incident_io/models/severities_list_result_v1.rb +166 -0
- data/lib/incident_io/models/severities_show_result_v1.rb +164 -0
- data/lib/incident_io/models/severities_update_payload_v1.rb +211 -0
- data/lib/incident_io/models/severities_update_result_v1.rb +164 -0
- data/lib/incident_io/models/severity_v1.rb +309 -0
- data/lib/incident_io/models/severity_v2.rb +309 -0
- data/lib/incident_io/models/status_page_component_availability_v2.rb +284 -0
- data/lib/incident_io/models/status_page_incident_affected_component_v2.rb +192 -0
- data/lib/incident_io/models/status_page_incident_component_impact_v2.rb +229 -0
- data/lib/incident_io/models/status_page_incident_update_v2.rb +302 -0
- data/lib/incident_io/models/status_page_incident_v2.rb +331 -0
- data/lib/incident_io/models/status_page_incident_with_update_v2.rb +190 -0
- data/lib/incident_io/models/status_page_linked_response_incident_v1.rb +192 -0
- data/lib/incident_io/models/status_page_maintenance_affected_component_v2.rb +192 -0
- data/lib/incident_io/models/status_page_maintenance_component_maintenance_period_v2.rb +202 -0
- data/lib/incident_io/models/status_page_maintenance_update_v2.rb +302 -0
- data/lib/incident_io/models/status_page_maintenance_v2.rb +358 -0
- data/lib/incident_io/models/status_page_retrospective_incident_update_v2.rb +241 -0
- data/lib/incident_io/models/status_page_structure_component_v2.rb +192 -0
- data/lib/incident_io/models/status_page_structure_group_v2.rb +221 -0
- data/lib/incident_io/models/status_page_structure_item_v2.rb +165 -0
- data/lib/incident_io/models/status_page_structure_sub_page_item_v2.rb +156 -0
- data/lib/incident_io/models/status_page_structure_sub_page_v2.rb +221 -0
- data/lib/incident_io/models/status_page_structure_v2.rb +167 -0
- data/lib/incident_io/models/status_page_v2.rb +212 -0
- data/lib/incident_io/models/status_pages_create_status_page_incident_payload_v2.rb +330 -0
- data/lib/incident_io/models/status_pages_create_status_page_incident_result_v2.rb +147 -0
- data/lib/incident_io/models/status_pages_create_status_page_incident_update_payload_v2.rb +250 -0
- data/lib/incident_io/models/status_pages_create_status_page_incident_update_result_v2.rb +147 -0
- data/lib/incident_io/models/status_pages_create_status_page_maintenance_payload_v2.rb +411 -0
- data/lib/incident_io/models/status_pages_create_status_page_maintenance_result_v2.rb +147 -0
- data/lib/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2.rb +250 -0
- data/lib/incident_io/models/status_pages_create_status_page_maintenance_update_result_v2.rb +147 -0
- data/lib/incident_io/models/status_pages_create_status_page_retrospective_incident_payload_v2.rb +257 -0
- data/lib/incident_io/models/status_pages_create_status_page_retrospective_incident_result_v2.rb +147 -0
- data/lib/incident_io/models/status_pages_list_response_incidents_result_v1.rb +166 -0
- data/lib/incident_io/models/status_pages_list_status_page_incidents_result_v2.rb +192 -0
- data/lib/incident_io/models/status_pages_list_status_page_maintenances_result_v2.rb +192 -0
- data/lib/incident_io/models/status_pages_list_status_pages_result_v2.rb +192 -0
- data/lib/incident_io/models/status_pages_show_status_page_component_availability_result_v2.rb +164 -0
- data/lib/incident_io/models/status_pages_show_status_page_incident_result_v2.rb +147 -0
- data/lib/incident_io/models/status_pages_show_status_page_maintenance_result_v2.rb +147 -0
- data/lib/incident_io/models/status_pages_show_status_page_structure_result_v2.rb +164 -0
- data/lib/incident_io/models/status_pages_update_status_page_incident_payload_v2.rb +174 -0
- data/lib/incident_io/models/status_pages_update_status_page_incident_result_v2.rb +147 -0
- data/lib/incident_io/models/status_pages_update_status_page_maintenance_payload_v2.rb +228 -0
- data/lib/incident_io/models/status_pages_update_status_page_maintenance_result_v2.rb +147 -0
- data/lib/incident_io/models/step_config_payload_v2.rb +231 -0
- data/lib/incident_io/models/step_config_slim_v2.rb +192 -0
- data/lib/incident_io/models/step_config_v2.rb +258 -0
- data/lib/incident_io/models/step_progress_slim_v2.rb +251 -0
- data/lib/incident_io/models/step_progress_v2.rb +251 -0
- data/lib/incident_io/models/team_slim_v2.rb +192 -0
- data/lib/incident_io/models/team_v3.rb +247 -0
- data/lib/incident_io/models/teams_list_result_v3.rb +192 -0
- data/lib/incident_io/models/teams_show_result_v3.rb +164 -0
- data/lib/incident_io/models/telemetry_data_source_v2.rb +338 -0
- data/lib/incident_io/models/telemetry_datadog_update_config_v2.rb +159 -0
- data/lib/incident_io/models/telemetry_grafana_update_config_v2.rb +159 -0
- data/lib/incident_io/models/telemetry_update_data_source_payload_v2.rb +166 -0
- data/lib/incident_io/models/telemetry_update_data_source_result_v2.rb +164 -0
- data/lib/incident_io/models/trigger_slim_v2.rb +192 -0
- data/lib/incident_io/models/user_reference_payload_v1.rb +168 -0
- data/lib/incident_io/models/user_reference_payload_v2.rb +168 -0
- data/lib/incident_io/models/user_seats_v2.rb +192 -0
- data/lib/incident_io/models/user_v1.rb +239 -0
- data/lib/incident_io/models/user_v2.rb +239 -0
- data/lib/incident_io/models/user_v3.rb +212 -0
- data/lib/incident_io/models/user_with_roles_v2.rb +346 -0
- data/lib/incident_io/models/users_list_notification_methods_result_v2.rb +166 -0
- data/lib/incident_io/models/users_list_notification_rules_result_v2.rb +166 -0
- data/lib/incident_io/models/users_list_result_v2.rb +192 -0
- data/lib/incident_io/models/users_show_paging_provider_result_v2.rb +148 -0
- data/lib/incident_io/models/users_show_result_v2.rb +164 -0
- data/lib/incident_io/models/users_update_paging_provider_payload_v2.rb +165 -0
- data/lib/incident_io/models/utilities_identity_result_v1.rb +164 -0
- data/lib/incident_io/models/utilities_ip_ranges_result_v1.rb +167 -0
- data/lib/incident_io/models/webhook_delivery_request_v2.rb +204 -0
- data/lib/incident_io/models/webhook_delivery_response_v2.rb +204 -0
- data/lib/incident_io/models/webhook_delivery_slim_v2.rb +239 -0
- data/lib/incident_io/models/webhook_delivery_v2.rb +274 -0
- data/lib/incident_io/models/webhook_incident_user_v2.rb +202 -0
- data/lib/incident_io/models/webhook_incident_v2.rb +752 -0
- data/lib/incident_io/models/webhook_private_resource_v2.rb +165 -0
- data/lib/incident_io/models/webhooks_private_alert_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_alert_resolved_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_escalation_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_action_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_action_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_incident_created_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_alert_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_alert_resolved_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_escalation_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_action_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_action_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_incident_created_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_schedule_created_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_schedule_deleted_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_schedule_shift_change_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_schedule_updated_v1_response_body.rb +191 -0
- data/lib/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body.rb +191 -0
- data/lib/incident_io/models/weekday_interval_config_v2.rb +247 -0
- data/lib/incident_io/models/weekday_interval_v2.rb +219 -0
- data/lib/incident_io/models/workflow_actor_v2.rb +192 -0
- data/lib/incident_io/models/workflow_delay_v2.rb +201 -0
- data/lib/incident_io/models/workflow_form_field_payload_v2.rb +259 -0
- data/lib/incident_io/models/workflow_form_field_v2.rb +310 -0
- data/lib/incident_io/models/workflow_run_slim_v2.rb +416 -0
- data/lib/incident_io/models/workflow_run_v2.rb +416 -0
- data/lib/incident_io/models/workflow_runs_list_result_v2.rb +175 -0
- data/lib/incident_io/models/workflow_runs_show_result_v2.rb +164 -0
- data/lib/incident_io/models/workflow_slim_v2.rb +603 -0
- data/lib/incident_io/models/workflow_v2.rb +615 -0
- data/lib/incident_io/models/workflows_create_workflow_payload_v2.rb +496 -0
- data/lib/incident_io/models/workflows_create_workflow_result_v2.rb +190 -0
- data/lib/incident_io/models/workflows_list_workflows_result_v2.rb +166 -0
- data/lib/incident_io/models/workflows_show_workflow_result_v2.rb +190 -0
- data/lib/incident_io/models/workflows_update_workflow_payload_v2.rb +479 -0
- data/lib/incident_io/models/workflows_update_workflow_result_v2.rb +190 -0
- data/lib/incident_io/models/workload_metadata_v2.rb +148 -0
- data/lib/incident_io/models/workload_minutes_v2.rb +246 -0
- data/lib/incident_io/version.rb +8 -0
- data/lib/incident_io.rb +1271 -0
- data/lib/incident_io_api.rb +6 -0
- metadata +1341 -0
|
@@ -0,0 +1,1102 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#incident.io
|
|
3
|
+
|
|
4
|
+
#Ruby client for the incident.io API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.25.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module IncidentIo
|
|
16
|
+
class StatusPagesV2Api
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# CreateStatusPageIncident Status Pages V2
|
|
23
|
+
# Create a status page incident. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
24
|
+
# @param status_pages_create_status_page_incident_payload_v2 [StatusPagesCreateStatusPageIncidentPayloadV2]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [StatusPagesCreateStatusPageIncidentResultV2]
|
|
27
|
+
def status_pages_v2_create_status_page_incident(status_pages_create_status_page_incident_payload_v2, opts = {})
|
|
28
|
+
data, _status_code, _headers = status_pages_v2_create_status_page_incident_with_http_info(status_pages_create_status_page_incident_payload_v2, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# CreateStatusPageIncident Status Pages V2
|
|
33
|
+
# Create a status page incident. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
34
|
+
# @param status_pages_create_status_page_incident_payload_v2 [StatusPagesCreateStatusPageIncidentPayloadV2]
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(StatusPagesCreateStatusPageIncidentResultV2, Integer, Hash)>] StatusPagesCreateStatusPageIncidentResultV2 data, response status code and response headers
|
|
37
|
+
def status_pages_v2_create_status_page_incident_with_http_info(status_pages_create_status_page_incident_payload_v2, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_create_status_page_incident ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'status_pages_create_status_page_incident_payload_v2' is set
|
|
42
|
+
if @api_client.config.client_side_validation && status_pages_create_status_page_incident_payload_v2.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'status_pages_create_status_page_incident_payload_v2' when calling StatusPagesV2Api.status_pages_v2_create_status_page_incident"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/v2/status_page_incidents'
|
|
47
|
+
|
|
48
|
+
# query parameters
|
|
49
|
+
query_params = opts[:query_params] || {}
|
|
50
|
+
|
|
51
|
+
# header parameters
|
|
52
|
+
header_params = opts[:header_params] || {}
|
|
53
|
+
# HTTP header 'Accept' (if needed)
|
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
55
|
+
# HTTP header 'Content-Type'
|
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
57
|
+
if !content_type.nil?
|
|
58
|
+
header_params['Content-Type'] = content_type
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# form parameters
|
|
62
|
+
form_params = opts[:form_params] || {}
|
|
63
|
+
|
|
64
|
+
# http body (model)
|
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(status_pages_create_status_page_incident_payload_v2)
|
|
66
|
+
|
|
67
|
+
# return_type
|
|
68
|
+
return_type = opts[:debug_return_type] || 'StatusPagesCreateStatusPageIncidentResultV2'
|
|
69
|
+
|
|
70
|
+
# auth_names
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
72
|
+
|
|
73
|
+
new_options = opts.merge(
|
|
74
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_create_status_page_incident",
|
|
75
|
+
:header_params => header_params,
|
|
76
|
+
:query_params => query_params,
|
|
77
|
+
:form_params => form_params,
|
|
78
|
+
:body => post_body,
|
|
79
|
+
:auth_names => auth_names,
|
|
80
|
+
:return_type => return_type
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
|
+
if @api_client.config.debugging
|
|
85
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_create_status_page_incident\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
|
+
end
|
|
87
|
+
return data, status_code, headers
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# CreateStatusPageIncidentUpdate Status Pages V2
|
|
91
|
+
# Post an update on a Status Page incident. This is the endpoint to use when resolving an incident - set incident_status to \"resolved\" to end the incident. There is a limit of 100 updates per incident. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
92
|
+
# @param status_pages_create_status_page_incident_update_payload_v2 [StatusPagesCreateStatusPageIncidentUpdatePayloadV2]
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @return [StatusPagesCreateStatusPageIncidentUpdateResultV2]
|
|
95
|
+
def status_pages_v2_create_status_page_incident_update(status_pages_create_status_page_incident_update_payload_v2, opts = {})
|
|
96
|
+
data, _status_code, _headers = status_pages_v2_create_status_page_incident_update_with_http_info(status_pages_create_status_page_incident_update_payload_v2, opts)
|
|
97
|
+
data
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# CreateStatusPageIncidentUpdate Status Pages V2
|
|
101
|
+
# Post an update on a Status Page incident. This is the endpoint to use when resolving an incident - set incident_status to \"resolved\" to end the incident. There is a limit of 100 updates per incident. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
102
|
+
# @param status_pages_create_status_page_incident_update_payload_v2 [StatusPagesCreateStatusPageIncidentUpdatePayloadV2]
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [Array<(StatusPagesCreateStatusPageIncidentUpdateResultV2, Integer, Hash)>] StatusPagesCreateStatusPageIncidentUpdateResultV2 data, response status code and response headers
|
|
105
|
+
def status_pages_v2_create_status_page_incident_update_with_http_info(status_pages_create_status_page_incident_update_payload_v2, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_create_status_page_incident_update ...'
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'status_pages_create_status_page_incident_update_payload_v2' is set
|
|
110
|
+
if @api_client.config.client_side_validation && status_pages_create_status_page_incident_update_payload_v2.nil?
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'status_pages_create_status_page_incident_update_payload_v2' when calling StatusPagesV2Api.status_pages_v2_create_status_page_incident_update"
|
|
112
|
+
end
|
|
113
|
+
# resource path
|
|
114
|
+
local_var_path = '/v2/status_page_incident_updates'
|
|
115
|
+
|
|
116
|
+
# query parameters
|
|
117
|
+
query_params = opts[:query_params] || {}
|
|
118
|
+
|
|
119
|
+
# header parameters
|
|
120
|
+
header_params = opts[:header_params] || {}
|
|
121
|
+
# HTTP header 'Accept' (if needed)
|
|
122
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
123
|
+
# HTTP header 'Content-Type'
|
|
124
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
125
|
+
if !content_type.nil?
|
|
126
|
+
header_params['Content-Type'] = content_type
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# form parameters
|
|
130
|
+
form_params = opts[:form_params] || {}
|
|
131
|
+
|
|
132
|
+
# http body (model)
|
|
133
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(status_pages_create_status_page_incident_update_payload_v2)
|
|
134
|
+
|
|
135
|
+
# return_type
|
|
136
|
+
return_type = opts[:debug_return_type] || 'StatusPagesCreateStatusPageIncidentUpdateResultV2'
|
|
137
|
+
|
|
138
|
+
# auth_names
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
140
|
+
|
|
141
|
+
new_options = opts.merge(
|
|
142
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_create_status_page_incident_update",
|
|
143
|
+
:header_params => header_params,
|
|
144
|
+
:query_params => query_params,
|
|
145
|
+
:form_params => form_params,
|
|
146
|
+
:body => post_body,
|
|
147
|
+
:auth_names => auth_names,
|
|
148
|
+
:return_type => return_type
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
152
|
+
if @api_client.config.debugging
|
|
153
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_create_status_page_incident_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
154
|
+
end
|
|
155
|
+
return data, status_code, headers
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# CreateStatusPageMaintenance Status Pages V2
|
|
159
|
+
# Schedule a Status Page maintenance window. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
160
|
+
# @param status_pages_create_status_page_maintenance_payload_v2 [StatusPagesCreateStatusPageMaintenancePayloadV2]
|
|
161
|
+
# @param [Hash] opts the optional parameters
|
|
162
|
+
# @return [StatusPagesCreateStatusPageMaintenanceResultV2]
|
|
163
|
+
def status_pages_v2_create_status_page_maintenance(status_pages_create_status_page_maintenance_payload_v2, opts = {})
|
|
164
|
+
data, _status_code, _headers = status_pages_v2_create_status_page_maintenance_with_http_info(status_pages_create_status_page_maintenance_payload_v2, opts)
|
|
165
|
+
data
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# CreateStatusPageMaintenance Status Pages V2
|
|
169
|
+
# Schedule a Status Page maintenance window. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
170
|
+
# @param status_pages_create_status_page_maintenance_payload_v2 [StatusPagesCreateStatusPageMaintenancePayloadV2]
|
|
171
|
+
# @param [Hash] opts the optional parameters
|
|
172
|
+
# @return [Array<(StatusPagesCreateStatusPageMaintenanceResultV2, Integer, Hash)>] StatusPagesCreateStatusPageMaintenanceResultV2 data, response status code and response headers
|
|
173
|
+
def status_pages_v2_create_status_page_maintenance_with_http_info(status_pages_create_status_page_maintenance_payload_v2, opts = {})
|
|
174
|
+
if @api_client.config.debugging
|
|
175
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_create_status_page_maintenance ...'
|
|
176
|
+
end
|
|
177
|
+
# verify the required parameter 'status_pages_create_status_page_maintenance_payload_v2' is set
|
|
178
|
+
if @api_client.config.client_side_validation && status_pages_create_status_page_maintenance_payload_v2.nil?
|
|
179
|
+
fail ArgumentError, "Missing the required parameter 'status_pages_create_status_page_maintenance_payload_v2' when calling StatusPagesV2Api.status_pages_v2_create_status_page_maintenance"
|
|
180
|
+
end
|
|
181
|
+
# resource path
|
|
182
|
+
local_var_path = '/v2/status_page_maintenances'
|
|
183
|
+
|
|
184
|
+
# query parameters
|
|
185
|
+
query_params = opts[:query_params] || {}
|
|
186
|
+
|
|
187
|
+
# header parameters
|
|
188
|
+
header_params = opts[:header_params] || {}
|
|
189
|
+
# HTTP header 'Accept' (if needed)
|
|
190
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
191
|
+
# HTTP header 'Content-Type'
|
|
192
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
193
|
+
if !content_type.nil?
|
|
194
|
+
header_params['Content-Type'] = content_type
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# form parameters
|
|
198
|
+
form_params = opts[:form_params] || {}
|
|
199
|
+
|
|
200
|
+
# http body (model)
|
|
201
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(status_pages_create_status_page_maintenance_payload_v2)
|
|
202
|
+
|
|
203
|
+
# return_type
|
|
204
|
+
return_type = opts[:debug_return_type] || 'StatusPagesCreateStatusPageMaintenanceResultV2'
|
|
205
|
+
|
|
206
|
+
# auth_names
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
208
|
+
|
|
209
|
+
new_options = opts.merge(
|
|
210
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_create_status_page_maintenance",
|
|
211
|
+
:header_params => header_params,
|
|
212
|
+
:query_params => query_params,
|
|
213
|
+
:form_params => form_params,
|
|
214
|
+
:body => post_body,
|
|
215
|
+
:auth_names => auth_names,
|
|
216
|
+
:return_type => return_type
|
|
217
|
+
)
|
|
218
|
+
|
|
219
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
220
|
+
if @api_client.config.debugging
|
|
221
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_create_status_page_maintenance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
222
|
+
end
|
|
223
|
+
return data, status_code, headers
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# CreateStatusPageMaintenanceUpdate Status Pages V2
|
|
227
|
+
# Post an update on a Status Page maintenance window. This is the endpoint to use when completing a maintenance window - set maintenance_status to \"maintenance_complete\" to end the maintenance. There is a limit of 100 updates per maintenance window. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
228
|
+
# @param status_pages_create_status_page_maintenance_update_payload_v2 [StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2]
|
|
229
|
+
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @return [StatusPagesCreateStatusPageMaintenanceUpdateResultV2]
|
|
231
|
+
def status_pages_v2_create_status_page_maintenance_update(status_pages_create_status_page_maintenance_update_payload_v2, opts = {})
|
|
232
|
+
data, _status_code, _headers = status_pages_v2_create_status_page_maintenance_update_with_http_info(status_pages_create_status_page_maintenance_update_payload_v2, opts)
|
|
233
|
+
data
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# CreateStatusPageMaintenanceUpdate Status Pages V2
|
|
237
|
+
# Post an update on a Status Page maintenance window. This is the endpoint to use when completing a maintenance window - set maintenance_status to \"maintenance_complete\" to end the maintenance. There is a limit of 100 updates per maintenance window. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
238
|
+
# @param status_pages_create_status_page_maintenance_update_payload_v2 [StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2]
|
|
239
|
+
# @param [Hash] opts the optional parameters
|
|
240
|
+
# @return [Array<(StatusPagesCreateStatusPageMaintenanceUpdateResultV2, Integer, Hash)>] StatusPagesCreateStatusPageMaintenanceUpdateResultV2 data, response status code and response headers
|
|
241
|
+
def status_pages_v2_create_status_page_maintenance_update_with_http_info(status_pages_create_status_page_maintenance_update_payload_v2, opts = {})
|
|
242
|
+
if @api_client.config.debugging
|
|
243
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_create_status_page_maintenance_update ...'
|
|
244
|
+
end
|
|
245
|
+
# verify the required parameter 'status_pages_create_status_page_maintenance_update_payload_v2' is set
|
|
246
|
+
if @api_client.config.client_side_validation && status_pages_create_status_page_maintenance_update_payload_v2.nil?
|
|
247
|
+
fail ArgumentError, "Missing the required parameter 'status_pages_create_status_page_maintenance_update_payload_v2' when calling StatusPagesV2Api.status_pages_v2_create_status_page_maintenance_update"
|
|
248
|
+
end
|
|
249
|
+
# resource path
|
|
250
|
+
local_var_path = '/v2/status_page_maintenance_updates'
|
|
251
|
+
|
|
252
|
+
# query parameters
|
|
253
|
+
query_params = opts[:query_params] || {}
|
|
254
|
+
|
|
255
|
+
# header parameters
|
|
256
|
+
header_params = opts[:header_params] || {}
|
|
257
|
+
# HTTP header 'Accept' (if needed)
|
|
258
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
259
|
+
# HTTP header 'Content-Type'
|
|
260
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
261
|
+
if !content_type.nil?
|
|
262
|
+
header_params['Content-Type'] = content_type
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# form parameters
|
|
266
|
+
form_params = opts[:form_params] || {}
|
|
267
|
+
|
|
268
|
+
# http body (model)
|
|
269
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(status_pages_create_status_page_maintenance_update_payload_v2)
|
|
270
|
+
|
|
271
|
+
# return_type
|
|
272
|
+
return_type = opts[:debug_return_type] || 'StatusPagesCreateStatusPageMaintenanceUpdateResultV2'
|
|
273
|
+
|
|
274
|
+
# auth_names
|
|
275
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
276
|
+
|
|
277
|
+
new_options = opts.merge(
|
|
278
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_create_status_page_maintenance_update",
|
|
279
|
+
:header_params => header_params,
|
|
280
|
+
:query_params => query_params,
|
|
281
|
+
:form_params => form_params,
|
|
282
|
+
:body => post_body,
|
|
283
|
+
:auth_names => auth_names,
|
|
284
|
+
:return_type => return_type
|
|
285
|
+
)
|
|
286
|
+
|
|
287
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
288
|
+
if @api_client.config.debugging
|
|
289
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_create_status_page_maintenance_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
|
+
end
|
|
291
|
+
return data, status_code, headers
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# CreateStatusPageRetrospectiveIncident Status Pages V2
|
|
295
|
+
# Create a retrospective (historical) status page incident. Use this to backfill a completed incident with a reconstructed timeline of past updates, for example when migrating from another status page provider. Every update's published_at must be in the past, the updates must be ordered chronologically (earliest first), and the final update must set incident_status to \"resolved\". Retrospective incidents never notify subscribers. As this endpoint is intended for bulk historical backfill, it has a dedicated rate limit of 5 requests per second (with a burst allowance of 300 requests) per API key. If you exceed it you'll receive a 429 response with a Retry-After header; back off and retry to resume your backfill. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
296
|
+
# @param status_pages_create_status_page_retrospective_incident_payload_v2 [StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2]
|
|
297
|
+
# @param [Hash] opts the optional parameters
|
|
298
|
+
# @return [StatusPagesCreateStatusPageRetrospectiveIncidentResultV2]
|
|
299
|
+
def status_pages_v2_create_status_page_retrospective_incident(status_pages_create_status_page_retrospective_incident_payload_v2, opts = {})
|
|
300
|
+
data, _status_code, _headers = status_pages_v2_create_status_page_retrospective_incident_with_http_info(status_pages_create_status_page_retrospective_incident_payload_v2, opts)
|
|
301
|
+
data
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
# CreateStatusPageRetrospectiveIncident Status Pages V2
|
|
305
|
+
# Create a retrospective (historical) status page incident. Use this to backfill a completed incident with a reconstructed timeline of past updates, for example when migrating from another status page provider. Every update's published_at must be in the past, the updates must be ordered chronologically (earliest first), and the final update must set incident_status to \"resolved\". Retrospective incidents never notify subscribers. As this endpoint is intended for bulk historical backfill, it has a dedicated rate limit of 5 requests per second (with a burst allowance of 300 requests) per API key. If you exceed it you'll receive a 429 response with a Retry-After header; back off and retry to resume your backfill. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
306
|
+
# @param status_pages_create_status_page_retrospective_incident_payload_v2 [StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2]
|
|
307
|
+
# @param [Hash] opts the optional parameters
|
|
308
|
+
# @return [Array<(StatusPagesCreateStatusPageRetrospectiveIncidentResultV2, Integer, Hash)>] StatusPagesCreateStatusPageRetrospectiveIncidentResultV2 data, response status code and response headers
|
|
309
|
+
def status_pages_v2_create_status_page_retrospective_incident_with_http_info(status_pages_create_status_page_retrospective_incident_payload_v2, opts = {})
|
|
310
|
+
if @api_client.config.debugging
|
|
311
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_create_status_page_retrospective_incident ...'
|
|
312
|
+
end
|
|
313
|
+
# verify the required parameter 'status_pages_create_status_page_retrospective_incident_payload_v2' is set
|
|
314
|
+
if @api_client.config.client_side_validation && status_pages_create_status_page_retrospective_incident_payload_v2.nil?
|
|
315
|
+
fail ArgumentError, "Missing the required parameter 'status_pages_create_status_page_retrospective_incident_payload_v2' when calling StatusPagesV2Api.status_pages_v2_create_status_page_retrospective_incident"
|
|
316
|
+
end
|
|
317
|
+
# resource path
|
|
318
|
+
local_var_path = '/v2/status_page_retrospective_incidents'
|
|
319
|
+
|
|
320
|
+
# query parameters
|
|
321
|
+
query_params = opts[:query_params] || {}
|
|
322
|
+
|
|
323
|
+
# header parameters
|
|
324
|
+
header_params = opts[:header_params] || {}
|
|
325
|
+
# HTTP header 'Accept' (if needed)
|
|
326
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
327
|
+
# HTTP header 'Content-Type'
|
|
328
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
329
|
+
if !content_type.nil?
|
|
330
|
+
header_params['Content-Type'] = content_type
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
# form parameters
|
|
334
|
+
form_params = opts[:form_params] || {}
|
|
335
|
+
|
|
336
|
+
# http body (model)
|
|
337
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(status_pages_create_status_page_retrospective_incident_payload_v2)
|
|
338
|
+
|
|
339
|
+
# return_type
|
|
340
|
+
return_type = opts[:debug_return_type] || 'StatusPagesCreateStatusPageRetrospectiveIncidentResultV2'
|
|
341
|
+
|
|
342
|
+
# auth_names
|
|
343
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
344
|
+
|
|
345
|
+
new_options = opts.merge(
|
|
346
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_create_status_page_retrospective_incident",
|
|
347
|
+
:header_params => header_params,
|
|
348
|
+
:query_params => query_params,
|
|
349
|
+
:form_params => form_params,
|
|
350
|
+
:body => post_body,
|
|
351
|
+
:auth_names => auth_names,
|
|
352
|
+
:return_type => return_type
|
|
353
|
+
)
|
|
354
|
+
|
|
355
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
356
|
+
if @api_client.config.debugging
|
|
357
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_create_status_page_retrospective_incident\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
358
|
+
end
|
|
359
|
+
return data, status_code, headers
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# DeleteStatusPageMaintenance Status Pages V2
|
|
363
|
+
# Delete a Status Page maintenance window. The maintenance window and its updates stop appearing on your public status page, links to it stop working, and a window that has not yet run publishes no further automated updates. This cannot be undone. Subscribers are not told the window has been deleted, so anyone already emailed about it will have updates for a maintenance window they can no longer find. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
364
|
+
# @param status_page_maintenance_id [String] ID of the status page maintenance window
|
|
365
|
+
# @param [Hash] opts the optional parameters
|
|
366
|
+
# @return [nil]
|
|
367
|
+
def status_pages_v2_delete_status_page_maintenance(status_page_maintenance_id, opts = {})
|
|
368
|
+
status_pages_v2_delete_status_page_maintenance_with_http_info(status_page_maintenance_id, opts)
|
|
369
|
+
nil
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# DeleteStatusPageMaintenance Status Pages V2
|
|
373
|
+
# Delete a Status Page maintenance window. The maintenance window and its updates stop appearing on your public status page, links to it stop working, and a window that has not yet run publishes no further automated updates. This cannot be undone. Subscribers are not told the window has been deleted, so anyone already emailed about it will have updates for a maintenance window they can no longer find. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
374
|
+
# @param status_page_maintenance_id [String] ID of the status page maintenance window
|
|
375
|
+
# @param [Hash] opts the optional parameters
|
|
376
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
377
|
+
def status_pages_v2_delete_status_page_maintenance_with_http_info(status_page_maintenance_id, opts = {})
|
|
378
|
+
if @api_client.config.debugging
|
|
379
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_delete_status_page_maintenance ...'
|
|
380
|
+
end
|
|
381
|
+
# verify the required parameter 'status_page_maintenance_id' is set
|
|
382
|
+
if @api_client.config.client_side_validation && status_page_maintenance_id.nil?
|
|
383
|
+
fail ArgumentError, "Missing the required parameter 'status_page_maintenance_id' when calling StatusPagesV2Api.status_pages_v2_delete_status_page_maintenance"
|
|
384
|
+
end
|
|
385
|
+
# resource path
|
|
386
|
+
local_var_path = '/v2/status_page_maintenances/{status_page_maintenance_id}'.sub('{status_page_maintenance_id}', CGI.escape(status_page_maintenance_id.to_s))
|
|
387
|
+
|
|
388
|
+
# query parameters
|
|
389
|
+
query_params = opts[:query_params] || {}
|
|
390
|
+
|
|
391
|
+
# header parameters
|
|
392
|
+
header_params = opts[:header_params] || {}
|
|
393
|
+
# HTTP header 'Accept' (if needed)
|
|
394
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
395
|
+
|
|
396
|
+
# form parameters
|
|
397
|
+
form_params = opts[:form_params] || {}
|
|
398
|
+
|
|
399
|
+
# http body (model)
|
|
400
|
+
post_body = opts[:debug_body]
|
|
401
|
+
|
|
402
|
+
# return_type
|
|
403
|
+
return_type = opts[:debug_return_type]
|
|
404
|
+
|
|
405
|
+
# auth_names
|
|
406
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
407
|
+
|
|
408
|
+
new_options = opts.merge(
|
|
409
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_delete_status_page_maintenance",
|
|
410
|
+
:header_params => header_params,
|
|
411
|
+
:query_params => query_params,
|
|
412
|
+
:form_params => form_params,
|
|
413
|
+
:body => post_body,
|
|
414
|
+
:auth_names => auth_names,
|
|
415
|
+
:return_type => return_type
|
|
416
|
+
)
|
|
417
|
+
|
|
418
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
419
|
+
if @api_client.config.debugging
|
|
420
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_delete_status_page_maintenance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
421
|
+
end
|
|
422
|
+
return data, status_code, headers
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
# ListStatusPageIncidents Status Pages V2
|
|
426
|
+
# List status page incidents. This endpoint requires a valid API key but no specific scopes.
|
|
427
|
+
# @param status_page_id [String] ID of the status page. You can find this by calling the ListStatusPages endpoint.
|
|
428
|
+
# @param [Hash] opts the optional parameters
|
|
429
|
+
# @option opts [String] :component_id Filter status page incidents to only those that impacted the specified component. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
430
|
+
# @option opts [String] :group_id Filter status page incidents to only those that impacted components in the specified group. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
431
|
+
# @option opts [String] :sub_page_id Filter status page incidents to only those that impacted the specified sub-page. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
432
|
+
# @option opts [Time] :start_at Filter status page incidents to only those that had impacts during or after this time.
|
|
433
|
+
# @option opts [Time] :end_at Filter status page incidents to only those that had impacts during or before this time.
|
|
434
|
+
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
435
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
436
|
+
# @return [StatusPagesListStatusPageIncidentsResultV2]
|
|
437
|
+
def status_pages_v2_list_status_page_incidents(status_page_id, opts = {})
|
|
438
|
+
data, _status_code, _headers = status_pages_v2_list_status_page_incidents_with_http_info(status_page_id, opts)
|
|
439
|
+
data
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
# ListStatusPageIncidents Status Pages V2
|
|
443
|
+
# List status page incidents. This endpoint requires a valid API key but no specific scopes.
|
|
444
|
+
# @param status_page_id [String] ID of the status page. You can find this by calling the ListStatusPages endpoint.
|
|
445
|
+
# @param [Hash] opts the optional parameters
|
|
446
|
+
# @option opts [String] :component_id Filter status page incidents to only those that impacted the specified component. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
447
|
+
# @option opts [String] :group_id Filter status page incidents to only those that impacted components in the specified group. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
448
|
+
# @option opts [String] :sub_page_id Filter status page incidents to only those that impacted the specified sub-page. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
449
|
+
# @option opts [Time] :start_at Filter status page incidents to only those that had impacts during or after this time.
|
|
450
|
+
# @option opts [Time] :end_at Filter status page incidents to only those that had impacts during or before this time.
|
|
451
|
+
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
452
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
453
|
+
# @return [Array<(StatusPagesListStatusPageIncidentsResultV2, Integer, Hash)>] StatusPagesListStatusPageIncidentsResultV2 data, response status code and response headers
|
|
454
|
+
def status_pages_v2_list_status_page_incidents_with_http_info(status_page_id, opts = {})
|
|
455
|
+
if @api_client.config.debugging
|
|
456
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_list_status_page_incidents ...'
|
|
457
|
+
end
|
|
458
|
+
# verify the required parameter 'status_page_id' is set
|
|
459
|
+
if @api_client.config.client_side_validation && status_page_id.nil?
|
|
460
|
+
fail ArgumentError, "Missing the required parameter 'status_page_id' when calling StatusPagesV2Api.status_pages_v2_list_status_page_incidents"
|
|
461
|
+
end
|
|
462
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 250
|
|
463
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling StatusPagesV2Api.status_pages_v2_list_status_page_incidents, must be smaller than or equal to 250.'
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
|
467
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling StatusPagesV2Api.status_pages_v2_list_status_page_incidents, must be greater than or equal to 1.'
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
# resource path
|
|
471
|
+
local_var_path = '/v2/status_page_incidents'
|
|
472
|
+
|
|
473
|
+
# query parameters
|
|
474
|
+
query_params = opts[:query_params] || {}
|
|
475
|
+
query_params[:'status_page_id'] = status_page_id
|
|
476
|
+
query_params[:'component_id'] = opts[:'component_id'] if !opts[:'component_id'].nil?
|
|
477
|
+
query_params[:'group_id'] = opts[:'group_id'] if !opts[:'group_id'].nil?
|
|
478
|
+
query_params[:'sub_page_id'] = opts[:'sub_page_id'] if !opts[:'sub_page_id'].nil?
|
|
479
|
+
query_params[:'start_at'] = opts[:'start_at'] if !opts[:'start_at'].nil?
|
|
480
|
+
query_params[:'end_at'] = opts[:'end_at'] if !opts[:'end_at'].nil?
|
|
481
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
482
|
+
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
|
483
|
+
|
|
484
|
+
# header parameters
|
|
485
|
+
header_params = opts[:header_params] || {}
|
|
486
|
+
# HTTP header 'Accept' (if needed)
|
|
487
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
488
|
+
|
|
489
|
+
# form parameters
|
|
490
|
+
form_params = opts[:form_params] || {}
|
|
491
|
+
|
|
492
|
+
# http body (model)
|
|
493
|
+
post_body = opts[:debug_body]
|
|
494
|
+
|
|
495
|
+
# return_type
|
|
496
|
+
return_type = opts[:debug_return_type] || 'StatusPagesListStatusPageIncidentsResultV2'
|
|
497
|
+
|
|
498
|
+
# auth_names
|
|
499
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
500
|
+
|
|
501
|
+
new_options = opts.merge(
|
|
502
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_list_status_page_incidents",
|
|
503
|
+
:header_params => header_params,
|
|
504
|
+
:query_params => query_params,
|
|
505
|
+
:form_params => form_params,
|
|
506
|
+
:body => post_body,
|
|
507
|
+
:auth_names => auth_names,
|
|
508
|
+
:return_type => return_type
|
|
509
|
+
)
|
|
510
|
+
|
|
511
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
512
|
+
if @api_client.config.debugging
|
|
513
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_list_status_page_incidents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
514
|
+
end
|
|
515
|
+
return data, status_code, headers
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
# ListStatusPageMaintenances Status Pages V2
|
|
519
|
+
# List status page maintenances. This endpoint requires a valid API key but no specific scopes.
|
|
520
|
+
# @param status_page_id [String] ID of the status page. You can find this by calling the ListStatusPages endpoint.
|
|
521
|
+
# @param [Hash] opts the optional parameters
|
|
522
|
+
# @option opts [String] :component_id Filter status page maintenance windows to only those that impacted the specified component. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
523
|
+
# @option opts [String] :group_id Filter status page maintenance windows to only those that impacted components in the specified group. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
524
|
+
# @option opts [String] :sub_page_id Filter status page maintenance windows to only those that impacted the specified sub-page. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
525
|
+
# @option opts [Time] :start_at Filter status page maintenance windows to only those that had impacts during or after this time.
|
|
526
|
+
# @option opts [Time] :end_at Filter status page maintenance windows to only those that had impacts during or before this time.
|
|
527
|
+
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
528
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
529
|
+
# @return [StatusPagesListStatusPageMaintenancesResultV2]
|
|
530
|
+
def status_pages_v2_list_status_page_maintenances(status_page_id, opts = {})
|
|
531
|
+
data, _status_code, _headers = status_pages_v2_list_status_page_maintenances_with_http_info(status_page_id, opts)
|
|
532
|
+
data
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
# ListStatusPageMaintenances Status Pages V2
|
|
536
|
+
# List status page maintenances. This endpoint requires a valid API key but no specific scopes.
|
|
537
|
+
# @param status_page_id [String] ID of the status page. You can find this by calling the ListStatusPages endpoint.
|
|
538
|
+
# @param [Hash] opts the optional parameters
|
|
539
|
+
# @option opts [String] :component_id Filter status page maintenance windows to only those that impacted the specified component. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
540
|
+
# @option opts [String] :group_id Filter status page maintenance windows to only those that impacted components in the specified group. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
541
|
+
# @option opts [String] :sub_page_id Filter status page maintenance windows to only those that impacted the specified sub-page. This ID may be found by calling the ShowStatusPageStructure endpoint.
|
|
542
|
+
# @option opts [Time] :start_at Filter status page maintenance windows to only those that had impacts during or after this time.
|
|
543
|
+
# @option opts [Time] :end_at Filter status page maintenance windows to only those that had impacts during or before this time.
|
|
544
|
+
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
545
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
546
|
+
# @return [Array<(StatusPagesListStatusPageMaintenancesResultV2, Integer, Hash)>] StatusPagesListStatusPageMaintenancesResultV2 data, response status code and response headers
|
|
547
|
+
def status_pages_v2_list_status_page_maintenances_with_http_info(status_page_id, opts = {})
|
|
548
|
+
if @api_client.config.debugging
|
|
549
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_list_status_page_maintenances ...'
|
|
550
|
+
end
|
|
551
|
+
# verify the required parameter 'status_page_id' is set
|
|
552
|
+
if @api_client.config.client_side_validation && status_page_id.nil?
|
|
553
|
+
fail ArgumentError, "Missing the required parameter 'status_page_id' when calling StatusPagesV2Api.status_pages_v2_list_status_page_maintenances"
|
|
554
|
+
end
|
|
555
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 250
|
|
556
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling StatusPagesV2Api.status_pages_v2_list_status_page_maintenances, must be smaller than or equal to 250.'
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
|
560
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling StatusPagesV2Api.status_pages_v2_list_status_page_maintenances, must be greater than or equal to 1.'
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# resource path
|
|
564
|
+
local_var_path = '/v2/status_page_maintenances'
|
|
565
|
+
|
|
566
|
+
# query parameters
|
|
567
|
+
query_params = opts[:query_params] || {}
|
|
568
|
+
query_params[:'status_page_id'] = status_page_id
|
|
569
|
+
query_params[:'component_id'] = opts[:'component_id'] if !opts[:'component_id'].nil?
|
|
570
|
+
query_params[:'group_id'] = opts[:'group_id'] if !opts[:'group_id'].nil?
|
|
571
|
+
query_params[:'sub_page_id'] = opts[:'sub_page_id'] if !opts[:'sub_page_id'].nil?
|
|
572
|
+
query_params[:'start_at'] = opts[:'start_at'] if !opts[:'start_at'].nil?
|
|
573
|
+
query_params[:'end_at'] = opts[:'end_at'] if !opts[:'end_at'].nil?
|
|
574
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
575
|
+
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
|
576
|
+
|
|
577
|
+
# header parameters
|
|
578
|
+
header_params = opts[:header_params] || {}
|
|
579
|
+
# HTTP header 'Accept' (if needed)
|
|
580
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
581
|
+
|
|
582
|
+
# form parameters
|
|
583
|
+
form_params = opts[:form_params] || {}
|
|
584
|
+
|
|
585
|
+
# http body (model)
|
|
586
|
+
post_body = opts[:debug_body]
|
|
587
|
+
|
|
588
|
+
# return_type
|
|
589
|
+
return_type = opts[:debug_return_type] || 'StatusPagesListStatusPageMaintenancesResultV2'
|
|
590
|
+
|
|
591
|
+
# auth_names
|
|
592
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
593
|
+
|
|
594
|
+
new_options = opts.merge(
|
|
595
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_list_status_page_maintenances",
|
|
596
|
+
:header_params => header_params,
|
|
597
|
+
:query_params => query_params,
|
|
598
|
+
:form_params => form_params,
|
|
599
|
+
:body => post_body,
|
|
600
|
+
:auth_names => auth_names,
|
|
601
|
+
:return_type => return_type
|
|
602
|
+
)
|
|
603
|
+
|
|
604
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
605
|
+
if @api_client.config.debugging
|
|
606
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_list_status_page_maintenances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
607
|
+
end
|
|
608
|
+
return data, status_code, headers
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
# ListStatusPages Status Pages V2
|
|
612
|
+
# List all status pages for your organisation. This endpoint requires a valid API key but no specific scopes. Use this to find status page IDs for use in other endpoints.
|
|
613
|
+
# @param [Hash] opts the optional parameters
|
|
614
|
+
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
615
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
616
|
+
# @return [StatusPagesListStatusPagesResultV2]
|
|
617
|
+
def status_pages_v2_list_status_pages(opts = {})
|
|
618
|
+
data, _status_code, _headers = status_pages_v2_list_status_pages_with_http_info(opts)
|
|
619
|
+
data
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# ListStatusPages Status Pages V2
|
|
623
|
+
# List all status pages for your organisation. This endpoint requires a valid API key but no specific scopes. Use this to find status page IDs for use in other endpoints.
|
|
624
|
+
# @param [Hash] opts the optional parameters
|
|
625
|
+
# @option opts [Integer] :page_size Integer number of records to return (default to 25)
|
|
626
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
|
627
|
+
# @return [Array<(StatusPagesListStatusPagesResultV2, Integer, Hash)>] StatusPagesListStatusPagesResultV2 data, response status code and response headers
|
|
628
|
+
def status_pages_v2_list_status_pages_with_http_info(opts = {})
|
|
629
|
+
if @api_client.config.debugging
|
|
630
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_list_status_pages ...'
|
|
631
|
+
end
|
|
632
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 250
|
|
633
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling StatusPagesV2Api.status_pages_v2_list_status_pages, must be smaller than or equal to 250.'
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
|
637
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling StatusPagesV2Api.status_pages_v2_list_status_pages, must be greater than or equal to 1.'
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
# resource path
|
|
641
|
+
local_var_path = '/v2/status_pages'
|
|
642
|
+
|
|
643
|
+
# query parameters
|
|
644
|
+
query_params = opts[:query_params] || {}
|
|
645
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
646
|
+
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
|
647
|
+
|
|
648
|
+
# header parameters
|
|
649
|
+
header_params = opts[:header_params] || {}
|
|
650
|
+
# HTTP header 'Accept' (if needed)
|
|
651
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
652
|
+
|
|
653
|
+
# form parameters
|
|
654
|
+
form_params = opts[:form_params] || {}
|
|
655
|
+
|
|
656
|
+
# http body (model)
|
|
657
|
+
post_body = opts[:debug_body]
|
|
658
|
+
|
|
659
|
+
# return_type
|
|
660
|
+
return_type = opts[:debug_return_type] || 'StatusPagesListStatusPagesResultV2'
|
|
661
|
+
|
|
662
|
+
# auth_names
|
|
663
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
664
|
+
|
|
665
|
+
new_options = opts.merge(
|
|
666
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_list_status_pages",
|
|
667
|
+
:header_params => header_params,
|
|
668
|
+
:query_params => query_params,
|
|
669
|
+
:form_params => form_params,
|
|
670
|
+
:body => post_body,
|
|
671
|
+
:auth_names => auth_names,
|
|
672
|
+
:return_type => return_type
|
|
673
|
+
)
|
|
674
|
+
|
|
675
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
676
|
+
if @api_client.config.debugging
|
|
677
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_list_status_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
678
|
+
end
|
|
679
|
+
return data, status_code, headers
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# ShowStatusPageComponentAvailability Status Pages V2
|
|
683
|
+
# Show availability for a status page component over a time window. Pass start_at and end_at as RFC3339 timestamps. The window cannot be longer than 366 days. Availability uses the same rules as the public status page: full and partial outages count as downtime, overlapping impacts are merged, and time before we have data for the component is excluded rather than counted as up. This endpoint requires a valid API key but no specific scopes. Use ListStatusPages and ShowStatusPageStructure to find status page and component IDs.
|
|
684
|
+
# @param start_at [Time] Start of the availability window
|
|
685
|
+
# @param end_at [Time] End of the availability window
|
|
686
|
+
# @param status_page_id [String] ID of the status page. You can find this by calling the ListStatusPages endpoint.
|
|
687
|
+
# @param component_id [String] ID of the component. You can find this by calling the ShowStatusPageStructure endpoint.
|
|
688
|
+
# @param [Hash] opts the optional parameters
|
|
689
|
+
# @return [StatusPagesShowStatusPageComponentAvailabilityResultV2]
|
|
690
|
+
def status_pages_v2_show_status_page_component_availability(start_at, end_at, status_page_id, component_id, opts = {})
|
|
691
|
+
data, _status_code, _headers = status_pages_v2_show_status_page_component_availability_with_http_info(start_at, end_at, status_page_id, component_id, opts)
|
|
692
|
+
data
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
# ShowStatusPageComponentAvailability Status Pages V2
|
|
696
|
+
# Show availability for a status page component over a time window. Pass start_at and end_at as RFC3339 timestamps. The window cannot be longer than 366 days. Availability uses the same rules as the public status page: full and partial outages count as downtime, overlapping impacts are merged, and time before we have data for the component is excluded rather than counted as up. This endpoint requires a valid API key but no specific scopes. Use ListStatusPages and ShowStatusPageStructure to find status page and component IDs.
|
|
697
|
+
# @param start_at [Time] Start of the availability window
|
|
698
|
+
# @param end_at [Time] End of the availability window
|
|
699
|
+
# @param status_page_id [String] ID of the status page. You can find this by calling the ListStatusPages endpoint.
|
|
700
|
+
# @param component_id [String] ID of the component. You can find this by calling the ShowStatusPageStructure endpoint.
|
|
701
|
+
# @param [Hash] opts the optional parameters
|
|
702
|
+
# @return [Array<(StatusPagesShowStatusPageComponentAvailabilityResultV2, Integer, Hash)>] StatusPagesShowStatusPageComponentAvailabilityResultV2 data, response status code and response headers
|
|
703
|
+
def status_pages_v2_show_status_page_component_availability_with_http_info(start_at, end_at, status_page_id, component_id, opts = {})
|
|
704
|
+
if @api_client.config.debugging
|
|
705
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_show_status_page_component_availability ...'
|
|
706
|
+
end
|
|
707
|
+
# verify the required parameter 'start_at' is set
|
|
708
|
+
if @api_client.config.client_side_validation && start_at.nil?
|
|
709
|
+
fail ArgumentError, "Missing the required parameter 'start_at' when calling StatusPagesV2Api.status_pages_v2_show_status_page_component_availability"
|
|
710
|
+
end
|
|
711
|
+
# verify the required parameter 'end_at' is set
|
|
712
|
+
if @api_client.config.client_side_validation && end_at.nil?
|
|
713
|
+
fail ArgumentError, "Missing the required parameter 'end_at' when calling StatusPagesV2Api.status_pages_v2_show_status_page_component_availability"
|
|
714
|
+
end
|
|
715
|
+
# verify the required parameter 'status_page_id' is set
|
|
716
|
+
if @api_client.config.client_side_validation && status_page_id.nil?
|
|
717
|
+
fail ArgumentError, "Missing the required parameter 'status_page_id' when calling StatusPagesV2Api.status_pages_v2_show_status_page_component_availability"
|
|
718
|
+
end
|
|
719
|
+
# verify the required parameter 'component_id' is set
|
|
720
|
+
if @api_client.config.client_side_validation && component_id.nil?
|
|
721
|
+
fail ArgumentError, "Missing the required parameter 'component_id' when calling StatusPagesV2Api.status_pages_v2_show_status_page_component_availability"
|
|
722
|
+
end
|
|
723
|
+
# resource path
|
|
724
|
+
local_var_path = '/v2/status_pages/{status_page_id}/components/{component_id}/availability'.sub('{status_page_id}', CGI.escape(status_page_id.to_s)).sub('{component_id}', CGI.escape(component_id.to_s))
|
|
725
|
+
|
|
726
|
+
# query parameters
|
|
727
|
+
query_params = opts[:query_params] || {}
|
|
728
|
+
query_params[:'start_at'] = start_at
|
|
729
|
+
query_params[:'end_at'] = end_at
|
|
730
|
+
|
|
731
|
+
# header parameters
|
|
732
|
+
header_params = opts[:header_params] || {}
|
|
733
|
+
# HTTP header 'Accept' (if needed)
|
|
734
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
735
|
+
|
|
736
|
+
# form parameters
|
|
737
|
+
form_params = opts[:form_params] || {}
|
|
738
|
+
|
|
739
|
+
# http body (model)
|
|
740
|
+
post_body = opts[:debug_body]
|
|
741
|
+
|
|
742
|
+
# return_type
|
|
743
|
+
return_type = opts[:debug_return_type] || 'StatusPagesShowStatusPageComponentAvailabilityResultV2'
|
|
744
|
+
|
|
745
|
+
# auth_names
|
|
746
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
747
|
+
|
|
748
|
+
new_options = opts.merge(
|
|
749
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_show_status_page_component_availability",
|
|
750
|
+
:header_params => header_params,
|
|
751
|
+
:query_params => query_params,
|
|
752
|
+
:form_params => form_params,
|
|
753
|
+
:body => post_body,
|
|
754
|
+
:auth_names => auth_names,
|
|
755
|
+
:return_type => return_type
|
|
756
|
+
)
|
|
757
|
+
|
|
758
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
759
|
+
if @api_client.config.debugging
|
|
760
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_show_status_page_component_availability\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
761
|
+
end
|
|
762
|
+
return data, status_code, headers
|
|
763
|
+
end
|
|
764
|
+
|
|
765
|
+
# ShowStatusPageIncident Status Pages V2
|
|
766
|
+
# Show a status page incident. This endpoint requires a valid API key but no specific scopes.
|
|
767
|
+
# @param status_page_incident_id [String] ID of the status page incident
|
|
768
|
+
# @param [Hash] opts the optional parameters
|
|
769
|
+
# @return [StatusPagesShowStatusPageIncidentResultV2]
|
|
770
|
+
def status_pages_v2_show_status_page_incident(status_page_incident_id, opts = {})
|
|
771
|
+
data, _status_code, _headers = status_pages_v2_show_status_page_incident_with_http_info(status_page_incident_id, opts)
|
|
772
|
+
data
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
# ShowStatusPageIncident Status Pages V2
|
|
776
|
+
# Show a status page incident. This endpoint requires a valid API key but no specific scopes.
|
|
777
|
+
# @param status_page_incident_id [String] ID of the status page incident
|
|
778
|
+
# @param [Hash] opts the optional parameters
|
|
779
|
+
# @return [Array<(StatusPagesShowStatusPageIncidentResultV2, Integer, Hash)>] StatusPagesShowStatusPageIncidentResultV2 data, response status code and response headers
|
|
780
|
+
def status_pages_v2_show_status_page_incident_with_http_info(status_page_incident_id, opts = {})
|
|
781
|
+
if @api_client.config.debugging
|
|
782
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_show_status_page_incident ...'
|
|
783
|
+
end
|
|
784
|
+
# verify the required parameter 'status_page_incident_id' is set
|
|
785
|
+
if @api_client.config.client_side_validation && status_page_incident_id.nil?
|
|
786
|
+
fail ArgumentError, "Missing the required parameter 'status_page_incident_id' when calling StatusPagesV2Api.status_pages_v2_show_status_page_incident"
|
|
787
|
+
end
|
|
788
|
+
# resource path
|
|
789
|
+
local_var_path = '/v2/status_page_incidents/{status_page_incident_id}'.sub('{status_page_incident_id}', CGI.escape(status_page_incident_id.to_s))
|
|
790
|
+
|
|
791
|
+
# query parameters
|
|
792
|
+
query_params = opts[:query_params] || {}
|
|
793
|
+
|
|
794
|
+
# header parameters
|
|
795
|
+
header_params = opts[:header_params] || {}
|
|
796
|
+
# HTTP header 'Accept' (if needed)
|
|
797
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
798
|
+
|
|
799
|
+
# form parameters
|
|
800
|
+
form_params = opts[:form_params] || {}
|
|
801
|
+
|
|
802
|
+
# http body (model)
|
|
803
|
+
post_body = opts[:debug_body]
|
|
804
|
+
|
|
805
|
+
# return_type
|
|
806
|
+
return_type = opts[:debug_return_type] || 'StatusPagesShowStatusPageIncidentResultV2'
|
|
807
|
+
|
|
808
|
+
# auth_names
|
|
809
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
810
|
+
|
|
811
|
+
new_options = opts.merge(
|
|
812
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_show_status_page_incident",
|
|
813
|
+
:header_params => header_params,
|
|
814
|
+
:query_params => query_params,
|
|
815
|
+
:form_params => form_params,
|
|
816
|
+
:body => post_body,
|
|
817
|
+
:auth_names => auth_names,
|
|
818
|
+
:return_type => return_type
|
|
819
|
+
)
|
|
820
|
+
|
|
821
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
822
|
+
if @api_client.config.debugging
|
|
823
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_show_status_page_incident\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
824
|
+
end
|
|
825
|
+
return data, status_code, headers
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
# ShowStatusPageMaintenance Status Pages V2
|
|
829
|
+
# Show a status page maintenance window. This endpoint requires a valid API key but no specific scopes.
|
|
830
|
+
# @param status_page_maintenance_id [String] ID of the status page maintenance window
|
|
831
|
+
# @param [Hash] opts the optional parameters
|
|
832
|
+
# @return [StatusPagesShowStatusPageMaintenanceResultV2]
|
|
833
|
+
def status_pages_v2_show_status_page_maintenance(status_page_maintenance_id, opts = {})
|
|
834
|
+
data, _status_code, _headers = status_pages_v2_show_status_page_maintenance_with_http_info(status_page_maintenance_id, opts)
|
|
835
|
+
data
|
|
836
|
+
end
|
|
837
|
+
|
|
838
|
+
# ShowStatusPageMaintenance Status Pages V2
|
|
839
|
+
# Show a status page maintenance window. This endpoint requires a valid API key but no specific scopes.
|
|
840
|
+
# @param status_page_maintenance_id [String] ID of the status page maintenance window
|
|
841
|
+
# @param [Hash] opts the optional parameters
|
|
842
|
+
# @return [Array<(StatusPagesShowStatusPageMaintenanceResultV2, Integer, Hash)>] StatusPagesShowStatusPageMaintenanceResultV2 data, response status code and response headers
|
|
843
|
+
def status_pages_v2_show_status_page_maintenance_with_http_info(status_page_maintenance_id, opts = {})
|
|
844
|
+
if @api_client.config.debugging
|
|
845
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_show_status_page_maintenance ...'
|
|
846
|
+
end
|
|
847
|
+
# verify the required parameter 'status_page_maintenance_id' is set
|
|
848
|
+
if @api_client.config.client_side_validation && status_page_maintenance_id.nil?
|
|
849
|
+
fail ArgumentError, "Missing the required parameter 'status_page_maintenance_id' when calling StatusPagesV2Api.status_pages_v2_show_status_page_maintenance"
|
|
850
|
+
end
|
|
851
|
+
# resource path
|
|
852
|
+
local_var_path = '/v2/status_page_maintenances/{status_page_maintenance_id}'.sub('{status_page_maintenance_id}', CGI.escape(status_page_maintenance_id.to_s))
|
|
853
|
+
|
|
854
|
+
# query parameters
|
|
855
|
+
query_params = opts[:query_params] || {}
|
|
856
|
+
|
|
857
|
+
# header parameters
|
|
858
|
+
header_params = opts[:header_params] || {}
|
|
859
|
+
# HTTP header 'Accept' (if needed)
|
|
860
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
861
|
+
|
|
862
|
+
# form parameters
|
|
863
|
+
form_params = opts[:form_params] || {}
|
|
864
|
+
|
|
865
|
+
# http body (model)
|
|
866
|
+
post_body = opts[:debug_body]
|
|
867
|
+
|
|
868
|
+
# return_type
|
|
869
|
+
return_type = opts[:debug_return_type] || 'StatusPagesShowStatusPageMaintenanceResultV2'
|
|
870
|
+
|
|
871
|
+
# auth_names
|
|
872
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
873
|
+
|
|
874
|
+
new_options = opts.merge(
|
|
875
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_show_status_page_maintenance",
|
|
876
|
+
:header_params => header_params,
|
|
877
|
+
:query_params => query_params,
|
|
878
|
+
:form_params => form_params,
|
|
879
|
+
:body => post_body,
|
|
880
|
+
:auth_names => auth_names,
|
|
881
|
+
:return_type => return_type
|
|
882
|
+
)
|
|
883
|
+
|
|
884
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
885
|
+
if @api_client.config.debugging
|
|
886
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_show_status_page_maintenance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
887
|
+
end
|
|
888
|
+
return data, status_code, headers
|
|
889
|
+
end
|
|
890
|
+
|
|
891
|
+
# ShowStatusPageStructure Status Pages V2
|
|
892
|
+
# Show the structure of a status page. This endpoint requires a valid API key but no specific scopes. Returns the components and component groups configured on a status page. Use this to find component IDs when specifying affected components for incidents or maintenance windows.
|
|
893
|
+
# @param status_page_id [String] ID of the status page
|
|
894
|
+
# @param [Hash] opts the optional parameters
|
|
895
|
+
# @return [StatusPagesShowStatusPageStructureResultV2]
|
|
896
|
+
def status_pages_v2_show_status_page_structure(status_page_id, opts = {})
|
|
897
|
+
data, _status_code, _headers = status_pages_v2_show_status_page_structure_with_http_info(status_page_id, opts)
|
|
898
|
+
data
|
|
899
|
+
end
|
|
900
|
+
|
|
901
|
+
# ShowStatusPageStructure Status Pages V2
|
|
902
|
+
# Show the structure of a status page. This endpoint requires a valid API key but no specific scopes. Returns the components and component groups configured on a status page. Use this to find component IDs when specifying affected components for incidents or maintenance windows.
|
|
903
|
+
# @param status_page_id [String] ID of the status page
|
|
904
|
+
# @param [Hash] opts the optional parameters
|
|
905
|
+
# @return [Array<(StatusPagesShowStatusPageStructureResultV2, Integer, Hash)>] StatusPagesShowStatusPageStructureResultV2 data, response status code and response headers
|
|
906
|
+
def status_pages_v2_show_status_page_structure_with_http_info(status_page_id, opts = {})
|
|
907
|
+
if @api_client.config.debugging
|
|
908
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_show_status_page_structure ...'
|
|
909
|
+
end
|
|
910
|
+
# verify the required parameter 'status_page_id' is set
|
|
911
|
+
if @api_client.config.client_side_validation && status_page_id.nil?
|
|
912
|
+
fail ArgumentError, "Missing the required parameter 'status_page_id' when calling StatusPagesV2Api.status_pages_v2_show_status_page_structure"
|
|
913
|
+
end
|
|
914
|
+
# resource path
|
|
915
|
+
local_var_path = '/v2/status_page_structures/{status_page_id}'.sub('{status_page_id}', CGI.escape(status_page_id.to_s))
|
|
916
|
+
|
|
917
|
+
# query parameters
|
|
918
|
+
query_params = opts[:query_params] || {}
|
|
919
|
+
|
|
920
|
+
# header parameters
|
|
921
|
+
header_params = opts[:header_params] || {}
|
|
922
|
+
# HTTP header 'Accept' (if needed)
|
|
923
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
924
|
+
|
|
925
|
+
# form parameters
|
|
926
|
+
form_params = opts[:form_params] || {}
|
|
927
|
+
|
|
928
|
+
# http body (model)
|
|
929
|
+
post_body = opts[:debug_body]
|
|
930
|
+
|
|
931
|
+
# return_type
|
|
932
|
+
return_type = opts[:debug_return_type] || 'StatusPagesShowStatusPageStructureResultV2'
|
|
933
|
+
|
|
934
|
+
# auth_names
|
|
935
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
936
|
+
|
|
937
|
+
new_options = opts.merge(
|
|
938
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_show_status_page_structure",
|
|
939
|
+
:header_params => header_params,
|
|
940
|
+
:query_params => query_params,
|
|
941
|
+
:form_params => form_params,
|
|
942
|
+
:body => post_body,
|
|
943
|
+
:auth_names => auth_names,
|
|
944
|
+
:return_type => return_type
|
|
945
|
+
)
|
|
946
|
+
|
|
947
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
948
|
+
if @api_client.config.debugging
|
|
949
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_show_status_page_structure\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
950
|
+
end
|
|
951
|
+
return data, status_code, headers
|
|
952
|
+
end
|
|
953
|
+
|
|
954
|
+
# UpdateStatusPageIncident Status Pages V2
|
|
955
|
+
# Update a status page incident. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
956
|
+
# @param status_page_incident_id [String] ID of the status page incident
|
|
957
|
+
# @param status_pages_update_status_page_incident_payload_v2 [StatusPagesUpdateStatusPageIncidentPayloadV2]
|
|
958
|
+
# @param [Hash] opts the optional parameters
|
|
959
|
+
# @return [StatusPagesUpdateStatusPageIncidentResultV2]
|
|
960
|
+
def status_pages_v2_update_status_page_incident(status_page_incident_id, status_pages_update_status_page_incident_payload_v2, opts = {})
|
|
961
|
+
data, _status_code, _headers = status_pages_v2_update_status_page_incident_with_http_info(status_page_incident_id, status_pages_update_status_page_incident_payload_v2, opts)
|
|
962
|
+
data
|
|
963
|
+
end
|
|
964
|
+
|
|
965
|
+
# UpdateStatusPageIncident Status Pages V2
|
|
966
|
+
# Update a status page incident. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
967
|
+
# @param status_page_incident_id [String] ID of the status page incident
|
|
968
|
+
# @param status_pages_update_status_page_incident_payload_v2 [StatusPagesUpdateStatusPageIncidentPayloadV2]
|
|
969
|
+
# @param [Hash] opts the optional parameters
|
|
970
|
+
# @return [Array<(StatusPagesUpdateStatusPageIncidentResultV2, Integer, Hash)>] StatusPagesUpdateStatusPageIncidentResultV2 data, response status code and response headers
|
|
971
|
+
def status_pages_v2_update_status_page_incident_with_http_info(status_page_incident_id, status_pages_update_status_page_incident_payload_v2, opts = {})
|
|
972
|
+
if @api_client.config.debugging
|
|
973
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_update_status_page_incident ...'
|
|
974
|
+
end
|
|
975
|
+
# verify the required parameter 'status_page_incident_id' is set
|
|
976
|
+
if @api_client.config.client_side_validation && status_page_incident_id.nil?
|
|
977
|
+
fail ArgumentError, "Missing the required parameter 'status_page_incident_id' when calling StatusPagesV2Api.status_pages_v2_update_status_page_incident"
|
|
978
|
+
end
|
|
979
|
+
# verify the required parameter 'status_pages_update_status_page_incident_payload_v2' is set
|
|
980
|
+
if @api_client.config.client_side_validation && status_pages_update_status_page_incident_payload_v2.nil?
|
|
981
|
+
fail ArgumentError, "Missing the required parameter 'status_pages_update_status_page_incident_payload_v2' when calling StatusPagesV2Api.status_pages_v2_update_status_page_incident"
|
|
982
|
+
end
|
|
983
|
+
# resource path
|
|
984
|
+
local_var_path = '/v2/status_page_incidents/{status_page_incident_id}'.sub('{status_page_incident_id}', CGI.escape(status_page_incident_id.to_s))
|
|
985
|
+
|
|
986
|
+
# query parameters
|
|
987
|
+
query_params = opts[:query_params] || {}
|
|
988
|
+
|
|
989
|
+
# header parameters
|
|
990
|
+
header_params = opts[:header_params] || {}
|
|
991
|
+
# HTTP header 'Accept' (if needed)
|
|
992
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
993
|
+
# HTTP header 'Content-Type'
|
|
994
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
995
|
+
if !content_type.nil?
|
|
996
|
+
header_params['Content-Type'] = content_type
|
|
997
|
+
end
|
|
998
|
+
|
|
999
|
+
# form parameters
|
|
1000
|
+
form_params = opts[:form_params] || {}
|
|
1001
|
+
|
|
1002
|
+
# http body (model)
|
|
1003
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(status_pages_update_status_page_incident_payload_v2)
|
|
1004
|
+
|
|
1005
|
+
# return_type
|
|
1006
|
+
return_type = opts[:debug_return_type] || 'StatusPagesUpdateStatusPageIncidentResultV2'
|
|
1007
|
+
|
|
1008
|
+
# auth_names
|
|
1009
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
1010
|
+
|
|
1011
|
+
new_options = opts.merge(
|
|
1012
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_update_status_page_incident",
|
|
1013
|
+
:header_params => header_params,
|
|
1014
|
+
:query_params => query_params,
|
|
1015
|
+
:form_params => form_params,
|
|
1016
|
+
:body => post_body,
|
|
1017
|
+
:auth_names => auth_names,
|
|
1018
|
+
:return_type => return_type
|
|
1019
|
+
)
|
|
1020
|
+
|
|
1021
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1022
|
+
if @api_client.config.debugging
|
|
1023
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_update_status_page_incident\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1024
|
+
end
|
|
1025
|
+
return data, status_code, headers
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
# UpdateStatusPageMaintenance Status Pages V2
|
|
1029
|
+
# Update the name and scheduled window of a Status Page maintenance window. The new start_at and end_at apply to every component this maintenance window affects. This does not publish an update to your status page and does not notify subscribers. Automated updates only move a window forwards, so one that has already started or completed will not move back to an earlier status. To move a status backwards, or to tell subscribers the schedule has changed, post a maintenance update to POST /status_page_maintenance_updates. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
1030
|
+
# @param status_page_maintenance_id [String] ID of the status page maintenance window
|
|
1031
|
+
# @param status_pages_update_status_page_maintenance_payload_v2 [StatusPagesUpdateStatusPageMaintenancePayloadV2]
|
|
1032
|
+
# @param [Hash] opts the optional parameters
|
|
1033
|
+
# @return [StatusPagesUpdateStatusPageMaintenanceResultV2]
|
|
1034
|
+
def status_pages_v2_update_status_page_maintenance(status_page_maintenance_id, status_pages_update_status_page_maintenance_payload_v2, opts = {})
|
|
1035
|
+
data, _status_code, _headers = status_pages_v2_update_status_page_maintenance_with_http_info(status_page_maintenance_id, status_pages_update_status_page_maintenance_payload_v2, opts)
|
|
1036
|
+
data
|
|
1037
|
+
end
|
|
1038
|
+
|
|
1039
|
+
# UpdateStatusPageMaintenance Status Pages V2
|
|
1040
|
+
# Update the name and scheduled window of a Status Page maintenance window. The new start_at and end_at apply to every component this maintenance window affects. This does not publish an update to your status page and does not notify subscribers. Automated updates only move a window forwards, so one that has already started or completed will not move back to an earlier status. To move a status backwards, or to tell subscribers the schedule has changed, post a maintenance update to POST /status_page_maintenance_updates. This endpoint requires an API key with the \"Create status page incidents, status page maintenance windows, and publish status page updates\" scope.
|
|
1041
|
+
# @param status_page_maintenance_id [String] ID of the status page maintenance window
|
|
1042
|
+
# @param status_pages_update_status_page_maintenance_payload_v2 [StatusPagesUpdateStatusPageMaintenancePayloadV2]
|
|
1043
|
+
# @param [Hash] opts the optional parameters
|
|
1044
|
+
# @return [Array<(StatusPagesUpdateStatusPageMaintenanceResultV2, Integer, Hash)>] StatusPagesUpdateStatusPageMaintenanceResultV2 data, response status code and response headers
|
|
1045
|
+
def status_pages_v2_update_status_page_maintenance_with_http_info(status_page_maintenance_id, status_pages_update_status_page_maintenance_payload_v2, opts = {})
|
|
1046
|
+
if @api_client.config.debugging
|
|
1047
|
+
@api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_update_status_page_maintenance ...'
|
|
1048
|
+
end
|
|
1049
|
+
# verify the required parameter 'status_page_maintenance_id' is set
|
|
1050
|
+
if @api_client.config.client_side_validation && status_page_maintenance_id.nil?
|
|
1051
|
+
fail ArgumentError, "Missing the required parameter 'status_page_maintenance_id' when calling StatusPagesV2Api.status_pages_v2_update_status_page_maintenance"
|
|
1052
|
+
end
|
|
1053
|
+
# verify the required parameter 'status_pages_update_status_page_maintenance_payload_v2' is set
|
|
1054
|
+
if @api_client.config.client_side_validation && status_pages_update_status_page_maintenance_payload_v2.nil?
|
|
1055
|
+
fail ArgumentError, "Missing the required parameter 'status_pages_update_status_page_maintenance_payload_v2' when calling StatusPagesV2Api.status_pages_v2_update_status_page_maintenance"
|
|
1056
|
+
end
|
|
1057
|
+
# resource path
|
|
1058
|
+
local_var_path = '/v2/status_page_maintenances/{status_page_maintenance_id}'.sub('{status_page_maintenance_id}', CGI.escape(status_page_maintenance_id.to_s))
|
|
1059
|
+
|
|
1060
|
+
# query parameters
|
|
1061
|
+
query_params = opts[:query_params] || {}
|
|
1062
|
+
|
|
1063
|
+
# header parameters
|
|
1064
|
+
header_params = opts[:header_params] || {}
|
|
1065
|
+
# HTTP header 'Accept' (if needed)
|
|
1066
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1067
|
+
# HTTP header 'Content-Type'
|
|
1068
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1069
|
+
if !content_type.nil?
|
|
1070
|
+
header_params['Content-Type'] = content_type
|
|
1071
|
+
end
|
|
1072
|
+
|
|
1073
|
+
# form parameters
|
|
1074
|
+
form_params = opts[:form_params] || {}
|
|
1075
|
+
|
|
1076
|
+
# http body (model)
|
|
1077
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(status_pages_update_status_page_maintenance_payload_v2)
|
|
1078
|
+
|
|
1079
|
+
# return_type
|
|
1080
|
+
return_type = opts[:debug_return_type] || 'StatusPagesUpdateStatusPageMaintenanceResultV2'
|
|
1081
|
+
|
|
1082
|
+
# auth_names
|
|
1083
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth']
|
|
1084
|
+
|
|
1085
|
+
new_options = opts.merge(
|
|
1086
|
+
:operation => :"StatusPagesV2Api.status_pages_v2_update_status_page_maintenance",
|
|
1087
|
+
:header_params => header_params,
|
|
1088
|
+
:query_params => query_params,
|
|
1089
|
+
:form_params => form_params,
|
|
1090
|
+
:body => post_body,
|
|
1091
|
+
:auth_names => auth_names,
|
|
1092
|
+
:return_type => return_type
|
|
1093
|
+
)
|
|
1094
|
+
|
|
1095
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1096
|
+
if @api_client.config.debugging
|
|
1097
|
+
@api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_update_status_page_maintenance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1098
|
+
end
|
|
1099
|
+
return data, status_code, headers
|
|
1100
|
+
end
|
|
1101
|
+
end
|
|
1102
|
+
end
|