From 7ae3444d937087eb6c360484ea78c900fc2f033b Mon Sep 17 00:00:00 2001 From: Johanna Larsson Date: Tue, 22 Sep 2026 11:50:19 +0100 Subject: [PATCH 1/3] Require named arguments for classes and some other improvements --- .github/workflows/sync.yml | 107 +++++++++--- .github/workflows/test.yml | 15 +- .gitignore | 2 + Makefile | 26 ++- README.md | 35 ++-- incident_io/api/actions_v1/actions_v1_list.py | 25 ++- incident_io/api/actions_v1/actions_v1_show.py | 25 ++- .../api/actions_v2/actions_v2_create.py | 25 ++- .../api/actions_v2/actions_v2_delete.py | 25 ++- incident_io/api/actions_v2/actions_v2_list.py | 25 ++- incident_io/api/actions_v2/actions_v2_show.py | 25 ++- .../api/actions_v2/actions_v2_update.py | 25 ++- .../api/catalog_v2/catalog_v2_create_entry.py | 25 ++- .../api/catalog_v2/catalog_v2_create_type.py | 25 ++- .../catalog_v2/catalog_v2_destroy_entry.py | 25 ++- .../api/catalog_v2/catalog_v2_destroy_type.py | 25 ++- .../api/catalog_v2/catalog_v2_list_entries.py | 25 ++- .../catalog_v2/catalog_v2_list_resources.py | 25 ++- .../api/catalog_v2/catalog_v2_list_types.py | 25 ++- .../api/catalog_v2/catalog_v2_show_entry.py | 25 ++- .../api/catalog_v2/catalog_v2_show_type.py | 25 ++- .../api/catalog_v2/catalog_v2_update_entry.py | 25 ++- .../api/catalog_v2/catalog_v2_update_type.py | 25 ++- .../catalog_v2_update_type_schema.py | 25 ++- .../custom_fields_v1_create.py | 25 ++- .../custom_fields_v1_delete.py | 25 ++- .../custom_fields_v1/custom_fields_v1_list.py | 25 ++- .../custom_fields_v1/custom_fields_v1_show.py | 25 ++- .../custom_fields_v1_update.py | 25 ++- .../follow_ups_v2_connect_external_issue.py | 25 ++- .../api/follow_ups_v2/follow_ups_v2_create.py | 25 ++- .../api/follow_ups_v2/follow_ups_v2_delete.py | 25 ++- .../api/follow_ups_v2/follow_ups_v2_list.py | 25 ++- .../api/follow_ups_v2/follow_ups_v2_show.py | 25 ++- .../api/follow_ups_v2/follow_ups_v2_update.py | 25 ++- .../incident_roles_v1_create.py | 25 ++- .../incident_roles_v1_delete.py | 25 ++- .../incident_roles_v1_list.py | 25 ++- .../incident_roles_v1_show.py | 25 ++- .../incident_roles_v1_update.py | 25 ++- .../api/incidents_v1/incidents_v1_create.py | 25 ++- .../api/incidents_v1/incidents_v1_list.py | 25 ++- .../api/incidents_v1/incidents_v1_show.py | 25 ++- .../pay_reports_v2/pay_reports_v2_download.py | 2 +- incident_io/client.py | 37 +++- incident_io/models/action_v1.py | 2 +- incident_io/models/action_v2.py | 2 +- incident_io/models/action_v3.py | 2 +- .../models/actions_create_payload_v2.py | 2 +- .../models/actions_create_payload_v3.py | 2 +- .../models/actions_create_result_v2.py | 2 +- .../models/actions_create_result_v3.py | 2 +- incident_io/models/actions_list_result_v1.py | 2 +- incident_io/models/actions_list_result_v2.py | 2 +- incident_io/models/actions_list_result_v3.py | 2 +- incident_io/models/actions_show_result_v1.py | 2 +- incident_io/models/actions_show_result_v2.py | 2 +- incident_io/models/actions_show_result_v3.py | 2 +- .../models/actions_update_payload_v2.py | 2 +- .../models/actions_update_payload_v3.py | 2 +- .../models/actions_update_result_v2.py | 2 +- .../models/actions_update_result_v3.py | 2 +- .../models/actions_v3_list_created_at.py | 2 +- .../models/actions_v3_list_updated_at.py | 2 +- incident_io/models/activity_action_ref_v2.py | 2 +- .../models/activity_action_updated_v2.py | 2 +- incident_io/models/activity_alert_ref_v2.py | 2 +- .../activity_custom_field_value_update_v2.py | 2 +- .../activity_escalation_acknowledged_v2.py | 2 +- .../models/activity_escalation_created_v2.py | 2 +- .../models/activity_follow_up_ref_v2.py | 2 +- .../models/activity_follow_up_updated_v2.py | 2 +- .../models/activity_incident_merged_v2.py | 2 +- .../models/activity_incident_rename_v2.py | 2 +- .../activity_incident_timestamp_set_v2.py | 2 +- .../activity_incident_type_changed_v2.py | 2 +- .../models/activity_incident_update_v2.py | 2 +- ...activity_incident_visibility_changed_v2.py | 2 +- incident_io/models/activity_role_update_v2.py | 2 +- .../models/activity_status_change_v2.py | 2 +- .../models/activity_summary_update_v2.py | 2 +- .../models/activity_workflow_ran_v2.py | 2 +- incident_io/models/actor_v1.py | 2 +- incident_io/models/actor_v2.py | 2 +- .../models/after_pagination_meta_result_v2.py | 2 +- incident_io/models/alert_actor_v2.py | 2 +- .../alert_attribute_catalog_entry_v2.py | 2 +- .../models/alert_attribute_entry_v2.py | 2 +- incident_io/models/alert_attribute_v2.py | 2 +- .../models/alert_attribute_value_v2.py | 2 +- .../alert_attributes_create_payload_v2.py | 2 +- .../alert_attributes_create_result_v2.py | 2 +- .../models/alert_attributes_list_result_v2.py | 2 +- .../models/alert_attributes_show_result_v2.py | 2 +- .../alert_attributes_update_payload_v2.py | 2 +- .../alert_attributes_update_result_v2.py | 2 +- .../alert_events_create_http_payload_v2.py | 2 +- ..._events_create_http_payload_v2_metadata.py | 2 +- .../alert_events_create_http_result_v2.py | 2 +- .../alert_events_v2_create_http_query.py | 2 +- .../models/alert_grouping_config_v3.py | 2 +- .../models/alert_message_config_payload_v3.py | 2 +- incident_io/models/alert_message_config_v3.py | 2 +- .../alert_message_destination_payload_v3.py | 2 +- .../models/alert_message_destination_v3.py | 2 +- incident_io/models/alert_note_v1.py | 2 +- .../models/alert_notes_create_payload_v1.py | 2 +- .../models/alert_notes_create_result_v1.py | 2 +- .../models/alert_notes_list_result_v1.py | 2 +- .../models/alert_notes_show_result_v1.py | 2 +- .../models/alert_notes_update_payload_v1.py | 2 +- .../models/alert_notes_update_result_v1.py | 2 +- .../alert_route_alert_source_payload_v2.py | 2 +- .../alert_route_alert_source_payload_v3.py | 2 +- .../models/alert_route_alert_source_v2.py | 2 +- .../models/alert_route_alert_source_v3.py | 2 +- ...o_generated_template_binding_payload_v2.py | 2 +- ...o_generated_template_binding_payload_v3.py | 2 +- ...oute_auto_generated_template_binding_v2.py | 2 +- ...oute_auto_generated_template_binding_v3.py | 2 +- .../alert_route_channel_config_payload_v2.py | 2 +- .../models/alert_route_channel_config_v2.py | 2 +- .../alert_route_channel_target_payload_v2.py | 2 +- .../alert_route_channel_target_payload_v3.py | 2 +- .../models/alert_route_channel_target_v2.py | 2 +- .../models/alert_route_channel_target_v3.py | 2 +- ...t_route_custom_field_binding_payload_v2.py | 2 +- ...t_route_custom_field_binding_payload_v3.py | 2 +- .../alert_route_custom_field_binding_v2.py | 2 +- .../alert_route_custom_field_binding_v3.py | 2 +- ...lert_route_escalation_config_payload_v2.py | 2 +- ...lert_route_escalation_config_payload_v3.py | 2 +- .../alert_route_escalation_config_v2.py | 2 +- .../alert_route_escalation_config_v3.py | 2 +- ...lert_route_escalation_target_payload_v2.py | 2 +- ...lert_route_escalation_target_payload_v3.py | 2 +- .../alert_route_escalation_target_v2.py | 2 +- .../alert_route_escalation_target_v3.py | 2 +- .../alert_route_incident_config_payload_v2.py | 2 +- .../alert_route_incident_config_payload_v3.py | 2 +- .../models/alert_route_incident_config_v2.py | 2 +- .../models/alert_route_incident_config_v3.py | 2 +- ...lert_route_incident_template_payload_v2.py | 2 +- ...lert_route_incident_template_payload_v3.py | 2 +- .../alert_route_incident_template_v2.py | 2 +- .../alert_route_incident_template_v3.py | 2 +- ...alert_route_severity_binding_payload_v2.py | 2 +- ...alert_route_severity_binding_payload_v3.py | 2 +- .../models/alert_route_severity_binding_v2.py | 2 +- .../models/alert_route_severity_binding_v3.py | 2 +- incident_io/models/alert_route_slim_v2.py | 2 +- incident_io/models/alert_route_slim_v3.py | 2 +- ...alert_route_template_binding_payload_v2.py | 2 +- ...alert_route_template_binding_payload_v3.py | 2 +- .../models/alert_route_template_binding_v2.py | 2 +- .../models/alert_route_template_binding_v3.py | 2 +- incident_io/models/alert_route_v2.py | 2 +- incident_io/models/alert_route_v3.py | 2 +- ...route_when_alert_joins_group_payload_v3.py | 2 +- .../alert_route_when_alert_joins_group_v3.py | 2 +- .../models/alert_routes_create_payload_v2.py | 2 +- .../models/alert_routes_create_payload_v3.py | 2 +- .../models/alert_routes_create_result_v2.py | 2 +- .../models/alert_routes_create_result_v3.py | 2 +- .../models/alert_routes_list_result_v2.py | 2 +- .../models/alert_routes_list_result_v3.py | 2 +- .../models/alert_routes_show_result_v2.py | 2 +- .../models/alert_routes_show_result_v3.py | 2 +- .../models/alert_routes_update_payload_v2.py | 2 +- .../models/alert_routes_update_payload_v3.py | 2 +- .../models/alert_routes_update_result_v2.py | 2 +- .../models/alert_routes_update_result_v3.py | 2 +- incident_io/models/alert_slim_v2.py | 2 +- .../alert_source_azure_devops_options_v2.py | 2 +- .../alert_source_email_options_payload_v2.py | 2 +- .../models/alert_source_email_options_v2.py | 2 +- ...ert_source_heartbeat_options_payload_v2.py | 2 +- .../alert_source_heartbeat_options_v2.py | 2 +- .../alert_source_http_custom_options_v2.py | 2 +- .../models/alert_source_jira_options_v2.py | 2 +- .../alert_source_rate_limit_sharding_v2.py | 2 +- incident_io/models/alert_source_v2.py | 2 +- .../models/alert_sources_create_payload_v2.py | 2 +- .../models/alert_sources_create_result_v2.py | 2 +- .../models/alert_sources_list_result_v2.py | 2 +- .../models/alert_sources_show_result_v2.py | 2 +- .../models/alert_sources_update_payload_v2.py | 2 +- .../models/alert_sources_update_result_v2.py | 2 +- .../alert_sources_validate_payload_v2.py | 2 +- incident_io/models/alert_tag_v2.py | 2 +- ...t_template_attribute_binding_payload_v2.py | 2 +- .../alert_template_attribute_binding_v2.py | 2 +- .../alert_template_attribute_payload_v2.py | 2 +- .../models/alert_template_attribute_v2.py | 2 +- .../models/alert_template_payload_v2.py | 2 +- incident_io/models/alert_template_v2.py | 2 +- incident_io/models/alert_v2.py | 2 +- .../models/alerts_add_tags_payload_v2.py | 2 +- .../models/alerts_add_tags_result_v2.py | 2 +- ...alerts_create_incident_alert_payload_v2.py | 2 +- .../alerts_create_incident_alert_result_v2.py | 2 +- .../alerts_list_alert_tags_result_v2.py | 2 +- .../alerts_list_incident_alerts_result_v2.py | 2 +- incident_io/models/alerts_list_result_v2.py | 2 +- .../models/alerts_remove_tags_payload_v2.py | 2 +- .../models/alerts_remove_tags_result_v2.py | 2 +- .../models/alerts_resolve_result_v2.py | 2 +- .../models/alerts_set_tags_payload_v2.py | 2 +- .../models/alerts_set_tags_result_v2.py | 2 +- incident_io/models/alerts_show_result_v2.py | 2 +- ...ts_transition_incident_alert_payload_v2.py | 2 +- ...rts_transition_incident_alert_result_v2.py | 2 +- .../models/alerts_v2_list_alert_group_id.py | 2 +- .../models/alerts_v2_list_alert_source.py | 2 +- .../models/alerts_v2_list_attributes.py | 2 +- ..._v2_list_attributes_additional_property.py | 2 +- .../models/alerts_v2_list_created_at.py | 2 +- .../alerts_v2_list_deduplication_key.py | 2 +- .../models/alerts_v2_list_has_notes.py | 2 +- ...erts_v2_list_include_maintenance_window.py | 2 +- incident_io/models/alerts_v2_list_status.py | 2 +- incident_io/models/alerts_v2_list_tags.py | 2 +- .../models/alerts_v2_list_updated_at.py | 2 +- incident_io/models/api_key_actor_v1.py | 2 +- incident_io/models/api_key_actor_v2.py | 2 +- incident_io/models/api_key_role_v1.py | 2 +- incident_io/models/api_key_team_role_v1.py | 2 +- incident_io/models/api_key_v1.py | 2 +- .../models/api_keys_create_payload_v1.py | 2 +- .../models/api_keys_create_result_v1.py | 2 +- incident_io/models/api_keys_list_result_v1.py | 2 +- .../models/api_keys_rotate_payload_v1.py | 2 +- .../models/api_keys_rotate_result_v1.py | 2 +- incident_io/models/api_keys_show_result_v1.py | 2 +- .../models/api_keys_update_payload_v1.py | 2 +- .../models/api_keys_update_result_v1.py | 2 +- .../models/audit_log_actor_metadata_v2.py | 2 +- incident_io/models/audit_log_actor_v2.py | 2 +- ..._post_template_owning_teams_metadata_v2.py | 2 +- ...audit_log_announcement_rule_metadata_v2.py | 2 +- ...g_catalog_attribute_updated_metadata_v2.py | 2 +- ...catalog_attribute_updated_metadata_v2v2.py | 2 +- ...l_otp_login_setting_updated_metadata_v2.py | 2 +- .../models/audit_log_entry_context_v2.py | 2 +- ..._extension_connector_called_metadata_v2.py | 2 +- ...xtension_connector_called_metadata_v2v2.py | 2 +- ...xtension_connector_called_metadata_v3v2.py | 2 +- ...ris_time_off_policy_updated_metadata_v2.py | 2 +- ...incident_type_default_teams_metadata_v2.py | 2 +- ...it_log_ip_allowlist_updated_metadata_v2.py | 2 +- ...crosoft_entra_tenant_linked_metadata_v2.py | 2 +- ...une_enabled_setting_updated_metadata_v2.py | 2 +- ...on_call_notification_method_metadata_v2.py | 2 +- ...og_on_call_upsell_requested_metadata_v2.py | 2 +- ...ganisation_settings_updated_metadata_v2.py | 2 +- .../models/audit_log_policy_metadata_v2.py | 2 +- ...vate_alert_access_attempted_metadata_v2.py | 2 +- ...escalation_access_attempted_metadata_v2.py | 2 +- ...e_incident_access_attempted_metadata_v2.py | 2 +- ...incident_access_attempted_metadata_v2v2.py | 2 +- ...g_private_insights_exported_metadata_v2.py | 2 +- ...te_insights_measure_queried_metadata_v2.py | 2 +- ...hts_underlying_data_queried_metadata_v2.py | 2 +- ...obile_login_setting_updated_metadata_v2.py | 2 +- ...audit_log_schedule_override_metadata_v2.py | 2 +- ..._group_seat_mapping_changed_metadata_v2.py | 2 +- incident_io/models/audit_log_target_v2.py | 2 +- ..._source_access_mode_changed_metadata_v2.py | 2 +- ...ource_access_policy_changed_metadata_v2.py | 2 +- ...lemetry_data_source_queried_metadata_v2.py | 2 +- ...metry_data_source_queried_metadata_v2v2.py | 2 +- ...metry_data_source_requested_metadata_v2.py | 2 +- ..._source_tool_access_changed_metadata_v2.py | 2 +- ...urce_tool_overrides_changed_metadata_v2.py | 2 +- ...ry_data_source_write_access_metadata_v2.py | 2 +- .../audit_log_user_logged_in_metadata_v2.py | 2 +- ...ser_role_membership_changed_metadata_v2.py | 2 +- ..._scim_group_mapping_changed_metadata_v2.py | 2 +- .../audit_logs_activity_log_scrubbed_v1.py | 2 +- ..._alert_chat_message_template_created_v1.py | 2 +- ..._alert_chat_message_template_deleted_v1.py | 2 +- ..._alert_chat_message_template_updated_v1.py | 2 +- .../audit_logs_alert_priority_created_v1.py | 2 +- .../audit_logs_alert_priority_deleted_v1.py | 2 +- ...t_logs_alert_priority_set_as_default_v1.py | 2 +- .../audit_logs_alert_priority_updated_v1.py | 2 +- .../audit_logs_alert_route_created_v1.py | 2 +- .../audit_logs_alert_route_deleted_v1.py | 2 +- .../audit_logs_alert_route_updated_v1.py | 2 +- .../audit_logs_alert_schema_updated_v1.py | 2 +- .../models/audit_logs_alert_scrubbed_v1.py | 2 +- ...dit_logs_alert_source_config_created_v1.py | 2 +- ...dit_logs_alert_source_config_deleted_v1.py | 2 +- ...dit_logs_alert_source_config_updated_v1.py | 2 +- ...s_announcement_post_template_created_v1.py | 2 +- ...s_announcement_post_template_created_v2.py | 2 +- ...s_announcement_post_template_deleted_v1.py | 2 +- ...ncement_post_template_set_as_default_v1.py | 2 +- ...s_announcement_post_template_updated_v1.py | 2 +- ...s_announcement_post_template_updated_v2.py | 2 +- ...audit_logs_announcement_rule_created_v1.py | 2 +- ...audit_logs_announcement_rule_created_v2.py | 2 +- ...audit_logs_announcement_rule_deleted_v1.py | 2 +- ...audit_logs_announcement_rule_updated_v1.py | 2 +- ...audit_logs_announcement_rule_updated_v2.py | 2 +- .../models/audit_logs_api_key_created_v1.py | 2 +- .../models/audit_logs_api_key_deleted_v1.py | 2 +- .../models/audit_logs_api_key_rotated_v1.py | 2 +- .../models/audit_logs_api_key_updated_v1.py | 2 +- ...logs_catalog_entry_attribute_updated_v1.py | 2 +- ...logs_catalog_entry_attribute_updated_v2.py | 2 +- .../audit_logs_catalog_type_created_v1.py | 2 +- .../audit_logs_catalog_type_deleted_v1.py | 2 +- .../audit_logs_catalog_type_updated_v1.py | 2 +- .../audit_logs_connector_config_created_v1.py | 2 +- ...ogs_connector_config_token_generated_v1.py | 2 +- .../audit_logs_connector_config_updated_v1.py | 2 +- .../audit_logs_custom_field_created_v1.py | 2 +- .../audit_logs_custom_field_deleted_v1.py | 2 +- .../audit_logs_custom_field_updated_v1.py | 2 +- ...dit_logs_debrief_invite_rule_created_v1.py | 2 +- ...dit_logs_debrief_invite_rule_deleted_v1.py | 2 +- ...dit_logs_debrief_invite_rule_updated_v1.py | 2 +- ...logs_email_otp_login_setting_updated_v1.py | 2 +- .../audit_logs_escalation_path_created_v1.py | 2 +- .../audit_logs_escalation_path_deleted_v1.py | 2 +- ...ogs_escalation_path_template_created_v1.py | 2 +- ...ogs_escalation_path_template_deleted_v1.py | 2 +- ...ogs_escalation_path_template_updated_v1.py | 2 +- .../audit_logs_escalation_path_updated_v1.py | 2 +- .../audit_logs_escalation_scrubbed_v1.py | 2 +- ...udit_logs_extension_connector_called_v1.py | 2 +- ...udit_logs_extension_connector_called_v2.py | 2 +- ...udit_logs_extension_connector_called_v3.py | 2 +- ...udit_logs_follow_up_category_created_v1.py | 2 +- ...udit_logs_follow_up_category_deleted_v1.py | 2 +- ...udit_logs_follow_up_category_updated_v1.py | 2 +- ...udit_logs_follow_up_priority_created_v1.py | 2 +- ...udit_logs_follow_up_priority_deleted_v1.py | 2 +- ...udit_logs_follow_up_priority_updated_v1.py | 2 +- ...audit_logs_holiday_user_feed_created_v1.py | 2 +- ...audit_logs_holiday_user_feed_deleted_v1.py | 2 +- ...audit_logs_holiday_user_feed_updated_v1.py | 2 +- ...it_logs_hris_time_off_policy_updated_v1.py | 2 +- ...t_logs_incident_call_setting_updated_v1.py | 2 +- ...t_call_transcription_session_deleted_v1.py | 2 +- ...ogs_incident_duration_metric_created_v1.py | 2 +- ...ogs_incident_duration_metric_deleted_v1.py | 2 +- ...ogs_incident_duration_metric_updated_v1.py | 2 +- .../audit_logs_incident_role_created_v1.py | 2 +- .../audit_logs_incident_role_deleted_v1.py | 2 +- .../audit_logs_incident_role_updated_v1.py | 2 +- .../audit_logs_incident_status_created_v1.py | 2 +- .../audit_logs_incident_status_deleted_v1.py | 2 +- .../audit_logs_incident_status_updated_v1.py | 2 +- ...audit_logs_incident_template_created_v1.py | 2 +- ...audit_logs_incident_template_deleted_v1.py | 2 +- ...ogs_incident_template_set_as_default_v1.py | 2 +- ...audit_logs_incident_template_updated_v1.py | 2 +- ...udit_logs_incident_timestamp_created_v1.py | 2 +- ...udit_logs_incident_timestamp_deleted_v1.py | 2 +- ...cident_timestamp_set_by_rule_created_v1.py | 2 +- ...cident_timestamp_set_by_rule_deleted_v1.py | 2 +- ...cident_timestamp_set_by_rule_updated_v1.py | 2 +- ...udit_logs_incident_timestamp_updated_v1.py | 2 +- .../audit_logs_incident_type_created_v1.py | 2 +- .../audit_logs_incident_type_created_v2.py | 2 +- .../audit_logs_incident_type_deleted_v1.py | 2 +- .../audit_logs_incident_type_updated_v1.py | 2 +- .../audit_logs_incident_type_updated_v2.py | 2 +- .../audit_logs_integration_installed_v1.py | 2 +- .../audit_logs_integration_uninstalled_v1.py | 2 +- ...it_logs_internal_status_page_created_v1.py | 2 +- ...it_logs_internal_status_page_deleted_v1.py | 2 +- ...it_logs_internal_status_page_updated_v1.py | 2 +- .../audit_logs_ip_allowlist_updated_v1.py | 2 +- ...udit_logs_maintenance_window_created_v1.py | 2 +- ...udit_logs_maintenance_window_deleted_v1.py | 2 +- ...udit_logs_maintenance_window_updated_v1.py | 2 +- ...t_logs_microsoft_entra_tenant_linked_v1.py | 2 +- ...obile_intune_enabled_setting_updated_v1.py | 2 +- .../models/audit_logs_nudge_created_v1.py | 2 +- .../models/audit_logs_nudge_deleted_v1.py | 2 +- .../models/audit_logs_nudge_updated_v1.py | 2 +- ..._on_call_notification_method_created_v1.py | 2 +- ..._on_call_notification_method_created_v2.py | 2 +- ...n_call_notification_method_destroyed_v1.py | 2 +- ...n_call_notification_method_destroyed_v2.py | 2 +- .../audit_logs_on_call_upsell_requested_v1.py | 2 +- ...t_logs_organisation_settings_updated_v1.py | 2 +- .../models/audit_logs_policy_created_v1.py | 2 +- .../models/audit_logs_policy_created_v2.py | 2 +- .../models/audit_logs_policy_deleted_v1.py | 2 +- ..._logs_policy_report_schedule_created_v1.py | 2 +- ..._logs_policy_report_schedule_deleted_v1.py | 2 +- ..._logs_policy_report_schedule_updated_v1.py | 2 +- .../models/audit_logs_policy_updated_v1.py | 2 +- .../models/audit_logs_policy_updated_v2.py | 2 +- ...udit_logs_post_incident_task_created_v1.py | 2 +- ...udit_logs_post_incident_task_deleted_v1.py | 2 +- ...udit_logs_post_incident_task_updated_v1.py | 2 +- ...udit_logs_postmortem_section_created_v1.py | 2 +- ...udit_logs_postmortem_section_created_v2.py | 2 +- ...udit_logs_postmortem_section_deleted_v1.py | 2 +- ...udit_logs_postmortem_section_deleted_v2.py | 2 +- ...udit_logs_postmortem_section_updated_v1.py | 2 +- ...udit_logs_postmortem_section_updated_v2.py | 2 +- ...dit_logs_postmortem_template_created_v1.py | 2 +- ...dit_logs_postmortem_template_created_v2.py | 2 +- ...dit_logs_postmortem_template_deleted_v1.py | 2 +- ...dit_logs_postmortem_template_deleted_v2.py | 2 +- ...dit_logs_postmortem_template_updated_v1.py | 2 +- ...dit_logs_postmortem_template_updated_v2.py | 2 +- ..._logs_private_alert_access_attempted_v1.py | 2 +- ..._private_escalation_access_attempted_v1.py | 2 +- ...gs_private_incident_access_attempted_v1.py | 2 +- ...gs_private_incident_access_attempted_v2.py | 2 +- ...gs_private_incident_access_requested_v1.py | 2 +- ...gs_private_incident_accessed_via_bot_v1.py | 2 +- ..._private_incident_membership_granted_v1.py | 2 +- ..._private_incident_membership_revoked_v1.py | 2 +- ...cident_membership_upgraded_to_direct_v1.py | 2 +- ...ate_incident_team_membership_granted_v1.py | 2 +- ...ate_incident_team_membership_revoked_v1.py | 2 +- ...audit_logs_private_insights_exported_v1.py | 2 +- ...ogs_private_insights_measure_queried_v1.py | 2 +- ...ate_insights_underlying_data_queried_v1.py | 2 +- ...qr_code_mobile_login_setting_updated_v1.py | 2 +- .../models/audit_logs_rbac_role_created_v1.py | 2 +- .../models/audit_logs_rbac_role_deleted_v1.py | 2 +- .../models/audit_logs_rbac_role_updated_v1.py | 2 +- .../models/audit_logs_schedule_created_v1.py | 2 +- .../models/audit_logs_schedule_deleted_v1.py | 2 +- ...audit_logs_schedule_override_created_v1.py | 2 +- ...audit_logs_schedule_override_created_v2.py | 2 +- ...audit_logs_schedule_override_deleted_v1.py | 2 +- ...audit_logs_schedule_override_deleted_v2.py | 2 +- ...audit_logs_schedule_override_updated_v1.py | 2 +- ...audit_logs_schedule_override_updated_v2.py | 2 +- ...udit_logs_schedule_sync_rule_created_v1.py | 2 +- ...udit_logs_schedule_sync_rule_deleted_v1.py | 2 +- ...udit_logs_schedule_sync_rule_updated_v1.py | 2 +- ...it_logs_schedule_sync_target_created_v1.py | 2 +- ...it_logs_schedule_sync_target_deleted_v1.py | 2 +- ...it_logs_schedule_sync_target_updated_v1.py | 2 +- .../models/audit_logs_schedule_updated_v1.py | 2 +- ...ogs_scim_group_role_mappings_updated_v1.py | 2 +- ...ogs_scim_group_seat_mappings_updated_v1.py | 2 +- .../models/audit_logs_secret_created_v1.py | 2 +- .../models/audit_logs_secret_deleted_v1.py | 2 +- .../audit_logs_secret_reference_added_v1.py | 2 +- .../audit_logs_secret_reference_removed_v1.py | 2 +- .../models/audit_logs_secret_rotated_v1.py | 2 +- .../models/audit_logs_secret_updated_v1.py | 2 +- .../models/audit_logs_severity_created_v1.py | 2 +- .../models/audit_logs_severity_deleted_v1.py | 2 +- .../models/audit_logs_severity_updated_v1.py | 2 +- .../audit_logs_status_page_created_v1.py | 2 +- .../audit_logs_status_page_deleted_v1.py | 2 +- ...it_logs_status_page_sub_page_created_v1.py | 2 +- ...it_logs_status_page_sub_page_deleted_v1.py | 2 +- ...it_logs_status_page_sub_page_updated_v1.py | 2 +- ...it_logs_status_page_template_created_v1.py | 2 +- ...it_logs_status_page_template_deleted_v1.py | 2 +- ...it_logs_status_page_template_updated_v1.py | 2 +- .../audit_logs_status_page_updated_v1.py | 2 +- .../models/audit_logs_team_role_created_v1.py | 2 +- .../models/audit_logs_team_role_deleted_v1.py | 2 +- .../models/audit_logs_team_role_updated_v1.py | 2 +- .../audit_logs_team_settings_updated_v1.py | 2 +- ...etry_data_source_access_mode_changed_v1.py | 2 +- ...ry_data_source_access_policy_changed_v1.py | 2 +- ...logs_telemetry_data_source_installed_v1.py | 2 +- ...t_logs_telemetry_data_source_queried_v1.py | 2 +- ...t_logs_telemetry_data_source_queried_v2.py | 2 +- ...logs_telemetry_data_source_requested_v1.py | 2 +- ...etry_data_source_tool_access_changed_v1.py | 2 +- ...y_data_source_tool_overrides_changed_v1.py | 2 +- ...gs_telemetry_data_source_uninstalled_v1.py | 2 +- ...try_data_source_write_access_granted_v1.py | 2 +- ...try_data_source_write_access_revoked_v1.py | 2 +- .../audit_logs_timeline_item_deleted_v1.py | 2 +- .../models/audit_logs_user_created_v1.py | 2 +- .../models/audit_logs_user_deactivated_v1.py | 2 +- .../models/audit_logs_user_logged_in_v1.py | 2 +- .../models/audit_logs_user_reinstated_v1.py | 2 +- ...t_logs_user_role_memberships_updated_v1.py | 2 +- .../models/audit_logs_user_updated_v1.py | 2 +- .../models/audit_logs_workflow_created_v1.py | 2 +- .../models/audit_logs_workflow_deleted_v1.py | 2 +- .../models/audit_logs_workflow_updated_v1.py | 2 +- .../models/call_route_allowed_caller_v2.py | 2 +- incident_io/models/call_route_option_v2.py | 2 +- .../models/call_route_path_node_level_v2.py | 2 +- .../models/call_route_path_node_payload_v2.py | 2 +- incident_io/models/call_route_path_node_v2.py | 2 +- .../call_route_path_node_voicemail_v2.py | 2 +- incident_io/models/call_route_target_v2.py | 2 +- incident_io/models/call_route_v2.py | 2 +- ...routes_create_allowed_caller_payload_v2.py | 2 +- ..._routes_create_allowed_caller_result_v2.py | 2 +- .../call_routes_create_option_payload_v2.py | 2 +- .../call_routes_create_option_result_v2.py | 2 +- ...l_routes_list_allowed_callers_result_v2.py | 2 +- .../call_routes_list_options_result_v2.py | 2 +- .../models/call_routes_list_result_v2.py | 2 +- ...ll_routes_show_allowed_caller_result_v2.py | 2 +- .../call_routes_show_option_result_v2.py | 2 +- .../models/call_routes_show_result_v2.py | 2 +- ...routes_update_allowed_caller_payload_v2.py | 2 +- ..._routes_update_allowed_caller_result_v2.py | 2 +- .../call_routes_update_option_payload_v2.py | 2 +- .../call_routes_update_option_result_v2.py | 2 +- .../models/call_routes_update_payload_v2.py | 2 +- .../models/call_routes_update_result_v2.py | 2 +- incident_io/models/call_session_v2.py | 2 +- .../models/call_sessions_list_result_v2.py | 2 +- .../call_transcript_entries_list_result_v2.py | 2 +- .../models/call_transcript_entry_v2.py | 2 +- .../catalog_bulk_update_entries_payload_v3.py | 2 +- .../models/catalog_create_entry_payload_v2.py | 2 +- ...reate_entry_payload_v2_attribute_values.py | 2 +- .../models/catalog_create_entry_payload_v3.py | 2 +- ...reate_entry_payload_v3_attribute_values.py | 2 +- .../models/catalog_create_entry_result_v2.py | 2 +- .../models/catalog_create_entry_result_v3.py | 2 +- .../models/catalog_create_type_payload_v2.py | 2 +- ...alog_create_type_payload_v2_annotations.py | 2 +- .../models/catalog_create_type_payload_v3.py | 2 +- ...alog_create_type_payload_v3_annotations.py | 2 +- .../models/catalog_create_type_result_v2.py | 2 +- .../models/catalog_create_type_result_v3.py | 2 +- ...catalog_engine_param_binding_payload_v3.py | 2 +- ...g_engine_param_binding_value_payload_v3.py | 2 +- .../catalog_entry_engine_param_binding_v2.py | 2 +- .../catalog_entry_engine_param_binding_v3.py | 2 +- ...log_entry_engine_param_binding_value_v2.py | 2 +- ...log_entry_engine_param_binding_value_v3.py | 2 +- .../models/catalog_entry_reference_v2.py | 2 +- incident_io/models/catalog_entry_slim_v3v3.py | 2 +- incident_io/models/catalog_entry_v2.py | 2 +- .../catalog_entry_v2_attribute_values.py | 2 +- incident_io/models/catalog_entry_v3.py | 2 +- .../catalog_entry_v3_attribute_values.py | 2 +- .../models/catalog_list_entries_result_v2.py | 2 +- .../models/catalog_list_entries_result_v3.py | 2 +- .../catalog_list_resources_result_v2.py | 2 +- .../catalog_list_resources_result_v3.py | 2 +- .../models/catalog_list_types_result_v2.py | 2 +- .../models/catalog_list_types_result_v3.py | 2 +- incident_io/models/catalog_resource_v2.py | 2 +- incident_io/models/catalog_resource_v3.py | 2 +- .../models/catalog_show_entry_result_v2.py | 2 +- .../models/catalog_show_entry_result_v3.py | 2 +- .../models/catalog_show_type_result_v2.py | 2 +- .../models/catalog_show_type_result_v3.py | 2 +- ...log_type_attribute_path_item_payload_v2.py | 2 +- ...log_type_attribute_path_item_payload_v3.py | 2 +- .../catalog_type_attribute_path_item_v2.py | 2 +- .../catalog_type_attribute_path_item_v3.py | 2 +- .../catalog_type_attribute_payload_v2.py | 2 +- .../catalog_type_attribute_payload_v3.py | 2 +- .../models/catalog_type_attribute_v2.py | 2 +- .../models/catalog_type_attribute_v3.py | 2 +- incident_io/models/catalog_type_schema_v2.py | 2 +- incident_io/models/catalog_type_schema_v3.py | 2 +- incident_io/models/catalog_type_v2.py | 2 +- .../models/catalog_type_v2_annotations.py | 2 +- incident_io/models/catalog_type_v3.py | 2 +- .../models/catalog_type_v3_annotations.py | 2 +- .../models/catalog_update_entry_payload_v2.py | 2 +- ...pdate_entry_payload_v2_attribute_values.py | 2 +- .../models/catalog_update_entry_payload_v3.py | 2 +- ...pdate_entry_payload_v3_attribute_values.py | 2 +- .../models/catalog_update_entry_result_v2.py | 2 +- .../models/catalog_update_entry_result_v3.py | 2 +- .../models/catalog_update_type_payload_v2.py | 2 +- ...alog_update_type_payload_v2_annotations.py | 2 +- .../models/catalog_update_type_payload_v3.py | 2 +- ...alog_update_type_payload_v3_annotations.py | 2 +- .../models/catalog_update_type_result_v2.py | 2 +- .../models/catalog_update_type_result_v3.py | 2 +- .../catalog_update_type_schema_payload_v2.py | 2 +- .../catalog_update_type_schema_payload_v3.py | 2 +- .../catalog_update_type_schema_result_v2.py | 2 +- .../catalog_update_type_schema_result_v3.py | 2 +- incident_io/models/chat_channel_slim_v2.py | 2 +- .../models/condition_group_payload_v2.py | 2 +- .../models/condition_group_payload_v3.py | 2 +- incident_io/models/condition_group_v2.py | 2 +- incident_io/models/condition_group_v3.py | 2 +- incident_io/models/condition_operation_v2.py | 2 +- incident_io/models/condition_operation_v3.py | 2 +- incident_io/models/condition_payload_v2.py | 2 +- incident_io/models/condition_payload_v3.py | 2 +- incident_io/models/condition_subject_v2.py | 2 +- incident_io/models/condition_subject_v3.py | 2 +- incident_io/models/condition_v2.py | 2 +- incident_io/models/condition_v3.py | 2 +- .../models/custom_field_entry_payload_v1.py | 2 +- .../models/custom_field_entry_payload_v2.py | 2 +- incident_io/models/custom_field_entry_v1.py | 2 +- incident_io/models/custom_field_entry_v2.py | 2 +- .../custom_field_filter_by_options_v2.py | 2 +- .../custom_field_fixed_filter_options_v2.py | 2 +- incident_io/models/custom_field_option_v1.py | 2 +- incident_io/models/custom_field_option_v2.py | 2 +- .../custom_field_options_create_payload_v1.py | 2 +- .../custom_field_options_create_result_v1.py | 2 +- .../custom_field_options_list_result_v1.py | 2 +- .../custom_field_options_show_result_v1.py | 2 +- .../custom_field_options_update_payload_v1.py | 2 +- .../custom_field_options_update_result_v1.py | 2 +- .../models/custom_field_type_info_v1.py | 2 +- .../models/custom_field_type_info_v2.py | 2 +- incident_io/models/custom_field_v1.py | 2 +- incident_io/models/custom_field_v2.py | 2 +- .../models/custom_field_value_payload_v1.py | 2 +- .../models/custom_field_value_payload_v2.py | 2 +- incident_io/models/custom_field_value_v1.py | 2 +- incident_io/models/custom_field_value_v2.py | 2 +- .../models/custom_fields_create_payload_v1.py | 2 +- .../models/custom_fields_create_payload_v2.py | 2 +- .../models/custom_fields_create_result_v1.py | 2 +- .../models/custom_fields_create_result_v2.py | 2 +- .../models/custom_fields_list_result_v1.py | 2 +- .../models/custom_fields_list_result_v2.py | 2 +- .../models/custom_fields_show_result_v1.py | 2 +- .../models/custom_fields_show_result_v2.py | 2 +- .../models/custom_fields_update_payload_v1.py | 2 +- .../models/custom_fields_update_payload_v2.py | 2 +- .../models/custom_fields_update_result_v1.py | 2 +- .../models/custom_fields_update_result_v2.py | 2 +- .../models/embedded_catalog_entry_v1.py | 2 +- .../models/embedded_catalog_entry_v2.py | 2 +- .../models/embedded_incident_role_v2.py | 2 +- .../models/engine_param_binding_payload_v2.py | 2 +- .../models/engine_param_binding_payload_v3.py | 2 +- incident_io/models/engine_param_binding_v2.py | 2 +- incident_io/models/engine_param_binding_v3.py | 2 +- .../engine_param_binding_value_payload_v2.py | 2 +- .../engine_param_binding_value_payload_v3.py | 2 +- .../models/engine_param_binding_value_v2.py | 2 +- .../models/engine_param_binding_value_v3.py | 2 +- incident_io/models/engine_param_v2.py | 2 +- incident_io/models/engine_reference_v2.py | 2 +- incident_io/models/error_debug.py | 2 +- incident_io/models/error_rate_limit.py | 2 +- incident_io/models/error_response.py | 2 +- incident_io/models/error_single.py | 2 +- incident_io/models/error_single_metadata.py | 2 +- incident_io/models/error_source.py | 2 +- incident_io/models/escalation_creator_v2.py | 2 +- incident_io/models/escalation_event_v2.py | 2 +- .../models/escalation_path_node_delay_v2.py | 2 +- ...escalation_path_node_escalation_path_v2.py | 2 +- ...escalation_path_node_if_else_payload_v2.py | 2 +- .../models/escalation_path_node_if_else_v2.py | 2 +- .../models/escalation_path_node_level_v2.py | 2 +- ...path_node_level_with_binding_payload_v2.py | 2 +- ...alation_path_node_level_with_binding_v2.py | 2 +- .../escalation_path_node_notify_channel_v2.py | 2 +- ..._notify_channel_with_binding_payload_v2.py | 2 +- ...ath_node_notify_channel_with_binding_v2.py | 2 +- .../models/escalation_path_node_payload_v2.py | 2 +- .../models/escalation_path_node_repeat_v2.py | 2 +- incident_io/models/escalation_path_node_v2.py | 2 +- .../escalation_path_repeat_config_v2.py | 2 +- .../models/escalation_path_retry_config_v2.py | 2 +- .../escalation_path_round_robin_config_v2.py | 2 +- .../models/escalation_path_target_v2.py | 2 +- ...ion_path_target_with_binding_payload_v2.py | 2 +- .../escalation_path_target_with_binding_v2.py | 2 +- ...n_path_template_node_if_else_payload_v2.py | 2 +- ...scalation_path_template_node_if_else_v2.py | 2 +- ...scalation_path_template_node_payload_v2.py | 2 +- .../escalation_path_template_node_v2.py | 2 +- .../models/escalation_path_template_v2.py | 2 +- ...lation_path_templates_create_payload_v2.py | 2 +- ...alation_path_templates_create_result_v2.py | 2 +- ...scalation_path_templates_list_result_v2.py | 2 +- ...scalation_path_templates_show_result_v2.py | 2 +- ...lation_path_templates_update_payload_v2.py | 2 +- ...alation_path_templates_update_result_v2.py | 2 +- incident_io/models/escalation_path_v2.py | 2 +- .../escalation_path_v2_param_bindings.py | 2 +- incident_io/models/escalation_priority_v2.py | 2 +- ...ation_respond_snooze_details_payload_v2.py | 2 +- .../escalation_user_response_options_v2.py | 2 +- incident_io/models/escalation_v2.py | 2 +- .../escalation_with_status_change_v2.py | 2 +- ...check_escalation_permissions_payload_v2.py | 2 +- ..._check_escalation_permissions_result_v2.py | 2 +- .../escalations_create_path_payload_v2.py | 2 +- ...s_create_path_payload_v2_param_bindings.py | 2 +- .../escalations_create_path_result_v2.py | 2 +- .../models/escalations_create_payload_v2.py | 2 +- .../models/escalations_create_result_v2.py | 2 +- .../escalations_list_paths_result_v2.py | 2 +- .../models/escalations_list_result_v2.py | 2 +- ...alations_reassign_escalation_payload_v2.py | 2 +- ...calations_reassign_escalation_result_v2.py | 2 +- ...calations_respond_escalation_payload_v2.py | 2 +- .../models/escalations_show_path_result_v2.py | 2 +- .../models/escalations_show_result_v2.py | 2 +- .../escalations_update_path_payload_v2.py | 2 +- ...s_update_path_payload_v2_param_bindings.py | 2 +- .../escalations_update_path_result_v2.py | 2 +- .../models/escalations_v2_list_alert.py | 2 +- .../models/escalations_v2_list_created_at.py | 2 +- .../escalations_v2_list_escalation_path.py | 2 +- .../escalations_v2_list_idempotency_key.py | 2 +- .../models/escalations_v2_list_incident.py | 2 +- .../models/escalations_v2_list_status.py | 2 +- .../models/escalations_v2_list_updated_at.py | 2 +- .../models/expression_branch_payload_v2.py | 2 +- .../models/expression_branch_payload_v3.py | 2 +- incident_io/models/expression_branch_v2.py | 2 +- incident_io/models/expression_branch_v3.py | 2 +- .../expression_branches_opts_payload_v2.py | 2 +- .../expression_branches_opts_payload_v3.py | 2 +- .../models/expression_branches_opts_v2.py | 2 +- .../models/expression_branches_opts_v3.py | 2 +- .../models/expression_cast_opts_payload_v2.py | 2 +- .../models/expression_cast_opts_payload_v3.py | 2 +- incident_io/models/expression_cast_opts_v2.py | 2 +- incident_io/models/expression_cast_opts_v3.py | 2 +- .../expression_concatenate_opts_payload_v2.py | 2 +- .../expression_concatenate_opts_payload_v3.py | 2 +- .../models/expression_concatenate_opts_v2.py | 2 +- .../models/expression_concatenate_opts_v3.py | 2 +- .../expression_else_branch_payload_v2.py | 2 +- .../expression_else_branch_payload_v3.py | 2 +- .../models/expression_else_branch_v2.py | 2 +- .../models/expression_else_branch_v3.py | 2 +- .../expression_filter_opts_payload_v2.py | 2 +- .../expression_filter_opts_payload_v3.py | 2 +- .../models/expression_filter_opts_v2.py | 2 +- .../models/expression_filter_opts_v3.py | 2 +- .../expression_navigate_opts_payload_v2.py | 2 +- .../expression_navigate_opts_payload_v3.py | 2 +- .../models/expression_navigate_opts_v2.py | 2 +- .../models/expression_navigate_opts_v3.py | 2 +- .../models/expression_operation_payload_v2.py | 2 +- .../models/expression_operation_payload_v3.py | 2 +- incident_io/models/expression_operation_v2.py | 2 +- incident_io/models/expression_operation_v3.py | 2 +- .../expression_parse_opts_payload_v2.py | 2 +- .../expression_parse_opts_payload_v3.py | 2 +- .../models/expression_parse_opts_v2.py | 2 +- .../models/expression_parse_opts_v3.py | 2 +- incident_io/models/expression_payload_v2.py | 2 +- incident_io/models/expression_payload_v3.py | 2 +- incident_io/models/expression_v2.py | 2 +- incident_io/models/expression_v3.py | 2 +- .../models/external_issue_reference_v1.py | 2 +- .../models/external_issue_reference_v2.py | 2 +- incident_io/models/external_resource_v1.py | 2 +- incident_io/models/follow_up_category_v3.py | 2 +- incident_io/models/follow_up_priority_v2.py | 2 +- incident_io/models/follow_up_v2.py | 2 +- incident_io/models/follow_up_v3.py | 2 +- ...w_ups_connect_external_issue_payload_v2.py | 2 +- ...w_ups_connect_external_issue_payload_v3.py | 2 +- ...ow_ups_connect_external_issue_result_v2.py | 2 +- ...ow_ups_connect_external_issue_result_v3.py | 2 +- .../follow_ups_create_from_link_payload_v3.py | 2 +- .../follow_ups_create_from_link_result_v3.py | 2 +- .../models/follow_ups_create_payload_v2.py | 2 +- .../models/follow_ups_create_payload_v3.py | 2 +- .../models/follow_ups_create_result_v2.py | 2 +- .../models/follow_ups_create_result_v3.py | 2 +- .../models/follow_ups_list_result_v2.py | 2 +- .../models/follow_ups_list_result_v3.py | 2 +- .../models/follow_ups_show_result_v2.py | 2 +- .../models/follow_ups_show_result_v3.py | 2 +- .../models/follow_ups_update_payload_v2.py | 2 +- .../models/follow_ups_update_payload_v3.py | 2 +- .../models/follow_ups_update_result_v2.py | 2 +- .../models/follow_ups_update_result_v3.py | 2 +- .../models/follow_ups_v3_list_created_at.py | 2 +- .../models/follow_ups_v3_list_updated_at.py | 2 +- incident_io/models/grouping_key_v2.py | 2 +- incident_io/models/grouping_key_v3.py | 2 +- incident_io/models/grouping_settings_v3.py | 2 +- incident_io/models/identity_team_v1.py | 2 +- incident_io/models/identity_v1.py | 2 +- incident_io/models/image_v1.py | 2 +- .../incident_activity_log_content_v2.py | 2 +- ...ent_activity_log_entries_list_result_v2.py | 2 +- .../models/incident_activity_log_entry_v2.py | 2 +- incident_io/models/incident_alert_v2.py | 2 +- incident_io/models/incident_attachment_v1.py | 2 +- .../incident_attachments_create_payload_v1.py | 2 +- ..._attachments_create_payload_v1_resource.py | 2 +- .../incident_attachments_create_result_v1.py | 2 +- .../incident_attachments_list_result_v1.py | 2 +- .../models/incident_duration_metric_v2.py | 2 +- .../incident_duration_metric_with_value_v2.py | 2 +- .../models/incident_edit_payload_v2.py | 2 +- incident_io/models/incident_membership_v1.py | 2 +- .../incident_memberships_create_payload_v1.py | 2 +- .../incident_memberships_create_result_v1.py | 2 +- .../incident_memberships_revoke_payload_v1.py | 2 +- incident_io/models/incident_participant_v2.py | 2 +- .../incident_participant_workload_v2.py | 2 +- ...nt_participant_workloads_list_result_v2.py | 2 +- .../incident_participants_list_result_v2.py | 2 +- .../models/incident_participants_v2.py | 2 +- .../incident_relationship_details_v1.py | 2 +- .../models/incident_relationship_v1.py | 2 +- .../incident_relationships_list_result_v1.py | 2 +- .../incident_role_assignment_payload_v1.py | 2 +- .../incident_role_assignment_payload_v2.py | 2 +- .../models/incident_role_assignment_v1.py | 2 +- .../models/incident_role_assignment_v2.py | 2 +- incident_io/models/incident_role_v1.py | 2 +- incident_io/models/incident_role_v2.py | 2 +- .../incident_roles_create_payload_v1.py | 2 +- .../incident_roles_create_payload_v2.py | 2 +- .../models/incident_roles_create_result_v1.py | 2 +- .../models/incident_roles_create_result_v2.py | 2 +- .../models/incident_roles_list_result_v1.py | 2 +- .../models/incident_roles_list_result_v2.py | 2 +- .../models/incident_roles_show_result_v1.py | 2 +- .../models/incident_roles_show_result_v2.py | 2 +- .../incident_roles_update_payload_v1.py | 2 +- .../incident_roles_update_payload_v2.py | 2 +- .../models/incident_roles_update_result_v1.py | 2 +- .../models/incident_roles_update_result_v2.py | 2 +- incident_io/models/incident_slim_v2.py | 2 +- incident_io/models/incident_status_v1.py | 2 +- incident_io/models/incident_status_v2.py | 2 +- .../incident_statuses_create_payload_v1.py | 2 +- .../incident_statuses_create_result_v1.py | 2 +- .../incident_statuses_list_result_v1.py | 2 +- .../incident_statuses_show_result_v1.py | 2 +- .../incident_statuses_update_payload_v1.py | 2 +- .../incident_statuses_update_result_v1.py | 2 +- ...plate_auto_generated_binding_payload_v1.py | 2 +- ...dent_template_auto_generated_binding_v1.py | 2 +- .../incident_template_binding_payload_v1.py | 2 +- .../models/incident_template_binding_v1.py | 2 +- .../incident_template_config_payload_v1.py | 2 +- .../models/incident_template_config_v1.py | 2 +- ...emplate_custom_field_binding_payload_v1.py | 2 +- ...cident_template_custom_field_binding_v1.py | 2 +- ...nt_template_severity_binding_payload_v1.py | 2 +- .../incident_template_severity_binding_v1.py | 2 +- incident_io/models/incident_template_v1.py | 2 +- .../incident_template_validate_warning_v1.py | 2 +- .../incident_templates_create_payload_v1.py | 2 +- .../incident_templates_create_result_v1.py | 2 +- .../incident_templates_list_result_v1.py | 2 +- .../incident_templates_show_result_v1.py | 2 +- .../incident_templates_update_payload_v1.py | 2 +- .../incident_templates_update_result_v1.py | 2 +- .../incident_templates_validate_payload_v1.py | 2 +- .../incident_templates_validate_result_v1.py | 2 +- .../models/incident_timeline_item_v2.py | 2 +- ...cident_timeline_items_create_payload_v2.py | 2 +- ...ncident_timeline_items_create_result_v2.py | 2 +- .../incident_timeline_items_list_result_v2.py | 2 +- ...cident_timeline_items_update_payload_v2.py | 2 +- ...ncident_timeline_items_update_result_v2.py | 2 +- incident_io/models/incident_timestamp_v2.py | 2 +- .../incident_timestamp_value_payload_v2.py | 2 +- .../models/incident_timestamp_value_v1.py | 2 +- .../models/incident_timestamp_value_v2.py | 2 +- .../incident_timestamp_with_value_v2.py | 2 +- .../incident_timestamps_list_result_v2.py | 2 +- .../incident_timestamps_show_result_v2.py | 2 +- incident_io/models/incident_type_v1.py | 2 +- incident_io/models/incident_type_v2.py | 2 +- .../models/incident_types_list_result_v1.py | 2 +- .../models/incident_types_show_result_v1.py | 2 +- incident_io/models/incident_update_v2.py | 2 +- .../incident_updates_create_payload_v2.py | 2 +- .../incident_updates_create_result_v2.py | 2 +- .../models/incident_updates_list_result_v2.py | 2 +- incident_io/models/incident_v1.py | 2 +- incident_io/models/incident_v2.py | 2 +- .../models/incident_with_status_change_v2.py | 2 +- .../models/incidents_create_payload_v1.py | 2 +- .../models/incidents_create_payload_v2.py | 2 +- .../models/incidents_create_result_v1.py | 2 +- .../models/incidents_create_result_v2.py | 2 +- .../models/incidents_edit_payload_v2.py | 2 +- .../models/incidents_edit_result_v2.py | 2 +- ...s_import_postmortem_document_payload_v2.py | 2 +- ...ts_import_postmortem_document_result_v2.py | 2 +- .../models/incidents_list_result_v1.py | 2 +- .../models/incidents_list_result_v2.py | 2 +- .../models/incidents_show_result_v1.py | 2 +- .../models/incidents_show_result_v2.py | 2 +- .../models/incidents_v2_list_created_at.py | 2 +- .../models/incidents_v2_list_custom_field.py | 2 +- ...2_list_custom_field_additional_property.py | 2 +- .../models/incidents_v2_list_incident_role.py | 2 +- ..._list_incident_role_additional_property.py | 2 +- .../models/incidents_v2_list_incident_type.py | 2 +- incident_io/models/incidents_v2_list_mode.py | 2 +- .../models/incidents_v2_list_severity.py | 2 +- .../models/incidents_v2_list_status.py | 2 +- .../incidents_v2_list_status_category.py | 2 +- .../models/incidents_v2_list_updated_at.py | 2 +- incident_io/models/ip_allowlist_item_v1.py | 2 +- incident_io/models/ip_allowlist_v1.py | 2 +- ..._allowlists_show_ip_allowlist_result_v1.py | 2 +- ...lowlists_update_ip_allowlist_payload_v1.py | 2 +- ...llowlists_update_ip_allowlist_result_v1.py | 2 +- incident_io/models/ip_range_v1.py | 2 +- incident_io/models/linked_schedule_v2.py | 2 +- ...nce_window_escalation_target_payload_v1.py | 2 +- ...maintenance_window_escalation_target_v1.py | 2 +- ...enance_window_notify_channel_payload_v1.py | 2 +- .../maintenance_window_notify_channel_v1.py | 2 +- incident_io/models/maintenance_window_v1.py | 2 +- .../maintenance_windows_create_payload_v1.py | 2 +- .../maintenance_windows_create_result_v1.py | 2 +- .../maintenance_windows_list_result_v1.py | 2 +- .../maintenance_windows_show_result_v1.py | 2 +- .../maintenance_windows_update_payload_v1.py | 2 +- .../maintenance_windows_update_result_v1.py | 2 +- incident_io/models/management_meta_v2.py | 2 +- .../models/management_meta_v2_annotations.py | 2 +- .../models/new_slack_user_group_payload_v2.py | 2 +- ...fication_method_phone_details_public_v2.py | 2 +- .../on_call_notification_method_public_v2.py | 2 +- ...notification_rule_app_details_public_v2.py | 2 +- ...cation_rule_method_target_all_public_v2.py | 2 +- ...tification_rule_method_target_public_v2.py | 2 +- ...n_rule_method_target_specific_public_v2.py | 2 +- ...tification_rule_phone_details_public_v2.py | 2 +- .../on_call_notification_rule_public_v2.py | 2 +- .../models/pagination_meta_result_v1.py | 2 +- .../models/pagination_meta_result_v2.py | 2 +- .../models/pagination_meta_result_v3.py | 2 +- .../pagination_meta_result_with_total_v1.py | 2 +- .../pagination_meta_result_with_total_v2.py | 2 +- .../pagination_meta_result_with_total_v3.py | 2 +- .../models/partial_entry_payload_v3.py | 2 +- ...rtial_entry_payload_v3_attribute_values.py | 2 +- .../pay_config_one_off_rule_payload_v2.py | 2 +- .../models/pay_config_one_off_rule_v2.py | 2 +- incident_io/models/pay_config_v2.py | 2 +- .../pay_config_weekly_rule_payload_v2.py | 2 +- .../models/pay_config_weekly_rule_v2.py | 2 +- ..._configs_create_one_off_rule_payload_v2.py | 2 +- ...y_configs_create_one_off_rule_result_v2.py | 2 +- .../models/pay_configs_create_payload_v2.py | 2 +- .../models/pay_configs_create_result_v2.py | 2 +- ...y_configs_create_weekly_rule_payload_v2.py | 2 +- ...ay_configs_create_weekly_rule_result_v2.py | 2 +- ...ay_configs_list_one_off_rules_result_v2.py | 2 +- .../models/pay_configs_list_result_v2.py | 2 +- ...pay_configs_list_weekly_rules_result_v2.py | 2 +- ...pay_configs_show_one_off_rule_result_v2.py | 2 +- .../models/pay_configs_show_result_v2.py | 2 +- .../pay_configs_show_weekly_rule_result_v2.py | 2 +- ..._configs_update_one_off_rule_payload_v2.py | 2 +- ...y_configs_update_one_off_rule_result_v2.py | 2 +- .../models/pay_configs_update_payload_v2.py | 2 +- .../models/pay_configs_update_result_v2.py | 2 +- ...y_configs_update_weekly_rule_payload_v2.py | 2 +- ...ay_configs_update_weekly_rule_result_v2.py | 2 +- .../models/pay_report_rotation_filter_v2.py | 2 +- incident_io/models/pay_report_v2.py | 2 +- .../pay_report_v2_total_pay_by_currency.py | 2 +- .../models/pay_reports_create_payload_v2.py | 2 +- .../models/pay_reports_create_result_v2.py | 2 +- .../models/pay_reports_list_result_v2.py | 2 +- .../models/pay_reports_publish_payload_v2.py | 2 +- .../models/pay_reports_publish_result_v2.py | 2 +- .../models/pay_reports_show_result_v2.py | 2 +- .../pay_reports_unpublish_payload_v2.py | 2 +- .../models/pay_reports_unpublish_result_v2.py | 2 +- .../models/policies_create_payload_v2.py | 2 +- .../models/policies_create_result_v2.py | 2 +- incident_io/models/policies_list_result_v2.py | 2 +- incident_io/models/policies_show_result_v2.py | 2 +- .../models/policies_update_payload_v2.py | 2 +- .../models/policies_update_result_v2.py | 2 +- .../policy_assignment_rules_payload_v2.py | 2 +- .../models/policy_assignment_rules_v2.py | 2 +- .../models/policy_debrief_payload_v2.py | 2 +- incident_io/models/policy_debrief_v2.py | 2 +- .../policy_due_date_config_payload_v2.py | 2 +- .../models/policy_due_date_config_v2.py | 2 +- .../models/policy_finding_debrief_v2.py | 2 +- .../models/policy_finding_dismissal_v2.py | 2 +- .../models/policy_finding_follow_up_v2.py | 2 +- .../policy_finding_on_call_readiness_v2.py | 2 +- .../models/policy_finding_post_mortem_v2.py | 2 +- .../policy_finding_readiness_rule_v2.py | 2 +- ...olicy_finding_schedule_impacted_user_v2.py | 2 +- .../models/policy_finding_schedule_v2.py | 2 +- incident_io/models/policy_finding_v2.py | 2 +- .../policy_finding_vacation_conflict_v2.py | 2 +- .../policy_findings_dismiss_payload_v2.py | 2 +- .../policy_findings_dismiss_result_v2.py | 2 +- .../models/policy_findings_list_result_v2.py | 2 +- .../policy_findings_restore_result_v2.py | 2 +- .../models/policy_findings_show_result_v2.py | 2 +- .../models/policy_follow_up_payload_v2.py | 2 +- incident_io/models/policy_follow_up_v2.py | 2 +- .../models/policy_on_call_readiness_v2.py | 2 +- .../models/policy_post_mortem_payload_v2.py | 2 +- incident_io/models/policy_post_mortem_v2.py | 2 +- .../models/policy_readiness_rule_v2.py | 2 +- .../models/policy_reminder_cadence_v2.py | 2 +- incident_io/models/policy_schedule_v2.py | 2 +- incident_io/models/policy_v2.py | 2 +- incident_io/models/postmortem_document_v1.py | 2 +- ...stmortem_document_with_status_change_v1.py | 2 +- .../postmortem_documents_attach_payload_v1.py | 2 +- .../postmortem_documents_attach_result_v1.py | 2 +- .../postmortem_documents_list_result_v1.py | 2 +- ...mortem_documents_show_content_result_v1.py | 2 +- .../postmortem_documents_show_result_v1.py | 2 +- ...rtem_documents_update_status_payload_v1.py | 2 +- ...ortem_documents_update_status_result_v1.py | 2 +- incident_io/models/rbac_role_v2.py | 2 +- .../retrospective_incident_options_v2.py | 2 +- incident_io/models/returns_meta_v2.py | 2 +- incident_io/models/returns_meta_v3.py | 2 +- .../schedule_config_create_payload_v2.py | 2 +- .../schedule_config_update_payload_v2.py | 2 +- incident_io/models/schedule_config_v2.py | 2 +- .../models/schedule_create_payload_v2.py | 2 +- .../schedule_create_payload_v2_annotations.py | 2 +- .../schedule_entries_list_payload_v2.py | 2 +- incident_io/models/schedule_entry_v2.py | 2 +- ...edule_holidays_public_config_payload_v2.py | 2 +- .../schedule_holidays_public_config_v2.py | 2 +- .../schedule_layer_create_payload_v2.py | 2 +- .../schedule_layer_update_payload_v2.py | 2 +- incident_io/models/schedule_layer_v2.py | 2 +- incident_io/models/schedule_override_v2.py | 2 +- .../schedule_replica_create_payload_v2.py | 2 +- .../models/schedule_replica_source_v2.py | 2 +- .../models/schedule_replica_user_status_v2.py | 2 +- incident_io/models/schedule_replica_v2.py | 2 +- .../schedule_rotation_create_payload_v2.py | 2 +- .../models/schedule_rotation_handover_v2.py | 2 +- .../schedule_rotation_update_payload_v2.py | 2 +- incident_io/models/schedule_rotation_v2.py | 2 +- ...tion_working_interval_create_payload_v2.py | 2 +- .../schedule_rotation_working_interval_v2.py | 2 +- .../models/schedule_shift_change_v2.py | 2 +- incident_io/models/schedule_slim_v2.py | 2 +- .../schedule_sync_rule_create_payload_v2.py | 2 +- ...sync_rule_create_payload_v2_annotations.py | 2 +- incident_io/models/schedule_sync_rule_v2.py | 2 +- .../schedule_sync_target_create_payload_v2.py | 2 +- ...nc_target_create_payload_v2_annotations.py | 2 +- .../schedule_sync_target_resource_v2.py | 2 +- ...schedule_sync_targets_create_payload_v2.py | 2 +- .../schedule_sync_targets_create_result_v2.py | 2 +- .../schedule_sync_targets_list_result_v2.py | 2 +- .../schedule_sync_targets_show_result_v2.py | 2 +- ...schedule_sync_targets_update_payload_v2.py | 2 +- ...c_targets_update_payload_v2_annotations.py | 2 +- .../schedule_sync_targets_update_result_v2.py | 2 +- .../models/schedule_update_payload_v2.py | 2 +- .../schedule_update_payload_v2_annotations.py | 2 +- incident_io/models/schedule_v2.py | 2 +- incident_io/models/schedule_v2_annotations.py | 2 +- .../schedules_create_override_payload_v2.py | 2 +- .../schedules_create_override_result_v2.py | 2 +- .../models/schedules_create_payload_v2.py | 2 +- .../models/schedules_create_result_v2.py | 2 +- ...ules_create_schedule_replica_payload_v2.py | 2 +- ...dules_create_schedule_replica_result_v2.py | 2 +- ...es_create_schedule_sync_rule_payload_v2.py | 2 +- ...les_create_schedule_sync_rule_result_v2.py | 2 +- .../schedules_list_overrides_result_v2.py | 2 +- .../models/schedules_list_result_v2.py | 2 +- ...hedules_list_schedule_entries_result_v2.py | 2 +- ...edules_list_schedule_replicas_result_v2.py | 2 +- ...ules_list_schedule_sync_rules_result_v2.py | 2 +- ...les_preview_schedule_entries_payload_v2.py | 2 +- ...ules_preview_schedule_entries_result_v2.py | 2 +- .../schedules_show_override_result_v2.py | 2 +- .../models/schedules_show_result_v2.py | 2 +- ...hedules_show_schedule_replica_result_v2.py | 2 +- ...dules_show_schedule_sync_rule_result_v2.py | 2 +- .../schedules_update_override_payload_v2.py | 2 +- .../schedules_update_override_result_v2.py | 2 +- .../models/schedules_update_payload_v2.py | 2 +- .../models/schedules_update_result_v2.py | 2 +- ...es_update_schedule_sync_rule_payload_v2.py | 2 +- ...hedule_sync_rule_payload_v2_annotations.py | 2 +- ...les_update_schedule_sync_rule_result_v2.py | 2 +- incident_io/models/secret_v2.py | 2 +- incident_io/models/secret_version_v2.py | 2 +- .../models/secrets_create_payload_v2.py | 2 +- .../models/secrets_create_result_v2.py | 2 +- incident_io/models/secrets_list_result_v2.py | 2 +- .../models/secrets_rotate_payload_v2.py | 2 +- .../models/secrets_rotate_result_v2.py | 2 +- incident_io/models/secrets_show_result_v2.py | 2 +- .../models/secrets_update_payload_v2.py | 2 +- .../models/secrets_update_result_v2.py | 2 +- .../models/severities_create_payload_v1.py | 2 +- .../models/severities_create_result_v1.py | 2 +- .../models/severities_list_result_v1.py | 2 +- .../models/severities_show_result_v1.py | 2 +- .../models/severities_update_payload_v1.py | 2 +- .../models/severities_update_result_v1.py | 2 +- incident_io/models/severity_v1.py | 2 +- incident_io/models/severity_v2.py | 2 +- ...tus_page_incident_affected_component_v2.py | 2 +- ...tatus_page_incident_component_impact_v2.py | 2 +- .../models/status_page_incident_update_v2.py | 2 +- incident_io/models/status_page_incident_v2.py | 2 +- .../status_page_incident_with_update_v2.py | 2 +- ...status_page_linked_response_incident_v1.py | 2 +- ..._page_maintenance_affected_component_v2.py | 2 +- ...tenance_component_maintenance_period_v2.py | 2 +- .../status_page_maintenance_update_v2.py | 2 +- .../models/status_page_maintenance_v2.py | 2 +- ...s_page_retrospective_incident_update_v2.py | 2 +- .../status_page_structure_component_v2.py | 2 +- .../models/status_page_structure_group_v2.py | 2 +- .../models/status_page_structure_item_v2.py | 2 +- .../status_page_structure_sub_page_item_v2.py | 2 +- .../status_page_structure_sub_page_v2.py | 2 +- .../models/status_page_structure_v2.py | 2 +- incident_io/models/status_page_v2.py | 2 +- ..._create_status_page_incident_payload_v2.py | 2 +- ...s_create_status_page_incident_result_v2.py | 2 +- ..._status_page_incident_update_payload_v2.py | 2 +- ...e_status_page_incident_update_result_v2.py | 2 +- ...eate_status_page_maintenance_payload_v2.py | 2 +- ...reate_status_page_maintenance_result_v2.py | 2 +- ...atus_page_maintenance_update_payload_v2.py | 2 +- ...tatus_page_maintenance_update_result_v2.py | 2 +- ..._page_retrospective_incident_payload_v2.py | 2 +- ...s_page_retrospective_incident_result_v2.py | 2 +- ...pages_list_response_incidents_result_v1.py | 2 +- ...es_list_status_page_incidents_result_v2.py | 2 +- ...list_status_page_maintenances_result_v2.py | 2 +- ...tatus_pages_list_status_pages_result_v2.py | 2 +- ...ges_show_status_page_incident_result_v2.py | 2 +- ..._show_status_page_maintenance_result_v2.py | 2 +- ...es_show_status_page_structure_result_v2.py | 2 +- ..._update_status_page_incident_payload_v2.py | 2 +- ...s_update_status_page_incident_result_v2.py | 2 +- ...date_status_page_maintenance_payload_v2.py | 2 +- ...pdate_status_page_maintenance_result_v2.py | 2 +- incident_io/models/step_config_payload_v2.py | 2 +- incident_io/models/step_config_slim_v2.py | 2 +- incident_io/models/step_config_v2.py | 2 +- incident_io/models/step_progress_slim_v2.py | 2 +- incident_io/models/step_progress_v2.py | 2 +- incident_io/models/team_slim_v2.py | 2 +- incident_io/models/team_v3.py | 2 +- incident_io/models/teams_list_result_v3.py | 2 +- incident_io/models/teams_show_result_v3.py | 2 +- .../models/telemetry_data_source_v2.py | 2 +- .../telemetry_datadog_update_config_v2.py | 2 +- .../telemetry_grafana_update_config_v2.py | 2 +- ...telemetry_update_data_source_payload_v2.py | 2 +- .../telemetry_update_data_source_result_v2.py | 2 +- incident_io/models/trigger_slim_v2.py | 2 +- .../models/user_reference_payload_v1.py | 2 +- .../models/user_reference_payload_v2.py | 2 +- incident_io/models/user_seats_v2.py | 2 +- incident_io/models/user_v1.py | 2 +- incident_io/models/user_v2.py | 2 +- incident_io/models/user_v3.py | 2 +- incident_io/models/user_with_roles_v2.py | 2 +- ...ers_list_notification_methods_result_v2.py | 2 +- ...users_list_notification_rules_result_v2.py | 2 +- incident_io/models/users_list_result_v2.py | 2 +- .../users_show_paging_provider_result_v2.py | 2 +- incident_io/models/users_show_result_v2.py | 2 +- ...users_update_paging_provider_payload_v2.py | 2 +- .../models/utilities_identity_result_v1.py | 2 +- .../models/utilities_ip_ranges_result_v1.py | 2 +- .../models/webhook_delivery_request_v2.py | 2 +- .../webhook_delivery_request_v2_headers.py | 2 +- .../models/webhook_delivery_response_v2.py | 2 +- .../webhook_delivery_response_v2_headers.py | 2 +- .../models/webhook_delivery_slim_v2.py | 2 +- incident_io/models/webhook_delivery_v2.py | 2 +- .../models/webhook_incident_user_v2.py | 2 +- incident_io/models/webhook_incident_v2.py | 2 +- .../models/webhook_private_resource_v2.py | 2 +- ..._private_alert_created_v1_response_body.py | 2 +- ...private_alert_resolved_v1_response_body.py | 2 +- ...ate_escalation_created_v1_response_body.py | 2 +- ...alation_status_updated_v1_response_body.py | 2 +- ...ncident_action_created_v1_response_body.py | 2 +- ...ncident_action_updated_v1_response_body.py | 2 +- ...dent_follow_up_created_v1_response_body.py | 2 +- ...dent_follow_up_created_v2_response_body.py | 2 +- ...dent_follow_up_updated_v1_response_body.py | 2 +- ...dent_follow_up_updated_v2_response_body.py | 2 +- ...ident_incident_created_v2_response_body.py | 2 +- ...ident_incident_updated_v2_response_body.py | 2 +- ...ent_membership_granted_v1_response_body.py | 2 +- ...ent_membership_revoked_v1_response_body.py | 2 +- ...ocument_status_updated_v1_response_body.py | 2 +- ...s_public_alert_created_v1_response_body.py | 2 +- ..._public_alert_resolved_v1_response_body.py | 2 +- ...lic_escalation_created_v1_response_body.py | 2 +- ...alation_status_updated_v1_response_body.py | 2 +- ...ncident_action_created_v1_response_body.py | 2 +- ...ncident_action_updated_v1_response_body.py | 2 +- ...dent_follow_up_created_v1_response_body.py | 2 +- ...dent_follow_up_created_v2_response_body.py | 2 +- ...dent_follow_up_updated_v1_response_body.py | 2 +- ...dent_follow_up_updated_v2_response_body.py | 2 +- ...ident_incident_created_v2_response_body.py | 2 +- ...ncident_status_updated_v2_response_body.py | 2 +- ...ident_incident_updated_v2_response_body.py | 2 +- ...ocument_status_updated_v1_response_body.py | 2 +- ...hooks_schedule_created_v1_response_body.py | 2 +- ...hooks_schedule_deleted_v1_response_body.py | 2 +- ..._schedule_shift_change_v1_response_body.py | 2 +- ...hooks_schedule_updated_v1_response_body.py | 2 +- ...incident_update_shared_v1_response_body.py | 2 +- .../models/weekday_interval_config_v2.py | 2 +- incident_io/models/weekday_interval_v2.py | 2 +- incident_io/models/workflow_actor_v2.py | 2 +- incident_io/models/workflow_delay_v2.py | 2 +- .../models/workflow_form_field_payload_v2.py | 2 +- incident_io/models/workflow_form_field_v2.py | 2 +- incident_io/models/workflow_run_slim_v2.py | 2 +- incident_io/models/workflow_run_v2.py | 2 +- .../models/workflow_runs_list_result_v2.py | 2 +- .../models/workflow_runs_show_result_v2.py | 2 +- .../workflow_runs_v2_list_created_at.py | 2 +- incident_io/models/workflow_slim_v2.py | 2 +- incident_io/models/workflow_v2.py | 2 +- .../workflows_create_workflow_payload_v2.py | 2 +- ..._create_workflow_payload_v2_annotations.py | 2 +- .../workflows_create_workflow_result_v2.py | 2 +- .../workflows_list_workflows_result_v2.py | 2 +- .../workflows_show_workflow_result_v2.py | 2 +- .../workflows_update_workflow_payload_v2.py | 2 +- ..._update_workflow_payload_v2_annotations.py | 2 +- .../workflows_update_workflow_result_v2.py | 2 +- incident_io/models/workload_metadata_v2.py | 2 +- incident_io/models/workload_minutes_v2.py | 2 +- oasdiff-severity.txt | 2 + pyproject.toml | 2 +- scripts/fix_generated.py | 165 ++++++++++++++++++ scripts/mark_deprecated.py | 51 +++++- scripts/verify_import.py | 16 ++ tests/test_sdk.py | 40 +++++ 1253 files changed, 2519 insertions(+), 1335 deletions(-) create mode 100644 oasdiff-severity.txt create mode 100644 scripts/fix_generated.py diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 00d063c..7bbc6f7 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -54,7 +54,10 @@ jobs: # Goes to a scratch path because oasdiff needs both versions to compare; # writing straight over openapi.json would lose the old one. - name: Fetch latest public schema - run: curl -sfS https://api.incident.io/v1/openapiV3.json -o openapi.json.new + # -L because without it a redirect succeeds and writes zero bytes, + # which oasdiff reads as an empty schema and reports as every endpoint + # having been removed. + run: curl -sfSL https://api.incident.io/v1/openapiV3.json -o openapi.json.new - name: Exit early if schema unchanged id: changed @@ -80,9 +83,25 @@ jobs: exit 0 fi - report="$(/tmp/oasdiff breaking openapi.json openapi.json.new --fail-on ERR 2>&1)" && rc=0 || rc=$? + # oasdiff-severity.txt downgrades two rules from ERR. oasdiff judges + # the schema; what we ship is a client generated from it, and an + # added response enum value is breaking only for someone pinned to an + # older client — which is what the version bump is for. Left at ERR + # they halt about a quarter of real schema changes: over 49 + # consecutive changes from sdk-go's history, 12 would have stopped, + # 11 of them for an added enum value. The file takes no comments. + report="$(/tmp/oasdiff breaking openapi.json openapi.json.new \ + --severity-levels oasdiff-severity.txt --fail-on ERR 2>&1)" && rc=0 || rc=$? echo "$report" + # 1 means it found breaking changes. Anything else means it couldn't + # do the comparison at all — a truncated fetch, an HTML error page — + # which is not a breaking change and mustn't be filed as one. + if [ "$rc" -ne 0 ] && [ "$rc" -ne 1 ]; then + echo "::error::oasdiff exited $rc without comparing the schemas." + exit 1 + fi + if [ "$rc" -ne 0 ]; then echo "breaking=true" >> "$GITHUB_OUTPUT" { echo "report<> "$GITHUB_OUTPUT" @@ -123,24 +142,20 @@ jobs: exit 1 fi + # Created here rather than assumed: gh issue create fails outright on + # a label that doesn't exist, and an unlabelled fallback would be + # invisible to the dedup above, filing one issue an hour forever. + gh label create breaking-change \ + --description "Schema changed incompatibly; release halted" \ + --color B60205 2>/dev/null || true + gh issue create \ --title "Breaking API change detected — manual release required" \ --body "$body" \ - --label "breaking-change" || \ - gh issue create \ - --title "Breaking API change detected — manual release required" \ - --body "$body" + --label "breaking-change" echo "::error::Breaking change detected; opened an issue and stopped." exit 1 - - name: Regenerate and verify - if: steps.changed.outputs.changed == 'true' - run: | - set -euo pipefail - mv openapi.json.new openapi.json - make generate - make verify - # Scheduled runs only ever bump minor, since anything breaking has already # stopped the run. Patch is for hand-fixes, major for a human dispatch. - name: Decide next version @@ -149,29 +164,78 @@ jobs: run: | set -euo pipefail BUMP="${{ inputs.bump || 'minor' }}" - BASE="$(git describe --tags --abbrev=0 2>/dev/null || true)" + # Highest version, not `git describe`'s nearest-by-commit-distance: + # a hand-cut patch tag would otherwise make us recompute a version + # that already exists. The pattern also skips any non-semver tag, + # which awk would silently turn into v1.0.0. + BASE="$(git tag --list 'v[0-9]*.[0-9]*.[0-9]*' --sort=-v:refname | head -1)" if [ -z "$BASE" ]; then NEXT="v1.0.0" elif [ "$BUMP" = "major" ]; then NEXT="$(echo "${BASE#v}" | awk -F. '{printf "v%d.0.0", $1+1}')" else - NEXT="$(echo "${BASE#v}" | awk -F. '{printf "v%s.%d.0", $1, $2+1}')" + NEXT="$(echo "${BASE#v}" | awk -F. '{printf "v%d.%d.0", $1, $2+1}')" + fi + + if git rev-parse -q --verify "refs/tags/$NEXT" >/dev/null; then + echo "::error::$NEXT already exists. A previous run tagged without" + echo "::error::publishing, or a tag was cut by hand. Resolve before releasing." + exit 1 fi echo "Next version: $NEXT (base: ${BASE:-none}, bump: $BUMP)" echo "next=$NEXT" >> "$GITHUB_OUTPUT" - - name: Build the release + # Before make verify, so the wheel we check is the wheel we publish. + - name: Set the release version if: steps.changed.outputs.changed == 'true' env: NEXT: ${{ steps.version.outputs.next }} run: | set -euo pipefail - rm -rf dist sed -i -E "0,/^version = /s/^version = .*/version = \"${NEXT#v}\"/" pyproject.toml grep -m1 '^version = ' pyproject.toml - uv build + + - name: Regenerate and verify + if: steps.changed.outputs.changed == 'true' + run: | + set -euo pipefail + mv openapi.json.new openapi.json + make generate + make verify + # The generated code changes on every release, which is exactly when + # behaviour needs checking. make verify only proves it imports. + uv run --group dev pytest tests/ -q + + # Every step above this point fails without committing anything, so the + # next run sees the same schema diff and fails identically. Left alone + # that is a red cron every hour and no other signal. + - name: Report a stuck release + if: failure() && steps.changed.outputs.changed == 'true' && steps.breaking.outputs.breaking != 'true' + env: + GH_TOKEN: ${{ github.token }} + run: | + set -euo pipefail + title="Release is stuck — regeneration or verification is failing" + gh label create release-stuck \ + --description "The hourly sync cannot complete and will retry forever" \ + --color B60205 2>/dev/null || true + + if gh issue list --label release-stuck --state open --limit 1 \ + --json number --jq '.[0].number // empty' | grep -q .; then + echo "Already reported." + exit 0 + fi + + gh issue create --title "$title" --label release-stuck --body "$(cat <> "$GITHUB_PATH" + # No ruff step: openapi-python-client depends on ruff and uvx puts the + # tool environment's bin first, so the generator's post_hooks always find + # its own copy rather than anything installed here. - run: make generate - name: Check for drift run: | - if ! git diff --quiet; then + # --porcelain, not `git diff --quiet`: the latter ignores untracked + # files, so a new endpoint module would pass unnoticed. + if [ -n "$(git status --porcelain)" ]; then echo "::error::Generated client is out of date. Run 'make generate' and commit the result." - git diff --stat + git status --porcelain exit 1 fi diff --git a/.gitignore b/.gitignore index 423d683..d55e754 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .ruff_cache/ +.mypy_cache/ +.pytest_cache/ dist/ build/ *.egg-info/ diff --git a/Makefile b/Makefile index c156795..5094745 100644 --- a/Makefile +++ b/Makefile @@ -2,37 +2,57 @@ # which would reshape our public API. Upgrade by hand and read the diff. OPC_VERSION := 0.29.1 +# The generator declares ruff>=0.2 with no upper bound and runs it as a post +# hook, so an unpinned resolve reformats all 1895 files the day ruff changes +# its formatter: drift goes red on every unrelated PR, and the next release +# commits a whole-tree reformat labelled as a schema change. +RUFF_VERSION := 0.16.8 + PACKAGE := incident_io SCHEMA_URL := https://api.incident.io/v1/openapiV3.json .PHONY: fetch generate verify clean +# -L because without it a redirect is a silent success writing zero bytes, +# which parses as an empty schema. fetch: - curl -sfS $(SCHEMA_URL) -o openapi.json + curl -sfSL $(SCHEMA_URL) -o openapi.json # --meta none keeps the generator to the package itself. Any other value has it # write pyproject.toml and README.md too, overwriting ours. generate: openapi.json rm -rf $(PACKAGE) - uvx --from openapi-python-client==$(OPC_VERSION) openapi-python-client generate \ + uvx --from openapi-python-client==$(OPC_VERSION) --with ruff==$(RUFF_VERSION) \ + openapi-python-client generate \ --path openapi.json \ --output-path $(PACKAGE) \ --meta none \ --config config.yml \ --overwrite \ --fail-on-warning + python3 scripts/fix_generated.py $(PACKAGE) python3 scripts/mark_deprecated.py openapi.json $(PACKAGE) # Committed too, but recreated here because generate removes the package # first. Without it type checkers ignore every annotation in the SDK. touch $(PACKAGE)/py.typed +# Pinned: verify gates the release, so a new check in a mypy release would +# halt the hourly pipeline rather than fail a pull request. +MYPY_VERSION := 2.3.1 + # Python has no compile step, so we install the wheel and exercise it. See # scripts/verify_import.py for why importing the package alone isn't enough. verify: + rm -rf dist uv build uv venv --clear .venv-verify - uv pip install --quiet --python .venv-verify dist/*.whl + uv pip install --quiet --python .venv-verify dist/*.whl mypy==$(MYPY_VERSION) .venv-verify/bin/python scripts/verify_import.py + # We ship py.typed, so consumers' type checkers read these annotations. Run + # against the installed package rather than the source tree: on the tree, + # mypy resolves the generated `Response` to httpx's and reports thousands of + # errors that no consumer ever sees. + .venv-verify/bin/mypy -p incident_io clean: rm -rf $(PACKAGE) dist build .venv-verify .ruff_cache diff --git a/README.md b/README.md index 13102f4..f4d17a2 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ then: ```python from incident_io import AuthenticatedClient from incident_io.api.incidents_v2 import incidents_v2_list +from incident_io.models import IncidentsListResultV2 client = AuthenticatedClient( base_url="https://api.incident.io", @@ -32,10 +33,15 @@ client = AuthenticatedClient( ) result = incidents_v2_list.sync(client=client, page_size=25) -for incident in result.incidents: - print(incident.reference, incident.name) +if isinstance(result, IncidentsListResultV2): + for incident in result.incidents: + print(incident.reference, incident.name) ``` +The `isinstance` check isn't ceremony: a failed request comes back as an +`ErrorResponse` rather than raising, so `result` is one of the two. The SDK +ships type annotations, so a type checker will tell you if you skip it. + Every endpoint is a module with four functions. `sync` returns the parsed body — but note that our error responses are typed too, so a failed request returns an `ErrorResponse` rather than raising. `sync_detailed` returns a `Response` @@ -45,7 +51,7 @@ to tell the two apart: ```python response = incidents_v2_list.sync_detailed(client=client) if response.status_code != 200: - raise RuntimeError(f"unexpected status {response.status_code}: {response.content}") + raise RuntimeError(f"unexpected status {response.status_code}: {response.content!r}") ``` ## Async @@ -72,7 +78,8 @@ client = AuthenticatedClient( ) ``` -Pass `raise_on_unexpected_status=True` to raise `UnexpectedStatus` on a status +Pass `raise_on_unexpected_status=True` to raise +`incident_io.errors.UnexpectedStatus` on a status the schema doesn't document, instead of returning `None`. Documented errors still come back as an `ErrorResponse`; check `status_code` for those. @@ -86,15 +93,20 @@ List endpoints are cursor-paginated. Read the next cursor from `pagination_meta.after` and pass it back as `after`: ```python -from incident_io.types import UNSET +from incident_io.types import UNSET, Unset -after = UNSET +after: str | Unset = UNSET while True: page = incidents_v2_list.sync(client=client, page_size=100, after=after) + if not isinstance(page, IncidentsListResultV2): + raise RuntimeError(f"request failed: {page}") + for incident in page.incidents: print(incident.reference, incident.name) - if not page.pagination_meta or page.pagination_meta.after is UNSET: + # Both the metadata and the cursor within it are optional: the last page + # has no cursor to follow. + if isinstance(page.pagination_meta, Unset) or isinstance(page.pagination_meta.after, Unset): break after = page.pagination_meta.after ``` @@ -103,16 +115,15 @@ while True: Endpoints that incident.io has deprecated (for example the `v1` incidents and custom fields endpoints, superseded by `v2`) remain available, but calling one -raises a `DeprecationWarning` naming the endpoint. Python hides these by +issues a `DeprecationWarning` naming the endpoint. Python hides these by default, so run with `-W default::DeprecationWarning` to see them. ## Versioning Releases are cut automatically whenever the API schema changes. We use -[SemVer](https://semver.org/): additive API changes bump the minor version and -backwards-compatible fixes bump the patch version. Changes that would break -existing code are never released automatically - they require a deliberate -major version. +[SemVer](https://semver.org/): additive API changes bump the minor version. +Changes that would break existing code are never released automatically - they +require a deliberate major version. ## Support diff --git a/incident_io/api/actions_v1/actions_v1_list.py b/incident_io/api/actions_v1/actions_v1_list.py index d4dbd37..9ff31ce 100644 --- a/incident_io/api/actions_v1/actions_v1_list.py +++ b/incident_io/api/actions_v1/actions_v1_list.py @@ -282,12 +282,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v1/actions is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -297,8 +311,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/actions_v1/actions_v1_show.py b/incident_io/api/actions_v1/actions_v1_show.py index 508e0ce..750d8de 100644 --- a/incident_io/api/actions_v1/actions_v1_show.py +++ b/incident_io/api/actions_v1/actions_v1_show.py @@ -234,12 +234,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v1/actions/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -249,8 +263,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/actions_v2/actions_v2_create.py b/incident_io/api/actions_v2/actions_v2_create.py index 121f4af..f90eae1 100644 --- a/incident_io/api/actions_v2/actions_v2_create.py +++ b/incident_io/api/actions_v2/actions_v2_create.py @@ -255,12 +255,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v2/actions is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -270,8 +284,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/actions_v2/actions_v2_delete.py b/incident_io/api/actions_v2/actions_v2_delete.py index 58789ba..6eec191 100644 --- a/incident_io/api/actions_v2/actions_v2_delete.py +++ b/incident_io/api/actions_v2/actions_v2_delete.py @@ -244,12 +244,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "DELETE /v2/actions/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -259,8 +273,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/actions_v2/actions_v2_list.py b/incident_io/api/actions_v2/actions_v2_list.py index 9d1343a..5924a6b 100644 --- a/incident_io/api/actions_v2/actions_v2_list.py +++ b/incident_io/api/actions_v2/actions_v2_list.py @@ -279,12 +279,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/actions is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -294,8 +308,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/actions_v2/actions_v2_show.py b/incident_io/api/actions_v2/actions_v2_show.py index fcc8530..64032f1 100644 --- a/incident_io/api/actions_v2/actions_v2_show.py +++ b/incident_io/api/actions_v2/actions_v2_show.py @@ -246,12 +246,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/actions/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -261,8 +275,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/actions_v2/actions_v2_update.py b/incident_io/api/actions_v2/actions_v2_update.py index 40bcb87..a2787f8 100644 --- a/incident_io/api/actions_v2/actions_v2_update.py +++ b/incident_io/api/actions_v2/actions_v2_update.py @@ -271,12 +271,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "PUT /v2/actions/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -286,8 +300,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_create_entry.py b/incident_io/api/catalog_v2/catalog_v2_create_entry.py index 02db7f3..bbca8e7 100644 --- a/incident_io/api/catalog_v2/catalog_v2_create_entry.py +++ b/incident_io/api/catalog_v2/catalog_v2_create_entry.py @@ -267,12 +267,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v2/catalog_entries is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -282,8 +296,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_create_type.py b/incident_io/api/catalog_v2/catalog_v2_create_type.py index e7ff4b3..d76d014 100644 --- a/incident_io/api/catalog_v2/catalog_v2_create_type.py +++ b/incident_io/api/catalog_v2/catalog_v2_create_type.py @@ -259,12 +259,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v2/catalog_types is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -274,8 +288,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_destroy_entry.py b/incident_io/api/catalog_v2/catalog_v2_destroy_entry.py index b42d63c..ac66e95 100644 --- a/incident_io/api/catalog_v2/catalog_v2_destroy_entry.py +++ b/incident_io/api/catalog_v2/catalog_v2_destroy_entry.py @@ -232,12 +232,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "DELETE /v2/catalog_entries/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -247,8 +261,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_destroy_type.py b/incident_io/api/catalog_v2/catalog_v2_destroy_type.py index cb7d10e..0c256b4 100644 --- a/incident_io/api/catalog_v2/catalog_v2_destroy_type.py +++ b/incident_io/api/catalog_v2/catalog_v2_destroy_type.py @@ -232,12 +232,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "DELETE /v2/catalog_types/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -247,8 +261,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_list_entries.py b/incident_io/api/catalog_v2/catalog_v2_list_entries.py index 03b5bfa..2840dfc 100644 --- a/incident_io/api/catalog_v2/catalog_v2_list_entries.py +++ b/incident_io/api/catalog_v2/catalog_v2_list_entries.py @@ -273,12 +273,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/catalog_entries is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -288,8 +302,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_list_resources.py b/incident_io/api/catalog_v2/catalog_v2_list_resources.py index 47b7ca8..6d745c1 100644 --- a/incident_io/api/catalog_v2/catalog_v2_list_resources.py +++ b/incident_io/api/catalog_v2/catalog_v2_list_resources.py @@ -223,12 +223,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/catalog_resources is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -238,8 +252,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_list_types.py b/incident_io/api/catalog_v2/catalog_v2_list_types.py index 1b2459a..50d94c6 100644 --- a/incident_io/api/catalog_v2/catalog_v2_list_types.py +++ b/incident_io/api/catalog_v2/catalog_v2_list_types.py @@ -207,12 +207,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/catalog_types is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -222,8 +236,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_show_entry.py b/incident_io/api/catalog_v2/catalog_v2_show_entry.py index 2f0458a..0c1d895 100644 --- a/incident_io/api/catalog_v2/catalog_v2_show_entry.py +++ b/incident_io/api/catalog_v2/catalog_v2_show_entry.py @@ -234,12 +234,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/catalog_entries/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -249,8 +263,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_show_type.py b/incident_io/api/catalog_v2/catalog_v2_show_type.py index 9ec8aef..d97ec7c 100644 --- a/incident_io/api/catalog_v2/catalog_v2_show_type.py +++ b/incident_io/api/catalog_v2/catalog_v2_show_type.py @@ -234,12 +234,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/catalog_types/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -249,8 +263,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_update_entry.py b/incident_io/api/catalog_v2/catalog_v2_update_entry.py index 3066a4d..2091080 100644 --- a/incident_io/api/catalog_v2/catalog_v2_update_entry.py +++ b/incident_io/api/catalog_v2/catalog_v2_update_entry.py @@ -271,12 +271,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "PUT /v2/catalog_entries/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -286,8 +300,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_update_type.py b/incident_io/api/catalog_v2/catalog_v2_update_type.py index c6d1a28..48f67df 100644 --- a/incident_io/api/catalog_v2/catalog_v2_update_type.py +++ b/incident_io/api/catalog_v2/catalog_v2_update_type.py @@ -271,12 +271,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "PUT /v2/catalog_types/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -286,8 +300,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/catalog_v2/catalog_v2_update_type_schema.py b/incident_io/api/catalog_v2/catalog_v2_update_type_schema.py index 959f4b1..1772ea7 100644 --- a/incident_io/api/catalog_v2/catalog_v2_update_type_schema.py +++ b/incident_io/api/catalog_v2/catalog_v2_update_type_schema.py @@ -299,12 +299,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v2/catalog_types/{id}/actions/update_schema is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -314,8 +328,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/custom_fields_v1/custom_fields_v1_create.py b/incident_io/api/custom_fields_v1/custom_fields_v1_create.py index 98fe68e..0762712 100644 --- a/incident_io/api/custom_fields_v1/custom_fields_v1_create.py +++ b/incident_io/api/custom_fields_v1/custom_fields_v1_create.py @@ -251,12 +251,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v1/custom_fields is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -266,8 +280,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/custom_fields_v1/custom_fields_v1_delete.py b/incident_io/api/custom_fields_v1/custom_fields_v1_delete.py index 1cc0995..cf35091 100644 --- a/incident_io/api/custom_fields_v1/custom_fields_v1_delete.py +++ b/incident_io/api/custom_fields_v1/custom_fields_v1_delete.py @@ -232,12 +232,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "DELETE /v1/custom_fields/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -247,8 +261,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/custom_fields_v1/custom_fields_v1_list.py b/incident_io/api/custom_fields_v1/custom_fields_v1_list.py index 8bfee3a..eae0154 100644 --- a/incident_io/api/custom_fields_v1/custom_fields_v1_list.py +++ b/incident_io/api/custom_fields_v1/custom_fields_v1_list.py @@ -207,12 +207,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v1/custom_fields is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -222,8 +236,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/custom_fields_v1/custom_fields_v1_show.py b/incident_io/api/custom_fields_v1/custom_fields_v1_show.py index 154fe93..6a592a1 100644 --- a/incident_io/api/custom_fields_v1/custom_fields_v1_show.py +++ b/incident_io/api/custom_fields_v1/custom_fields_v1_show.py @@ -234,12 +234,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v1/custom_fields/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -249,8 +263,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/custom_fields_v1/custom_fields_v1_update.py b/incident_io/api/custom_fields_v1/custom_fields_v1_update.py index 2f61fc4..600a22c 100644 --- a/incident_io/api/custom_fields_v1/custom_fields_v1_update.py +++ b/incident_io/api/custom_fields_v1/custom_fields_v1_update.py @@ -267,12 +267,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "PUT /v1/custom_fields/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -282,8 +296,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/follow_ups_v2/follow_ups_v2_connect_external_issue.py b/incident_io/api/follow_ups_v2/follow_ups_v2_connect_external_issue.py index 1738343..11b93a4 100644 --- a/incident_io/api/follow_ups_v2/follow_ups_v2_connect_external_issue.py +++ b/incident_io/api/follow_ups_v2/follow_ups_v2_connect_external_issue.py @@ -283,12 +283,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v2/follow_ups/{id}/actions/connect_external_issue is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -298,8 +312,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/follow_ups_v2/follow_ups_v2_create.py b/incident_io/api/follow_ups_v2/follow_ups_v2_create.py index 0060922..2d15641 100644 --- a/incident_io/api/follow_ups_v2/follow_ups_v2_create.py +++ b/incident_io/api/follow_ups_v2/follow_ups_v2_create.py @@ -271,12 +271,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v2/follow_ups is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -286,8 +300,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/follow_ups_v2/follow_ups_v2_delete.py b/incident_io/api/follow_ups_v2/follow_ups_v2_delete.py index 6c2b310..df5b365 100644 --- a/incident_io/api/follow_ups_v2/follow_ups_v2_delete.py +++ b/incident_io/api/follow_ups_v2/follow_ups_v2_delete.py @@ -244,12 +244,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "DELETE /v2/follow_ups/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -259,8 +273,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/follow_ups_v2/follow_ups_v2_list.py b/incident_io/api/follow_ups_v2/follow_ups_v2_list.py index aba51c7..f0263dc 100644 --- a/incident_io/api/follow_ups_v2/follow_ups_v2_list.py +++ b/incident_io/api/follow_ups_v2/follow_ups_v2_list.py @@ -298,12 +298,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/follow_ups is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -313,8 +327,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/follow_ups_v2/follow_ups_v2_show.py b/incident_io/api/follow_ups_v2/follow_ups_v2_show.py index 98a09ee..7e289a2 100644 --- a/incident_io/api/follow_ups_v2/follow_ups_v2_show.py +++ b/incident_io/api/follow_ups_v2/follow_ups_v2_show.py @@ -246,12 +246,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v2/follow_ups/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -261,8 +275,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/follow_ups_v2/follow_ups_v2_update.py b/incident_io/api/follow_ups_v2/follow_ups_v2_update.py index 298337d..e2ff7f3 100644 --- a/incident_io/api/follow_ups_v2/follow_ups_v2_update.py +++ b/incident_io/api/follow_ups_v2/follow_ups_v2_update.py @@ -283,12 +283,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "PUT /v2/follow_ups/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -298,8 +312,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/incident_roles_v1/incident_roles_v1_create.py b/incident_io/api/incident_roles_v1/incident_roles_v1_create.py index 48183dc..c2c13b5 100644 --- a/incident_io/api/incident_roles_v1/incident_roles_v1_create.py +++ b/incident_io/api/incident_roles_v1/incident_roles_v1_create.py @@ -251,12 +251,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v1/incident_roles is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -266,8 +280,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/incident_roles_v1/incident_roles_v1_delete.py b/incident_io/api/incident_roles_v1/incident_roles_v1_delete.py index dea6117..1180766 100644 --- a/incident_io/api/incident_roles_v1/incident_roles_v1_delete.py +++ b/incident_io/api/incident_roles_v1/incident_roles_v1_delete.py @@ -232,12 +232,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "DELETE /v1/incident_roles/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -247,8 +261,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/incident_roles_v1/incident_roles_v1_list.py b/incident_io/api/incident_roles_v1/incident_roles_v1_list.py index 807b4b8..94194ac 100644 --- a/incident_io/api/incident_roles_v1/incident_roles_v1_list.py +++ b/incident_io/api/incident_roles_v1/incident_roles_v1_list.py @@ -207,12 +207,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v1/incident_roles is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -222,8 +236,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/incident_roles_v1/incident_roles_v1_show.py b/incident_io/api/incident_roles_v1/incident_roles_v1_show.py index 92e7bc4..d87caae 100644 --- a/incident_io/api/incident_roles_v1/incident_roles_v1_show.py +++ b/incident_io/api/incident_roles_v1/incident_roles_v1_show.py @@ -234,12 +234,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v1/incident_roles/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -249,8 +263,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/incident_roles_v1/incident_roles_v1_update.py b/incident_io/api/incident_roles_v1/incident_roles_v1_update.py index f13bb29..a83bda6 100644 --- a/incident_io/api/incident_roles_v1/incident_roles_v1_update.py +++ b/incident_io/api/incident_roles_v1/incident_roles_v1_update.py @@ -267,12 +267,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "PUT /v1/incident_roles/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -282,8 +296,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/incidents_v1/incidents_v1_create.py b/incident_io/api/incidents_v1/incidents_v1_create.py index 0a62172..7918250 100644 --- a/incident_io/api/incidents_v1/incidents_v1_create.py +++ b/incident_io/api/incidents_v1/incidents_v1_create.py @@ -287,12 +287,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "POST /v1/incidents is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -302,8 +316,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/incidents_v1/incidents_v1_list.py b/incident_io/api/incidents_v1/incidents_v1_list.py index 1437ed9..215a41c 100644 --- a/incident_io/api/incidents_v1/incidents_v1_list.py +++ b/incident_io/api/incidents_v1/incidents_v1_list.py @@ -277,12 +277,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v1/incidents is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -292,8 +306,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/incidents_v1/incidents_v1_show.py b/incident_io/api/incidents_v1/incidents_v1_show.py index 0fa796c..60b7116 100644 --- a/incident_io/api/incidents_v1/incidents_v1_show.py +++ b/incident_io/api/incidents_v1/incidents_v1_show.py @@ -234,12 +234,26 @@ async def asyncio( _DEPRECATION_MESSAGE = "GET /v1/incidents/{id} is deprecated and will be removed. See https://api-docs.incident.io/ for the replacement." +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -249,8 +263,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper diff --git a/incident_io/api/pay_reports_v2/pay_reports_v2_download.py b/incident_io/api/pay_reports_v2/pay_reports_v2_download.py index 47f4c47..98eb16c 100644 --- a/incident_io/api/pay_reports_v2/pay_reports_v2_download.py +++ b/incident_io/api/pay_reports_v2/pay_reports_v2_download.py @@ -29,7 +29,7 @@ def _parse_response( *, client: AuthenticatedClient | Client, response: httpx.Response ) -> ErrorResponse | File | None: if response.status_code == 200: - response_200 = File(payload=BytesIO(response.text)) + response_200 = File(payload=BytesIO(response.content)) return response_200 diff --git a/incident_io/client.py b/incident_io/client.py index 08206ec..a01b61b 100644 --- a/incident_io/client.py +++ b/incident_io/client.py @@ -1,4 +1,5 @@ import ssl +from types import TracebackType from typing import Any, Self import httpx @@ -100,9 +101,14 @@ def __enter__(self) -> Self: self.get_httpx_client().__enter__() return self - def __exit__(self, *args: object, **kwargs: Any) -> None: + def __exit__( + self, + exc_type: type[BaseException] | None = None, + exc_value: BaseException | None = None, + traceback: TracebackType | None = None, + ) -> None: """Exit a context manager for internal httpx.Client (see httpx docs)""" - self.get_httpx_client().__exit__(*args, **kwargs) + self.get_httpx_client().__exit__(exc_type, exc_value, traceback) def set_async_httpx_client(self, async_client: httpx.AsyncClient) -> Self: """Manually set the underlying httpx.AsyncClient @@ -131,9 +137,14 @@ async def __aenter__(self) -> Self: await self.get_async_httpx_client().__aenter__() return self - async def __aexit__(self, *args: object, **kwargs: Any) -> None: + async def __aexit__( + self, + exc_type: type[BaseException] | None = None, + exc_value: BaseException | None = None, + traceback: TracebackType | None = None, + ) -> None: """Exit a context manager for underlying httpx.AsyncClient (see httpx docs)""" - await self.get_async_httpx_client().__aexit__(*args, **kwargs) + await self.get_async_httpx_client().__aexit__(exc_type, exc_value, traceback) @define @@ -241,9 +252,14 @@ def __enter__(self) -> Self: self.get_httpx_client().__enter__() return self - def __exit__(self, *args: object, **kwargs: Any) -> None: + def __exit__( + self, + exc_type: type[BaseException] | None = None, + exc_value: BaseException | None = None, + traceback: TracebackType | None = None, + ) -> None: """Exit a context manager for internal httpx.Client (see httpx docs)""" - self.get_httpx_client().__exit__(*args, **kwargs) + self.get_httpx_client().__exit__(exc_type, exc_value, traceback) def set_async_httpx_client(self, async_client: httpx.AsyncClient) -> Self: """Manually set the underlying httpx.AsyncClient @@ -275,6 +291,11 @@ async def __aenter__(self) -> Self: await self.get_async_httpx_client().__aenter__() return self - async def __aexit__(self, *args: object, **kwargs: Any) -> None: + async def __aexit__( + self, + exc_type: type[BaseException] | None = None, + exc_value: BaseException | None = None, + traceback: TracebackType | None = None, + ) -> None: """Exit a context manager for underlying httpx.AsyncClient (see httpx docs)""" - await self.get_async_httpx_client().__aexit__(*args, **kwargs) + await self.get_async_httpx_client().__aexit__(exc_type, exc_value, traceback) diff --git a/incident_io/models/action_v1.py b/incident_io/models/action_v1.py index 6c11ee6..f7a6b4f 100644 --- a/incident_io/models/action_v1.py +++ b/incident_io/models/action_v1.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="ActionV1") -@_attrs_define +@_attrs_define(kw_only=True) class ActionV1: """ Example: diff --git a/incident_io/models/action_v2.py b/incident_io/models/action_v2.py index 3d430f2..1039eaf 100644 --- a/incident_io/models/action_v2.py +++ b/incident_io/models/action_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="ActionV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActionV2: """ Example: diff --git a/incident_io/models/action_v3.py b/incident_io/models/action_v3.py index 23e29dc..8a0ca77 100644 --- a/incident_io/models/action_v3.py +++ b/incident_io/models/action_v3.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="ActionV3") -@_attrs_define +@_attrs_define(kw_only=True) class ActionV3: """ Example: diff --git a/incident_io/models/actions_create_payload_v2.py b/incident_io/models/actions_create_payload_v2.py index a471ca8..c3ce2c3 100644 --- a/incident_io/models/actions_create_payload_v2.py +++ b/incident_io/models/actions_create_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="ActionsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsCreatePayloadV2: """ Example: diff --git a/incident_io/models/actions_create_payload_v3.py b/incident_io/models/actions_create_payload_v3.py index 0683d1f..b3283ff 100644 --- a/incident_io/models/actions_create_payload_v3.py +++ b/incident_io/models/actions_create_payload_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="ActionsCreatePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsCreatePayloadV3: """ Example: diff --git a/incident_io/models/actions_create_result_v2.py b/incident_io/models/actions_create_result_v2.py index 34d41cc..1cea2c7 100644 --- a/incident_io/models/actions_create_result_v2.py +++ b/incident_io/models/actions_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsCreateResultV2: """ Example: diff --git a/incident_io/models/actions_create_result_v3.py b/incident_io/models/actions_create_result_v3.py index 1873cb8..1f1ab52 100644 --- a/incident_io/models/actions_create_result_v3.py +++ b/incident_io/models/actions_create_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsCreateResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsCreateResultV3: """ Example: diff --git a/incident_io/models/actions_list_result_v1.py b/incident_io/models/actions_list_result_v1.py index 4b9445c..7eeb651 100644 --- a/incident_io/models/actions_list_result_v1.py +++ b/incident_io/models/actions_list_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsListResultV1: """ Example: diff --git a/incident_io/models/actions_list_result_v2.py b/incident_io/models/actions_list_result_v2.py index 99b7ecf..0059f0b 100644 --- a/incident_io/models/actions_list_result_v2.py +++ b/incident_io/models/actions_list_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsListResultV2: """ Example: diff --git a/incident_io/models/actions_list_result_v3.py b/incident_io/models/actions_list_result_v3.py index 4af8469..624a9fd 100644 --- a/incident_io/models/actions_list_result_v3.py +++ b/incident_io/models/actions_list_result_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ActionsListResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsListResultV3: """ Example: diff --git a/incident_io/models/actions_show_result_v1.py b/incident_io/models/actions_show_result_v1.py index 4ef1dc5..5d0a59a 100644 --- a/incident_io/models/actions_show_result_v1.py +++ b/incident_io/models/actions_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsShowResultV1: """ Example: diff --git a/incident_io/models/actions_show_result_v2.py b/incident_io/models/actions_show_result_v2.py index b9466ae..dc73854 100644 --- a/incident_io/models/actions_show_result_v2.py +++ b/incident_io/models/actions_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsShowResultV2: """ Example: diff --git a/incident_io/models/actions_show_result_v3.py b/incident_io/models/actions_show_result_v3.py index 8631b4c..1cd9934 100644 --- a/incident_io/models/actions_show_result_v3.py +++ b/incident_io/models/actions_show_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsShowResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsShowResultV3: """ Example: diff --git a/incident_io/models/actions_update_payload_v2.py b/incident_io/models/actions_update_payload_v2.py index e441426..46bb18b 100644 --- a/incident_io/models/actions_update_payload_v2.py +++ b/incident_io/models/actions_update_payload_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="ActionsUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsUpdatePayloadV2: """ Example: diff --git a/incident_io/models/actions_update_payload_v3.py b/incident_io/models/actions_update_payload_v3.py index 994180d..a6f945c 100644 --- a/incident_io/models/actions_update_payload_v3.py +++ b/incident_io/models/actions_update_payload_v3.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="ActionsUpdatePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsUpdatePayloadV3: """ Example: diff --git a/incident_io/models/actions_update_result_v2.py b/incident_io/models/actions_update_result_v2.py index d64fadb..daf8b9f 100644 --- a/incident_io/models/actions_update_result_v2.py +++ b/incident_io/models/actions_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsUpdateResultV2: """ Example: diff --git a/incident_io/models/actions_update_result_v3.py b/incident_io/models/actions_update_result_v3.py index 6a50e67..39c9688 100644 --- a/incident_io/models/actions_update_result_v3.py +++ b/incident_io/models/actions_update_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ActionsUpdateResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsUpdateResultV3: """ Example: diff --git a/incident_io/models/actions_v3_list_created_at.py b/incident_io/models/actions_v3_list_created_at.py index fedbe0c..ec114e5 100644 --- a/incident_io/models/actions_v3_list_created_at.py +++ b/incident_io/models/actions_v3_list_created_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ActionsV3ListCreatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsV3ListCreatedAt: """Filter on action created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/actions_v3_list_updated_at.py b/incident_io/models/actions_v3_list_updated_at.py index a20445c..c23fa16 100644 --- a/incident_io/models/actions_v3_list_updated_at.py +++ b/incident_io/models/actions_v3_list_updated_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ActionsV3ListUpdatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class ActionsV3ListUpdatedAt: """Filter on action updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/activity_action_ref_v2.py b/incident_io/models/activity_action_ref_v2.py index e3db801..cbab474 100644 --- a/incident_io/models/activity_action_ref_v2.py +++ b/incident_io/models/activity_action_ref_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ActivityActionRefV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityActionRefV2: """ Example: diff --git a/incident_io/models/activity_action_updated_v2.py b/incident_io/models/activity_action_updated_v2.py index 1be47ae..550efae 100644 --- a/incident_io/models/activity_action_updated_v2.py +++ b/incident_io/models/activity_action_updated_v2.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="ActivityActionUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityActionUpdatedV2: """ Example: diff --git a/incident_io/models/activity_alert_ref_v2.py b/incident_io/models/activity_alert_ref_v2.py index 412aa4a..0a150a0 100644 --- a/incident_io/models/activity_alert_ref_v2.py +++ b/incident_io/models/activity_alert_ref_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ActivityAlertRefV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityAlertRefV2: """ Example: diff --git a/incident_io/models/activity_custom_field_value_update_v2.py b/incident_io/models/activity_custom_field_value_update_v2.py index 8b3ea0c..1cab6c6 100644 --- a/incident_io/models/activity_custom_field_value_update_v2.py +++ b/incident_io/models/activity_custom_field_value_update_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ActivityCustomFieldValueUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityCustomFieldValueUpdateV2: """ Example: diff --git a/incident_io/models/activity_escalation_acknowledged_v2.py b/incident_io/models/activity_escalation_acknowledged_v2.py index 84d3ae0..438e72a 100644 --- a/incident_io/models/activity_escalation_acknowledged_v2.py +++ b/incident_io/models/activity_escalation_acknowledged_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ActivityEscalationAcknowledgedV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityEscalationAcknowledgedV2: """ Example: diff --git a/incident_io/models/activity_escalation_created_v2.py b/incident_io/models/activity_escalation_created_v2.py index 18b7215..5072980 100644 --- a/incident_io/models/activity_escalation_created_v2.py +++ b/incident_io/models/activity_escalation_created_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ActivityEscalationCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityEscalationCreatedV2: """ Example: diff --git a/incident_io/models/activity_follow_up_ref_v2.py b/incident_io/models/activity_follow_up_ref_v2.py index 7998e17..e4d81d1 100644 --- a/incident_io/models/activity_follow_up_ref_v2.py +++ b/incident_io/models/activity_follow_up_ref_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ActivityFollowUpRefV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityFollowUpRefV2: """ Example: diff --git a/incident_io/models/activity_follow_up_updated_v2.py b/incident_io/models/activity_follow_up_updated_v2.py index 4a3bb65..14da317 100644 --- a/incident_io/models/activity_follow_up_updated_v2.py +++ b/incident_io/models/activity_follow_up_updated_v2.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="ActivityFollowUpUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityFollowUpUpdatedV2: """ Example: diff --git a/incident_io/models/activity_incident_merged_v2.py b/incident_io/models/activity_incident_merged_v2.py index 57ad2d6..571e967 100644 --- a/incident_io/models/activity_incident_merged_v2.py +++ b/incident_io/models/activity_incident_merged_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ActivityIncidentMergedV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityIncidentMergedV2: """ Example: diff --git a/incident_io/models/activity_incident_rename_v2.py b/incident_io/models/activity_incident_rename_v2.py index 9307697..9017e48 100644 --- a/incident_io/models/activity_incident_rename_v2.py +++ b/incident_io/models/activity_incident_rename_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ActivityIncidentRenameV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityIncidentRenameV2: """ Example: diff --git a/incident_io/models/activity_incident_timestamp_set_v2.py b/incident_io/models/activity_incident_timestamp_set_v2.py index 094fbb0..3238423 100644 --- a/incident_io/models/activity_incident_timestamp_set_v2.py +++ b/incident_io/models/activity_incident_timestamp_set_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ActivityIncidentTimestampSetV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityIncidentTimestampSetV2: """ Example: diff --git a/incident_io/models/activity_incident_type_changed_v2.py b/incident_io/models/activity_incident_type_changed_v2.py index 5a656d4..5335434 100644 --- a/incident_io/models/activity_incident_type_changed_v2.py +++ b/incident_io/models/activity_incident_type_changed_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ActivityIncidentTypeChangedV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityIncidentTypeChangedV2: """ Example: diff --git a/incident_io/models/activity_incident_update_v2.py b/incident_io/models/activity_incident_update_v2.py index 4cd310c..c32a9e6 100644 --- a/incident_io/models/activity_incident_update_v2.py +++ b/incident_io/models/activity_incident_update_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ActivityIncidentUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityIncidentUpdateV2: """ Example: diff --git a/incident_io/models/activity_incident_visibility_changed_v2.py b/incident_io/models/activity_incident_visibility_changed_v2.py index baf70ef..1155b70 100644 --- a/incident_io/models/activity_incident_visibility_changed_v2.py +++ b/incident_io/models/activity_incident_visibility_changed_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="ActivityIncidentVisibilityChangedV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityIncidentVisibilityChangedV2: """ Example: diff --git a/incident_io/models/activity_role_update_v2.py b/incident_io/models/activity_role_update_v2.py index 562840d..5fc8cde 100644 --- a/incident_io/models/activity_role_update_v2.py +++ b/incident_io/models/activity_role_update_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ActivityRoleUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityRoleUpdateV2: """ Example: diff --git a/incident_io/models/activity_status_change_v2.py b/incident_io/models/activity_status_change_v2.py index f902a88..f5563d6 100644 --- a/incident_io/models/activity_status_change_v2.py +++ b/incident_io/models/activity_status_change_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ActivityStatusChangeV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityStatusChangeV2: """ Example: diff --git a/incident_io/models/activity_summary_update_v2.py b/incident_io/models/activity_summary_update_v2.py index f7ebde4..f5a94fb 100644 --- a/incident_io/models/activity_summary_update_v2.py +++ b/incident_io/models/activity_summary_update_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ActivitySummaryUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivitySummaryUpdateV2: """ Example: diff --git a/incident_io/models/activity_workflow_ran_v2.py b/incident_io/models/activity_workflow_ran_v2.py index 2f7faee..31ee817 100644 --- a/incident_io/models/activity_workflow_ran_v2.py +++ b/incident_io/models/activity_workflow_ran_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ActivityWorkflowRanV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActivityWorkflowRanV2: """ Example: diff --git a/incident_io/models/actor_v1.py b/incident_io/models/actor_v1.py index 08bb3f2..5a4db8a 100644 --- a/incident_io/models/actor_v1.py +++ b/incident_io/models/actor_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ActorV1") -@_attrs_define +@_attrs_define(kw_only=True) class ActorV1: """ Example: diff --git a/incident_io/models/actor_v2.py b/incident_io/models/actor_v2.py index a1de869..c608011 100644 --- a/incident_io/models/actor_v2.py +++ b/incident_io/models/actor_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="ActorV2") -@_attrs_define +@_attrs_define(kw_only=True) class ActorV2: """ Example: diff --git a/incident_io/models/after_pagination_meta_result_v2.py b/incident_io/models/after_pagination_meta_result_v2.py index 776fd3f..b35bf91 100644 --- a/incident_io/models/after_pagination_meta_result_v2.py +++ b/incident_io/models/after_pagination_meta_result_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AfterPaginationMetaResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AfterPaginationMetaResultV2: """ Example: diff --git a/incident_io/models/alert_actor_v2.py b/incident_io/models/alert_actor_v2.py index 676fefc..0a561ff 100644 --- a/incident_io/models/alert_actor_v2.py +++ b/incident_io/models/alert_actor_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertActorV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertActorV2: """ Example: diff --git a/incident_io/models/alert_attribute_catalog_entry_v2.py b/incident_io/models/alert_attribute_catalog_entry_v2.py index fec5ac7..bbf124e 100644 --- a/incident_io/models/alert_attribute_catalog_entry_v2.py +++ b/incident_io/models/alert_attribute_catalog_entry_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertAttributeCatalogEntryV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributeCatalogEntryV2: """ Example: diff --git a/incident_io/models/alert_attribute_entry_v2.py b/incident_io/models/alert_attribute_entry_v2.py index 955e4b1..87872f1 100644 --- a/incident_io/models/alert_attribute_entry_v2.py +++ b/incident_io/models/alert_attribute_entry_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AlertAttributeEntryV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributeEntryV2: """ Example: diff --git a/incident_io/models/alert_attribute_v2.py b/incident_io/models/alert_attribute_v2.py index 8430014..3413568 100644 --- a/incident_io/models/alert_attribute_v2.py +++ b/incident_io/models/alert_attribute_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AlertAttributeV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributeV2: """ Example: diff --git a/incident_io/models/alert_attribute_value_v2.py b/incident_io/models/alert_attribute_value_v2.py index 7bc8b3b..386a3f6 100644 --- a/incident_io/models/alert_attribute_value_v2.py +++ b/incident_io/models/alert_attribute_value_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertAttributeValueV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributeValueV2: """ Example: diff --git a/incident_io/models/alert_attributes_create_payload_v2.py b/incident_io/models/alert_attributes_create_payload_v2.py index 1768855..91d39c4 100644 --- a/incident_io/models/alert_attributes_create_payload_v2.py +++ b/incident_io/models/alert_attributes_create_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AlertAttributesCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributesCreatePayloadV2: """ Example: diff --git a/incident_io/models/alert_attributes_create_result_v2.py b/incident_io/models/alert_attributes_create_result_v2.py index f01e748..d22abd7 100644 --- a/incident_io/models/alert_attributes_create_result_v2.py +++ b/incident_io/models/alert_attributes_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertAttributesCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributesCreateResultV2: """ Example: diff --git a/incident_io/models/alert_attributes_list_result_v2.py b/incident_io/models/alert_attributes_list_result_v2.py index 4395970..aa60872 100644 --- a/incident_io/models/alert_attributes_list_result_v2.py +++ b/incident_io/models/alert_attributes_list_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertAttributesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributesListResultV2: """ Example: diff --git a/incident_io/models/alert_attributes_show_result_v2.py b/incident_io/models/alert_attributes_show_result_v2.py index dd73362..fa7b308 100644 --- a/incident_io/models/alert_attributes_show_result_v2.py +++ b/incident_io/models/alert_attributes_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertAttributesShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributesShowResultV2: """ Example: diff --git a/incident_io/models/alert_attributes_update_payload_v2.py b/incident_io/models/alert_attributes_update_payload_v2.py index e7a7ce3..33919fd 100644 --- a/incident_io/models/alert_attributes_update_payload_v2.py +++ b/incident_io/models/alert_attributes_update_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AlertAttributesUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributesUpdatePayloadV2: """ Example: diff --git a/incident_io/models/alert_attributes_update_result_v2.py b/incident_io/models/alert_attributes_update_result_v2.py index f143a11..a0b5b59 100644 --- a/incident_io/models/alert_attributes_update_result_v2.py +++ b/incident_io/models/alert_attributes_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertAttributesUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertAttributesUpdateResultV2: """ Example: diff --git a/incident_io/models/alert_events_create_http_payload_v2.py b/incident_io/models/alert_events_create_http_payload_v2.py index 8a4477f..99876a7 100644 --- a/incident_io/models/alert_events_create_http_payload_v2.py +++ b/incident_io/models/alert_events_create_http_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="AlertEventsCreateHTTPPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertEventsCreateHTTPPayloadV2: """ Example: diff --git a/incident_io/models/alert_events_create_http_payload_v2_metadata.py b/incident_io/models/alert_events_create_http_payload_v2_metadata.py index 001b2a2..35b1d42 100644 --- a/incident_io/models/alert_events_create_http_payload_v2_metadata.py +++ b/incident_io/models/alert_events_create_http_payload_v2_metadata.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertEventsCreateHTTPPayloadV2Metadata") -@_attrs_define +@_attrs_define(kw_only=True) class AlertEventsCreateHTTPPayloadV2Metadata: """Any additional metadata that you've configured your alert source to parse diff --git a/incident_io/models/alert_events_create_http_result_v2.py b/incident_io/models/alert_events_create_http_result_v2.py index daeda33..195f3af 100644 --- a/incident_io/models/alert_events_create_http_result_v2.py +++ b/incident_io/models/alert_events_create_http_result_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertEventsCreateHTTPResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertEventsCreateHTTPResultV2: """ Example: diff --git a/incident_io/models/alert_events_v2_create_http_query.py b/incident_io/models/alert_events_v2_create_http_query.py index d50b381..c00afb1 100644 --- a/incident_io/models/alert_events_v2_create_http_query.py +++ b/incident_io/models/alert_events_v2_create_http_query.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertEventsV2CreateHttpQuery") -@_attrs_define +@_attrs_define(kw_only=True) class AlertEventsV2CreateHttpQuery: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) diff --git a/incident_io/models/alert_grouping_config_v3.py b/incident_io/models/alert_grouping_config_v3.py index a58819e..b0f4a33 100644 --- a/incident_io/models/alert_grouping_config_v3.py +++ b/incident_io/models/alert_grouping_config_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertGroupingConfigV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertGroupingConfigV3: """ Example: diff --git a/incident_io/models/alert_message_config_payload_v3.py b/incident_io/models/alert_message_config_payload_v3.py index e67517e..abfd919 100644 --- a/incident_io/models/alert_message_config_payload_v3.py +++ b/incident_io/models/alert_message_config_payload_v3.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertMessageConfigPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertMessageConfigPayloadV3: """ Example: diff --git a/incident_io/models/alert_message_config_v3.py b/incident_io/models/alert_message_config_v3.py index 39cf9bc..e34b4e6 100644 --- a/incident_io/models/alert_message_config_v3.py +++ b/incident_io/models/alert_message_config_v3.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AlertMessageConfigV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertMessageConfigV3: """ Example: diff --git a/incident_io/models/alert_message_destination_payload_v3.py b/incident_io/models/alert_message_destination_payload_v3.py index f93901f..7aefc4f 100644 --- a/incident_io/models/alert_message_destination_payload_v3.py +++ b/incident_io/models/alert_message_destination_payload_v3.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertMessageDestinationPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertMessageDestinationPayloadV3: """ Example: diff --git a/incident_io/models/alert_message_destination_v3.py b/incident_io/models/alert_message_destination_v3.py index f087e9b..6b72600 100644 --- a/incident_io/models/alert_message_destination_v3.py +++ b/incident_io/models/alert_message_destination_v3.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AlertMessageDestinationV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertMessageDestinationV3: """ Example: diff --git a/incident_io/models/alert_note_v1.py b/incident_io/models/alert_note_v1.py index 8a15604..436caeb 100644 --- a/incident_io/models/alert_note_v1.py +++ b/incident_io/models/alert_note_v1.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="AlertNoteV1") -@_attrs_define +@_attrs_define(kw_only=True) class AlertNoteV1: """ Example: diff --git a/incident_io/models/alert_notes_create_payload_v1.py b/incident_io/models/alert_notes_create_payload_v1.py index 7770f67..1865f48 100644 --- a/incident_io/models/alert_notes_create_payload_v1.py +++ b/incident_io/models/alert_notes_create_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AlertNotesCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class AlertNotesCreatePayloadV1: """ Example: diff --git a/incident_io/models/alert_notes_create_result_v1.py b/incident_io/models/alert_notes_create_result_v1.py index c983c77..0621ce0 100644 --- a/incident_io/models/alert_notes_create_result_v1.py +++ b/incident_io/models/alert_notes_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertNotesCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class AlertNotesCreateResultV1: """ Example: diff --git a/incident_io/models/alert_notes_list_result_v1.py b/incident_io/models/alert_notes_list_result_v1.py index 1101d9a..1d19359 100644 --- a/incident_io/models/alert_notes_list_result_v1.py +++ b/incident_io/models/alert_notes_list_result_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertNotesListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class AlertNotesListResultV1: """ Example: diff --git a/incident_io/models/alert_notes_show_result_v1.py b/incident_io/models/alert_notes_show_result_v1.py index 74b2d71..44b0568 100644 --- a/incident_io/models/alert_notes_show_result_v1.py +++ b/incident_io/models/alert_notes_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertNotesShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class AlertNotesShowResultV1: """ Example: diff --git a/incident_io/models/alert_notes_update_payload_v1.py b/incident_io/models/alert_notes_update_payload_v1.py index 17f62f6..5466ee5 100644 --- a/incident_io/models/alert_notes_update_payload_v1.py +++ b/incident_io/models/alert_notes_update_payload_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertNotesUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class AlertNotesUpdatePayloadV1: """ Example: diff --git a/incident_io/models/alert_notes_update_result_v1.py b/incident_io/models/alert_notes_update_result_v1.py index 3809525..dc8303e 100644 --- a/incident_io/models/alert_notes_update_result_v1.py +++ b/incident_io/models/alert_notes_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertNotesUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class AlertNotesUpdateResultV1: """ Example: diff --git a/incident_io/models/alert_route_alert_source_payload_v2.py b/incident_io/models/alert_route_alert_source_payload_v2.py index 9c25224..f6c69a9 100644 --- a/incident_io/models/alert_route_alert_source_payload_v2.py +++ b/incident_io/models/alert_route_alert_source_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRouteAlertSourcePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteAlertSourcePayloadV2: """ Example: diff --git a/incident_io/models/alert_route_alert_source_payload_v3.py b/incident_io/models/alert_route_alert_source_payload_v3.py index 7fac04e..3eade5e 100644 --- a/incident_io/models/alert_route_alert_source_payload_v3.py +++ b/incident_io/models/alert_route_alert_source_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRouteAlertSourcePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteAlertSourcePayloadV3: """ Example: diff --git a/incident_io/models/alert_route_alert_source_v2.py b/incident_io/models/alert_route_alert_source_v2.py index e6a139a..e405de1 100644 --- a/incident_io/models/alert_route_alert_source_v2.py +++ b/incident_io/models/alert_route_alert_source_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRouteAlertSourceV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteAlertSourceV2: """ Example: diff --git a/incident_io/models/alert_route_alert_source_v3.py b/incident_io/models/alert_route_alert_source_v3.py index 3c5cb98..641e85b 100644 --- a/incident_io/models/alert_route_alert_source_v3.py +++ b/incident_io/models/alert_route_alert_source_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRouteAlertSourceV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteAlertSourceV3: """ Example: diff --git a/incident_io/models/alert_route_auto_generated_template_binding_payload_v2.py b/incident_io/models/alert_route_auto_generated_template_binding_payload_v2.py index 037ccd3..a990c28 100644 --- a/incident_io/models/alert_route_auto_generated_template_binding_payload_v2.py +++ b/incident_io/models/alert_route_auto_generated_template_binding_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteAutoGeneratedTemplateBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteAutoGeneratedTemplateBindingPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_auto_generated_template_binding_payload_v3.py b/incident_io/models/alert_route_auto_generated_template_binding_payload_v3.py index c793546..eaafae9 100644 --- a/incident_io/models/alert_route_auto_generated_template_binding_payload_v3.py +++ b/incident_io/models/alert_route_auto_generated_template_binding_payload_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteAutoGeneratedTemplateBindingPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteAutoGeneratedTemplateBindingPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_auto_generated_template_binding_v2.py b/incident_io/models/alert_route_auto_generated_template_binding_v2.py index d60a091..d306e23 100644 --- a/incident_io/models/alert_route_auto_generated_template_binding_v2.py +++ b/incident_io/models/alert_route_auto_generated_template_binding_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteAutoGeneratedTemplateBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteAutoGeneratedTemplateBindingV2: """ Example: diff --git a/incident_io/models/alert_route_auto_generated_template_binding_v3.py b/incident_io/models/alert_route_auto_generated_template_binding_v3.py index 0b232d5..f093f6c 100644 --- a/incident_io/models/alert_route_auto_generated_template_binding_v3.py +++ b/incident_io/models/alert_route_auto_generated_template_binding_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteAutoGeneratedTemplateBindingV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteAutoGeneratedTemplateBindingV3: """ Example: diff --git a/incident_io/models/alert_route_channel_config_payload_v2.py b/incident_io/models/alert_route_channel_config_payload_v2.py index 45b7758..5020f75 100644 --- a/incident_io/models/alert_route_channel_config_payload_v2.py +++ b/incident_io/models/alert_route_channel_config_payload_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertRouteChannelConfigPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteChannelConfigPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_channel_config_v2.py b/incident_io/models/alert_route_channel_config_v2.py index a3b6c15..3267694 100644 --- a/incident_io/models/alert_route_channel_config_v2.py +++ b/incident_io/models/alert_route_channel_config_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AlertRouteChannelConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteChannelConfigV2: """ Example: diff --git a/incident_io/models/alert_route_channel_target_payload_v2.py b/incident_io/models/alert_route_channel_target_payload_v2.py index 0742518..5eb0dac 100644 --- a/incident_io/models/alert_route_channel_target_payload_v2.py +++ b/incident_io/models/alert_route_channel_target_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRouteChannelTargetPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteChannelTargetPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_channel_target_payload_v3.py b/incident_io/models/alert_route_channel_target_payload_v3.py index 2cfa38e..1ec555e 100644 --- a/incident_io/models/alert_route_channel_target_payload_v3.py +++ b/incident_io/models/alert_route_channel_target_payload_v3.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertRouteChannelTargetPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteChannelTargetPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_channel_target_v2.py b/incident_io/models/alert_route_channel_target_v2.py index a82dc6d..f534714 100644 --- a/incident_io/models/alert_route_channel_target_v2.py +++ b/incident_io/models/alert_route_channel_target_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRouteChannelTargetV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteChannelTargetV2: """ Example: diff --git a/incident_io/models/alert_route_channel_target_v3.py b/incident_io/models/alert_route_channel_target_v3.py index 700c35f..358d8f3 100644 --- a/incident_io/models/alert_route_channel_target_v3.py +++ b/incident_io/models/alert_route_channel_target_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteChannelTargetV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteChannelTargetV3: """ Example: diff --git a/incident_io/models/alert_route_custom_field_binding_payload_v2.py b/incident_io/models/alert_route_custom_field_binding_payload_v2.py index f6359f7..8000235 100644 --- a/incident_io/models/alert_route_custom_field_binding_payload_v2.py +++ b/incident_io/models/alert_route_custom_field_binding_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="AlertRouteCustomFieldBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteCustomFieldBindingPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_custom_field_binding_payload_v3.py b/incident_io/models/alert_route_custom_field_binding_payload_v3.py index f99d5fe..efcc6f2 100644 --- a/incident_io/models/alert_route_custom_field_binding_payload_v3.py +++ b/incident_io/models/alert_route_custom_field_binding_payload_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="AlertRouteCustomFieldBindingPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteCustomFieldBindingPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_custom_field_binding_v2.py b/incident_io/models/alert_route_custom_field_binding_v2.py index ed59fb8..121f359 100644 --- a/incident_io/models/alert_route_custom_field_binding_v2.py +++ b/incident_io/models/alert_route_custom_field_binding_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="AlertRouteCustomFieldBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteCustomFieldBindingV2: """ Example: diff --git a/incident_io/models/alert_route_custom_field_binding_v3.py b/incident_io/models/alert_route_custom_field_binding_v3.py index 910b9c6..45f98df 100644 --- a/incident_io/models/alert_route_custom_field_binding_v3.py +++ b/incident_io/models/alert_route_custom_field_binding_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="AlertRouteCustomFieldBindingV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteCustomFieldBindingV3: """ Example: diff --git a/incident_io/models/alert_route_escalation_config_payload_v2.py b/incident_io/models/alert_route_escalation_config_payload_v2.py index 8cc8e30..4a6d5a9 100644 --- a/incident_io/models/alert_route_escalation_config_payload_v2.py +++ b/incident_io/models/alert_route_escalation_config_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteEscalationConfigPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteEscalationConfigPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_escalation_config_payload_v3.py b/incident_io/models/alert_route_escalation_config_payload_v3.py index dba3117..114aa01 100644 --- a/incident_io/models/alert_route_escalation_config_payload_v3.py +++ b/incident_io/models/alert_route_escalation_config_payload_v3.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="AlertRouteEscalationConfigPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteEscalationConfigPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_escalation_config_v2.py b/incident_io/models/alert_route_escalation_config_v2.py index f6bda98..715a62c 100644 --- a/incident_io/models/alert_route_escalation_config_v2.py +++ b/incident_io/models/alert_route_escalation_config_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRouteEscalationConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteEscalationConfigV2: """ Example: diff --git a/incident_io/models/alert_route_escalation_config_v3.py b/incident_io/models/alert_route_escalation_config_v3.py index 64a509b..92c44f4 100644 --- a/incident_io/models/alert_route_escalation_config_v3.py +++ b/incident_io/models/alert_route_escalation_config_v3.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertRouteEscalationConfigV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteEscalationConfigV3: """ Example: diff --git a/incident_io/models/alert_route_escalation_target_payload_v2.py b/incident_io/models/alert_route_escalation_target_payload_v2.py index bf554f7..7649d9a 100644 --- a/incident_io/models/alert_route_escalation_target_payload_v2.py +++ b/incident_io/models/alert_route_escalation_target_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteEscalationTargetPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteEscalationTargetPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_escalation_target_payload_v3.py b/incident_io/models/alert_route_escalation_target_payload_v3.py index 204a0ee..835a895 100644 --- a/incident_io/models/alert_route_escalation_target_payload_v3.py +++ b/incident_io/models/alert_route_escalation_target_payload_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteEscalationTargetPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteEscalationTargetPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_escalation_target_v2.py b/incident_io/models/alert_route_escalation_target_v2.py index 724294e..a6dcc05 100644 --- a/incident_io/models/alert_route_escalation_target_v2.py +++ b/incident_io/models/alert_route_escalation_target_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteEscalationTargetV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteEscalationTargetV2: """ Example: diff --git a/incident_io/models/alert_route_escalation_target_v3.py b/incident_io/models/alert_route_escalation_target_v3.py index 9900708..95310ac 100644 --- a/incident_io/models/alert_route_escalation_target_v3.py +++ b/incident_io/models/alert_route_escalation_target_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteEscalationTargetV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteEscalationTargetV3: """ Example: diff --git a/incident_io/models/alert_route_incident_config_payload_v2.py b/incident_io/models/alert_route_incident_config_payload_v2.py index 3c2db3c..d805e0b 100644 --- a/incident_io/models/alert_route_incident_config_payload_v2.py +++ b/incident_io/models/alert_route_incident_config_payload_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AlertRouteIncidentConfigPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteIncidentConfigPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_incident_config_payload_v3.py b/incident_io/models/alert_route_incident_config_payload_v3.py index a5b5fa5..1688658 100644 --- a/incident_io/models/alert_route_incident_config_payload_v3.py +++ b/incident_io/models/alert_route_incident_config_payload_v3.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AlertRouteIncidentConfigPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteIncidentConfigPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_incident_config_v2.py b/incident_io/models/alert_route_incident_config_v2.py index e6fc72b..da8fa4d 100644 --- a/incident_io/models/alert_route_incident_config_v2.py +++ b/incident_io/models/alert_route_incident_config_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertRouteIncidentConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteIncidentConfigV2: """ Example: diff --git a/incident_io/models/alert_route_incident_config_v3.py b/incident_io/models/alert_route_incident_config_v3.py index c2f3c0c..316fed9 100644 --- a/incident_io/models/alert_route_incident_config_v3.py +++ b/incident_io/models/alert_route_incident_config_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="AlertRouteIncidentConfigV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteIncidentConfigV3: """ Example: diff --git a/incident_io/models/alert_route_incident_template_payload_v2.py b/incident_io/models/alert_route_incident_template_payload_v2.py index 3cb7f7e..c02bcbc 100644 --- a/incident_io/models/alert_route_incident_template_payload_v2.py +++ b/incident_io/models/alert_route_incident_template_payload_v2.py @@ -26,7 +26,7 @@ T = TypeVar("T", bound="AlertRouteIncidentTemplatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteIncidentTemplatePayloadV2: """ Example: diff --git a/incident_io/models/alert_route_incident_template_payload_v3.py b/incident_io/models/alert_route_incident_template_payload_v3.py index 8024a62..75b3ea7 100644 --- a/incident_io/models/alert_route_incident_template_payload_v3.py +++ b/incident_io/models/alert_route_incident_template_payload_v3.py @@ -26,7 +26,7 @@ T = TypeVar("T", bound="AlertRouteIncidentTemplatePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteIncidentTemplatePayloadV3: """The template this alert route applies to the incidents it creates. It must be unset when incident creation is disabled. Disabling incident creation clears a template the route already has. diff --git a/incident_io/models/alert_route_incident_template_v2.py b/incident_io/models/alert_route_incident_template_v2.py index 23c4c4e..b07e5e1 100644 --- a/incident_io/models/alert_route_incident_template_v2.py +++ b/incident_io/models/alert_route_incident_template_v2.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="AlertRouteIncidentTemplateV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteIncidentTemplateV2: """ Example: diff --git a/incident_io/models/alert_route_incident_template_v3.py b/incident_io/models/alert_route_incident_template_v3.py index b5114a3..b36fd1f 100644 --- a/incident_io/models/alert_route_incident_template_v3.py +++ b/incident_io/models/alert_route_incident_template_v3.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="AlertRouteIncidentTemplateV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteIncidentTemplateV3: """The template an alert route applies to the incidents it creates. Disabling incident creation clears it. diff --git a/incident_io/models/alert_route_severity_binding_payload_v2.py b/incident_io/models/alert_route_severity_binding_payload_v2.py index 82a7762..745fcc1 100644 --- a/incident_io/models/alert_route_severity_binding_payload_v2.py +++ b/incident_io/models/alert_route_severity_binding_payload_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertRouteSeverityBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteSeverityBindingPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_severity_binding_payload_v3.py b/incident_io/models/alert_route_severity_binding_payload_v3.py index 0bb5bda..9f24aa8 100644 --- a/incident_io/models/alert_route_severity_binding_payload_v3.py +++ b/incident_io/models/alert_route_severity_binding_payload_v3.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertRouteSeverityBindingPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteSeverityBindingPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_severity_binding_v2.py b/incident_io/models/alert_route_severity_binding_v2.py index de8414d..14403f5 100644 --- a/incident_io/models/alert_route_severity_binding_v2.py +++ b/incident_io/models/alert_route_severity_binding_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertRouteSeverityBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteSeverityBindingV2: """ Example: diff --git a/incident_io/models/alert_route_severity_binding_v3.py b/incident_io/models/alert_route_severity_binding_v3.py index 992f016..dd020be 100644 --- a/incident_io/models/alert_route_severity_binding_v3.py +++ b/incident_io/models/alert_route_severity_binding_v3.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertRouteSeverityBindingV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteSeverityBindingV3: """ Example: diff --git a/incident_io/models/alert_route_slim_v2.py b/incident_io/models/alert_route_slim_v2.py index 120048c..6cff804 100644 --- a/incident_io/models/alert_route_slim_v2.py +++ b/incident_io/models/alert_route_slim_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertRouteSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteSlimV2: """ Example: diff --git a/incident_io/models/alert_route_slim_v3.py b/incident_io/models/alert_route_slim_v3.py index af01494..22c8f8e 100644 --- a/incident_io/models/alert_route_slim_v3.py +++ b/incident_io/models/alert_route_slim_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertRouteSlimV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteSlimV3: """ Example: diff --git a/incident_io/models/alert_route_template_binding_payload_v2.py b/incident_io/models/alert_route_template_binding_payload_v2.py index 76e9f1f..a69c85c 100644 --- a/incident_io/models/alert_route_template_binding_payload_v2.py +++ b/incident_io/models/alert_route_template_binding_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteTemplateBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteTemplateBindingPayloadV2: """ Example: diff --git a/incident_io/models/alert_route_template_binding_payload_v3.py b/incident_io/models/alert_route_template_binding_payload_v3.py index b523c0d..9da56d6 100644 --- a/incident_io/models/alert_route_template_binding_payload_v3.py +++ b/incident_io/models/alert_route_template_binding_payload_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteTemplateBindingPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteTemplateBindingPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_template_binding_v2.py b/incident_io/models/alert_route_template_binding_v2.py index 0609a27..53742e7 100644 --- a/incident_io/models/alert_route_template_binding_v2.py +++ b/incident_io/models/alert_route_template_binding_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteTemplateBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteTemplateBindingV2: """ Example: diff --git a/incident_io/models/alert_route_template_binding_v3.py b/incident_io/models/alert_route_template_binding_v3.py index d5da5ca..3c40fac 100644 --- a/incident_io/models/alert_route_template_binding_v3.py +++ b/incident_io/models/alert_route_template_binding_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertRouteTemplateBindingV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteTemplateBindingV3: """ Example: diff --git a/incident_io/models/alert_route_v2.py b/incident_io/models/alert_route_v2.py index d8ddbdb..a3e2b0f 100644 --- a/incident_io/models/alert_route_v2.py +++ b/incident_io/models/alert_route_v2.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="AlertRouteV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteV2: """ Example: diff --git a/incident_io/models/alert_route_v3.py b/incident_io/models/alert_route_v3.py index 9b35a81..d165156 100644 --- a/incident_io/models/alert_route_v3.py +++ b/incident_io/models/alert_route_v3.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="AlertRouteV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteV3: """ Example: diff --git a/incident_io/models/alert_route_when_alert_joins_group_payload_v3.py b/incident_io/models/alert_route_when_alert_joins_group_payload_v3.py index 601bf42..fc89ca9 100644 --- a/incident_io/models/alert_route_when_alert_joins_group_payload_v3.py +++ b/incident_io/models/alert_route_when_alert_joins_group_payload_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertRouteWhenAlertJoinsGroupPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteWhenAlertJoinsGroupPayloadV3: """ Example: diff --git a/incident_io/models/alert_route_when_alert_joins_group_v3.py b/incident_io/models/alert_route_when_alert_joins_group_v3.py index 9a77d77..d1085fa 100644 --- a/incident_io/models/alert_route_when_alert_joins_group_v3.py +++ b/incident_io/models/alert_route_when_alert_joins_group_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertRouteWhenAlertJoinsGroupV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRouteWhenAlertJoinsGroupV3: """ Example: diff --git a/incident_io/models/alert_routes_create_payload_v2.py b/incident_io/models/alert_routes_create_payload_v2.py index 38a5146..4c468e9 100644 --- a/incident_io/models/alert_routes_create_payload_v2.py +++ b/incident_io/models/alert_routes_create_payload_v2.py @@ -33,7 +33,7 @@ T = TypeVar("T", bound="AlertRoutesCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesCreatePayloadV2: """ Example: diff --git a/incident_io/models/alert_routes_create_payload_v3.py b/incident_io/models/alert_routes_create_payload_v3.py index 6a11f5f..cb29952 100644 --- a/incident_io/models/alert_routes_create_payload_v3.py +++ b/incident_io/models/alert_routes_create_payload_v3.py @@ -27,7 +27,7 @@ T = TypeVar("T", bound="AlertRoutesCreatePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesCreatePayloadV3: """ Example: diff --git a/incident_io/models/alert_routes_create_result_v2.py b/incident_io/models/alert_routes_create_result_v2.py index 5dddffd..31f5cbc 100644 --- a/incident_io/models/alert_routes_create_result_v2.py +++ b/incident_io/models/alert_routes_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRoutesCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesCreateResultV2: """ Example: diff --git a/incident_io/models/alert_routes_create_result_v3.py b/incident_io/models/alert_routes_create_result_v3.py index 05b5cc7..23aa8f8 100644 --- a/incident_io/models/alert_routes_create_result_v3.py +++ b/incident_io/models/alert_routes_create_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRoutesCreateResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesCreateResultV3: """ Example: diff --git a/incident_io/models/alert_routes_list_result_v2.py b/incident_io/models/alert_routes_list_result_v2.py index 1a95ac9..ee1b2be 100644 --- a/incident_io/models/alert_routes_list_result_v2.py +++ b/incident_io/models/alert_routes_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertRoutesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesListResultV2: """ Example: diff --git a/incident_io/models/alert_routes_list_result_v3.py b/incident_io/models/alert_routes_list_result_v3.py index 671474d..1d2734a 100644 --- a/incident_io/models/alert_routes_list_result_v3.py +++ b/incident_io/models/alert_routes_list_result_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertRoutesListResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesListResultV3: """ Example: diff --git a/incident_io/models/alert_routes_show_result_v2.py b/incident_io/models/alert_routes_show_result_v2.py index cfc74ff..e92f1cc 100644 --- a/incident_io/models/alert_routes_show_result_v2.py +++ b/incident_io/models/alert_routes_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRoutesShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesShowResultV2: """ Example: diff --git a/incident_io/models/alert_routes_show_result_v3.py b/incident_io/models/alert_routes_show_result_v3.py index a1cb936..1742249 100644 --- a/incident_io/models/alert_routes_show_result_v3.py +++ b/incident_io/models/alert_routes_show_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRoutesShowResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesShowResultV3: """ Example: diff --git a/incident_io/models/alert_routes_update_payload_v2.py b/incident_io/models/alert_routes_update_payload_v2.py index d560bd3..7d92fd5 100644 --- a/incident_io/models/alert_routes_update_payload_v2.py +++ b/incident_io/models/alert_routes_update_payload_v2.py @@ -33,7 +33,7 @@ T = TypeVar("T", bound="AlertRoutesUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesUpdatePayloadV2: """ Example: diff --git a/incident_io/models/alert_routes_update_payload_v3.py b/incident_io/models/alert_routes_update_payload_v3.py index 3183c00..858eebc 100644 --- a/incident_io/models/alert_routes_update_payload_v3.py +++ b/incident_io/models/alert_routes_update_payload_v3.py @@ -27,7 +27,7 @@ T = TypeVar("T", bound="AlertRoutesUpdatePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesUpdatePayloadV3: """ Example: diff --git a/incident_io/models/alert_routes_update_result_v2.py b/incident_io/models/alert_routes_update_result_v2.py index fb3ba0c..b666923 100644 --- a/incident_io/models/alert_routes_update_result_v2.py +++ b/incident_io/models/alert_routes_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRoutesUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesUpdateResultV2: """ Example: diff --git a/incident_io/models/alert_routes_update_result_v3.py b/incident_io/models/alert_routes_update_result_v3.py index cf2cf77..2eb04d1 100644 --- a/incident_io/models/alert_routes_update_result_v3.py +++ b/incident_io/models/alert_routes_update_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertRoutesUpdateResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class AlertRoutesUpdateResultV3: """ Example: diff --git a/incident_io/models/alert_slim_v2.py b/incident_io/models/alert_slim_v2.py index 132d7de..db4c425 100644 --- a/incident_io/models/alert_slim_v2.py +++ b/incident_io/models/alert_slim_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSlimV2: """ Example: diff --git a/incident_io/models/alert_source_azure_devops_options_v2.py b/incident_io/models/alert_source_azure_devops_options_v2.py index 913580a..5bd2d11 100644 --- a/incident_io/models/alert_source_azure_devops_options_v2.py +++ b/incident_io/models/alert_source_azure_devops_options_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertSourceAzureDevopsOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceAzureDevopsOptionsV2: """ Example: diff --git a/incident_io/models/alert_source_email_options_payload_v2.py b/incident_io/models/alert_source_email_options_payload_v2.py index 661c33e..115eae5 100644 --- a/incident_io/models/alert_source_email_options_payload_v2.py +++ b/incident_io/models/alert_source_email_options_payload_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertSourceEmailOptionsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceEmailOptionsPayloadV2: """ Example: diff --git a/incident_io/models/alert_source_email_options_v2.py b/incident_io/models/alert_source_email_options_v2.py index da89cb1..86f3253 100644 --- a/incident_io/models/alert_source_email_options_v2.py +++ b/incident_io/models/alert_source_email_options_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertSourceEmailOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceEmailOptionsV2: """ Example: diff --git a/incident_io/models/alert_source_heartbeat_options_payload_v2.py b/incident_io/models/alert_source_heartbeat_options_payload_v2.py index e23a7c5..bea90d3 100644 --- a/incident_io/models/alert_source_heartbeat_options_payload_v2.py +++ b/incident_io/models/alert_source_heartbeat_options_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AlertSourceHeartbeatOptionsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceHeartbeatOptionsPayloadV2: """ Example: diff --git a/incident_io/models/alert_source_heartbeat_options_v2.py b/incident_io/models/alert_source_heartbeat_options_v2.py index 162c06f..6fd6563 100644 --- a/incident_io/models/alert_source_heartbeat_options_v2.py +++ b/incident_io/models/alert_source_heartbeat_options_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertSourceHeartbeatOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceHeartbeatOptionsV2: """ Example: diff --git a/incident_io/models/alert_source_http_custom_options_v2.py b/incident_io/models/alert_source_http_custom_options_v2.py index 6dac796..a14caf7 100644 --- a/incident_io/models/alert_source_http_custom_options_v2.py +++ b/incident_io/models/alert_source_http_custom_options_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertSourceHTTPCustomOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceHTTPCustomOptionsV2: """ Example: diff --git a/incident_io/models/alert_source_jira_options_v2.py b/incident_io/models/alert_source_jira_options_v2.py index 5d2895b..ec48c5e 100644 --- a/incident_io/models/alert_source_jira_options_v2.py +++ b/incident_io/models/alert_source_jira_options_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertSourceJiraOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceJiraOptionsV2: """ Example: diff --git a/incident_io/models/alert_source_rate_limit_sharding_v2.py b/incident_io/models/alert_source_rate_limit_sharding_v2.py index c57ee35..5d8aefb 100644 --- a/incident_io/models/alert_source_rate_limit_sharding_v2.py +++ b/incident_io/models/alert_source_rate_limit_sharding_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertSourceRateLimitShardingV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceRateLimitShardingV2: """Controls how this source's ingest rate limit is split into buckets. diff --git a/incident_io/models/alert_source_v2.py b/incident_io/models/alert_source_v2.py index fb83b36..1790031 100644 --- a/incident_io/models/alert_source_v2.py +++ b/incident_io/models/alert_source_v2.py @@ -29,7 +29,7 @@ T = TypeVar("T", bound="AlertSourceV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourceV2: """ Example: diff --git a/incident_io/models/alert_sources_create_payload_v2.py b/incident_io/models/alert_sources_create_payload_v2.py index 72c6ca3..a9b064b 100644 --- a/incident_io/models/alert_sources_create_payload_v2.py +++ b/incident_io/models/alert_sources_create_payload_v2.py @@ -35,7 +35,7 @@ T = TypeVar("T", bound="AlertSourcesCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourcesCreatePayloadV2: """ Example: diff --git a/incident_io/models/alert_sources_create_result_v2.py b/incident_io/models/alert_sources_create_result_v2.py index 8f22026..2da5eb2 100644 --- a/incident_io/models/alert_sources_create_result_v2.py +++ b/incident_io/models/alert_sources_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertSourcesCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourcesCreateResultV2: """ Example: diff --git a/incident_io/models/alert_sources_list_result_v2.py b/incident_io/models/alert_sources_list_result_v2.py index 123bdb4..7dc695d 100644 --- a/incident_io/models/alert_sources_list_result_v2.py +++ b/incident_io/models/alert_sources_list_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertSourcesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourcesListResultV2: """ Example: diff --git a/incident_io/models/alert_sources_show_result_v2.py b/incident_io/models/alert_sources_show_result_v2.py index 55d40d8..800ab50 100644 --- a/incident_io/models/alert_sources_show_result_v2.py +++ b/incident_io/models/alert_sources_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertSourcesShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourcesShowResultV2: """ Example: diff --git a/incident_io/models/alert_sources_update_payload_v2.py b/incident_io/models/alert_sources_update_payload_v2.py index cc814bf..883c8be 100644 --- a/incident_io/models/alert_sources_update_payload_v2.py +++ b/incident_io/models/alert_sources_update_payload_v2.py @@ -32,7 +32,7 @@ T = TypeVar("T", bound="AlertSourcesUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourcesUpdatePayloadV2: """ Example: diff --git a/incident_io/models/alert_sources_update_result_v2.py b/incident_io/models/alert_sources_update_result_v2.py index 927b827..a6f63f4 100644 --- a/incident_io/models/alert_sources_update_result_v2.py +++ b/incident_io/models/alert_sources_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertSourcesUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourcesUpdateResultV2: """ Example: diff --git a/incident_io/models/alert_sources_validate_payload_v2.py b/incident_io/models/alert_sources_validate_payload_v2.py index cdc9178..9170a32 100644 --- a/incident_io/models/alert_sources_validate_payload_v2.py +++ b/incident_io/models/alert_sources_validate_payload_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertSourcesValidatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertSourcesValidatePayloadV2: """ Example: diff --git a/incident_io/models/alert_tag_v2.py b/incident_io/models/alert_tag_v2.py index 5f8c788..d5aa78c 100644 --- a/incident_io/models/alert_tag_v2.py +++ b/incident_io/models/alert_tag_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertTagV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertTagV2: """ Example: diff --git a/incident_io/models/alert_template_attribute_binding_payload_v2.py b/incident_io/models/alert_template_attribute_binding_payload_v2.py index e3883b3..98841b3 100644 --- a/incident_io/models/alert_template_attribute_binding_payload_v2.py +++ b/incident_io/models/alert_template_attribute_binding_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="AlertTemplateAttributeBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertTemplateAttributeBindingPayloadV2: """ Example: diff --git a/incident_io/models/alert_template_attribute_binding_v2.py b/incident_io/models/alert_template_attribute_binding_v2.py index 4ca88e3..c3c707b 100644 --- a/incident_io/models/alert_template_attribute_binding_v2.py +++ b/incident_io/models/alert_template_attribute_binding_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertTemplateAttributeBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertTemplateAttributeBindingV2: """ Example: diff --git a/incident_io/models/alert_template_attribute_payload_v2.py b/incident_io/models/alert_template_attribute_payload_v2.py index a65d82f..ea57578 100644 --- a/incident_io/models/alert_template_attribute_payload_v2.py +++ b/incident_io/models/alert_template_attribute_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertTemplateAttributePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertTemplateAttributePayloadV2: """ Example: diff --git a/incident_io/models/alert_template_attribute_v2.py b/incident_io/models/alert_template_attribute_v2.py index 25e9503..75d7bc5 100644 --- a/incident_io/models/alert_template_attribute_v2.py +++ b/incident_io/models/alert_template_attribute_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertTemplateAttributeV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertTemplateAttributeV2: """ Example: diff --git a/incident_io/models/alert_template_payload_v2.py b/incident_io/models/alert_template_payload_v2.py index 3a581ba..e2bd48a 100644 --- a/incident_io/models/alert_template_payload_v2.py +++ b/incident_io/models/alert_template_payload_v2.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="AlertTemplatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertTemplatePayloadV2: """ Example: diff --git a/incident_io/models/alert_template_v2.py b/incident_io/models/alert_template_v2.py index f47f831..b124472 100644 --- a/incident_io/models/alert_template_v2.py +++ b/incident_io/models/alert_template_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertTemplateV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertTemplateV2: """ Example: diff --git a/incident_io/models/alert_v2.py b/incident_io/models/alert_v2.py index 9d8b05f..eef7f0d 100644 --- a/incident_io/models/alert_v2.py +++ b/incident_io/models/alert_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="AlertV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertV2: """ Example: diff --git a/incident_io/models/alerts_add_tags_payload_v2.py b/incident_io/models/alerts_add_tags_payload_v2.py index 0429d9a..e42628e 100644 --- a/incident_io/models/alerts_add_tags_payload_v2.py +++ b/incident_io/models/alerts_add_tags_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsAddTagsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsAddTagsPayloadV2: """ Example: diff --git a/incident_io/models/alerts_add_tags_result_v2.py b/incident_io/models/alerts_add_tags_result_v2.py index 6c7ce92..3ba850c 100644 --- a/incident_io/models/alerts_add_tags_result_v2.py +++ b/incident_io/models/alerts_add_tags_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertsAddTagsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsAddTagsResultV2: """ Example: diff --git a/incident_io/models/alerts_create_incident_alert_payload_v2.py b/incident_io/models/alerts_create_incident_alert_payload_v2.py index f5a6a5a..dbb98af 100644 --- a/incident_io/models/alerts_create_incident_alert_payload_v2.py +++ b/incident_io/models/alerts_create_incident_alert_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AlertsCreateIncidentAlertPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsCreateIncidentAlertPayloadV2: """ Example: diff --git a/incident_io/models/alerts_create_incident_alert_result_v2.py b/incident_io/models/alerts_create_incident_alert_result_v2.py index 8b009cc..99e6229 100644 --- a/incident_io/models/alerts_create_incident_alert_result_v2.py +++ b/incident_io/models/alerts_create_incident_alert_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertsCreateIncidentAlertResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsCreateIncidentAlertResultV2: """ Example: diff --git a/incident_io/models/alerts_list_alert_tags_result_v2.py b/incident_io/models/alerts_list_alert_tags_result_v2.py index e4e32b7..65f6e80 100644 --- a/incident_io/models/alerts_list_alert_tags_result_v2.py +++ b/incident_io/models/alerts_list_alert_tags_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertsListAlertTagsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsListAlertTagsResultV2: """ Example: diff --git a/incident_io/models/alerts_list_incident_alerts_result_v2.py b/incident_io/models/alerts_list_incident_alerts_result_v2.py index c64bd5e..51bc8d7 100644 --- a/incident_io/models/alerts_list_incident_alerts_result_v2.py +++ b/incident_io/models/alerts_list_incident_alerts_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertsListIncidentAlertsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsListIncidentAlertsResultV2: """ Example: diff --git a/incident_io/models/alerts_list_result_v2.py b/incident_io/models/alerts_list_result_v2.py index dc36537..8aa8eac 100644 --- a/incident_io/models/alerts_list_result_v2.py +++ b/incident_io/models/alerts_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AlertsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsListResultV2: """ Example: diff --git a/incident_io/models/alerts_remove_tags_payload_v2.py b/incident_io/models/alerts_remove_tags_payload_v2.py index e88314e..a584b3f 100644 --- a/incident_io/models/alerts_remove_tags_payload_v2.py +++ b/incident_io/models/alerts_remove_tags_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsRemoveTagsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsRemoveTagsPayloadV2: """ Example: diff --git a/incident_io/models/alerts_remove_tags_result_v2.py b/incident_io/models/alerts_remove_tags_result_v2.py index 017bcfa..2bcee95 100644 --- a/incident_io/models/alerts_remove_tags_result_v2.py +++ b/incident_io/models/alerts_remove_tags_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertsRemoveTagsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsRemoveTagsResultV2: """ Example: diff --git a/incident_io/models/alerts_resolve_result_v2.py b/incident_io/models/alerts_resolve_result_v2.py index 802ef74..355baf5 100644 --- a/incident_io/models/alerts_resolve_result_v2.py +++ b/incident_io/models/alerts_resolve_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertsResolveResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsResolveResultV2: """ Example: diff --git a/incident_io/models/alerts_set_tags_payload_v2.py b/incident_io/models/alerts_set_tags_payload_v2.py index 4e16863..1b63608 100644 --- a/incident_io/models/alerts_set_tags_payload_v2.py +++ b/incident_io/models/alerts_set_tags_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsSetTagsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsSetTagsPayloadV2: """ Example: diff --git a/incident_io/models/alerts_set_tags_result_v2.py b/incident_io/models/alerts_set_tags_result_v2.py index bab94f2..ca5cd98 100644 --- a/incident_io/models/alerts_set_tags_result_v2.py +++ b/incident_io/models/alerts_set_tags_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertsSetTagsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsSetTagsResultV2: """ Example: diff --git a/incident_io/models/alerts_show_result_v2.py b/incident_io/models/alerts_show_result_v2.py index 8d6a4f9..1637bb9 100644 --- a/incident_io/models/alerts_show_result_v2.py +++ b/incident_io/models/alerts_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsShowResultV2: """ Example: diff --git a/incident_io/models/alerts_transition_incident_alert_payload_v2.py b/incident_io/models/alerts_transition_incident_alert_payload_v2.py index a7e6db3..79f38af 100644 --- a/incident_io/models/alerts_transition_incident_alert_payload_v2.py +++ b/incident_io/models/alerts_transition_incident_alert_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertsTransitionIncidentAlertPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsTransitionIncidentAlertPayloadV2: """ Example: diff --git a/incident_io/models/alerts_transition_incident_alert_result_v2.py b/incident_io/models/alerts_transition_incident_alert_result_v2.py index b4eecb5..bb99983 100644 --- a/incident_io/models/alerts_transition_incident_alert_result_v2.py +++ b/incident_io/models/alerts_transition_incident_alert_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="AlertsTransitionIncidentAlertResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsTransitionIncidentAlertResultV2: """ Example: diff --git a/incident_io/models/alerts_v2_list_alert_group_id.py b/incident_io/models/alerts_v2_list_alert_group_id.py index 50b7910..7aaf6f4 100644 --- a/incident_io/models/alerts_v2_list_alert_group_id.py +++ b/incident_io/models/alerts_v2_list_alert_group_id.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListAlertGroupId") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListAlertGroupId: """Filter on alert group ID. Returns alerts that belong to any of the specified groups. The accepted operator is 'one_of'. diff --git a/incident_io/models/alerts_v2_list_alert_source.py b/incident_io/models/alerts_v2_list_alert_source.py index 472ec62..f6c5f9d 100644 --- a/incident_io/models/alerts_v2_list_alert_source.py +++ b/incident_io/models/alerts_v2_list_alert_source.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListAlertSource") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListAlertSource: """Filter on alert source by ID. The accepted operators are 'one_of', or 'not_in'. diff --git a/incident_io/models/alerts_v2_list_attributes.py b/incident_io/models/alerts_v2_list_attributes.py index 0339ae0..b476af1 100644 --- a/incident_io/models/alerts_v2_list_attributes.py +++ b/incident_io/models/alerts_v2_list_attributes.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="AlertsV2ListAttributes") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListAttributes: """Filter on an alerts attributes. Alert attribute ID should be sent, followed by the operator and values. Accepted operator will depend on the attribute type. diff --git a/incident_io/models/alerts_v2_list_attributes_additional_property.py b/incident_io/models/alerts_v2_list_attributes_additional_property.py index 999b7cb..8ad3697 100644 --- a/incident_io/models/alerts_v2_list_attributes_additional_property.py +++ b/incident_io/models/alerts_v2_list_attributes_additional_property.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListAttributesAdditionalProperty") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListAttributesAdditionalProperty: """ Example: diff --git a/incident_io/models/alerts_v2_list_created_at.py b/incident_io/models/alerts_v2_list_created_at.py index 2c6bb57..02708e7 100644 --- a/incident_io/models/alerts_v2_list_created_at.py +++ b/incident_io/models/alerts_v2_list_created_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListCreatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListCreatedAt: """Filter on alert created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/alerts_v2_list_deduplication_key.py b/incident_io/models/alerts_v2_list_deduplication_key.py index b05b0ec..c3bad78 100644 --- a/incident_io/models/alerts_v2_list_deduplication_key.py +++ b/incident_io/models/alerts_v2_list_deduplication_key.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListDeduplicationKey") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListDeduplicationKey: """Filter on alert deduplication key. The accepted operator is 'is'. diff --git a/incident_io/models/alerts_v2_list_has_notes.py b/incident_io/models/alerts_v2_list_has_notes.py index 8803070..55a5a87 100644 --- a/incident_io/models/alerts_v2_list_has_notes.py +++ b/incident_io/models/alerts_v2_list_has_notes.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListHasNotes") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListHasNotes: """Filter on whether an alert has notes. The accepted operator is 'is'. diff --git a/incident_io/models/alerts_v2_list_include_maintenance_window.py b/incident_io/models/alerts_v2_list_include_maintenance_window.py index 4f92109..b3a039f 100644 --- a/incident_io/models/alerts_v2_list_include_maintenance_window.py +++ b/incident_io/models/alerts_v2_list_include_maintenance_window.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListIncludeMaintenanceWindow") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListIncludeMaintenanceWindow: """Filter on whether to include maintenance window alerts. The accepted operator is 'is'. diff --git a/incident_io/models/alerts_v2_list_status.py b/incident_io/models/alerts_v2_list_status.py index 15e52b3..50805bb 100644 --- a/incident_io/models/alerts_v2_list_status.py +++ b/incident_io/models/alerts_v2_list_status.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListStatus") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListStatus: """Filter on alert status. The accepted operators are 'one_of', or 'not_in'. diff --git a/incident_io/models/alerts_v2_list_tags.py b/incident_io/models/alerts_v2_list_tags.py index 57c261e..41702d3 100644 --- a/incident_io/models/alerts_v2_list_tags.py +++ b/incident_io/models/alerts_v2_list_tags.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListTags") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListTags: """Filter on the tags applied to an alert, by tag name. The accepted operators are 'one_of', 'all_of' and 'not_in'. diff --git a/incident_io/models/alerts_v2_list_updated_at.py b/incident_io/models/alerts_v2_list_updated_at.py index 6337477..dd9faac 100644 --- a/incident_io/models/alerts_v2_list_updated_at.py +++ b/incident_io/models/alerts_v2_list_updated_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AlertsV2ListUpdatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class AlertsV2ListUpdatedAt: """Filter on alert updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/api_key_actor_v1.py b/incident_io/models/api_key_actor_v1.py index 6fea6bf..9b203b5 100644 --- a/incident_io/models/api_key_actor_v1.py +++ b/incident_io/models/api_key_actor_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="APIKeyActorV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeyActorV1: """ Example: diff --git a/incident_io/models/api_key_actor_v2.py b/incident_io/models/api_key_actor_v2.py index 3b34b85..9bf8182 100644 --- a/incident_io/models/api_key_actor_v2.py +++ b/incident_io/models/api_key_actor_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="APIKeyActorV2") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeyActorV2: """ Example: diff --git a/incident_io/models/api_key_role_v1.py b/incident_io/models/api_key_role_v1.py index f2c4131..6c40024 100644 --- a/incident_io/models/api_key_role_v1.py +++ b/incident_io/models/api_key_role_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="APIKeyRoleV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeyRoleV1: """ Example: diff --git a/incident_io/models/api_key_team_role_v1.py b/incident_io/models/api_key_team_role_v1.py index 6063951..daa40a8 100644 --- a/incident_io/models/api_key_team_role_v1.py +++ b/incident_io/models/api_key_team_role_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="APIKeyTeamRoleV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeyTeamRoleV1: """ Example: diff --git a/incident_io/models/api_key_v1.py b/incident_io/models/api_key_v1.py index 1151807..96e8c36 100644 --- a/incident_io/models/api_key_v1.py +++ b/incident_io/models/api_key_v1.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="APIKeyV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeyV1: """ Example: diff --git a/incident_io/models/api_keys_create_payload_v1.py b/incident_io/models/api_keys_create_payload_v1.py index b321ab1..b1c6afc 100644 --- a/incident_io/models/api_keys_create_payload_v1.py +++ b/incident_io/models/api_keys_create_payload_v1.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="APIKeysCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeysCreatePayloadV1: """ Example: diff --git a/incident_io/models/api_keys_create_result_v1.py b/incident_io/models/api_keys_create_result_v1.py index 9205370..15dd29b 100644 --- a/incident_io/models/api_keys_create_result_v1.py +++ b/incident_io/models/api_keys_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="APIKeysCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeysCreateResultV1: """ Example: diff --git a/incident_io/models/api_keys_list_result_v1.py b/incident_io/models/api_keys_list_result_v1.py index 573a9f3..11b6597 100644 --- a/incident_io/models/api_keys_list_result_v1.py +++ b/incident_io/models/api_keys_list_result_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="APIKeysListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeysListResultV1: """ Example: diff --git a/incident_io/models/api_keys_rotate_payload_v1.py b/incident_io/models/api_keys_rotate_payload_v1.py index c3fd311..38692a3 100644 --- a/incident_io/models/api_keys_rotate_payload_v1.py +++ b/incident_io/models/api_keys_rotate_payload_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="APIKeysRotatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeysRotatePayloadV1: """ Example: diff --git a/incident_io/models/api_keys_rotate_result_v1.py b/incident_io/models/api_keys_rotate_result_v1.py index c1eab37..a2827af 100644 --- a/incident_io/models/api_keys_rotate_result_v1.py +++ b/incident_io/models/api_keys_rotate_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="APIKeysRotateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeysRotateResultV1: """ Example: diff --git a/incident_io/models/api_keys_show_result_v1.py b/incident_io/models/api_keys_show_result_v1.py index ca90526..ab29aeb 100644 --- a/incident_io/models/api_keys_show_result_v1.py +++ b/incident_io/models/api_keys_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="APIKeysShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeysShowResultV1: """ Example: diff --git a/incident_io/models/api_keys_update_payload_v1.py b/incident_io/models/api_keys_update_payload_v1.py index b3d96e6..4e14a0d 100644 --- a/incident_io/models/api_keys_update_payload_v1.py +++ b/incident_io/models/api_keys_update_payload_v1.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="APIKeysUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeysUpdatePayloadV1: """ Example: diff --git a/incident_io/models/api_keys_update_result_v1.py b/incident_io/models/api_keys_update_result_v1.py index 212b671..cbec4fd 100644 --- a/incident_io/models/api_keys_update_result_v1.py +++ b/incident_io/models/api_keys_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="APIKeysUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class APIKeysUpdateResultV1: """ Example: diff --git a/incident_io/models/audit_log_actor_metadata_v2.py b/incident_io/models/audit_log_actor_metadata_v2.py index e52b9e2..aeedacb 100644 --- a/incident_io/models/audit_log_actor_metadata_v2.py +++ b/incident_io/models/audit_log_actor_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogActorMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogActorMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_actor_v2.py b/incident_io/models/audit_log_actor_v2.py index bd3baab..7b7cfdf 100644 --- a/incident_io/models/audit_log_actor_v2.py +++ b/incident_io/models/audit_log_actor_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogActorV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogActorV2: """ Example: diff --git a/incident_io/models/audit_log_announcement_post_template_owning_teams_metadata_v2.py b/incident_io/models/audit_log_announcement_post_template_owning_teams_metadata_v2.py index d6bc9c2..4113c4d 100644 --- a/incident_io/models/audit_log_announcement_post_template_owning_teams_metadata_v2.py +++ b/incident_io/models/audit_log_announcement_post_template_owning_teams_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogAnnouncementPostTemplateOwningTeamsMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogAnnouncementPostTemplateOwningTeamsMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_announcement_rule_metadata_v2.py b/incident_io/models/audit_log_announcement_rule_metadata_v2.py index fe4a574..25d0469 100644 --- a/incident_io/models/audit_log_announcement_rule_metadata_v2.py +++ b/incident_io/models/audit_log_announcement_rule_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogAnnouncementRuleMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogAnnouncementRuleMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2.py b/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2.py index 3fd4127..c0efa96 100644 --- a/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2.py +++ b/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogCatalogAttributeUpdatedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogCatalogAttributeUpdatedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2v2.py b/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2v2.py index 12205b1..caa4795 100644 --- a/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2v2.py +++ b/incident_io/models/audit_log_catalog_attribute_updated_metadata_v2v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogCatalogAttributeUpdatedMetadataV2V2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogCatalogAttributeUpdatedMetadataV2V2: """ Example: diff --git a/incident_io/models/audit_log_email_otp_login_setting_updated_metadata_v2.py b/incident_io/models/audit_log_email_otp_login_setting_updated_metadata_v2.py index 53fbd74..987e7ad 100644 --- a/incident_io/models/audit_log_email_otp_login_setting_updated_metadata_v2.py +++ b/incident_io/models/audit_log_email_otp_login_setting_updated_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogEmailOtpLoginSettingUpdatedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogEmailOtpLoginSettingUpdatedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_entry_context_v2.py b/incident_io/models/audit_log_entry_context_v2.py index 1cf7d65..bb270e7 100644 --- a/incident_io/models/audit_log_entry_context_v2.py +++ b/incident_io/models/audit_log_entry_context_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogEntryContextV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogEntryContextV2: """ Example: diff --git a/incident_io/models/audit_log_extension_connector_called_metadata_v2.py b/incident_io/models/audit_log_extension_connector_called_metadata_v2.py index 7a932a0..1ef42e7 100644 --- a/incident_io/models/audit_log_extension_connector_called_metadata_v2.py +++ b/incident_io/models/audit_log_extension_connector_called_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogExtensionConnectorCalledMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogExtensionConnectorCalledMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_extension_connector_called_metadata_v2v2.py b/incident_io/models/audit_log_extension_connector_called_metadata_v2v2.py index febe611..0e25deb 100644 --- a/incident_io/models/audit_log_extension_connector_called_metadata_v2v2.py +++ b/incident_io/models/audit_log_extension_connector_called_metadata_v2v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogExtensionConnectorCalledMetadataV2V2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogExtensionConnectorCalledMetadataV2V2: """ Example: diff --git a/incident_io/models/audit_log_extension_connector_called_metadata_v3v2.py b/incident_io/models/audit_log_extension_connector_called_metadata_v3v2.py index b38da1e..2747620 100644 --- a/incident_io/models/audit_log_extension_connector_called_metadata_v3v2.py +++ b/incident_io/models/audit_log_extension_connector_called_metadata_v3v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogExtensionConnectorCalledMetadataV3V2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogExtensionConnectorCalledMetadataV3V2: """ Example: diff --git a/incident_io/models/audit_log_hris_time_off_policy_updated_metadata_v2.py b/incident_io/models/audit_log_hris_time_off_policy_updated_metadata_v2.py index 026aaad..0331a7b 100644 --- a/incident_io/models/audit_log_hris_time_off_policy_updated_metadata_v2.py +++ b/incident_io/models/audit_log_hris_time_off_policy_updated_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogHrisTimeOffPolicyUpdatedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogHrisTimeOffPolicyUpdatedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_incident_type_default_teams_metadata_v2.py b/incident_io/models/audit_log_incident_type_default_teams_metadata_v2.py index 1edc3c0..bfef0f4 100644 --- a/incident_io/models/audit_log_incident_type_default_teams_metadata_v2.py +++ b/incident_io/models/audit_log_incident_type_default_teams_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogIncidentTypeDefaultTeamsMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogIncidentTypeDefaultTeamsMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_ip_allowlist_updated_metadata_v2.py b/incident_io/models/audit_log_ip_allowlist_updated_metadata_v2.py index d53f3e1..e8d6ebf 100644 --- a/incident_io/models/audit_log_ip_allowlist_updated_metadata_v2.py +++ b/incident_io/models/audit_log_ip_allowlist_updated_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogIPAllowlistUpdatedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogIPAllowlistUpdatedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_microsoft_entra_tenant_linked_metadata_v2.py b/incident_io/models/audit_log_microsoft_entra_tenant_linked_metadata_v2.py index e4761a0..1c496a2 100644 --- a/incident_io/models/audit_log_microsoft_entra_tenant_linked_metadata_v2.py +++ b/incident_io/models/audit_log_microsoft_entra_tenant_linked_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogMicrosoftEntraTenantLinkedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogMicrosoftEntraTenantLinkedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_mobile_intune_enabled_setting_updated_metadata_v2.py b/incident_io/models/audit_log_mobile_intune_enabled_setting_updated_metadata_v2.py index 266d575..eaf5c9f 100644 --- a/incident_io/models/audit_log_mobile_intune_enabled_setting_updated_metadata_v2.py +++ b/incident_io/models/audit_log_mobile_intune_enabled_setting_updated_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_on_call_notification_method_metadata_v2.py b/incident_io/models/audit_log_on_call_notification_method_metadata_v2.py index 83f0bf1..510da3a 100644 --- a/incident_io/models/audit_log_on_call_notification_method_metadata_v2.py +++ b/incident_io/models/audit_log_on_call_notification_method_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogOnCallNotificationMethodMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogOnCallNotificationMethodMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_on_call_upsell_requested_metadata_v2.py b/incident_io/models/audit_log_on_call_upsell_requested_metadata_v2.py index 11c2b5e..2bed00c 100644 --- a/incident_io/models/audit_log_on_call_upsell_requested_metadata_v2.py +++ b/incident_io/models/audit_log_on_call_upsell_requested_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogOnCallUpsellRequestedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogOnCallUpsellRequestedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_organisation_settings_updated_metadata_v2.py b/incident_io/models/audit_log_organisation_settings_updated_metadata_v2.py index bc379d8..8696f4d 100644 --- a/incident_io/models/audit_log_organisation_settings_updated_metadata_v2.py +++ b/incident_io/models/audit_log_organisation_settings_updated_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogOrganisationSettingsUpdatedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogOrganisationSettingsUpdatedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_policy_metadata_v2.py b/incident_io/models/audit_log_policy_metadata_v2.py index df6cccb..b929083 100644 --- a/incident_io/models/audit_log_policy_metadata_v2.py +++ b/incident_io/models/audit_log_policy_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogPolicyMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogPolicyMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2.py b/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2.py index b2216d1..7ab9c8f 100644 --- a/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2.py +++ b/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AuditLogPrivateAlertAccessAttemptedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogPrivateAlertAccessAttemptedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2.py b/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2.py index 03d0817..2eb66ea 100644 --- a/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2.py +++ b/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AuditLogPrivateEscalationAccessAttemptedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogPrivateEscalationAccessAttemptedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2.py b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2.py index 6a63140..b0f6a56 100644 --- a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2.py +++ b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AuditLogPrivateIncidentAccessAttemptedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogPrivateIncidentAccessAttemptedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2.py b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2.py index f806c4b..b369faa 100644 --- a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2.py +++ b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogPrivateIncidentAccessAttemptedMetadataV2V2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogPrivateIncidentAccessAttemptedMetadataV2V2: """ Example: diff --git a/incident_io/models/audit_log_private_insights_exported_metadata_v2.py b/incident_io/models/audit_log_private_insights_exported_metadata_v2.py index e2b8663..352364b 100644 --- a/incident_io/models/audit_log_private_insights_exported_metadata_v2.py +++ b/incident_io/models/audit_log_private_insights_exported_metadata_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AuditLogPrivateInsightsExportedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogPrivateInsightsExportedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2.py b/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2.py index 9e1aff5..19db31b 100644 --- a/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2.py +++ b/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AuditLogPrivateInsightsMeasureQueriedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogPrivateInsightsMeasureQueriedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2.py b/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2.py index 6436a81..60e5abb 100644 --- a/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2.py +++ b/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_qr_code_mobile_login_setting_updated_metadata_v2.py b/incident_io/models/audit_log_qr_code_mobile_login_setting_updated_metadata_v2.py index 266346b..37b594c 100644 --- a/incident_io/models/audit_log_qr_code_mobile_login_setting_updated_metadata_v2.py +++ b/incident_io/models/audit_log_qr_code_mobile_login_setting_updated_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogQrCodeMobileLoginSettingUpdatedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogQrCodeMobileLoginSettingUpdatedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_schedule_override_metadata_v2.py b/incident_io/models/audit_log_schedule_override_metadata_v2.py index 4e9002e..ebac389 100644 --- a/incident_io/models/audit_log_schedule_override_metadata_v2.py +++ b/incident_io/models/audit_log_schedule_override_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogScheduleOverrideMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogScheduleOverrideMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_scim_group_seat_mapping_changed_metadata_v2.py b/incident_io/models/audit_log_scim_group_seat_mapping_changed_metadata_v2.py index df45275..2087881 100644 --- a/incident_io/models/audit_log_scim_group_seat_mapping_changed_metadata_v2.py +++ b/incident_io/models/audit_log_scim_group_seat_mapping_changed_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogSCIMGroupSeatMappingChangedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogSCIMGroupSeatMappingChangedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_target_v2.py b/incident_io/models/audit_log_target_v2.py index 941a0ff..05dfd0e 100644 --- a/incident_io/models/audit_log_target_v2.py +++ b/incident_io/models/audit_log_target_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="AuditLogTargetV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTargetV2: """ Example: diff --git a/incident_io/models/audit_log_telemetry_data_source_access_mode_changed_metadata_v2.py b/incident_io/models/audit_log_telemetry_data_source_access_mode_changed_metadata_v2.py index ed8ee9b..c310e2a 100644 --- a/incident_io/models/audit_log_telemetry_data_source_access_mode_changed_metadata_v2.py +++ b/incident_io/models/audit_log_telemetry_data_source_access_mode_changed_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogTelemetryDataSourceAccessModeChangedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTelemetryDataSourceAccessModeChangedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2.py b/incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2.py index 5f8d2bd..8ff4ad3 100644 --- a/incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2.py +++ b/incident_io/models/audit_log_telemetry_data_source_access_policy_changed_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2.py b/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2.py index 43b6851..278c050 100644 --- a/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2.py +++ b/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogTelemetryDataSourceQueriedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTelemetryDataSourceQueriedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2v2.py b/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2v2.py index f941d4e..87dc82f 100644 --- a/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2v2.py +++ b/incident_io/models/audit_log_telemetry_data_source_queried_metadata_v2v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogTelemetryDataSourceQueriedMetadataV2V2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTelemetryDataSourceQueriedMetadataV2V2: """ Example: diff --git a/incident_io/models/audit_log_telemetry_data_source_requested_metadata_v2.py b/incident_io/models/audit_log_telemetry_data_source_requested_metadata_v2.py index b42fd60..0922568 100644 --- a/incident_io/models/audit_log_telemetry_data_source_requested_metadata_v2.py +++ b/incident_io/models/audit_log_telemetry_data_source_requested_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogTelemetryDataSourceRequestedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTelemetryDataSourceRequestedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_telemetry_data_source_tool_access_changed_metadata_v2.py b/incident_io/models/audit_log_telemetry_data_source_tool_access_changed_metadata_v2.py index ca4aebc..2c52144 100644 --- a/incident_io/models/audit_log_telemetry_data_source_tool_access_changed_metadata_v2.py +++ b/incident_io/models/audit_log_telemetry_data_source_tool_access_changed_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogTelemetryDataSourceToolAccessChangedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTelemetryDataSourceToolAccessChangedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_telemetry_data_source_tool_overrides_changed_metadata_v2.py b/incident_io/models/audit_log_telemetry_data_source_tool_overrides_changed_metadata_v2.py index d01ce85..ce9bb4f 100644 --- a/incident_io/models/audit_log_telemetry_data_source_tool_overrides_changed_metadata_v2.py +++ b/incident_io/models/audit_log_telemetry_data_source_tool_overrides_changed_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogTelemetryDataSourceToolOverridesChangedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTelemetryDataSourceToolOverridesChangedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_telemetry_data_source_write_access_metadata_v2.py b/incident_io/models/audit_log_telemetry_data_source_write_access_metadata_v2.py index cb03d88..c2b4924 100644 --- a/incident_io/models/audit_log_telemetry_data_source_write_access_metadata_v2.py +++ b/incident_io/models/audit_log_telemetry_data_source_write_access_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogTelemetryDataSourceWriteAccessMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogTelemetryDataSourceWriteAccessMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_user_logged_in_metadata_v2.py b/incident_io/models/audit_log_user_logged_in_metadata_v2.py index 4deffc4..cfebaab 100644 --- a/incident_io/models/audit_log_user_logged_in_metadata_v2.py +++ b/incident_io/models/audit_log_user_logged_in_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogUserLoggedInMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogUserLoggedInMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_user_role_membership_changed_metadata_v2.py b/incident_io/models/audit_log_user_role_membership_changed_metadata_v2.py index b6fc8c4..4f501b2 100644 --- a/incident_io/models/audit_log_user_role_membership_changed_metadata_v2.py +++ b/incident_io/models/audit_log_user_role_membership_changed_metadata_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="AuditLogUserRoleMembershipChangedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogUserRoleMembershipChangedMetadataV2: """ Example: diff --git a/incident_io/models/audit_log_user_scim_group_mapping_changed_metadata_v2.py b/incident_io/models/audit_log_user_scim_group_mapping_changed_metadata_v2.py index cd9aec3..8f8acf1 100644 --- a/incident_io/models/audit_log_user_scim_group_mapping_changed_metadata_v2.py +++ b/incident_io/models/audit_log_user_scim_group_mapping_changed_metadata_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="AuditLogUserSCIMGroupMappingChangedMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogUserSCIMGroupMappingChangedMetadataV2: """ Example: diff --git a/incident_io/models/audit_logs_activity_log_scrubbed_v1.py b/incident_io/models/audit_logs_activity_log_scrubbed_v1.py index 57d398a..bb3df78 100644 --- a/incident_io/models/audit_logs_activity_log_scrubbed_v1.py +++ b/incident_io/models/audit_logs_activity_log_scrubbed_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsActivityLogScrubbedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsActivityLogScrubbedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_chat_message_template_created_v1.py b/incident_io/models/audit_logs_alert_chat_message_template_created_v1.py index 1305930..2002e7e 100644 --- a/incident_io/models/audit_logs_alert_chat_message_template_created_v1.py +++ b/incident_io/models/audit_logs_alert_chat_message_template_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertChatMessageTemplateCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertChatMessageTemplateCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_chat_message_template_deleted_v1.py b/incident_io/models/audit_logs_alert_chat_message_template_deleted_v1.py index a30e3c7..7485cc8 100644 --- a/incident_io/models/audit_logs_alert_chat_message_template_deleted_v1.py +++ b/incident_io/models/audit_logs_alert_chat_message_template_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertChatMessageTemplateDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertChatMessageTemplateDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_chat_message_template_updated_v1.py b/incident_io/models/audit_logs_alert_chat_message_template_updated_v1.py index fd54fb0..c496ede 100644 --- a/incident_io/models/audit_logs_alert_chat_message_template_updated_v1.py +++ b/incident_io/models/audit_logs_alert_chat_message_template_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertChatMessageTemplateUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertChatMessageTemplateUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_priority_created_v1.py b/incident_io/models/audit_logs_alert_priority_created_v1.py index f6e51a0..39d2f8c 100644 --- a/incident_io/models/audit_logs_alert_priority_created_v1.py +++ b/incident_io/models/audit_logs_alert_priority_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertPriorityCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertPriorityCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_priority_deleted_v1.py b/incident_io/models/audit_logs_alert_priority_deleted_v1.py index 76de314..283fc11 100644 --- a/incident_io/models/audit_logs_alert_priority_deleted_v1.py +++ b/incident_io/models/audit_logs_alert_priority_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertPriorityDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertPriorityDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_priority_set_as_default_v1.py b/incident_io/models/audit_logs_alert_priority_set_as_default_v1.py index 3988cbb..8145bec 100644 --- a/incident_io/models/audit_logs_alert_priority_set_as_default_v1.py +++ b/incident_io/models/audit_logs_alert_priority_set_as_default_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertPrioritySetAsDefaultV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertPrioritySetAsDefaultV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_priority_updated_v1.py b/incident_io/models/audit_logs_alert_priority_updated_v1.py index 9d7d778..3f9298c 100644 --- a/incident_io/models/audit_logs_alert_priority_updated_v1.py +++ b/incident_io/models/audit_logs_alert_priority_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertPriorityUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertPriorityUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_route_created_v1.py b/incident_io/models/audit_logs_alert_route_created_v1.py index bbb4ffe..e1c9c5f 100644 --- a/incident_io/models/audit_logs_alert_route_created_v1.py +++ b/incident_io/models/audit_logs_alert_route_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertRouteCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertRouteCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_route_deleted_v1.py b/incident_io/models/audit_logs_alert_route_deleted_v1.py index 2286d9d..94bcb5a 100644 --- a/incident_io/models/audit_logs_alert_route_deleted_v1.py +++ b/incident_io/models/audit_logs_alert_route_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertRouteDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertRouteDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_route_updated_v1.py b/incident_io/models/audit_logs_alert_route_updated_v1.py index adc531b..a8dd230 100644 --- a/incident_io/models/audit_logs_alert_route_updated_v1.py +++ b/incident_io/models/audit_logs_alert_route_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertRouteUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertRouteUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_schema_updated_v1.py b/incident_io/models/audit_logs_alert_schema_updated_v1.py index ac96811..5404609 100644 --- a/incident_io/models/audit_logs_alert_schema_updated_v1.py +++ b/incident_io/models/audit_logs_alert_schema_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertSchemaUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertSchemaUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_scrubbed_v1.py b/incident_io/models/audit_logs_alert_scrubbed_v1.py index 80c1bfc..98e1be4 100644 --- a/incident_io/models/audit_logs_alert_scrubbed_v1.py +++ b/incident_io/models/audit_logs_alert_scrubbed_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertScrubbedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertScrubbedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_source_config_created_v1.py b/incident_io/models/audit_logs_alert_source_config_created_v1.py index ffe6009..e7a94fb 100644 --- a/incident_io/models/audit_logs_alert_source_config_created_v1.py +++ b/incident_io/models/audit_logs_alert_source_config_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertSourceConfigCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertSourceConfigCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_source_config_deleted_v1.py b/incident_io/models/audit_logs_alert_source_config_deleted_v1.py index f323298..b52b692 100644 --- a/incident_io/models/audit_logs_alert_source_config_deleted_v1.py +++ b/incident_io/models/audit_logs_alert_source_config_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertSourceConfigDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertSourceConfigDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_alert_source_config_updated_v1.py b/incident_io/models/audit_logs_alert_source_config_updated_v1.py index 0c54b6b..9bd196b 100644 --- a/incident_io/models/audit_logs_alert_source_config_updated_v1.py +++ b/incident_io/models/audit_logs_alert_source_config_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAlertSourceConfigUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAlertSourceConfigUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_announcement_post_template_created_v1.py b/incident_io/models/audit_logs_announcement_post_template_created_v1.py index 642bd5a..066c8e5 100644 --- a/incident_io/models/audit_logs_announcement_post_template_created_v1.py +++ b/incident_io/models/audit_logs_announcement_post_template_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementPostTemplateCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementPostTemplateCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_announcement_post_template_created_v2.py b/incident_io/models/audit_logs_announcement_post_template_created_v2.py index 8d086ab..9a3d253 100644 --- a/incident_io/models/audit_logs_announcement_post_template_created_v2.py +++ b/incident_io/models/audit_logs_announcement_post_template_created_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementPostTemplateCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementPostTemplateCreatedV2: """ Example: diff --git a/incident_io/models/audit_logs_announcement_post_template_deleted_v1.py b/incident_io/models/audit_logs_announcement_post_template_deleted_v1.py index 84a6758..9e3675f 100644 --- a/incident_io/models/audit_logs_announcement_post_template_deleted_v1.py +++ b/incident_io/models/audit_logs_announcement_post_template_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementPostTemplateDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementPostTemplateDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_announcement_post_template_set_as_default_v1.py b/incident_io/models/audit_logs_announcement_post_template_set_as_default_v1.py index 3304a6f..4f4686b 100644 --- a/incident_io/models/audit_logs_announcement_post_template_set_as_default_v1.py +++ b/incident_io/models/audit_logs_announcement_post_template_set_as_default_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementPostTemplateSetAsDefaultV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementPostTemplateSetAsDefaultV1: """ Example: diff --git a/incident_io/models/audit_logs_announcement_post_template_updated_v1.py b/incident_io/models/audit_logs_announcement_post_template_updated_v1.py index 340c29a..72d5915 100644 --- a/incident_io/models/audit_logs_announcement_post_template_updated_v1.py +++ b/incident_io/models/audit_logs_announcement_post_template_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementPostTemplateUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementPostTemplateUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_announcement_post_template_updated_v2.py b/incident_io/models/audit_logs_announcement_post_template_updated_v2.py index 2392205..3aa02e7 100644 --- a/incident_io/models/audit_logs_announcement_post_template_updated_v2.py +++ b/incident_io/models/audit_logs_announcement_post_template_updated_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementPostTemplateUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementPostTemplateUpdatedV2: """ Example: diff --git a/incident_io/models/audit_logs_announcement_rule_created_v1.py b/incident_io/models/audit_logs_announcement_rule_created_v1.py index 03ef10a..d2bb4ab 100644 --- a/incident_io/models/audit_logs_announcement_rule_created_v1.py +++ b/incident_io/models/audit_logs_announcement_rule_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementRuleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementRuleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_announcement_rule_created_v2.py b/incident_io/models/audit_logs_announcement_rule_created_v2.py index 8c13a08..e6471c7 100644 --- a/incident_io/models/audit_logs_announcement_rule_created_v2.py +++ b/incident_io/models/audit_logs_announcement_rule_created_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementRuleCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementRuleCreatedV2: """ Example: diff --git a/incident_io/models/audit_logs_announcement_rule_deleted_v1.py b/incident_io/models/audit_logs_announcement_rule_deleted_v1.py index 636aad9..6752cf4 100644 --- a/incident_io/models/audit_logs_announcement_rule_deleted_v1.py +++ b/incident_io/models/audit_logs_announcement_rule_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementRuleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementRuleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_announcement_rule_updated_v1.py b/incident_io/models/audit_logs_announcement_rule_updated_v1.py index c984bf0..782825e 100644 --- a/incident_io/models/audit_logs_announcement_rule_updated_v1.py +++ b/incident_io/models/audit_logs_announcement_rule_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementRuleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementRuleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_announcement_rule_updated_v2.py b/incident_io/models/audit_logs_announcement_rule_updated_v2.py index 90d8e8d..2bb9b49 100644 --- a/incident_io/models/audit_logs_announcement_rule_updated_v2.py +++ b/incident_io/models/audit_logs_announcement_rule_updated_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsAnnouncementRuleUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAnnouncementRuleUpdatedV2: """ Example: diff --git a/incident_io/models/audit_logs_api_key_created_v1.py b/incident_io/models/audit_logs_api_key_created_v1.py index 9fce3f6..c7f413d 100644 --- a/incident_io/models/audit_logs_api_key_created_v1.py +++ b/incident_io/models/audit_logs_api_key_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAPIKeyCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAPIKeyCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_api_key_deleted_v1.py b/incident_io/models/audit_logs_api_key_deleted_v1.py index 3ae8327..ef03166 100644 --- a/incident_io/models/audit_logs_api_key_deleted_v1.py +++ b/incident_io/models/audit_logs_api_key_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAPIKeyDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAPIKeyDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_api_key_rotated_v1.py b/incident_io/models/audit_logs_api_key_rotated_v1.py index d3208ab..5109fcf 100644 --- a/incident_io/models/audit_logs_api_key_rotated_v1.py +++ b/incident_io/models/audit_logs_api_key_rotated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAPIKeyRotatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAPIKeyRotatedV1: """ Example: diff --git a/incident_io/models/audit_logs_api_key_updated_v1.py b/incident_io/models/audit_logs_api_key_updated_v1.py index f45e725..1d0556c 100644 --- a/incident_io/models/audit_logs_api_key_updated_v1.py +++ b/incident_io/models/audit_logs_api_key_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsAPIKeyUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsAPIKeyUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_catalog_entry_attribute_updated_v1.py b/incident_io/models/audit_logs_catalog_entry_attribute_updated_v1.py index c505df9..05a3c58 100644 --- a/incident_io/models/audit_logs_catalog_entry_attribute_updated_v1.py +++ b/incident_io/models/audit_logs_catalog_entry_attribute_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsCatalogEntryAttributeUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsCatalogEntryAttributeUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_catalog_entry_attribute_updated_v2.py b/incident_io/models/audit_logs_catalog_entry_attribute_updated_v2.py index 040ed7b..84c62b0 100644 --- a/incident_io/models/audit_logs_catalog_entry_attribute_updated_v2.py +++ b/incident_io/models/audit_logs_catalog_entry_attribute_updated_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsCatalogEntryAttributeUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsCatalogEntryAttributeUpdatedV2: """ Example: diff --git a/incident_io/models/audit_logs_catalog_type_created_v1.py b/incident_io/models/audit_logs_catalog_type_created_v1.py index 2e367c1..2c0de99 100644 --- a/incident_io/models/audit_logs_catalog_type_created_v1.py +++ b/incident_io/models/audit_logs_catalog_type_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsCatalogTypeCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsCatalogTypeCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_catalog_type_deleted_v1.py b/incident_io/models/audit_logs_catalog_type_deleted_v1.py index 088ecdd..af0ce85 100644 --- a/incident_io/models/audit_logs_catalog_type_deleted_v1.py +++ b/incident_io/models/audit_logs_catalog_type_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsCatalogTypeDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsCatalogTypeDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_catalog_type_updated_v1.py b/incident_io/models/audit_logs_catalog_type_updated_v1.py index 6092225..bce8085 100644 --- a/incident_io/models/audit_logs_catalog_type_updated_v1.py +++ b/incident_io/models/audit_logs_catalog_type_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsCatalogTypeUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsCatalogTypeUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_connector_config_created_v1.py b/incident_io/models/audit_logs_connector_config_created_v1.py index 3552a29..472daca 100644 --- a/incident_io/models/audit_logs_connector_config_created_v1.py +++ b/incident_io/models/audit_logs_connector_config_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsConnectorConfigCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsConnectorConfigCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_connector_config_token_generated_v1.py b/incident_io/models/audit_logs_connector_config_token_generated_v1.py index 44e99de..7e4e5e2 100644 --- a/incident_io/models/audit_logs_connector_config_token_generated_v1.py +++ b/incident_io/models/audit_logs_connector_config_token_generated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsConnectorConfigTokenGeneratedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsConnectorConfigTokenGeneratedV1: """ Example: diff --git a/incident_io/models/audit_logs_connector_config_updated_v1.py b/incident_io/models/audit_logs_connector_config_updated_v1.py index 1d1a7dd..96c569e 100644 --- a/incident_io/models/audit_logs_connector_config_updated_v1.py +++ b/incident_io/models/audit_logs_connector_config_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsConnectorConfigUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsConnectorConfigUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_custom_field_created_v1.py b/incident_io/models/audit_logs_custom_field_created_v1.py index 2e236a6..80a8f1b 100644 --- a/incident_io/models/audit_logs_custom_field_created_v1.py +++ b/incident_io/models/audit_logs_custom_field_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsCustomFieldCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsCustomFieldCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_custom_field_deleted_v1.py b/incident_io/models/audit_logs_custom_field_deleted_v1.py index 3260189..a2f531e 100644 --- a/incident_io/models/audit_logs_custom_field_deleted_v1.py +++ b/incident_io/models/audit_logs_custom_field_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsCustomFieldDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsCustomFieldDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_custom_field_updated_v1.py b/incident_io/models/audit_logs_custom_field_updated_v1.py index 2033f1b..bed84b0 100644 --- a/incident_io/models/audit_logs_custom_field_updated_v1.py +++ b/incident_io/models/audit_logs_custom_field_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsCustomFieldUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsCustomFieldUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_debrief_invite_rule_created_v1.py b/incident_io/models/audit_logs_debrief_invite_rule_created_v1.py index 9a3564a..03286ee 100644 --- a/incident_io/models/audit_logs_debrief_invite_rule_created_v1.py +++ b/incident_io/models/audit_logs_debrief_invite_rule_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsDebriefInviteRuleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsDebriefInviteRuleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_debrief_invite_rule_deleted_v1.py b/incident_io/models/audit_logs_debrief_invite_rule_deleted_v1.py index 0e19303..66e753c 100644 --- a/incident_io/models/audit_logs_debrief_invite_rule_deleted_v1.py +++ b/incident_io/models/audit_logs_debrief_invite_rule_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsDebriefInviteRuleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsDebriefInviteRuleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_debrief_invite_rule_updated_v1.py b/incident_io/models/audit_logs_debrief_invite_rule_updated_v1.py index 3b9268e..db6c221 100644 --- a/incident_io/models/audit_logs_debrief_invite_rule_updated_v1.py +++ b/incident_io/models/audit_logs_debrief_invite_rule_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsDebriefInviteRuleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsDebriefInviteRuleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_email_otp_login_setting_updated_v1.py b/incident_io/models/audit_logs_email_otp_login_setting_updated_v1.py index 0746e05..e3a03fa 100644 --- a/incident_io/models/audit_logs_email_otp_login_setting_updated_v1.py +++ b/incident_io/models/audit_logs_email_otp_login_setting_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsEmailOtpLoginSettingUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsEmailOtpLoginSettingUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_escalation_path_created_v1.py b/incident_io/models/audit_logs_escalation_path_created_v1.py index ef75906..03223f4 100644 --- a/incident_io/models/audit_logs_escalation_path_created_v1.py +++ b/incident_io/models/audit_logs_escalation_path_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsEscalationPathCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsEscalationPathCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_escalation_path_deleted_v1.py b/incident_io/models/audit_logs_escalation_path_deleted_v1.py index 8da45f2..3072d27 100644 --- a/incident_io/models/audit_logs_escalation_path_deleted_v1.py +++ b/incident_io/models/audit_logs_escalation_path_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsEscalationPathDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsEscalationPathDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_escalation_path_template_created_v1.py b/incident_io/models/audit_logs_escalation_path_template_created_v1.py index 2f6a04c..9a00ed2 100644 --- a/incident_io/models/audit_logs_escalation_path_template_created_v1.py +++ b/incident_io/models/audit_logs_escalation_path_template_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsEscalationPathTemplateCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsEscalationPathTemplateCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_escalation_path_template_deleted_v1.py b/incident_io/models/audit_logs_escalation_path_template_deleted_v1.py index 8bfe9e8..54ee3de 100644 --- a/incident_io/models/audit_logs_escalation_path_template_deleted_v1.py +++ b/incident_io/models/audit_logs_escalation_path_template_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsEscalationPathTemplateDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsEscalationPathTemplateDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_escalation_path_template_updated_v1.py b/incident_io/models/audit_logs_escalation_path_template_updated_v1.py index 4bb9fe2..0d73314 100644 --- a/incident_io/models/audit_logs_escalation_path_template_updated_v1.py +++ b/incident_io/models/audit_logs_escalation_path_template_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsEscalationPathTemplateUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsEscalationPathTemplateUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_escalation_path_updated_v1.py b/incident_io/models/audit_logs_escalation_path_updated_v1.py index e8e9b36..2297869 100644 --- a/incident_io/models/audit_logs_escalation_path_updated_v1.py +++ b/incident_io/models/audit_logs_escalation_path_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsEscalationPathUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsEscalationPathUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_escalation_scrubbed_v1.py b/incident_io/models/audit_logs_escalation_scrubbed_v1.py index 0680721..0842bfe 100644 --- a/incident_io/models/audit_logs_escalation_scrubbed_v1.py +++ b/incident_io/models/audit_logs_escalation_scrubbed_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsEscalationScrubbedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsEscalationScrubbedV1: """ Example: diff --git a/incident_io/models/audit_logs_extension_connector_called_v1.py b/incident_io/models/audit_logs_extension_connector_called_v1.py index 3966cfc..279802a 100644 --- a/incident_io/models/audit_logs_extension_connector_called_v1.py +++ b/incident_io/models/audit_logs_extension_connector_called_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsExtensionConnectorCalledV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsExtensionConnectorCalledV1: """ Example: diff --git a/incident_io/models/audit_logs_extension_connector_called_v2.py b/incident_io/models/audit_logs_extension_connector_called_v2.py index 7913023..ef2ed1b 100644 --- a/incident_io/models/audit_logs_extension_connector_called_v2.py +++ b/incident_io/models/audit_logs_extension_connector_called_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsExtensionConnectorCalledV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsExtensionConnectorCalledV2: """ Example: diff --git a/incident_io/models/audit_logs_extension_connector_called_v3.py b/incident_io/models/audit_logs_extension_connector_called_v3.py index 272abb3..4a54575 100644 --- a/incident_io/models/audit_logs_extension_connector_called_v3.py +++ b/incident_io/models/audit_logs_extension_connector_called_v3.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsExtensionConnectorCalledV3") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsExtensionConnectorCalledV3: """ Example: diff --git a/incident_io/models/audit_logs_follow_up_category_created_v1.py b/incident_io/models/audit_logs_follow_up_category_created_v1.py index ca03431..c691dc2 100644 --- a/incident_io/models/audit_logs_follow_up_category_created_v1.py +++ b/incident_io/models/audit_logs_follow_up_category_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsFollowUpCategoryCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsFollowUpCategoryCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_follow_up_category_deleted_v1.py b/incident_io/models/audit_logs_follow_up_category_deleted_v1.py index a24f150..9dd09be 100644 --- a/incident_io/models/audit_logs_follow_up_category_deleted_v1.py +++ b/incident_io/models/audit_logs_follow_up_category_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsFollowUpCategoryDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsFollowUpCategoryDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_follow_up_category_updated_v1.py b/incident_io/models/audit_logs_follow_up_category_updated_v1.py index 1300807..05f6b87 100644 --- a/incident_io/models/audit_logs_follow_up_category_updated_v1.py +++ b/incident_io/models/audit_logs_follow_up_category_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsFollowUpCategoryUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsFollowUpCategoryUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_follow_up_priority_created_v1.py b/incident_io/models/audit_logs_follow_up_priority_created_v1.py index 28027e7..3ef708b 100644 --- a/incident_io/models/audit_logs_follow_up_priority_created_v1.py +++ b/incident_io/models/audit_logs_follow_up_priority_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsFollowUpPriorityCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsFollowUpPriorityCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_follow_up_priority_deleted_v1.py b/incident_io/models/audit_logs_follow_up_priority_deleted_v1.py index 2c27a97..c607b80 100644 --- a/incident_io/models/audit_logs_follow_up_priority_deleted_v1.py +++ b/incident_io/models/audit_logs_follow_up_priority_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsFollowUpPriorityDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsFollowUpPriorityDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_follow_up_priority_updated_v1.py b/incident_io/models/audit_logs_follow_up_priority_updated_v1.py index 21cf35c..d203227 100644 --- a/incident_io/models/audit_logs_follow_up_priority_updated_v1.py +++ b/incident_io/models/audit_logs_follow_up_priority_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsFollowUpPriorityUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsFollowUpPriorityUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_holiday_user_feed_created_v1.py b/incident_io/models/audit_logs_holiday_user_feed_created_v1.py index a059770..6fd2ea8 100644 --- a/incident_io/models/audit_logs_holiday_user_feed_created_v1.py +++ b/incident_io/models/audit_logs_holiday_user_feed_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsHolidayUserFeedCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsHolidayUserFeedCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_holiday_user_feed_deleted_v1.py b/incident_io/models/audit_logs_holiday_user_feed_deleted_v1.py index 8e25aaa..de39a05 100644 --- a/incident_io/models/audit_logs_holiday_user_feed_deleted_v1.py +++ b/incident_io/models/audit_logs_holiday_user_feed_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsHolidayUserFeedDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsHolidayUserFeedDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_holiday_user_feed_updated_v1.py b/incident_io/models/audit_logs_holiday_user_feed_updated_v1.py index 0509e85..978eb19 100644 --- a/incident_io/models/audit_logs_holiday_user_feed_updated_v1.py +++ b/incident_io/models/audit_logs_holiday_user_feed_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsHolidayUserFeedUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsHolidayUserFeedUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_hris_time_off_policy_updated_v1.py b/incident_io/models/audit_logs_hris_time_off_policy_updated_v1.py index b0f4dbc..158260b 100644 --- a/incident_io/models/audit_logs_hris_time_off_policy_updated_v1.py +++ b/incident_io/models/audit_logs_hris_time_off_policy_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsHrisTimeOffPolicyUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsHrisTimeOffPolicyUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_call_setting_updated_v1.py b/incident_io/models/audit_logs_incident_call_setting_updated_v1.py index 0c2a8ff..eab0c07 100644 --- a/incident_io/models/audit_logs_incident_call_setting_updated_v1.py +++ b/incident_io/models/audit_logs_incident_call_setting_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentCallSettingUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentCallSettingUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_call_transcription_session_deleted_v1.py b/incident_io/models/audit_logs_incident_call_transcription_session_deleted_v1.py index 9f09804..e547998 100644 --- a/incident_io/models/audit_logs_incident_call_transcription_session_deleted_v1.py +++ b/incident_io/models/audit_logs_incident_call_transcription_session_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentCallTranscriptionSessionDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentCallTranscriptionSessionDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_duration_metric_created_v1.py b/incident_io/models/audit_logs_incident_duration_metric_created_v1.py index 6e1fd39..714d5e2 100644 --- a/incident_io/models/audit_logs_incident_duration_metric_created_v1.py +++ b/incident_io/models/audit_logs_incident_duration_metric_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentDurationMetricCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentDurationMetricCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_duration_metric_deleted_v1.py b/incident_io/models/audit_logs_incident_duration_metric_deleted_v1.py index 819a77c..fa51a7f 100644 --- a/incident_io/models/audit_logs_incident_duration_metric_deleted_v1.py +++ b/incident_io/models/audit_logs_incident_duration_metric_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentDurationMetricDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentDurationMetricDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_duration_metric_updated_v1.py b/incident_io/models/audit_logs_incident_duration_metric_updated_v1.py index b7706d9..0f8931e 100644 --- a/incident_io/models/audit_logs_incident_duration_metric_updated_v1.py +++ b/incident_io/models/audit_logs_incident_duration_metric_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentDurationMetricUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentDurationMetricUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_role_created_v1.py b/incident_io/models/audit_logs_incident_role_created_v1.py index af88d11..42f6837 100644 --- a/incident_io/models/audit_logs_incident_role_created_v1.py +++ b/incident_io/models/audit_logs_incident_role_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentRoleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentRoleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_role_deleted_v1.py b/incident_io/models/audit_logs_incident_role_deleted_v1.py index 2732ba5..6fb0c8a 100644 --- a/incident_io/models/audit_logs_incident_role_deleted_v1.py +++ b/incident_io/models/audit_logs_incident_role_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentRoleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentRoleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_role_updated_v1.py b/incident_io/models/audit_logs_incident_role_updated_v1.py index 47b01e3..5d0d793 100644 --- a/incident_io/models/audit_logs_incident_role_updated_v1.py +++ b/incident_io/models/audit_logs_incident_role_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentRoleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentRoleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_status_created_v1.py b/incident_io/models/audit_logs_incident_status_created_v1.py index 434bf6a..ced189f 100644 --- a/incident_io/models/audit_logs_incident_status_created_v1.py +++ b/incident_io/models/audit_logs_incident_status_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentStatusCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentStatusCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_status_deleted_v1.py b/incident_io/models/audit_logs_incident_status_deleted_v1.py index 393514c..52e94e4 100644 --- a/incident_io/models/audit_logs_incident_status_deleted_v1.py +++ b/incident_io/models/audit_logs_incident_status_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentStatusDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentStatusDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_status_updated_v1.py b/incident_io/models/audit_logs_incident_status_updated_v1.py index e7db847..4add95f 100644 --- a/incident_io/models/audit_logs_incident_status_updated_v1.py +++ b/incident_io/models/audit_logs_incident_status_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentStatusUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentStatusUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_template_created_v1.py b/incident_io/models/audit_logs_incident_template_created_v1.py index 17e2d72..f251dcb 100644 --- a/incident_io/models/audit_logs_incident_template_created_v1.py +++ b/incident_io/models/audit_logs_incident_template_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTemplateCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTemplateCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_template_deleted_v1.py b/incident_io/models/audit_logs_incident_template_deleted_v1.py index 149c719..355294f 100644 --- a/incident_io/models/audit_logs_incident_template_deleted_v1.py +++ b/incident_io/models/audit_logs_incident_template_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTemplateDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTemplateDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_template_set_as_default_v1.py b/incident_io/models/audit_logs_incident_template_set_as_default_v1.py index f47a9ff..ddf8130 100644 --- a/incident_io/models/audit_logs_incident_template_set_as_default_v1.py +++ b/incident_io/models/audit_logs_incident_template_set_as_default_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTemplateSetAsDefaultV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTemplateSetAsDefaultV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_template_updated_v1.py b/incident_io/models/audit_logs_incident_template_updated_v1.py index f4eb36f..349d75b 100644 --- a/incident_io/models/audit_logs_incident_template_updated_v1.py +++ b/incident_io/models/audit_logs_incident_template_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTemplateUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTemplateUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_timestamp_created_v1.py b/incident_io/models/audit_logs_incident_timestamp_created_v1.py index 1feeee6..7ca6e1c 100644 --- a/incident_io/models/audit_logs_incident_timestamp_created_v1.py +++ b/incident_io/models/audit_logs_incident_timestamp_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTimestampCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTimestampCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_timestamp_deleted_v1.py b/incident_io/models/audit_logs_incident_timestamp_deleted_v1.py index ff73fd2..ed043d7 100644 --- a/incident_io/models/audit_logs_incident_timestamp_deleted_v1.py +++ b/incident_io/models/audit_logs_incident_timestamp_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTimestampDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTimestampDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_timestamp_set_by_rule_created_v1.py b/incident_io/models/audit_logs_incident_timestamp_set_by_rule_created_v1.py index 4c00274..ed2dba3 100644 --- a/incident_io/models/audit_logs_incident_timestamp_set_by_rule_created_v1.py +++ b/incident_io/models/audit_logs_incident_timestamp_set_by_rule_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTimestampSetByRuleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTimestampSetByRuleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_timestamp_set_by_rule_deleted_v1.py b/incident_io/models/audit_logs_incident_timestamp_set_by_rule_deleted_v1.py index 3e79356..48bddfa 100644 --- a/incident_io/models/audit_logs_incident_timestamp_set_by_rule_deleted_v1.py +++ b/incident_io/models/audit_logs_incident_timestamp_set_by_rule_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTimestampSetByRuleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTimestampSetByRuleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_timestamp_set_by_rule_updated_v1.py b/incident_io/models/audit_logs_incident_timestamp_set_by_rule_updated_v1.py index cb2d179..330a1d6 100644 --- a/incident_io/models/audit_logs_incident_timestamp_set_by_rule_updated_v1.py +++ b/incident_io/models/audit_logs_incident_timestamp_set_by_rule_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTimestampSetByRuleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTimestampSetByRuleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_timestamp_updated_v1.py b/incident_io/models/audit_logs_incident_timestamp_updated_v1.py index face3dd..c1cfe76 100644 --- a/incident_io/models/audit_logs_incident_timestamp_updated_v1.py +++ b/incident_io/models/audit_logs_incident_timestamp_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTimestampUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTimestampUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_type_created_v1.py b/incident_io/models/audit_logs_incident_type_created_v1.py index 787b84b..bbd7af8 100644 --- a/incident_io/models/audit_logs_incident_type_created_v1.py +++ b/incident_io/models/audit_logs_incident_type_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTypeCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTypeCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_type_created_v2.py b/incident_io/models/audit_logs_incident_type_created_v2.py index 84c2480..5139336 100644 --- a/incident_io/models/audit_logs_incident_type_created_v2.py +++ b/incident_io/models/audit_logs_incident_type_created_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTypeCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTypeCreatedV2: """ Example: diff --git a/incident_io/models/audit_logs_incident_type_deleted_v1.py b/incident_io/models/audit_logs_incident_type_deleted_v1.py index 0e23f86..97422df 100644 --- a/incident_io/models/audit_logs_incident_type_deleted_v1.py +++ b/incident_io/models/audit_logs_incident_type_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTypeDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTypeDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_type_updated_v1.py b/incident_io/models/audit_logs_incident_type_updated_v1.py index e036226..087f922 100644 --- a/incident_io/models/audit_logs_incident_type_updated_v1.py +++ b/incident_io/models/audit_logs_incident_type_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTypeUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTypeUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_incident_type_updated_v2.py b/incident_io/models/audit_logs_incident_type_updated_v2.py index cfd6f2a..7a934f8 100644 --- a/incident_io/models/audit_logs_incident_type_updated_v2.py +++ b/incident_io/models/audit_logs_incident_type_updated_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsIncidentTypeUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIncidentTypeUpdatedV2: """ Example: diff --git a/incident_io/models/audit_logs_integration_installed_v1.py b/incident_io/models/audit_logs_integration_installed_v1.py index 06bcc87..5adffdb 100644 --- a/incident_io/models/audit_logs_integration_installed_v1.py +++ b/incident_io/models/audit_logs_integration_installed_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIntegrationInstalledV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIntegrationInstalledV1: """ Example: diff --git a/incident_io/models/audit_logs_integration_uninstalled_v1.py b/incident_io/models/audit_logs_integration_uninstalled_v1.py index a5ce428..a2c2803 100644 --- a/incident_io/models/audit_logs_integration_uninstalled_v1.py +++ b/incident_io/models/audit_logs_integration_uninstalled_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsIntegrationUninstalledV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIntegrationUninstalledV1: """ Example: diff --git a/incident_io/models/audit_logs_internal_status_page_created_v1.py b/incident_io/models/audit_logs_internal_status_page_created_v1.py index e0f0f59..e6597b6 100644 --- a/incident_io/models/audit_logs_internal_status_page_created_v1.py +++ b/incident_io/models/audit_logs_internal_status_page_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsInternalStatusPageCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsInternalStatusPageCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_internal_status_page_deleted_v1.py b/incident_io/models/audit_logs_internal_status_page_deleted_v1.py index cc75c4e..fca43fb 100644 --- a/incident_io/models/audit_logs_internal_status_page_deleted_v1.py +++ b/incident_io/models/audit_logs_internal_status_page_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsInternalStatusPageDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsInternalStatusPageDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_internal_status_page_updated_v1.py b/incident_io/models/audit_logs_internal_status_page_updated_v1.py index 227fb69..901aa6a 100644 --- a/incident_io/models/audit_logs_internal_status_page_updated_v1.py +++ b/incident_io/models/audit_logs_internal_status_page_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsInternalStatusPageUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsInternalStatusPageUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_ip_allowlist_updated_v1.py b/incident_io/models/audit_logs_ip_allowlist_updated_v1.py index 34bd8c1..04d7097 100644 --- a/incident_io/models/audit_logs_ip_allowlist_updated_v1.py +++ b/incident_io/models/audit_logs_ip_allowlist_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsIPAllowlistUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsIPAllowlistUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_maintenance_window_created_v1.py b/incident_io/models/audit_logs_maintenance_window_created_v1.py index 6e6c1a3..acbbb19 100644 --- a/incident_io/models/audit_logs_maintenance_window_created_v1.py +++ b/incident_io/models/audit_logs_maintenance_window_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsMaintenanceWindowCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsMaintenanceWindowCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_maintenance_window_deleted_v1.py b/incident_io/models/audit_logs_maintenance_window_deleted_v1.py index af67c52..8d4b834 100644 --- a/incident_io/models/audit_logs_maintenance_window_deleted_v1.py +++ b/incident_io/models/audit_logs_maintenance_window_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsMaintenanceWindowDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsMaintenanceWindowDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_maintenance_window_updated_v1.py b/incident_io/models/audit_logs_maintenance_window_updated_v1.py index ef74e62..6c26e93 100644 --- a/incident_io/models/audit_logs_maintenance_window_updated_v1.py +++ b/incident_io/models/audit_logs_maintenance_window_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsMaintenanceWindowUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsMaintenanceWindowUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_microsoft_entra_tenant_linked_v1.py b/incident_io/models/audit_logs_microsoft_entra_tenant_linked_v1.py index 0ef9379..1d741f8 100644 --- a/incident_io/models/audit_logs_microsoft_entra_tenant_linked_v1.py +++ b/incident_io/models/audit_logs_microsoft_entra_tenant_linked_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsMicrosoftEntraTenantLinkedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsMicrosoftEntraTenantLinkedV1: """ Example: diff --git a/incident_io/models/audit_logs_mobile_intune_enabled_setting_updated_v1.py b/incident_io/models/audit_logs_mobile_intune_enabled_setting_updated_v1.py index 5415ec3..6f6bc66 100644 --- a/incident_io/models/audit_logs_mobile_intune_enabled_setting_updated_v1.py +++ b/incident_io/models/audit_logs_mobile_intune_enabled_setting_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsMobileIntuneEnabledSettingUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsMobileIntuneEnabledSettingUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_nudge_created_v1.py b/incident_io/models/audit_logs_nudge_created_v1.py index 31e3125..72242f4 100644 --- a/incident_io/models/audit_logs_nudge_created_v1.py +++ b/incident_io/models/audit_logs_nudge_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsNudgeCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsNudgeCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_nudge_deleted_v1.py b/incident_io/models/audit_logs_nudge_deleted_v1.py index ad27da0..a7b4d0e 100644 --- a/incident_io/models/audit_logs_nudge_deleted_v1.py +++ b/incident_io/models/audit_logs_nudge_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsNudgeDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsNudgeDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_nudge_updated_v1.py b/incident_io/models/audit_logs_nudge_updated_v1.py index 1495e8f..7c00545 100644 --- a/incident_io/models/audit_logs_nudge_updated_v1.py +++ b/incident_io/models/audit_logs_nudge_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsNudgeUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsNudgeUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_on_call_notification_method_created_v1.py b/incident_io/models/audit_logs_on_call_notification_method_created_v1.py index 74173a6..93daa83 100644 --- a/incident_io/models/audit_logs_on_call_notification_method_created_v1.py +++ b/incident_io/models/audit_logs_on_call_notification_method_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsOnCallNotificationMethodCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsOnCallNotificationMethodCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_on_call_notification_method_created_v2.py b/incident_io/models/audit_logs_on_call_notification_method_created_v2.py index 00c6e3f..b67355c 100644 --- a/incident_io/models/audit_logs_on_call_notification_method_created_v2.py +++ b/incident_io/models/audit_logs_on_call_notification_method_created_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsOnCallNotificationMethodCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsOnCallNotificationMethodCreatedV2: """ Example: diff --git a/incident_io/models/audit_logs_on_call_notification_method_destroyed_v1.py b/incident_io/models/audit_logs_on_call_notification_method_destroyed_v1.py index 3948839..0861e77 100644 --- a/incident_io/models/audit_logs_on_call_notification_method_destroyed_v1.py +++ b/incident_io/models/audit_logs_on_call_notification_method_destroyed_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsOnCallNotificationMethodDestroyedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsOnCallNotificationMethodDestroyedV1: """ Example: diff --git a/incident_io/models/audit_logs_on_call_notification_method_destroyed_v2.py b/incident_io/models/audit_logs_on_call_notification_method_destroyed_v2.py index aa63ea7..ce6bb42 100644 --- a/incident_io/models/audit_logs_on_call_notification_method_destroyed_v2.py +++ b/incident_io/models/audit_logs_on_call_notification_method_destroyed_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsOnCallNotificationMethodDestroyedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsOnCallNotificationMethodDestroyedV2: """ Example: diff --git a/incident_io/models/audit_logs_on_call_upsell_requested_v1.py b/incident_io/models/audit_logs_on_call_upsell_requested_v1.py index 46eb539..f95e28b 100644 --- a/incident_io/models/audit_logs_on_call_upsell_requested_v1.py +++ b/incident_io/models/audit_logs_on_call_upsell_requested_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsOnCallUpsellRequestedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsOnCallUpsellRequestedV1: """ Example: diff --git a/incident_io/models/audit_logs_organisation_settings_updated_v1.py b/incident_io/models/audit_logs_organisation_settings_updated_v1.py index 6949102..47d5aa6 100644 --- a/incident_io/models/audit_logs_organisation_settings_updated_v1.py +++ b/incident_io/models/audit_logs_organisation_settings_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsOrganisationSettingsUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsOrganisationSettingsUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_policy_created_v1.py b/incident_io/models/audit_logs_policy_created_v1.py index 8f15f02..116fdf0 100644 --- a/incident_io/models/audit_logs_policy_created_v1.py +++ b/incident_io/models/audit_logs_policy_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPolicyCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPolicyCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_policy_created_v2.py b/incident_io/models/audit_logs_policy_created_v2.py index 8ad8b37..1b6055d 100644 --- a/incident_io/models/audit_logs_policy_created_v2.py +++ b/incident_io/models/audit_logs_policy_created_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="AuditLogsPolicyCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPolicyCreatedV2: """ Example: diff --git a/incident_io/models/audit_logs_policy_deleted_v1.py b/incident_io/models/audit_logs_policy_deleted_v1.py index 954b74f..acf39e7 100644 --- a/incident_io/models/audit_logs_policy_deleted_v1.py +++ b/incident_io/models/audit_logs_policy_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPolicyDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPolicyDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_policy_report_schedule_created_v1.py b/incident_io/models/audit_logs_policy_report_schedule_created_v1.py index 18f7142..d987759 100644 --- a/incident_io/models/audit_logs_policy_report_schedule_created_v1.py +++ b/incident_io/models/audit_logs_policy_report_schedule_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPolicyReportScheduleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPolicyReportScheduleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_policy_report_schedule_deleted_v1.py b/incident_io/models/audit_logs_policy_report_schedule_deleted_v1.py index 8ef3d52..22a8817 100644 --- a/incident_io/models/audit_logs_policy_report_schedule_deleted_v1.py +++ b/incident_io/models/audit_logs_policy_report_schedule_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPolicyReportScheduleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPolicyReportScheduleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_policy_report_schedule_updated_v1.py b/incident_io/models/audit_logs_policy_report_schedule_updated_v1.py index 3470e61..90dcb00 100644 --- a/incident_io/models/audit_logs_policy_report_schedule_updated_v1.py +++ b/incident_io/models/audit_logs_policy_report_schedule_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPolicyReportScheduleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPolicyReportScheduleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_policy_updated_v1.py b/incident_io/models/audit_logs_policy_updated_v1.py index 7b6691a..06c830d 100644 --- a/incident_io/models/audit_logs_policy_updated_v1.py +++ b/incident_io/models/audit_logs_policy_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPolicyUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPolicyUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_policy_updated_v2.py b/incident_io/models/audit_logs_policy_updated_v2.py index e0a51e1..2367bb8 100644 --- a/incident_io/models/audit_logs_policy_updated_v2.py +++ b/incident_io/models/audit_logs_policy_updated_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="AuditLogsPolicyUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPolicyUpdatedV2: """ Example: diff --git a/incident_io/models/audit_logs_post_incident_task_created_v1.py b/incident_io/models/audit_logs_post_incident_task_created_v1.py index 6bdeaef..5cd28a7 100644 --- a/incident_io/models/audit_logs_post_incident_task_created_v1.py +++ b/incident_io/models/audit_logs_post_incident_task_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostIncidentTaskCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostIncidentTaskCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_post_incident_task_deleted_v1.py b/incident_io/models/audit_logs_post_incident_task_deleted_v1.py index e521c29..dd6c175 100644 --- a/incident_io/models/audit_logs_post_incident_task_deleted_v1.py +++ b/incident_io/models/audit_logs_post_incident_task_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostIncidentTaskDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostIncidentTaskDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_post_incident_task_updated_v1.py b/incident_io/models/audit_logs_post_incident_task_updated_v1.py index b5f3c20..3168502 100644 --- a/incident_io/models/audit_logs_post_incident_task_updated_v1.py +++ b/incident_io/models/audit_logs_post_incident_task_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostIncidentTaskUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostIncidentTaskUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_section_created_v1.py b/incident_io/models/audit_logs_postmortem_section_created_v1.py index 486c2fb..028619c 100644 --- a/incident_io/models/audit_logs_postmortem_section_created_v1.py +++ b/incident_io/models/audit_logs_postmortem_section_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemSectionCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemSectionCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_section_created_v2.py b/incident_io/models/audit_logs_postmortem_section_created_v2.py index 4b53f7b..7a635dc 100644 --- a/incident_io/models/audit_logs_postmortem_section_created_v2.py +++ b/incident_io/models/audit_logs_postmortem_section_created_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemSectionCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemSectionCreatedV2: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_section_deleted_v1.py b/incident_io/models/audit_logs_postmortem_section_deleted_v1.py index 2e33b6e..44caa2f 100644 --- a/incident_io/models/audit_logs_postmortem_section_deleted_v1.py +++ b/incident_io/models/audit_logs_postmortem_section_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemSectionDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemSectionDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_section_deleted_v2.py b/incident_io/models/audit_logs_postmortem_section_deleted_v2.py index d5da4b8..5d5462a 100644 --- a/incident_io/models/audit_logs_postmortem_section_deleted_v2.py +++ b/incident_io/models/audit_logs_postmortem_section_deleted_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemSectionDeletedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemSectionDeletedV2: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_section_updated_v1.py b/incident_io/models/audit_logs_postmortem_section_updated_v1.py index 56a730c..88f1946 100644 --- a/incident_io/models/audit_logs_postmortem_section_updated_v1.py +++ b/incident_io/models/audit_logs_postmortem_section_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemSectionUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemSectionUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_section_updated_v2.py b/incident_io/models/audit_logs_postmortem_section_updated_v2.py index 32879ba..b870d5c 100644 --- a/incident_io/models/audit_logs_postmortem_section_updated_v2.py +++ b/incident_io/models/audit_logs_postmortem_section_updated_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemSectionUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemSectionUpdatedV2: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_template_created_v1.py b/incident_io/models/audit_logs_postmortem_template_created_v1.py index c29cc98..27710b2 100644 --- a/incident_io/models/audit_logs_postmortem_template_created_v1.py +++ b/incident_io/models/audit_logs_postmortem_template_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemTemplateCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemTemplateCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_template_created_v2.py b/incident_io/models/audit_logs_postmortem_template_created_v2.py index 1f7b3a2..42c8445 100644 --- a/incident_io/models/audit_logs_postmortem_template_created_v2.py +++ b/incident_io/models/audit_logs_postmortem_template_created_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemTemplateCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemTemplateCreatedV2: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_template_deleted_v1.py b/incident_io/models/audit_logs_postmortem_template_deleted_v1.py index bfc1ab2..583c162 100644 --- a/incident_io/models/audit_logs_postmortem_template_deleted_v1.py +++ b/incident_io/models/audit_logs_postmortem_template_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemTemplateDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemTemplateDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_template_deleted_v2.py b/incident_io/models/audit_logs_postmortem_template_deleted_v2.py index 3914fe4..de5e79d 100644 --- a/incident_io/models/audit_logs_postmortem_template_deleted_v2.py +++ b/incident_io/models/audit_logs_postmortem_template_deleted_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemTemplateDeletedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemTemplateDeletedV2: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_template_updated_v1.py b/incident_io/models/audit_logs_postmortem_template_updated_v1.py index 52f0a58..308784c 100644 --- a/incident_io/models/audit_logs_postmortem_template_updated_v1.py +++ b/incident_io/models/audit_logs_postmortem_template_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemTemplateUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemTemplateUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_postmortem_template_updated_v2.py b/incident_io/models/audit_logs_postmortem_template_updated_v2.py index c9a72b9..85d03e0 100644 --- a/incident_io/models/audit_logs_postmortem_template_updated_v2.py +++ b/incident_io/models/audit_logs_postmortem_template_updated_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPostmortemTemplateUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPostmortemTemplateUpdatedV2: """ Example: diff --git a/incident_io/models/audit_logs_private_alert_access_attempted_v1.py b/incident_io/models/audit_logs_private_alert_access_attempted_v1.py index 654f8f2..e7695df 100644 --- a/incident_io/models/audit_logs_private_alert_access_attempted_v1.py +++ b/incident_io/models/audit_logs_private_alert_access_attempted_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsPrivateAlertAccessAttemptedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateAlertAccessAttemptedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_escalation_access_attempted_v1.py b/incident_io/models/audit_logs_private_escalation_access_attempted_v1.py index eefeec3..36710a6 100644 --- a/incident_io/models/audit_logs_private_escalation_access_attempted_v1.py +++ b/incident_io/models/audit_logs_private_escalation_access_attempted_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsPrivateEscalationAccessAttemptedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateEscalationAccessAttemptedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_access_attempted_v1.py b/incident_io/models/audit_logs_private_incident_access_attempted_v1.py index 4bffc9b..63d0f4d 100644 --- a/incident_io/models/audit_logs_private_incident_access_attempted_v1.py +++ b/incident_io/models/audit_logs_private_incident_access_attempted_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentAccessAttemptedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentAccessAttemptedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_access_attempted_v2.py b/incident_io/models/audit_logs_private_incident_access_attempted_v2.py index c600018..56ae794 100644 --- a/incident_io/models/audit_logs_private_incident_access_attempted_v2.py +++ b/incident_io/models/audit_logs_private_incident_access_attempted_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentAccessAttemptedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentAccessAttemptedV2: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_access_requested_v1.py b/incident_io/models/audit_logs_private_incident_access_requested_v1.py index 01cb7dc..69e2128 100644 --- a/incident_io/models/audit_logs_private_incident_access_requested_v1.py +++ b/incident_io/models/audit_logs_private_incident_access_requested_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentAccessRequestedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentAccessRequestedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_accessed_via_bot_v1.py b/incident_io/models/audit_logs_private_incident_accessed_via_bot_v1.py index 78075f8..eb77e3a 100644 --- a/incident_io/models/audit_logs_private_incident_accessed_via_bot_v1.py +++ b/incident_io/models/audit_logs_private_incident_accessed_via_bot_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentAccessedViaBotV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentAccessedViaBotV1: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_membership_granted_v1.py b/incident_io/models/audit_logs_private_incident_membership_granted_v1.py index 5236a53..59873c6 100644 --- a/incident_io/models/audit_logs_private_incident_membership_granted_v1.py +++ b/incident_io/models/audit_logs_private_incident_membership_granted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentMembershipGrantedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentMembershipGrantedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_membership_revoked_v1.py b/incident_io/models/audit_logs_private_incident_membership_revoked_v1.py index e2e4b8c..0042a88 100644 --- a/incident_io/models/audit_logs_private_incident_membership_revoked_v1.py +++ b/incident_io/models/audit_logs_private_incident_membership_revoked_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentMembershipRevokedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentMembershipRevokedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_membership_upgraded_to_direct_v1.py b/incident_io/models/audit_logs_private_incident_membership_upgraded_to_direct_v1.py index c1bd7f5..cb88582 100644 --- a/incident_io/models/audit_logs_private_incident_membership_upgraded_to_direct_v1.py +++ b/incident_io/models/audit_logs_private_incident_membership_upgraded_to_direct_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentMembershipUpgradedToDirectV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentMembershipUpgradedToDirectV1: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_team_membership_granted_v1.py b/incident_io/models/audit_logs_private_incident_team_membership_granted_v1.py index 780d2ca..89498ce 100644 --- a/incident_io/models/audit_logs_private_incident_team_membership_granted_v1.py +++ b/incident_io/models/audit_logs_private_incident_team_membership_granted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentTeamMembershipGrantedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentTeamMembershipGrantedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_incident_team_membership_revoked_v1.py b/incident_io/models/audit_logs_private_incident_team_membership_revoked_v1.py index 8a43c07..88f47b4 100644 --- a/incident_io/models/audit_logs_private_incident_team_membership_revoked_v1.py +++ b/incident_io/models/audit_logs_private_incident_team_membership_revoked_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsPrivateIncidentTeamMembershipRevokedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateIncidentTeamMembershipRevokedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_insights_exported_v1.py b/incident_io/models/audit_logs_private_insights_exported_v1.py index 59d42c4..5b512a6 100644 --- a/incident_io/models/audit_logs_private_insights_exported_v1.py +++ b/incident_io/models/audit_logs_private_insights_exported_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsPrivateInsightsExportedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateInsightsExportedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_insights_measure_queried_v1.py b/incident_io/models/audit_logs_private_insights_measure_queried_v1.py index 355e150..0a9b778 100644 --- a/incident_io/models/audit_logs_private_insights_measure_queried_v1.py +++ b/incident_io/models/audit_logs_private_insights_measure_queried_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsPrivateInsightsMeasureQueriedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateInsightsMeasureQueriedV1: """ Example: diff --git a/incident_io/models/audit_logs_private_insights_underlying_data_queried_v1.py b/incident_io/models/audit_logs_private_insights_underlying_data_queried_v1.py index 9c7eec7..f25f0f5 100644 --- a/incident_io/models/audit_logs_private_insights_underlying_data_queried_v1.py +++ b/incident_io/models/audit_logs_private_insights_underlying_data_queried_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsPrivateInsightsUnderlyingDataQueriedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsPrivateInsightsUnderlyingDataQueriedV1: """ Example: diff --git a/incident_io/models/audit_logs_qr_code_mobile_login_setting_updated_v1.py b/incident_io/models/audit_logs_qr_code_mobile_login_setting_updated_v1.py index cd9ce9c..9fd1e47 100644 --- a/incident_io/models/audit_logs_qr_code_mobile_login_setting_updated_v1.py +++ b/incident_io/models/audit_logs_qr_code_mobile_login_setting_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsQrCodeMobileLoginSettingUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsQrCodeMobileLoginSettingUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_rbac_role_created_v1.py b/incident_io/models/audit_logs_rbac_role_created_v1.py index 7e842e0..7752f9d 100644 --- a/incident_io/models/audit_logs_rbac_role_created_v1.py +++ b/incident_io/models/audit_logs_rbac_role_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsRbacRoleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsRbacRoleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_rbac_role_deleted_v1.py b/incident_io/models/audit_logs_rbac_role_deleted_v1.py index 6a5cd43..48c1ae3 100644 --- a/incident_io/models/audit_logs_rbac_role_deleted_v1.py +++ b/incident_io/models/audit_logs_rbac_role_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsRbacRoleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsRbacRoleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_rbac_role_updated_v1.py b/incident_io/models/audit_logs_rbac_role_updated_v1.py index 2a8a751..6e21a70 100644 --- a/incident_io/models/audit_logs_rbac_role_updated_v1.py +++ b/incident_io/models/audit_logs_rbac_role_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsRbacRoleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsRbacRoleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_created_v1.py b/incident_io/models/audit_logs_schedule_created_v1.py index ab951ba..4d7349d 100644 --- a/incident_io/models/audit_logs_schedule_created_v1.py +++ b/incident_io/models/audit_logs_schedule_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_deleted_v1.py b/incident_io/models/audit_logs_schedule_deleted_v1.py index 9c9ac2e..f8b3615 100644 --- a/incident_io/models/audit_logs_schedule_deleted_v1.py +++ b/incident_io/models/audit_logs_schedule_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_override_created_v1.py b/incident_io/models/audit_logs_schedule_override_created_v1.py index ec065b9..73afe85 100644 --- a/incident_io/models/audit_logs_schedule_override_created_v1.py +++ b/incident_io/models/audit_logs_schedule_override_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleOverrideCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleOverrideCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_override_created_v2.py b/incident_io/models/audit_logs_schedule_override_created_v2.py index 32ff919..a5cd6eb 100644 --- a/incident_io/models/audit_logs_schedule_override_created_v2.py +++ b/incident_io/models/audit_logs_schedule_override_created_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsScheduleOverrideCreatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleOverrideCreatedV2: """ Example: diff --git a/incident_io/models/audit_logs_schedule_override_deleted_v1.py b/incident_io/models/audit_logs_schedule_override_deleted_v1.py index dc314a9..b023c13 100644 --- a/incident_io/models/audit_logs_schedule_override_deleted_v1.py +++ b/incident_io/models/audit_logs_schedule_override_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleOverrideDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleOverrideDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_override_deleted_v2.py b/incident_io/models/audit_logs_schedule_override_deleted_v2.py index 76f5879..c7e70ba 100644 --- a/incident_io/models/audit_logs_schedule_override_deleted_v2.py +++ b/incident_io/models/audit_logs_schedule_override_deleted_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsScheduleOverrideDeletedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleOverrideDeletedV2: """ Example: diff --git a/incident_io/models/audit_logs_schedule_override_updated_v1.py b/incident_io/models/audit_logs_schedule_override_updated_v1.py index 52ca2ad..f71be73 100644 --- a/incident_io/models/audit_logs_schedule_override_updated_v1.py +++ b/incident_io/models/audit_logs_schedule_override_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleOverrideUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleOverrideUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_override_updated_v2.py b/incident_io/models/audit_logs_schedule_override_updated_v2.py index 4fd22e2..e9fd259 100644 --- a/incident_io/models/audit_logs_schedule_override_updated_v2.py +++ b/incident_io/models/audit_logs_schedule_override_updated_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsScheduleOverrideUpdatedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleOverrideUpdatedV2: """ Example: diff --git a/incident_io/models/audit_logs_schedule_sync_rule_created_v1.py b/incident_io/models/audit_logs_schedule_sync_rule_created_v1.py index d8665ec..933f5e4 100644 --- a/incident_io/models/audit_logs_schedule_sync_rule_created_v1.py +++ b/incident_io/models/audit_logs_schedule_sync_rule_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleSyncRuleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleSyncRuleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_sync_rule_deleted_v1.py b/incident_io/models/audit_logs_schedule_sync_rule_deleted_v1.py index 11f1ffb..28b4d7d 100644 --- a/incident_io/models/audit_logs_schedule_sync_rule_deleted_v1.py +++ b/incident_io/models/audit_logs_schedule_sync_rule_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleSyncRuleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleSyncRuleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_sync_rule_updated_v1.py b/incident_io/models/audit_logs_schedule_sync_rule_updated_v1.py index 4979bd3..b11996e 100644 --- a/incident_io/models/audit_logs_schedule_sync_rule_updated_v1.py +++ b/incident_io/models/audit_logs_schedule_sync_rule_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleSyncRuleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleSyncRuleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_sync_target_created_v1.py b/incident_io/models/audit_logs_schedule_sync_target_created_v1.py index afc35a3..fc246b6 100644 --- a/incident_io/models/audit_logs_schedule_sync_target_created_v1.py +++ b/incident_io/models/audit_logs_schedule_sync_target_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleSyncTargetCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleSyncTargetCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_sync_target_deleted_v1.py b/incident_io/models/audit_logs_schedule_sync_target_deleted_v1.py index 1c4b280..dcbab7e 100644 --- a/incident_io/models/audit_logs_schedule_sync_target_deleted_v1.py +++ b/incident_io/models/audit_logs_schedule_sync_target_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleSyncTargetDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleSyncTargetDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_sync_target_updated_v1.py b/incident_io/models/audit_logs_schedule_sync_target_updated_v1.py index 4bfbf27..55d40ba 100644 --- a/incident_io/models/audit_logs_schedule_sync_target_updated_v1.py +++ b/incident_io/models/audit_logs_schedule_sync_target_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleSyncTargetUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleSyncTargetUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_schedule_updated_v1.py b/incident_io/models/audit_logs_schedule_updated_v1.py index 721f4f9..c6c5fcb 100644 --- a/incident_io/models/audit_logs_schedule_updated_v1.py +++ b/incident_io/models/audit_logs_schedule_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsScheduleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScheduleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_scim_group_role_mappings_updated_v1.py b/incident_io/models/audit_logs_scim_group_role_mappings_updated_v1.py index cb676ef..a61af52 100644 --- a/incident_io/models/audit_logs_scim_group_role_mappings_updated_v1.py +++ b/incident_io/models/audit_logs_scim_group_role_mappings_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsScimGroupRoleMappingsUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScimGroupRoleMappingsUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_scim_group_seat_mappings_updated_v1.py b/incident_io/models/audit_logs_scim_group_seat_mappings_updated_v1.py index 555f47c..d2d1cdd 100644 --- a/incident_io/models/audit_logs_scim_group_seat_mappings_updated_v1.py +++ b/incident_io/models/audit_logs_scim_group_seat_mappings_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsScimGroupSeatMappingsUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsScimGroupSeatMappingsUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_secret_created_v1.py b/incident_io/models/audit_logs_secret_created_v1.py index 221dcbc..14ade03 100644 --- a/incident_io/models/audit_logs_secret_created_v1.py +++ b/incident_io/models/audit_logs_secret_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSecretCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSecretCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_secret_deleted_v1.py b/incident_io/models/audit_logs_secret_deleted_v1.py index 3f8f13b..38bccac 100644 --- a/incident_io/models/audit_logs_secret_deleted_v1.py +++ b/incident_io/models/audit_logs_secret_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSecretDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSecretDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_secret_reference_added_v1.py b/incident_io/models/audit_logs_secret_reference_added_v1.py index 408c13a..46c23eb 100644 --- a/incident_io/models/audit_logs_secret_reference_added_v1.py +++ b/incident_io/models/audit_logs_secret_reference_added_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSecretReferenceAddedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSecretReferenceAddedV1: """ Example: diff --git a/incident_io/models/audit_logs_secret_reference_removed_v1.py b/incident_io/models/audit_logs_secret_reference_removed_v1.py index 842707f..2476049 100644 --- a/incident_io/models/audit_logs_secret_reference_removed_v1.py +++ b/incident_io/models/audit_logs_secret_reference_removed_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSecretReferenceRemovedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSecretReferenceRemovedV1: """ Example: diff --git a/incident_io/models/audit_logs_secret_rotated_v1.py b/incident_io/models/audit_logs_secret_rotated_v1.py index 50bf2d7..5a8020b 100644 --- a/incident_io/models/audit_logs_secret_rotated_v1.py +++ b/incident_io/models/audit_logs_secret_rotated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSecretRotatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSecretRotatedV1: """ Example: diff --git a/incident_io/models/audit_logs_secret_updated_v1.py b/incident_io/models/audit_logs_secret_updated_v1.py index 5e510ce..c7ef513 100644 --- a/incident_io/models/audit_logs_secret_updated_v1.py +++ b/incident_io/models/audit_logs_secret_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSecretUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSecretUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_severity_created_v1.py b/incident_io/models/audit_logs_severity_created_v1.py index b92ca6a..df50fe8 100644 --- a/incident_io/models/audit_logs_severity_created_v1.py +++ b/incident_io/models/audit_logs_severity_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSeverityCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSeverityCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_severity_deleted_v1.py b/incident_io/models/audit_logs_severity_deleted_v1.py index 7165e05..37f854c 100644 --- a/incident_io/models/audit_logs_severity_deleted_v1.py +++ b/incident_io/models/audit_logs_severity_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSeverityDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSeverityDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_severity_updated_v1.py b/incident_io/models/audit_logs_severity_updated_v1.py index 26fb64c..1bdd2c7 100644 --- a/incident_io/models/audit_logs_severity_updated_v1.py +++ b/incident_io/models/audit_logs_severity_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsSeverityUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsSeverityUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_created_v1.py b/incident_io/models/audit_logs_status_page_created_v1.py index 3251990..496c41c 100644 --- a/incident_io/models/audit_logs_status_page_created_v1.py +++ b/incident_io/models/audit_logs_status_page_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_deleted_v1.py b/incident_io/models/audit_logs_status_page_deleted_v1.py index 0c29383..a055c2d 100644 --- a/incident_io/models/audit_logs_status_page_deleted_v1.py +++ b/incident_io/models/audit_logs_status_page_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_sub_page_created_v1.py b/incident_io/models/audit_logs_status_page_sub_page_created_v1.py index 82211b6..8c32046 100644 --- a/incident_io/models/audit_logs_status_page_sub_page_created_v1.py +++ b/incident_io/models/audit_logs_status_page_sub_page_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageSubPageCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageSubPageCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_sub_page_deleted_v1.py b/incident_io/models/audit_logs_status_page_sub_page_deleted_v1.py index 1bd6327..287c61d 100644 --- a/incident_io/models/audit_logs_status_page_sub_page_deleted_v1.py +++ b/incident_io/models/audit_logs_status_page_sub_page_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageSubPageDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageSubPageDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_sub_page_updated_v1.py b/incident_io/models/audit_logs_status_page_sub_page_updated_v1.py index 075df88..fc2fd38 100644 --- a/incident_io/models/audit_logs_status_page_sub_page_updated_v1.py +++ b/incident_io/models/audit_logs_status_page_sub_page_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageSubPageUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageSubPageUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_template_created_v1.py b/incident_io/models/audit_logs_status_page_template_created_v1.py index 20d4a95..364f11b 100644 --- a/incident_io/models/audit_logs_status_page_template_created_v1.py +++ b/incident_io/models/audit_logs_status_page_template_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageTemplateCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageTemplateCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_template_deleted_v1.py b/incident_io/models/audit_logs_status_page_template_deleted_v1.py index 2655971..405b7e0 100644 --- a/incident_io/models/audit_logs_status_page_template_deleted_v1.py +++ b/incident_io/models/audit_logs_status_page_template_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageTemplateDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageTemplateDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_template_updated_v1.py b/incident_io/models/audit_logs_status_page_template_updated_v1.py index c4e54e0..5acde63 100644 --- a/incident_io/models/audit_logs_status_page_template_updated_v1.py +++ b/incident_io/models/audit_logs_status_page_template_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageTemplateUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageTemplateUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_status_page_updated_v1.py b/incident_io/models/audit_logs_status_page_updated_v1.py index 8ac96e2..65aa4bd 100644 --- a/incident_io/models/audit_logs_status_page_updated_v1.py +++ b/incident_io/models/audit_logs_status_page_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsStatusPageUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsStatusPageUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_team_role_created_v1.py b/incident_io/models/audit_logs_team_role_created_v1.py index 0377540..3f365ce 100644 --- a/incident_io/models/audit_logs_team_role_created_v1.py +++ b/incident_io/models/audit_logs_team_role_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsTeamRoleCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTeamRoleCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_team_role_deleted_v1.py b/incident_io/models/audit_logs_team_role_deleted_v1.py index 9b3c8df..d860e61 100644 --- a/incident_io/models/audit_logs_team_role_deleted_v1.py +++ b/incident_io/models/audit_logs_team_role_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsTeamRoleDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTeamRoleDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_team_role_updated_v1.py b/incident_io/models/audit_logs_team_role_updated_v1.py index 674e678..95708c1 100644 --- a/incident_io/models/audit_logs_team_role_updated_v1.py +++ b/incident_io/models/audit_logs_team_role_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsTeamRoleUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTeamRoleUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_team_settings_updated_v1.py b/incident_io/models/audit_logs_team_settings_updated_v1.py index c29762e..d5eef87 100644 --- a/incident_io/models/audit_logs_team_settings_updated_v1.py +++ b/incident_io/models/audit_logs_team_settings_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsTeamSettingsUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTeamSettingsUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_access_mode_changed_v1.py b/incident_io/models/audit_logs_telemetry_data_source_access_mode_changed_v1.py index f68ca15..11630ca 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_access_mode_changed_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_access_mode_changed_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceAccessModeChangedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceAccessModeChangedV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v1.py b/incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v1.py index 0c5bce0..833a460 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_access_policy_changed_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceAccessPolicyChangedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceAccessPolicyChangedV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_installed_v1.py b/incident_io/models/audit_logs_telemetry_data_source_installed_v1.py index a785ae9..0c004a6 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_installed_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_installed_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceInstalledV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceInstalledV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_queried_v1.py b/incident_io/models/audit_logs_telemetry_data_source_queried_v1.py index 3230f99..a9c54a7 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_queried_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_queried_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceQueriedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceQueriedV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_queried_v2.py b/incident_io/models/audit_logs_telemetry_data_source_queried_v2.py index 113ab3f..4c7da9b 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_queried_v2.py +++ b/incident_io/models/audit_logs_telemetry_data_source_queried_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceQueriedV2") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceQueriedV2: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_requested_v1.py b/incident_io/models/audit_logs_telemetry_data_source_requested_v1.py index 2a234ab..b46083c 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_requested_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_requested_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceRequestedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceRequestedV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_tool_access_changed_v1.py b/incident_io/models/audit_logs_telemetry_data_source_tool_access_changed_v1.py index 5c6a01f..ddf537f 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_tool_access_changed_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_tool_access_changed_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceToolAccessChangedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceToolAccessChangedV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_tool_overrides_changed_v1.py b/incident_io/models/audit_logs_telemetry_data_source_tool_overrides_changed_v1.py index f2b68cf..e83f328 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_tool_overrides_changed_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_tool_overrides_changed_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceToolOverridesChangedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceToolOverridesChangedV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_uninstalled_v1.py b/incident_io/models/audit_logs_telemetry_data_source_uninstalled_v1.py index 8c24ca8..5e6dc3f 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_uninstalled_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_uninstalled_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceUninstalledV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceUninstalledV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_write_access_granted_v1.py b/incident_io/models/audit_logs_telemetry_data_source_write_access_granted_v1.py index f359216..21c17d1 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_write_access_granted_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_write_access_granted_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceWriteAccessGrantedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceWriteAccessGrantedV1: """ Example: diff --git a/incident_io/models/audit_logs_telemetry_data_source_write_access_revoked_v1.py b/incident_io/models/audit_logs_telemetry_data_source_write_access_revoked_v1.py index baf2917..1b031c2 100644 --- a/incident_io/models/audit_logs_telemetry_data_source_write_access_revoked_v1.py +++ b/incident_io/models/audit_logs_telemetry_data_source_write_access_revoked_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsTelemetryDataSourceWriteAccessRevokedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTelemetryDataSourceWriteAccessRevokedV1: """ Example: diff --git a/incident_io/models/audit_logs_timeline_item_deleted_v1.py b/incident_io/models/audit_logs_timeline_item_deleted_v1.py index fea65af..e44e7fc 100644 --- a/incident_io/models/audit_logs_timeline_item_deleted_v1.py +++ b/incident_io/models/audit_logs_timeline_item_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsTimelineItemDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsTimelineItemDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_user_created_v1.py b/incident_io/models/audit_logs_user_created_v1.py index 1871d06..cc5471e 100644 --- a/incident_io/models/audit_logs_user_created_v1.py +++ b/incident_io/models/audit_logs_user_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsUserCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsUserCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_user_deactivated_v1.py b/incident_io/models/audit_logs_user_deactivated_v1.py index 1c0b712..10e80cf 100644 --- a/incident_io/models/audit_logs_user_deactivated_v1.py +++ b/incident_io/models/audit_logs_user_deactivated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsUserDeactivatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsUserDeactivatedV1: """ Example: diff --git a/incident_io/models/audit_logs_user_logged_in_v1.py b/incident_io/models/audit_logs_user_logged_in_v1.py index 6e18bd0..ff2c0d1 100644 --- a/incident_io/models/audit_logs_user_logged_in_v1.py +++ b/incident_io/models/audit_logs_user_logged_in_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsUserLoggedInV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsUserLoggedInV1: """ Example: diff --git a/incident_io/models/audit_logs_user_reinstated_v1.py b/incident_io/models/audit_logs_user_reinstated_v1.py index 691ea05..f8437ab 100644 --- a/incident_io/models/audit_logs_user_reinstated_v1.py +++ b/incident_io/models/audit_logs_user_reinstated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsUserReinstatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsUserReinstatedV1: """ Example: diff --git a/incident_io/models/audit_logs_user_role_memberships_updated_v1.py b/incident_io/models/audit_logs_user_role_memberships_updated_v1.py index a03b0db..02af588 100644 --- a/incident_io/models/audit_logs_user_role_memberships_updated_v1.py +++ b/incident_io/models/audit_logs_user_role_memberships_updated_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="AuditLogsUserRoleMembershipsUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsUserRoleMembershipsUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_user_updated_v1.py b/incident_io/models/audit_logs_user_updated_v1.py index 7d77b1d..81d1c9e 100644 --- a/incident_io/models/audit_logs_user_updated_v1.py +++ b/incident_io/models/audit_logs_user_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsUserUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsUserUpdatedV1: """ Example: diff --git a/incident_io/models/audit_logs_workflow_created_v1.py b/incident_io/models/audit_logs_workflow_created_v1.py index 9fa70be..87255b1 100644 --- a/incident_io/models/audit_logs_workflow_created_v1.py +++ b/incident_io/models/audit_logs_workflow_created_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsWorkflowCreatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsWorkflowCreatedV1: """ Example: diff --git a/incident_io/models/audit_logs_workflow_deleted_v1.py b/incident_io/models/audit_logs_workflow_deleted_v1.py index 14b8526..ed0f9dd 100644 --- a/incident_io/models/audit_logs_workflow_deleted_v1.py +++ b/incident_io/models/audit_logs_workflow_deleted_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsWorkflowDeletedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsWorkflowDeletedV1: """ Example: diff --git a/incident_io/models/audit_logs_workflow_updated_v1.py b/incident_io/models/audit_logs_workflow_updated_v1.py index 87d9da8..ceed51e 100644 --- a/incident_io/models/audit_logs_workflow_updated_v1.py +++ b/incident_io/models/audit_logs_workflow_updated_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="AuditLogsWorkflowUpdatedV1") -@_attrs_define +@_attrs_define(kw_only=True) class AuditLogsWorkflowUpdatedV1: """ Example: diff --git a/incident_io/models/call_route_allowed_caller_v2.py b/incident_io/models/call_route_allowed_caller_v2.py index b36c54a..9252ab1 100644 --- a/incident_io/models/call_route_allowed_caller_v2.py +++ b/incident_io/models/call_route_allowed_caller_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CallRouteAllowedCallerV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRouteAllowedCallerV2: """A phone number allowed to reach a call route. diff --git a/incident_io/models/call_route_option_v2.py b/incident_io/models/call_route_option_v2.py index c003359..13480b0 100644 --- a/incident_io/models/call_route_option_v2.py +++ b/incident_io/models/call_route_option_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CallRouteOptionV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRouteOptionV2: """One entry in a call route's phone-tree menu: the digit a caller presses, the prompt we read out to offer it, and who we page when they choose it. diff --git a/incident_io/models/call_route_path_node_level_v2.py b/incident_io/models/call_route_path_node_level_v2.py index b4b1afb..0ce83b5 100644 --- a/incident_io/models/call_route_path_node_level_v2.py +++ b/incident_io/models/call_route_path_node_level_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutePathNodeLevelV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutePathNodeLevelV2: """The targets a level pages. diff --git a/incident_io/models/call_route_path_node_payload_v2.py b/incident_io/models/call_route_path_node_payload_v2.py index df8f083..6cbfb7f 100644 --- a/incident_io/models/call_route_path_node_payload_v2.py +++ b/incident_io/models/call_route_path_node_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CallRoutePathNodePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutePathNodePayloadV2: """ Example: diff --git a/incident_io/models/call_route_path_node_v2.py b/incident_io/models/call_route_path_node_v2.py index 7566d56..148574c 100644 --- a/incident_io/models/call_route_path_node_v2.py +++ b/incident_io/models/call_route_path_node_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CallRoutePathNodeV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutePathNodeV2: """A single step in a call route's path. diff --git a/incident_io/models/call_route_path_node_voicemail_v2.py b/incident_io/models/call_route_path_node_voicemail_v2.py index 3477bca..f8a8b3a 100644 --- a/incident_io/models/call_route_path_node_voicemail_v2.py +++ b/incident_io/models/call_route_path_node_voicemail_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CallRoutePathNodeVoicemailV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutePathNodeVoicemailV2: """Records a message from the caller, and enriches the resulting alert with the transcript. diff --git a/incident_io/models/call_route_target_v2.py b/incident_io/models/call_route_target_v2.py index ac35427..9dc8443 100644 --- a/incident_io/models/call_route_target_v2.py +++ b/incident_io/models/call_route_target_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="CallRouteTargetV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRouteTargetV2: """Someone a call route pages when a call comes in. diff --git a/incident_io/models/call_route_v2.py b/incident_io/models/call_route_v2.py index cb92c65..3cf5263 100644 --- a/incident_io/models/call_route_v2.py +++ b/incident_io/models/call_route_v2.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="CallRouteV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRouteV2: """A call route is a phone number your customers can call to reach whoever is on call, for an urgent support line or a regulator hotline. diff --git a/incident_io/models/call_routes_create_allowed_caller_payload_v2.py b/incident_io/models/call_routes_create_allowed_caller_payload_v2.py index ddaab07..bfe5303 100644 --- a/incident_io/models/call_routes_create_allowed_caller_payload_v2.py +++ b/incident_io/models/call_routes_create_allowed_caller_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CallRoutesCreateAllowedCallerPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesCreateAllowedCallerPayloadV2: """ Example: diff --git a/incident_io/models/call_routes_create_allowed_caller_result_v2.py b/incident_io/models/call_routes_create_allowed_caller_result_v2.py index 242b3e0..e290331 100644 --- a/incident_io/models/call_routes_create_allowed_caller_result_v2.py +++ b/incident_io/models/call_routes_create_allowed_caller_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesCreateAllowedCallerResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesCreateAllowedCallerResultV2: """ Example: diff --git a/incident_io/models/call_routes_create_option_payload_v2.py b/incident_io/models/call_routes_create_option_payload_v2.py index 885f2d9..2220a35 100644 --- a/incident_io/models/call_routes_create_option_payload_v2.py +++ b/incident_io/models/call_routes_create_option_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CallRoutesCreateOptionPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesCreateOptionPayloadV2: """ Example: diff --git a/incident_io/models/call_routes_create_option_result_v2.py b/incident_io/models/call_routes_create_option_result_v2.py index 9544aa3..223a8ba 100644 --- a/incident_io/models/call_routes_create_option_result_v2.py +++ b/incident_io/models/call_routes_create_option_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesCreateOptionResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesCreateOptionResultV2: """ Example: diff --git a/incident_io/models/call_routes_list_allowed_callers_result_v2.py b/incident_io/models/call_routes_list_allowed_callers_result_v2.py index 3022255..2530a79 100644 --- a/incident_io/models/call_routes_list_allowed_callers_result_v2.py +++ b/incident_io/models/call_routes_list_allowed_callers_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesListAllowedCallersResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesListAllowedCallersResultV2: """ Example: diff --git a/incident_io/models/call_routes_list_options_result_v2.py b/incident_io/models/call_routes_list_options_result_v2.py index 8b36be7..d773101 100644 --- a/incident_io/models/call_routes_list_options_result_v2.py +++ b/incident_io/models/call_routes_list_options_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesListOptionsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesListOptionsResultV2: """ Example: diff --git a/incident_io/models/call_routes_list_result_v2.py b/incident_io/models/call_routes_list_result_v2.py index 1449dde..ae5acca 100644 --- a/incident_io/models/call_routes_list_result_v2.py +++ b/incident_io/models/call_routes_list_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="CallRoutesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesListResultV2: """ Example: diff --git a/incident_io/models/call_routes_show_allowed_caller_result_v2.py b/incident_io/models/call_routes_show_allowed_caller_result_v2.py index a517e9e..bf76571 100644 --- a/incident_io/models/call_routes_show_allowed_caller_result_v2.py +++ b/incident_io/models/call_routes_show_allowed_caller_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesShowAllowedCallerResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesShowAllowedCallerResultV2: """ Example: diff --git a/incident_io/models/call_routes_show_option_result_v2.py b/incident_io/models/call_routes_show_option_result_v2.py index 06af562..9d24b38 100644 --- a/incident_io/models/call_routes_show_option_result_v2.py +++ b/incident_io/models/call_routes_show_option_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesShowOptionResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesShowOptionResultV2: """ Example: diff --git a/incident_io/models/call_routes_show_result_v2.py b/incident_io/models/call_routes_show_result_v2.py index 94a1990..944a9d1 100644 --- a/incident_io/models/call_routes_show_result_v2.py +++ b/incident_io/models/call_routes_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesShowResultV2: """ Example: diff --git a/incident_io/models/call_routes_update_allowed_caller_payload_v2.py b/incident_io/models/call_routes_update_allowed_caller_payload_v2.py index 2cf68e6..d65612c 100644 --- a/incident_io/models/call_routes_update_allowed_caller_payload_v2.py +++ b/incident_io/models/call_routes_update_allowed_caller_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CallRoutesUpdateAllowedCallerPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesUpdateAllowedCallerPayloadV2: """ Example: diff --git a/incident_io/models/call_routes_update_allowed_caller_result_v2.py b/incident_io/models/call_routes_update_allowed_caller_result_v2.py index 6701dd5..ee5b5ce 100644 --- a/incident_io/models/call_routes_update_allowed_caller_result_v2.py +++ b/incident_io/models/call_routes_update_allowed_caller_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesUpdateAllowedCallerResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesUpdateAllowedCallerResultV2: """ Example: diff --git a/incident_io/models/call_routes_update_option_payload_v2.py b/incident_io/models/call_routes_update_option_payload_v2.py index d6a6226..92becc1 100644 --- a/incident_io/models/call_routes_update_option_payload_v2.py +++ b/incident_io/models/call_routes_update_option_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CallRoutesUpdateOptionPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesUpdateOptionPayloadV2: """ Example: diff --git a/incident_io/models/call_routes_update_option_result_v2.py b/incident_io/models/call_routes_update_option_result_v2.py index 3758530..f477d69 100644 --- a/incident_io/models/call_routes_update_option_result_v2.py +++ b/incident_io/models/call_routes_update_option_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesUpdateOptionResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesUpdateOptionResultV2: """ Example: diff --git a/incident_io/models/call_routes_update_payload_v2.py b/incident_io/models/call_routes_update_payload_v2.py index b977897..6baaa6d 100644 --- a/incident_io/models/call_routes_update_payload_v2.py +++ b/incident_io/models/call_routes_update_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="CallRoutesUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesUpdatePayloadV2: """ Example: diff --git a/incident_io/models/call_routes_update_result_v2.py b/incident_io/models/call_routes_update_result_v2.py index f841d5d..93f4d9b 100644 --- a/incident_io/models/call_routes_update_result_v2.py +++ b/incident_io/models/call_routes_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CallRoutesUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallRoutesUpdateResultV2: """ Example: diff --git a/incident_io/models/call_session_v2.py b/incident_io/models/call_session_v2.py index 6ac8ecf..2acdeb3 100644 --- a/incident_io/models/call_session_v2.py +++ b/incident_io/models/call_session_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="CallSessionV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallSessionV2: """A call session is a single occurrence of a call that Scribe attended, for example one Zoom or Google Meet meeting. Several call sessions can exist for diff --git a/incident_io/models/call_sessions_list_result_v2.py b/incident_io/models/call_sessions_list_result_v2.py index 5212439..3d8bdd8 100644 --- a/incident_io/models/call_sessions_list_result_v2.py +++ b/incident_io/models/call_sessions_list_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="CallSessionsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallSessionsListResultV2: """ Example: diff --git a/incident_io/models/call_transcript_entries_list_result_v2.py b/incident_io/models/call_transcript_entries_list_result_v2.py index 9181de3..0376f20 100644 --- a/incident_io/models/call_transcript_entries_list_result_v2.py +++ b/incident_io/models/call_transcript_entries_list_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="CallTranscriptEntriesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallTranscriptEntriesListResultV2: """ Example: diff --git a/incident_io/models/call_transcript_entry_v2.py b/incident_io/models/call_transcript_entry_v2.py index d7c254e..390d543 100644 --- a/incident_io/models/call_transcript_entry_v2.py +++ b/incident_io/models/call_transcript_entry_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="CallTranscriptEntryV2") -@_attrs_define +@_attrs_define(kw_only=True) class CallTranscriptEntryV2: """A single entry of a Scribe call transcript: one contiguous run of speech, or one in-call chat message, from one participant. diff --git a/incident_io/models/catalog_bulk_update_entries_payload_v3.py b/incident_io/models/catalog_bulk_update_entries_payload_v3.py index 591add8..c213249 100644 --- a/incident_io/models/catalog_bulk_update_entries_payload_v3.py +++ b/incident_io/models/catalog_bulk_update_entries_payload_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CatalogBulkUpdateEntriesPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogBulkUpdateEntriesPayloadV3: """ Example: diff --git a/incident_io/models/catalog_create_entry_payload_v2.py b/incident_io/models/catalog_create_entry_payload_v2.py index 2941d17..5159574 100644 --- a/incident_io/models/catalog_create_entry_payload_v2.py +++ b/incident_io/models/catalog_create_entry_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CatalogCreateEntryPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateEntryPayloadV2: """ Example: diff --git a/incident_io/models/catalog_create_entry_payload_v2_attribute_values.py b/incident_io/models/catalog_create_entry_payload_v2_attribute_values.py index 54823e9..efabd3e 100644 --- a/incident_io/models/catalog_create_entry_payload_v2_attribute_values.py +++ b/incident_io/models/catalog_create_entry_payload_v2_attribute_values.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogCreateEntryPayloadV2AttributeValues") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateEntryPayloadV2AttributeValues: """Values of this entry diff --git a/incident_io/models/catalog_create_entry_payload_v3.py b/incident_io/models/catalog_create_entry_payload_v3.py index 71f8bed..9c4f0c3 100644 --- a/incident_io/models/catalog_create_entry_payload_v3.py +++ b/incident_io/models/catalog_create_entry_payload_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CatalogCreateEntryPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateEntryPayloadV3: """ Example: diff --git a/incident_io/models/catalog_create_entry_payload_v3_attribute_values.py b/incident_io/models/catalog_create_entry_payload_v3_attribute_values.py index 8495e98..0071d63 100644 --- a/incident_io/models/catalog_create_entry_payload_v3_attribute_values.py +++ b/incident_io/models/catalog_create_entry_payload_v3_attribute_values.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CatalogCreateEntryPayloadV3AttributeValues") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateEntryPayloadV3AttributeValues: """Values of this entry diff --git a/incident_io/models/catalog_create_entry_result_v2.py b/incident_io/models/catalog_create_entry_result_v2.py index f6f25ed..5ef6d11 100644 --- a/incident_io/models/catalog_create_entry_result_v2.py +++ b/incident_io/models/catalog_create_entry_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogCreateEntryResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateEntryResultV2: """ Example: diff --git a/incident_io/models/catalog_create_entry_result_v3.py b/incident_io/models/catalog_create_entry_result_v3.py index f14b52f..2db4207 100644 --- a/incident_io/models/catalog_create_entry_result_v3.py +++ b/incident_io/models/catalog_create_entry_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogCreateEntryResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateEntryResultV3: """ Example: diff --git a/incident_io/models/catalog_create_type_payload_v2.py b/incident_io/models/catalog_create_type_payload_v2.py index 170a233..bb3be3b 100644 --- a/incident_io/models/catalog_create_type_payload_v2.py +++ b/incident_io/models/catalog_create_type_payload_v2.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="CatalogCreateTypePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateTypePayloadV2: """ Example: diff --git a/incident_io/models/catalog_create_type_payload_v2_annotations.py b/incident_io/models/catalog_create_type_payload_v2_annotations.py index 8693cd6..22b8d9d 100644 --- a/incident_io/models/catalog_create_type_payload_v2_annotations.py +++ b/incident_io/models/catalog_create_type_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogCreateTypePayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateTypePayloadV2Annotations: """Annotations that can track metadata about this type diff --git a/incident_io/models/catalog_create_type_payload_v3.py b/incident_io/models/catalog_create_type_payload_v3.py index 453e22e..808528e 100644 --- a/incident_io/models/catalog_create_type_payload_v3.py +++ b/incident_io/models/catalog_create_type_payload_v3.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="CatalogCreateTypePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateTypePayloadV3: """ Example: diff --git a/incident_io/models/catalog_create_type_payload_v3_annotations.py b/incident_io/models/catalog_create_type_payload_v3_annotations.py index 287f617..279b5ee 100644 --- a/incident_io/models/catalog_create_type_payload_v3_annotations.py +++ b/incident_io/models/catalog_create_type_payload_v3_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogCreateTypePayloadV3Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateTypePayloadV3Annotations: """Annotations that can track metadata about this type diff --git a/incident_io/models/catalog_create_type_result_v2.py b/incident_io/models/catalog_create_type_result_v2.py index f7966f5..de4ebe2 100644 --- a/incident_io/models/catalog_create_type_result_v2.py +++ b/incident_io/models/catalog_create_type_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogCreateTypeResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateTypeResultV2: """ Example: diff --git a/incident_io/models/catalog_create_type_result_v3.py b/incident_io/models/catalog_create_type_result_v3.py index a5fa482..bbc3fe9 100644 --- a/incident_io/models/catalog_create_type_result_v3.py +++ b/incident_io/models/catalog_create_type_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogCreateTypeResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogCreateTypeResultV3: """ Example: diff --git a/incident_io/models/catalog_engine_param_binding_payload_v3.py b/incident_io/models/catalog_engine_param_binding_payload_v3.py index 44bac2b..9660543 100644 --- a/incident_io/models/catalog_engine_param_binding_payload_v3.py +++ b/incident_io/models/catalog_engine_param_binding_payload_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CatalogEngineParamBindingPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEngineParamBindingPayloadV3: """ Example: diff --git a/incident_io/models/catalog_engine_param_binding_value_payload_v3.py b/incident_io/models/catalog_engine_param_binding_value_payload_v3.py index 15b2595..10130fc 100644 --- a/incident_io/models/catalog_engine_param_binding_value_payload_v3.py +++ b/incident_io/models/catalog_engine_param_binding_value_payload_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CatalogEngineParamBindingValuePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEngineParamBindingValuePayloadV3: """ Example: diff --git a/incident_io/models/catalog_entry_engine_param_binding_v2.py b/incident_io/models/catalog_entry_engine_param_binding_v2.py index 252ade2..692963e 100644 --- a/incident_io/models/catalog_entry_engine_param_binding_v2.py +++ b/incident_io/models/catalog_entry_engine_param_binding_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CatalogEntryEngineParamBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryEngineParamBindingV2: """ Example: diff --git a/incident_io/models/catalog_entry_engine_param_binding_v3.py b/incident_io/models/catalog_entry_engine_param_binding_v3.py index 8670357..d054217 100644 --- a/incident_io/models/catalog_entry_engine_param_binding_v3.py +++ b/incident_io/models/catalog_entry_engine_param_binding_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CatalogEntryEngineParamBindingV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryEngineParamBindingV3: """ Example: diff --git a/incident_io/models/catalog_entry_engine_param_binding_value_v2.py b/incident_io/models/catalog_entry_engine_param_binding_value_v2.py index 5b5457d..c95ff71 100644 --- a/incident_io/models/catalog_entry_engine_param_binding_value_v2.py +++ b/incident_io/models/catalog_entry_engine_param_binding_value_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CatalogEntryEngineParamBindingValueV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryEngineParamBindingValueV2: """ Example: diff --git a/incident_io/models/catalog_entry_engine_param_binding_value_v3.py b/incident_io/models/catalog_entry_engine_param_binding_value_v3.py index 6ae461b..f624a0d 100644 --- a/incident_io/models/catalog_entry_engine_param_binding_value_v3.py +++ b/incident_io/models/catalog_entry_engine_param_binding_value_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CatalogEntryEngineParamBindingValueV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryEngineParamBindingValueV3: """ Example: diff --git a/incident_io/models/catalog_entry_reference_v2.py b/incident_io/models/catalog_entry_reference_v2.py index 8b148e7..76d6f53 100644 --- a/incident_io/models/catalog_entry_reference_v2.py +++ b/incident_io/models/catalog_entry_reference_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="CatalogEntryReferenceV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryReferenceV2: """ Example: diff --git a/incident_io/models/catalog_entry_slim_v3v3.py b/incident_io/models/catalog_entry_slim_v3v3.py index a60c808..63ad4e4 100644 --- a/incident_io/models/catalog_entry_slim_v3v3.py +++ b/incident_io/models/catalog_entry_slim_v3v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CatalogEntrySlimV3V3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntrySlimV3V3: """ Example: diff --git a/incident_io/models/catalog_entry_v2.py b/incident_io/models/catalog_entry_v2.py index 7c06fb5..c6dd412 100644 --- a/incident_io/models/catalog_entry_v2.py +++ b/incident_io/models/catalog_entry_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="CatalogEntryV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryV2: """ Example: diff --git a/incident_io/models/catalog_entry_v2_attribute_values.py b/incident_io/models/catalog_entry_v2_attribute_values.py index ae6bd55..69210b0 100644 --- a/incident_io/models/catalog_entry_v2_attribute_values.py +++ b/incident_io/models/catalog_entry_v2_attribute_values.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CatalogEntryV2AttributeValues") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryV2AttributeValues: """Values of this entry diff --git a/incident_io/models/catalog_entry_v3.py b/incident_io/models/catalog_entry_v3.py index 41d43ba..e348b9a 100644 --- a/incident_io/models/catalog_entry_v3.py +++ b/incident_io/models/catalog_entry_v3.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="CatalogEntryV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryV3: """ Example: diff --git a/incident_io/models/catalog_entry_v3_attribute_values.py b/incident_io/models/catalog_entry_v3_attribute_values.py index 27b9d07..2b24fa3 100644 --- a/incident_io/models/catalog_entry_v3_attribute_values.py +++ b/incident_io/models/catalog_entry_v3_attribute_values.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CatalogEntryV3AttributeValues") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogEntryV3AttributeValues: """Values of this entry diff --git a/incident_io/models/catalog_list_entries_result_v2.py b/incident_io/models/catalog_list_entries_result_v2.py index d3be822..9b49f32 100644 --- a/incident_io/models/catalog_list_entries_result_v2.py +++ b/incident_io/models/catalog_list_entries_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CatalogListEntriesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogListEntriesResultV2: """ Example: diff --git a/incident_io/models/catalog_list_entries_result_v3.py b/incident_io/models/catalog_list_entries_result_v3.py index 8242bf3..b9d398b 100644 --- a/incident_io/models/catalog_list_entries_result_v3.py +++ b/incident_io/models/catalog_list_entries_result_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CatalogListEntriesResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogListEntriesResultV3: """ Example: diff --git a/incident_io/models/catalog_list_resources_result_v2.py b/incident_io/models/catalog_list_resources_result_v2.py index d3eafde..cdf3677 100644 --- a/incident_io/models/catalog_list_resources_result_v2.py +++ b/incident_io/models/catalog_list_resources_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogListResourcesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogListResourcesResultV2: """ Example: diff --git a/incident_io/models/catalog_list_resources_result_v3.py b/incident_io/models/catalog_list_resources_result_v3.py index e9cae91..5cd34dd 100644 --- a/incident_io/models/catalog_list_resources_result_v3.py +++ b/incident_io/models/catalog_list_resources_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogListResourcesResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogListResourcesResultV3: """ Example: diff --git a/incident_io/models/catalog_list_types_result_v2.py b/incident_io/models/catalog_list_types_result_v2.py index e580bdc..721df34 100644 --- a/incident_io/models/catalog_list_types_result_v2.py +++ b/incident_io/models/catalog_list_types_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogListTypesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogListTypesResultV2: """ Example: diff --git a/incident_io/models/catalog_list_types_result_v3.py b/incident_io/models/catalog_list_types_result_v3.py index c25af7b..7660dbf 100644 --- a/incident_io/models/catalog_list_types_result_v3.py +++ b/incident_io/models/catalog_list_types_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogListTypesResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogListTypesResultV3: """ Example: diff --git a/incident_io/models/catalog_resource_v2.py b/incident_io/models/catalog_resource_v2.py index c97d8d4..6ae1d0c 100644 --- a/incident_io/models/catalog_resource_v2.py +++ b/incident_io/models/catalog_resource_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CatalogResourceV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogResourceV2: """ Example: diff --git a/incident_io/models/catalog_resource_v3.py b/incident_io/models/catalog_resource_v3.py index 0d74e9b..882c359 100644 --- a/incident_io/models/catalog_resource_v3.py +++ b/incident_io/models/catalog_resource_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CatalogResourceV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogResourceV3: """ Example: diff --git a/incident_io/models/catalog_show_entry_result_v2.py b/incident_io/models/catalog_show_entry_result_v2.py index f77716a..146c137 100644 --- a/incident_io/models/catalog_show_entry_result_v2.py +++ b/incident_io/models/catalog_show_entry_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="CatalogShowEntryResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogShowEntryResultV2: """ Example: diff --git a/incident_io/models/catalog_show_entry_result_v3.py b/incident_io/models/catalog_show_entry_result_v3.py index d53dff9..d5149f1 100644 --- a/incident_io/models/catalog_show_entry_result_v3.py +++ b/incident_io/models/catalog_show_entry_result_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="CatalogShowEntryResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogShowEntryResultV3: """ Example: diff --git a/incident_io/models/catalog_show_type_result_v2.py b/incident_io/models/catalog_show_type_result_v2.py index 9db9990..2aa07b3 100644 --- a/incident_io/models/catalog_show_type_result_v2.py +++ b/incident_io/models/catalog_show_type_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogShowTypeResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogShowTypeResultV2: """ Example: diff --git a/incident_io/models/catalog_show_type_result_v3.py b/incident_io/models/catalog_show_type_result_v3.py index 2048020..3a624bd 100644 --- a/incident_io/models/catalog_show_type_result_v3.py +++ b/incident_io/models/catalog_show_type_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogShowTypeResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogShowTypeResultV3: """ Example: diff --git a/incident_io/models/catalog_type_attribute_path_item_payload_v2.py b/incident_io/models/catalog_type_attribute_path_item_payload_v2.py index 83fca8b..24519d0 100644 --- a/incident_io/models/catalog_type_attribute_path_item_payload_v2.py +++ b/incident_io/models/catalog_type_attribute_path_item_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogTypeAttributePathItemPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeAttributePathItemPayloadV2: """ Example: diff --git a/incident_io/models/catalog_type_attribute_path_item_payload_v3.py b/incident_io/models/catalog_type_attribute_path_item_payload_v3.py index a2368e8..fc2b778 100644 --- a/incident_io/models/catalog_type_attribute_path_item_payload_v3.py +++ b/incident_io/models/catalog_type_attribute_path_item_payload_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogTypeAttributePathItemPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeAttributePathItemPayloadV3: """ Example: diff --git a/incident_io/models/catalog_type_attribute_path_item_v2.py b/incident_io/models/catalog_type_attribute_path_item_v2.py index ba379c9..b084de7 100644 --- a/incident_io/models/catalog_type_attribute_path_item_v2.py +++ b/incident_io/models/catalog_type_attribute_path_item_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogTypeAttributePathItemV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeAttributePathItemV2: """ Example: diff --git a/incident_io/models/catalog_type_attribute_path_item_v3.py b/incident_io/models/catalog_type_attribute_path_item_v3.py index 1664ba2..b94f192 100644 --- a/incident_io/models/catalog_type_attribute_path_item_v3.py +++ b/incident_io/models/catalog_type_attribute_path_item_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogTypeAttributePathItemV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeAttributePathItemV3: """ Example: diff --git a/incident_io/models/catalog_type_attribute_payload_v2.py b/incident_io/models/catalog_type_attribute_payload_v2.py index 415f309..4f4d247 100644 --- a/incident_io/models/catalog_type_attribute_payload_v2.py +++ b/incident_io/models/catalog_type_attribute_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="CatalogTypeAttributePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeAttributePayloadV2: """ Example: diff --git a/incident_io/models/catalog_type_attribute_payload_v3.py b/incident_io/models/catalog_type_attribute_payload_v3.py index 91fdc8a..4842d6d 100644 --- a/incident_io/models/catalog_type_attribute_payload_v3.py +++ b/incident_io/models/catalog_type_attribute_payload_v3.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="CatalogTypeAttributePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeAttributePayloadV3: """ Example: diff --git a/incident_io/models/catalog_type_attribute_v2.py b/incident_io/models/catalog_type_attribute_v2.py index 694ce59..983224a 100644 --- a/incident_io/models/catalog_type_attribute_v2.py +++ b/incident_io/models/catalog_type_attribute_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="CatalogTypeAttributeV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeAttributeV2: """ Example: diff --git a/incident_io/models/catalog_type_attribute_v3.py b/incident_io/models/catalog_type_attribute_v3.py index 4590678..ba5c5cb 100644 --- a/incident_io/models/catalog_type_attribute_v3.py +++ b/incident_io/models/catalog_type_attribute_v3.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="CatalogTypeAttributeV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeAttributeV3: """ Example: diff --git a/incident_io/models/catalog_type_schema_v2.py b/incident_io/models/catalog_type_schema_v2.py index a90e8b1..7fd60bc 100644 --- a/incident_io/models/catalog_type_schema_v2.py +++ b/incident_io/models/catalog_type_schema_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogTypeSchemaV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeSchemaV2: """ Example: diff --git a/incident_io/models/catalog_type_schema_v3.py b/incident_io/models/catalog_type_schema_v3.py index c9e9ce1..a14cc81 100644 --- a/incident_io/models/catalog_type_schema_v3.py +++ b/incident_io/models/catalog_type_schema_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogTypeSchemaV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeSchemaV3: """ Example: diff --git a/incident_io/models/catalog_type_v2.py b/incident_io/models/catalog_type_v2.py index ca3ef7b..3fb4720 100644 --- a/incident_io/models/catalog_type_v2.py +++ b/incident_io/models/catalog_type_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="CatalogTypeV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeV2: """ Example: diff --git a/incident_io/models/catalog_type_v2_annotations.py b/incident_io/models/catalog_type_v2_annotations.py index 13ee448..69d9ae6 100644 --- a/incident_io/models/catalog_type_v2_annotations.py +++ b/incident_io/models/catalog_type_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogTypeV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeV2Annotations: """Annotations that can track metadata about this type diff --git a/incident_io/models/catalog_type_v3.py b/incident_io/models/catalog_type_v3.py index a2384a6..4282b4e 100644 --- a/incident_io/models/catalog_type_v3.py +++ b/incident_io/models/catalog_type_v3.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="CatalogTypeV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeV3: """ Example: diff --git a/incident_io/models/catalog_type_v3_annotations.py b/incident_io/models/catalog_type_v3_annotations.py index 438bdb1..50f8956 100644 --- a/incident_io/models/catalog_type_v3_annotations.py +++ b/incident_io/models/catalog_type_v3_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogTypeV3Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogTypeV3Annotations: """Annotations that can track metadata about this type diff --git a/incident_io/models/catalog_update_entry_payload_v2.py b/incident_io/models/catalog_update_entry_payload_v2.py index 8db91b0..0ff1d97 100644 --- a/incident_io/models/catalog_update_entry_payload_v2.py +++ b/incident_io/models/catalog_update_entry_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CatalogUpdateEntryPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateEntryPayloadV2: """ Example: diff --git a/incident_io/models/catalog_update_entry_payload_v2_attribute_values.py b/incident_io/models/catalog_update_entry_payload_v2_attribute_values.py index 1aa6c85..bdbac93 100644 --- a/incident_io/models/catalog_update_entry_payload_v2_attribute_values.py +++ b/incident_io/models/catalog_update_entry_payload_v2_attribute_values.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogUpdateEntryPayloadV2AttributeValues") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateEntryPayloadV2AttributeValues: """Values of this entry diff --git a/incident_io/models/catalog_update_entry_payload_v3.py b/incident_io/models/catalog_update_entry_payload_v3.py index b7369f3..103dbdd 100644 --- a/incident_io/models/catalog_update_entry_payload_v3.py +++ b/incident_io/models/catalog_update_entry_payload_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CatalogUpdateEntryPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateEntryPayloadV3: """ Example: diff --git a/incident_io/models/catalog_update_entry_payload_v3_attribute_values.py b/incident_io/models/catalog_update_entry_payload_v3_attribute_values.py index e3a97e9..54633ce 100644 --- a/incident_io/models/catalog_update_entry_payload_v3_attribute_values.py +++ b/incident_io/models/catalog_update_entry_payload_v3_attribute_values.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CatalogUpdateEntryPayloadV3AttributeValues") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateEntryPayloadV3AttributeValues: """Values of this entry diff --git a/incident_io/models/catalog_update_entry_result_v2.py b/incident_io/models/catalog_update_entry_result_v2.py index 9609809..bfbac59 100644 --- a/incident_io/models/catalog_update_entry_result_v2.py +++ b/incident_io/models/catalog_update_entry_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="CatalogUpdateEntryResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateEntryResultV2: """ Example: diff --git a/incident_io/models/catalog_update_entry_result_v3.py b/incident_io/models/catalog_update_entry_result_v3.py index 785756c..d35f7c0 100644 --- a/incident_io/models/catalog_update_entry_result_v3.py +++ b/incident_io/models/catalog_update_entry_result_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="CatalogUpdateEntryResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateEntryResultV3: """ Example: diff --git a/incident_io/models/catalog_update_type_payload_v2.py b/incident_io/models/catalog_update_type_payload_v2.py index 16a3b48..d62b50a 100644 --- a/incident_io/models/catalog_update_type_payload_v2.py +++ b/incident_io/models/catalog_update_type_payload_v2.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="CatalogUpdateTypePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypePayloadV2: """ Example: diff --git a/incident_io/models/catalog_update_type_payload_v2_annotations.py b/incident_io/models/catalog_update_type_payload_v2_annotations.py index d4346a3..d3a2c46 100644 --- a/incident_io/models/catalog_update_type_payload_v2_annotations.py +++ b/incident_io/models/catalog_update_type_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogUpdateTypePayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypePayloadV2Annotations: """Annotations that can track metadata about this type diff --git a/incident_io/models/catalog_update_type_payload_v3.py b/incident_io/models/catalog_update_type_payload_v3.py index 89e12e0..825fa0a 100644 --- a/incident_io/models/catalog_update_type_payload_v3.py +++ b/incident_io/models/catalog_update_type_payload_v3.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="CatalogUpdateTypePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypePayloadV3: """ Example: diff --git a/incident_io/models/catalog_update_type_payload_v3_annotations.py b/incident_io/models/catalog_update_type_payload_v3_annotations.py index a5eb032..8b461d9 100644 --- a/incident_io/models/catalog_update_type_payload_v3_annotations.py +++ b/incident_io/models/catalog_update_type_payload_v3_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CatalogUpdateTypePayloadV3Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypePayloadV3Annotations: """Annotations that can track metadata about this type diff --git a/incident_io/models/catalog_update_type_result_v2.py b/incident_io/models/catalog_update_type_result_v2.py index f3f964d..48d4a18 100644 --- a/incident_io/models/catalog_update_type_result_v2.py +++ b/incident_io/models/catalog_update_type_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogUpdateTypeResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypeResultV2: """ Example: diff --git a/incident_io/models/catalog_update_type_result_v3.py b/incident_io/models/catalog_update_type_result_v3.py index 6eba111..790151d 100644 --- a/incident_io/models/catalog_update_type_result_v3.py +++ b/incident_io/models/catalog_update_type_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogUpdateTypeResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypeResultV3: """ Example: diff --git a/incident_io/models/catalog_update_type_schema_payload_v2.py b/incident_io/models/catalog_update_type_schema_payload_v2.py index 4457a68..140c945 100644 --- a/incident_io/models/catalog_update_type_schema_payload_v2.py +++ b/incident_io/models/catalog_update_type_schema_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogUpdateTypeSchemaPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypeSchemaPayloadV2: """ Example: diff --git a/incident_io/models/catalog_update_type_schema_payload_v3.py b/incident_io/models/catalog_update_type_schema_payload_v3.py index 2f67209..d77d2fe 100644 --- a/incident_io/models/catalog_update_type_schema_payload_v3.py +++ b/incident_io/models/catalog_update_type_schema_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogUpdateTypeSchemaPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypeSchemaPayloadV3: """ Example: diff --git a/incident_io/models/catalog_update_type_schema_result_v2.py b/incident_io/models/catalog_update_type_schema_result_v2.py index ddbfb7e..24264e8 100644 --- a/incident_io/models/catalog_update_type_schema_result_v2.py +++ b/incident_io/models/catalog_update_type_schema_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogUpdateTypeSchemaResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypeSchemaResultV2: """ Example: diff --git a/incident_io/models/catalog_update_type_schema_result_v3.py b/incident_io/models/catalog_update_type_schema_result_v3.py index 2a0e66c..c423406 100644 --- a/incident_io/models/catalog_update_type_schema_result_v3.py +++ b/incident_io/models/catalog_update_type_schema_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CatalogUpdateTypeSchemaResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class CatalogUpdateTypeSchemaResultV3: """ Example: diff --git a/incident_io/models/chat_channel_slim_v2.py b/incident_io/models/chat_channel_slim_v2.py index a11f976..e933521 100644 --- a/incident_io/models/chat_channel_slim_v2.py +++ b/incident_io/models/chat_channel_slim_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="ChatChannelSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class ChatChannelSlimV2: """ Example: diff --git a/incident_io/models/condition_group_payload_v2.py b/incident_io/models/condition_group_payload_v2.py index b13e88c..82c710b 100644 --- a/incident_io/models/condition_group_payload_v2.py +++ b/incident_io/models/condition_group_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ConditionGroupPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionGroupPayloadV2: """ Example: diff --git a/incident_io/models/condition_group_payload_v3.py b/incident_io/models/condition_group_payload_v3.py index 3822324..35e2d81 100644 --- a/incident_io/models/condition_group_payload_v3.py +++ b/incident_io/models/condition_group_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ConditionGroupPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionGroupPayloadV3: """ Example: diff --git a/incident_io/models/condition_group_v2.py b/incident_io/models/condition_group_v2.py index 8493ab2..95bc3e0 100644 --- a/incident_io/models/condition_group_v2.py +++ b/incident_io/models/condition_group_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ConditionGroupV2") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionGroupV2: """ Example: diff --git a/incident_io/models/condition_group_v3.py b/incident_io/models/condition_group_v3.py index e103ee3..2296b26 100644 --- a/incident_io/models/condition_group_v3.py +++ b/incident_io/models/condition_group_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ConditionGroupV3") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionGroupV3: """ Example: diff --git a/incident_io/models/condition_operation_v2.py b/incident_io/models/condition_operation_v2.py index ba95783..c8ffeee 100644 --- a/incident_io/models/condition_operation_v2.py +++ b/incident_io/models/condition_operation_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ConditionOperationV2") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionOperationV2: """ Example: diff --git a/incident_io/models/condition_operation_v3.py b/incident_io/models/condition_operation_v3.py index dca092f..363961b 100644 --- a/incident_io/models/condition_operation_v3.py +++ b/incident_io/models/condition_operation_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ConditionOperationV3") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionOperationV3: """ Example: diff --git a/incident_io/models/condition_payload_v2.py b/incident_io/models/condition_payload_v2.py index 6129e09..d37a426 100644 --- a/incident_io/models/condition_payload_v2.py +++ b/incident_io/models/condition_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ConditionPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionPayloadV2: """ Example: diff --git a/incident_io/models/condition_payload_v3.py b/incident_io/models/condition_payload_v3.py index 099e298..dcda9f4 100644 --- a/incident_io/models/condition_payload_v3.py +++ b/incident_io/models/condition_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ConditionPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionPayloadV3: """ Example: diff --git a/incident_io/models/condition_subject_v2.py b/incident_io/models/condition_subject_v2.py index c727e14..77ebb2a 100644 --- a/incident_io/models/condition_subject_v2.py +++ b/incident_io/models/condition_subject_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ConditionSubjectV2") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionSubjectV2: """ Example: diff --git a/incident_io/models/condition_subject_v3.py b/incident_io/models/condition_subject_v3.py index 2b9d67f..97429f2 100644 --- a/incident_io/models/condition_subject_v3.py +++ b/incident_io/models/condition_subject_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ConditionSubjectV3") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionSubjectV3: """ Example: diff --git a/incident_io/models/condition_v2.py b/incident_io/models/condition_v2.py index 03486da..87907b5 100644 --- a/incident_io/models/condition_v2.py +++ b/incident_io/models/condition_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ConditionV2") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionV2: """ Example: diff --git a/incident_io/models/condition_v3.py b/incident_io/models/condition_v3.py index e251171..0a08ce9 100644 --- a/incident_io/models/condition_v3.py +++ b/incident_io/models/condition_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ConditionV3") -@_attrs_define +@_attrs_define(kw_only=True) class ConditionV3: """ Example: diff --git a/incident_io/models/custom_field_entry_payload_v1.py b/incident_io/models/custom_field_entry_payload_v1.py index e17f383..bfee991 100644 --- a/incident_io/models/custom_field_entry_payload_v1.py +++ b/incident_io/models/custom_field_entry_payload_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldEntryPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldEntryPayloadV1: """ Example: diff --git a/incident_io/models/custom_field_entry_payload_v2.py b/incident_io/models/custom_field_entry_payload_v2.py index 9cc848e..32b256e 100644 --- a/incident_io/models/custom_field_entry_payload_v2.py +++ b/incident_io/models/custom_field_entry_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldEntryPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldEntryPayloadV2: """ Example: diff --git a/incident_io/models/custom_field_entry_v1.py b/incident_io/models/custom_field_entry_v1.py index db461fb..6af510f 100644 --- a/incident_io/models/custom_field_entry_v1.py +++ b/incident_io/models/custom_field_entry_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="CustomFieldEntryV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldEntryV1: """ Example: diff --git a/incident_io/models/custom_field_entry_v2.py b/incident_io/models/custom_field_entry_v2.py index 1258784..bcf0780 100644 --- a/incident_io/models/custom_field_entry_v2.py +++ b/incident_io/models/custom_field_entry_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="CustomFieldEntryV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldEntryV2: """ Example: diff --git a/incident_io/models/custom_field_filter_by_options_v2.py b/incident_io/models/custom_field_filter_by_options_v2.py index c224d2a..4a8e526 100644 --- a/incident_io/models/custom_field_filter_by_options_v2.py +++ b/incident_io/models/custom_field_filter_by_options_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CustomFieldFilterByOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldFilterByOptionsV2: """ Example: diff --git a/incident_io/models/custom_field_fixed_filter_options_v2.py b/incident_io/models/custom_field_fixed_filter_options_v2.py index 7a96aad..be16668 100644 --- a/incident_io/models/custom_field_fixed_filter_options_v2.py +++ b/incident_io/models/custom_field_fixed_filter_options_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CustomFieldFixedFilterOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldFixedFilterOptionsV2: """ Example: diff --git a/incident_io/models/custom_field_option_v1.py b/incident_io/models/custom_field_option_v1.py index 4f956d2..8bc851e 100644 --- a/incident_io/models/custom_field_option_v1.py +++ b/incident_io/models/custom_field_option_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CustomFieldOptionV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldOptionV1: """ Example: diff --git a/incident_io/models/custom_field_option_v2.py b/incident_io/models/custom_field_option_v2.py index 938a0b2..57d78d4 100644 --- a/incident_io/models/custom_field_option_v2.py +++ b/incident_io/models/custom_field_option_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CustomFieldOptionV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldOptionV2: """ Example: diff --git a/incident_io/models/custom_field_options_create_payload_v1.py b/incident_io/models/custom_field_options_create_payload_v1.py index 261de1a..753455d 100644 --- a/incident_io/models/custom_field_options_create_payload_v1.py +++ b/incident_io/models/custom_field_options_create_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CustomFieldOptionsCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldOptionsCreatePayloadV1: """ Example: diff --git a/incident_io/models/custom_field_options_create_result_v1.py b/incident_io/models/custom_field_options_create_result_v1.py index accbfee..04f5570 100644 --- a/incident_io/models/custom_field_options_create_result_v1.py +++ b/incident_io/models/custom_field_options_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldOptionsCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldOptionsCreateResultV1: """ Example: diff --git a/incident_io/models/custom_field_options_list_result_v1.py b/incident_io/models/custom_field_options_list_result_v1.py index 530f7e4..2a24b47 100644 --- a/incident_io/models/custom_field_options_list_result_v1.py +++ b/incident_io/models/custom_field_options_list_result_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="CustomFieldOptionsListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldOptionsListResultV1: """ Example: diff --git a/incident_io/models/custom_field_options_show_result_v1.py b/incident_io/models/custom_field_options_show_result_v1.py index c8caf3e..ad27091 100644 --- a/incident_io/models/custom_field_options_show_result_v1.py +++ b/incident_io/models/custom_field_options_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldOptionsShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldOptionsShowResultV1: """ Example: diff --git a/incident_io/models/custom_field_options_update_payload_v1.py b/incident_io/models/custom_field_options_update_payload_v1.py index d2a7d03..731385f 100644 --- a/incident_io/models/custom_field_options_update_payload_v1.py +++ b/incident_io/models/custom_field_options_update_payload_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="CustomFieldOptionsUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldOptionsUpdatePayloadV1: """ Example: diff --git a/incident_io/models/custom_field_options_update_result_v1.py b/incident_io/models/custom_field_options_update_result_v1.py index ed4d619..79aa929 100644 --- a/incident_io/models/custom_field_options_update_result_v1.py +++ b/incident_io/models/custom_field_options_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldOptionsUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldOptionsUpdateResultV1: """ Example: diff --git a/incident_io/models/custom_field_type_info_v1.py b/incident_io/models/custom_field_type_info_v1.py index 7d8a451..e23da33 100644 --- a/incident_io/models/custom_field_type_info_v1.py +++ b/incident_io/models/custom_field_type_info_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CustomFieldTypeInfoV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldTypeInfoV1: """ Example: diff --git a/incident_io/models/custom_field_type_info_v2.py b/incident_io/models/custom_field_type_info_v2.py index 13d1b0e..6d0a226 100644 --- a/incident_io/models/custom_field_type_info_v2.py +++ b/incident_io/models/custom_field_type_info_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="CustomFieldTypeInfoV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldTypeInfoV2: """ Example: diff --git a/incident_io/models/custom_field_v1.py b/incident_io/models/custom_field_v1.py index 3f73574..b77e4f4 100644 --- a/incident_io/models/custom_field_v1.py +++ b/incident_io/models/custom_field_v1.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="CustomFieldV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldV1: """ Example: diff --git a/incident_io/models/custom_field_v2.py b/incident_io/models/custom_field_v2.py index f386206..4de94c7 100644 --- a/incident_io/models/custom_field_v2.py +++ b/incident_io/models/custom_field_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="CustomFieldV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldV2: """ Example: diff --git a/incident_io/models/custom_field_value_payload_v1.py b/incident_io/models/custom_field_value_payload_v1.py index 6c9f587..ebd43b4 100644 --- a/incident_io/models/custom_field_value_payload_v1.py +++ b/incident_io/models/custom_field_value_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CustomFieldValuePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldValuePayloadV1: """ Example: diff --git a/incident_io/models/custom_field_value_payload_v2.py b/incident_io/models/custom_field_value_payload_v2.py index a162f1e..1f33f38 100644 --- a/incident_io/models/custom_field_value_payload_v2.py +++ b/incident_io/models/custom_field_value_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="CustomFieldValuePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldValuePayloadV2: """ Example: diff --git a/incident_io/models/custom_field_value_v1.py b/incident_io/models/custom_field_value_v1.py index 7a275b8..e6d1ca6 100644 --- a/incident_io/models/custom_field_value_v1.py +++ b/incident_io/models/custom_field_value_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="CustomFieldValueV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldValueV1: """ Example: diff --git a/incident_io/models/custom_field_value_v2.py b/incident_io/models/custom_field_value_v2.py index ade8bd0..75ade7b 100644 --- a/incident_io/models/custom_field_value_v2.py +++ b/incident_io/models/custom_field_value_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="CustomFieldValueV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldValueV2: """ Example: diff --git a/incident_io/models/custom_fields_create_payload_v1.py b/incident_io/models/custom_fields_create_payload_v1.py index 052b362..c177083 100644 --- a/incident_io/models/custom_fields_create_payload_v1.py +++ b/incident_io/models/custom_fields_create_payload_v1.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="CustomFieldsCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsCreatePayloadV1: """ Example: diff --git a/incident_io/models/custom_fields_create_payload_v2.py b/incident_io/models/custom_fields_create_payload_v2.py index 742cbb4..e18940b 100644 --- a/incident_io/models/custom_fields_create_payload_v2.py +++ b/incident_io/models/custom_fields_create_payload_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="CustomFieldsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsCreatePayloadV2: """ Example: diff --git a/incident_io/models/custom_fields_create_result_v1.py b/incident_io/models/custom_fields_create_result_v1.py index c6b4e56..f5fe293 100644 --- a/incident_io/models/custom_fields_create_result_v1.py +++ b/incident_io/models/custom_fields_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldsCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsCreateResultV1: """ Example: diff --git a/incident_io/models/custom_fields_create_result_v2.py b/incident_io/models/custom_fields_create_result_v2.py index 7636589..3a2007e 100644 --- a/incident_io/models/custom_fields_create_result_v2.py +++ b/incident_io/models/custom_fields_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsCreateResultV2: """ Example: diff --git a/incident_io/models/custom_fields_list_result_v1.py b/incident_io/models/custom_fields_list_result_v1.py index 7354d58..62cb890 100644 --- a/incident_io/models/custom_fields_list_result_v1.py +++ b/incident_io/models/custom_fields_list_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldsListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsListResultV1: """ Example: diff --git a/incident_io/models/custom_fields_list_result_v2.py b/incident_io/models/custom_fields_list_result_v2.py index 7b327a9..f62a790 100644 --- a/incident_io/models/custom_fields_list_result_v2.py +++ b/incident_io/models/custom_fields_list_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsListResultV2: """ Example: diff --git a/incident_io/models/custom_fields_show_result_v1.py b/incident_io/models/custom_fields_show_result_v1.py index 898b7d3..de328d1 100644 --- a/incident_io/models/custom_fields_show_result_v1.py +++ b/incident_io/models/custom_fields_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldsShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsShowResultV1: """ Example: diff --git a/incident_io/models/custom_fields_show_result_v2.py b/incident_io/models/custom_fields_show_result_v2.py index 47b6e67..b7ca15f 100644 --- a/incident_io/models/custom_fields_show_result_v2.py +++ b/incident_io/models/custom_fields_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsShowResultV2: """ Example: diff --git a/incident_io/models/custom_fields_update_payload_v1.py b/incident_io/models/custom_fields_update_payload_v1.py index 54558ce..baaee99 100644 --- a/incident_io/models/custom_fields_update_payload_v1.py +++ b/incident_io/models/custom_fields_update_payload_v1.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="CustomFieldsUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsUpdatePayloadV1: """ Example: diff --git a/incident_io/models/custom_fields_update_payload_v2.py b/incident_io/models/custom_fields_update_payload_v2.py index 55ff443..f88a218 100644 --- a/incident_io/models/custom_fields_update_payload_v2.py +++ b/incident_io/models/custom_fields_update_payload_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="CustomFieldsUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsUpdatePayloadV2: """ Example: diff --git a/incident_io/models/custom_fields_update_result_v1.py b/incident_io/models/custom_fields_update_result_v1.py index 823ada2..93143d0 100644 --- a/incident_io/models/custom_fields_update_result_v1.py +++ b/incident_io/models/custom_fields_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldsUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsUpdateResultV1: """ Example: diff --git a/incident_io/models/custom_fields_update_result_v2.py b/incident_io/models/custom_fields_update_result_v2.py index d09ad73..bb50831 100644 --- a/incident_io/models/custom_fields_update_result_v2.py +++ b/incident_io/models/custom_fields_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="CustomFieldsUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class CustomFieldsUpdateResultV2: """ Example: diff --git a/incident_io/models/embedded_catalog_entry_v1.py b/incident_io/models/embedded_catalog_entry_v1.py index bc59c03..8a9e59e 100644 --- a/incident_io/models/embedded_catalog_entry_v1.py +++ b/incident_io/models/embedded_catalog_entry_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EmbeddedCatalogEntryV1") -@_attrs_define +@_attrs_define(kw_only=True) class EmbeddedCatalogEntryV1: """ Example: diff --git a/incident_io/models/embedded_catalog_entry_v2.py b/incident_io/models/embedded_catalog_entry_v2.py index b797509..436e6c6 100644 --- a/incident_io/models/embedded_catalog_entry_v2.py +++ b/incident_io/models/embedded_catalog_entry_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EmbeddedCatalogEntryV2") -@_attrs_define +@_attrs_define(kw_only=True) class EmbeddedCatalogEntryV2: """ Example: diff --git a/incident_io/models/embedded_incident_role_v2.py b/incident_io/models/embedded_incident_role_v2.py index b3c04b0..7a7b037 100644 --- a/incident_io/models/embedded_incident_role_v2.py +++ b/incident_io/models/embedded_incident_role_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EmbeddedIncidentRoleV2") -@_attrs_define +@_attrs_define(kw_only=True) class EmbeddedIncidentRoleV2: """ Example: diff --git a/incident_io/models/engine_param_binding_payload_v2.py b/incident_io/models/engine_param_binding_payload_v2.py index 6f5203f..aa0a850 100644 --- a/incident_io/models/engine_param_binding_payload_v2.py +++ b/incident_io/models/engine_param_binding_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="EngineParamBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamBindingPayloadV2: """ Example: diff --git a/incident_io/models/engine_param_binding_payload_v3.py b/incident_io/models/engine_param_binding_payload_v3.py index 3bb9479..bfc4381 100644 --- a/incident_io/models/engine_param_binding_payload_v3.py +++ b/incident_io/models/engine_param_binding_payload_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="EngineParamBindingPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamBindingPayloadV3: """ Example: diff --git a/incident_io/models/engine_param_binding_v2.py b/incident_io/models/engine_param_binding_v2.py index 0a2a985..d567565 100644 --- a/incident_io/models/engine_param_binding_v2.py +++ b/incident_io/models/engine_param_binding_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="EngineParamBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamBindingV2: """ Example: diff --git a/incident_io/models/engine_param_binding_v3.py b/incident_io/models/engine_param_binding_v3.py index 5596926..618d303 100644 --- a/incident_io/models/engine_param_binding_v3.py +++ b/incident_io/models/engine_param_binding_v3.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="EngineParamBindingV3") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamBindingV3: """ Example: diff --git a/incident_io/models/engine_param_binding_value_payload_v2.py b/incident_io/models/engine_param_binding_value_payload_v2.py index 8184e8b..0e193d9 100644 --- a/incident_io/models/engine_param_binding_value_payload_v2.py +++ b/incident_io/models/engine_param_binding_value_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EngineParamBindingValuePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamBindingValuePayloadV2: """ Example: diff --git a/incident_io/models/engine_param_binding_value_payload_v3.py b/incident_io/models/engine_param_binding_value_payload_v3.py index bf88998..a36c4e2 100644 --- a/incident_io/models/engine_param_binding_value_payload_v3.py +++ b/incident_io/models/engine_param_binding_value_payload_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EngineParamBindingValuePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamBindingValuePayloadV3: """ Example: diff --git a/incident_io/models/engine_param_binding_value_v2.py b/incident_io/models/engine_param_binding_value_v2.py index 2efdcb7..e1147cc 100644 --- a/incident_io/models/engine_param_binding_value_v2.py +++ b/incident_io/models/engine_param_binding_value_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EngineParamBindingValueV2") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamBindingValueV2: """ Example: diff --git a/incident_io/models/engine_param_binding_value_v3.py b/incident_io/models/engine_param_binding_value_v3.py index 9548045..28ccc34 100644 --- a/incident_io/models/engine_param_binding_value_v3.py +++ b/incident_io/models/engine_param_binding_value_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EngineParamBindingValueV3") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamBindingValueV3: """ Example: diff --git a/incident_io/models/engine_param_v2.py b/incident_io/models/engine_param_v2.py index 0e4c9cf..999d3ef 100644 --- a/incident_io/models/engine_param_v2.py +++ b/incident_io/models/engine_param_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="EngineParamV2") -@_attrs_define +@_attrs_define(kw_only=True) class EngineParamV2: """ Example: diff --git a/incident_io/models/engine_reference_v2.py b/incident_io/models/engine_reference_v2.py index f1a8faf..e6d3228 100644 --- a/incident_io/models/engine_reference_v2.py +++ b/incident_io/models/engine_reference_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EngineReferenceV2") -@_attrs_define +@_attrs_define(kw_only=True) class EngineReferenceV2: """ Example: diff --git a/incident_io/models/error_debug.py b/incident_io/models/error_debug.py index 18980f1..a5d94f9 100644 --- a/incident_io/models/error_debug.py +++ b/incident_io/models/error_debug.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ErrorDebug") -@_attrs_define +@_attrs_define(kw_only=True) class ErrorDebug: """ Example: diff --git a/incident_io/models/error_rate_limit.py b/incident_io/models/error_rate_limit.py index c5332ee..3447c66 100644 --- a/incident_io/models/error_rate_limit.py +++ b/incident_io/models/error_rate_limit.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ErrorRateLimit") -@_attrs_define +@_attrs_define(kw_only=True) class ErrorRateLimit: """ Example: diff --git a/incident_io/models/error_response.py b/incident_io/models/error_response.py index 6de0d38..05f6b51 100644 --- a/incident_io/models/error_response.py +++ b/incident_io/models/error_response.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="ErrorResponse") -@_attrs_define +@_attrs_define(kw_only=True) class ErrorResponse: """ Example: diff --git a/incident_io/models/error_single.py b/incident_io/models/error_single.py index 70dce0b..beba918 100644 --- a/incident_io/models/error_single.py +++ b/incident_io/models/error_single.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ErrorSingle") -@_attrs_define +@_attrs_define(kw_only=True) class ErrorSingle: """ Example: diff --git a/incident_io/models/error_single_metadata.py b/incident_io/models/error_single_metadata.py index 6555a32..c3b0627 100644 --- a/incident_io/models/error_single_metadata.py +++ b/incident_io/models/error_single_metadata.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ErrorSingleMetadata") -@_attrs_define +@_attrs_define(kw_only=True) class ErrorSingleMetadata: """Additional metadata about the error, keyed by a string identifier diff --git a/incident_io/models/error_source.py b/incident_io/models/error_source.py index dab79ad..2069f96 100644 --- a/incident_io/models/error_source.py +++ b/incident_io/models/error_source.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ErrorSource") -@_attrs_define +@_attrs_define(kw_only=True) class ErrorSource: """ Example: diff --git a/incident_io/models/escalation_creator_v2.py b/incident_io/models/escalation_creator_v2.py index 2088a72..bcc1efa 100644 --- a/incident_io/models/escalation_creator_v2.py +++ b/incident_io/models/escalation_creator_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="EscalationCreatorV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationCreatorV2: """The creator of this escalation. Can be a user, a workflow, or an alert. If the escalation came from a call route, this will be empty. diff --git a/incident_io/models/escalation_event_v2.py b/incident_io/models/escalation_event_v2.py index cce704d..9be875d 100644 --- a/incident_io/models/escalation_event_v2.py +++ b/incident_io/models/escalation_event_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="EscalationEventV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationEventV2: """ Example: diff --git a/incident_io/models/escalation_path_node_delay_v2.py b/incident_io/models/escalation_path_node_delay_v2.py index 5fdc808..f87d87d 100644 --- a/incident_io/models/escalation_path_node_delay_v2.py +++ b/incident_io/models/escalation_path_node_delay_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="EscalationPathNodeDelayV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeDelayV2: """ Example: diff --git a/incident_io/models/escalation_path_node_escalation_path_v2.py b/incident_io/models/escalation_path_node_escalation_path_v2.py index 0de5c01..0c6a1c7 100644 --- a/incident_io/models/escalation_path_node_escalation_path_v2.py +++ b/incident_io/models/escalation_path_node_escalation_path_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationPathNodeEscalationPathV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeEscalationPathV2: """ Example: diff --git a/incident_io/models/escalation_path_node_if_else_payload_v2.py b/incident_io/models/escalation_path_node_if_else_payload_v2.py index 6cf4e91..3e53ce6 100644 --- a/incident_io/models/escalation_path_node_if_else_payload_v2.py +++ b/incident_io/models/escalation_path_node_if_else_payload_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="EscalationPathNodeIfElsePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeIfElsePayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_node_if_else_v2.py b/incident_io/models/escalation_path_node_if_else_v2.py index dcfd270..ea2b570 100644 --- a/incident_io/models/escalation_path_node_if_else_v2.py +++ b/incident_io/models/escalation_path_node_if_else_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="EscalationPathNodeIfElseV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeIfElseV2: """ Example: diff --git a/incident_io/models/escalation_path_node_level_v2.py b/incident_io/models/escalation_path_node_level_v2.py index 1f6b8ce..fe53f5a 100644 --- a/incident_io/models/escalation_path_node_level_v2.py +++ b/incident_io/models/escalation_path_node_level_v2.py @@ -25,7 +25,7 @@ T = TypeVar("T", bound="EscalationPathNodeLevelV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeLevelV2: """ Example: diff --git a/incident_io/models/escalation_path_node_level_with_binding_payload_v2.py b/incident_io/models/escalation_path_node_level_with_binding_payload_v2.py index 2badbe5..719da6a 100644 --- a/incident_io/models/escalation_path_node_level_with_binding_payload_v2.py +++ b/incident_io/models/escalation_path_node_level_with_binding_payload_v2.py @@ -27,7 +27,7 @@ T = TypeVar("T", bound="EscalationPathNodeLevelWithBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeLevelWithBindingPayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_node_level_with_binding_v2.py b/incident_io/models/escalation_path_node_level_with_binding_v2.py index fae521e..d7ec10d 100644 --- a/incident_io/models/escalation_path_node_level_with_binding_v2.py +++ b/incident_io/models/escalation_path_node_level_with_binding_v2.py @@ -27,7 +27,7 @@ T = TypeVar("T", bound="EscalationPathNodeLevelWithBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeLevelWithBindingV2: """ Example: diff --git a/incident_io/models/escalation_path_node_notify_channel_v2.py b/incident_io/models/escalation_path_node_notify_channel_v2.py index 42111d2..45dc414 100644 --- a/incident_io/models/escalation_path_node_notify_channel_v2.py +++ b/incident_io/models/escalation_path_node_notify_channel_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="EscalationPathNodeNotifyChannelV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeNotifyChannelV2: """ Example: diff --git a/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2.py b/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2.py index a1a46bc..64e6129 100644 --- a/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2.py +++ b/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="EscalationPathNodeNotifyChannelWithBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeNotifyChannelWithBindingPayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_node_notify_channel_with_binding_v2.py b/incident_io/models/escalation_path_node_notify_channel_with_binding_v2.py index a2ac254..ddfdd23 100644 --- a/incident_io/models/escalation_path_node_notify_channel_with_binding_v2.py +++ b/incident_io/models/escalation_path_node_notify_channel_with_binding_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="EscalationPathNodeNotifyChannelWithBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeNotifyChannelWithBindingV2: """ Example: diff --git a/incident_io/models/escalation_path_node_payload_v2.py b/incident_io/models/escalation_path_node_payload_v2.py index f366b4d..7e25ff2 100644 --- a/incident_io/models/escalation_path_node_payload_v2.py +++ b/incident_io/models/escalation_path_node_payload_v2.py @@ -29,7 +29,7 @@ T = TypeVar("T", bound="EscalationPathNodePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodePayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_node_repeat_v2.py b/incident_io/models/escalation_path_node_repeat_v2.py index 06098a2..1d894bf 100644 --- a/incident_io/models/escalation_path_node_repeat_v2.py +++ b/incident_io/models/escalation_path_node_repeat_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationPathNodeRepeatV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeRepeatV2: """ Example: diff --git a/incident_io/models/escalation_path_node_v2.py b/incident_io/models/escalation_path_node_v2.py index dcfcad3..8793547 100644 --- a/incident_io/models/escalation_path_node_v2.py +++ b/incident_io/models/escalation_path_node_v2.py @@ -25,7 +25,7 @@ T = TypeVar("T", bound="EscalationPathNodeV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathNodeV2: """ Example: diff --git a/incident_io/models/escalation_path_repeat_config_v2.py b/incident_io/models/escalation_path_repeat_config_v2.py index f98e5df..0b86d86 100644 --- a/incident_io/models/escalation_path_repeat_config_v2.py +++ b/incident_io/models/escalation_path_repeat_config_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationPathRepeatConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathRepeatConfigV2: """ Example: diff --git a/incident_io/models/escalation_path_retry_config_v2.py b/incident_io/models/escalation_path_retry_config_v2.py index e75ad1e..173b933 100644 --- a/incident_io/models/escalation_path_retry_config_v2.py +++ b/incident_io/models/escalation_path_retry_config_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationPathRetryConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathRetryConfigV2: """ Example: diff --git a/incident_io/models/escalation_path_round_robin_config_v2.py b/incident_io/models/escalation_path_round_robin_config_v2.py index 0b459e2..a2a827f 100644 --- a/incident_io/models/escalation_path_round_robin_config_v2.py +++ b/incident_io/models/escalation_path_round_robin_config_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EscalationPathRoundRobinConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathRoundRobinConfigV2: """ Example: diff --git a/incident_io/models/escalation_path_target_v2.py b/incident_io/models/escalation_path_target_v2.py index a2bc521..5f5001a 100644 --- a/incident_io/models/escalation_path_target_v2.py +++ b/incident_io/models/escalation_path_target_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="EscalationPathTargetV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTargetV2: """ Example: diff --git a/incident_io/models/escalation_path_target_with_binding_payload_v2.py b/incident_io/models/escalation_path_target_with_binding_payload_v2.py index f5a5acf..90cd418 100644 --- a/incident_io/models/escalation_path_target_with_binding_payload_v2.py +++ b/incident_io/models/escalation_path_target_with_binding_payload_v2.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="EscalationPathTargetWithBindingPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTargetWithBindingPayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_target_with_binding_v2.py b/incident_io/models/escalation_path_target_with_binding_v2.py index 14840a8..e2fef34 100644 --- a/incident_io/models/escalation_path_target_with_binding_v2.py +++ b/incident_io/models/escalation_path_target_with_binding_v2.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="EscalationPathTargetWithBindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTargetWithBindingV2: """ Example: diff --git a/incident_io/models/escalation_path_template_node_if_else_payload_v2.py b/incident_io/models/escalation_path_template_node_if_else_payload_v2.py index f3ad1a3..4fb0ea2 100644 --- a/incident_io/models/escalation_path_template_node_if_else_payload_v2.py +++ b/incident_io/models/escalation_path_template_node_if_else_payload_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="EscalationPathTemplateNodeIfElsePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplateNodeIfElsePayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_template_node_if_else_v2.py b/incident_io/models/escalation_path_template_node_if_else_v2.py index 546924a..e603ca2 100644 --- a/incident_io/models/escalation_path_template_node_if_else_v2.py +++ b/incident_io/models/escalation_path_template_node_if_else_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="EscalationPathTemplateNodeIfElseV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplateNodeIfElseV2: """ Example: diff --git a/incident_io/models/escalation_path_template_node_payload_v2.py b/incident_io/models/escalation_path_template_node_payload_v2.py index 5d2ca08..72206c3 100644 --- a/incident_io/models/escalation_path_template_node_payload_v2.py +++ b/incident_io/models/escalation_path_template_node_payload_v2.py @@ -31,7 +31,7 @@ T = TypeVar("T", bound="EscalationPathTemplateNodePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplateNodePayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_template_node_v2.py b/incident_io/models/escalation_path_template_node_v2.py index d6114bb..3821e7b 100644 --- a/incident_io/models/escalation_path_template_node_v2.py +++ b/incident_io/models/escalation_path_template_node_v2.py @@ -31,7 +31,7 @@ T = TypeVar("T", bound="EscalationPathTemplateNodeV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplateNodeV2: """ Example: diff --git a/incident_io/models/escalation_path_template_v2.py b/incident_io/models/escalation_path_template_v2.py index d8a3476..13173e3 100644 --- a/incident_io/models/escalation_path_template_v2.py +++ b/incident_io/models/escalation_path_template_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="EscalationPathTemplateV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplateV2: """ Example: diff --git a/incident_io/models/escalation_path_templates_create_payload_v2.py b/incident_io/models/escalation_path_templates_create_payload_v2.py index 068351f..3325cf7 100644 --- a/incident_io/models/escalation_path_templates_create_payload_v2.py +++ b/incident_io/models/escalation_path_templates_create_payload_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="EscalationPathTemplatesCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplatesCreatePayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_templates_create_result_v2.py b/incident_io/models/escalation_path_templates_create_result_v2.py index 85be469..867704f 100644 --- a/incident_io/models/escalation_path_templates_create_result_v2.py +++ b/incident_io/models/escalation_path_templates_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationPathTemplatesCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplatesCreateResultV2: """ Example: diff --git a/incident_io/models/escalation_path_templates_list_result_v2.py b/incident_io/models/escalation_path_templates_list_result_v2.py index 7cb3f67..d3b69ed 100644 --- a/incident_io/models/escalation_path_templates_list_result_v2.py +++ b/incident_io/models/escalation_path_templates_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="EscalationPathTemplatesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplatesListResultV2: """ Example: diff --git a/incident_io/models/escalation_path_templates_show_result_v2.py b/incident_io/models/escalation_path_templates_show_result_v2.py index a6e1440..68211a6 100644 --- a/incident_io/models/escalation_path_templates_show_result_v2.py +++ b/incident_io/models/escalation_path_templates_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationPathTemplatesShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplatesShowResultV2: """ Example: diff --git a/incident_io/models/escalation_path_templates_update_payload_v2.py b/incident_io/models/escalation_path_templates_update_payload_v2.py index 1cab02f..2f7e927 100644 --- a/incident_io/models/escalation_path_templates_update_payload_v2.py +++ b/incident_io/models/escalation_path_templates_update_payload_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="EscalationPathTemplatesUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplatesUpdatePayloadV2: """ Example: diff --git a/incident_io/models/escalation_path_templates_update_result_v2.py b/incident_io/models/escalation_path_templates_update_result_v2.py index 7f2ebfb..dbb4875 100644 --- a/incident_io/models/escalation_path_templates_update_result_v2.py +++ b/incident_io/models/escalation_path_templates_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationPathTemplatesUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathTemplatesUpdateResultV2: """ Example: diff --git a/incident_io/models/escalation_path_v2.py b/incident_io/models/escalation_path_v2.py index 8b0e738..4662d28 100644 --- a/incident_io/models/escalation_path_v2.py +++ b/incident_io/models/escalation_path_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="EscalationPathV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathV2: """ Example: diff --git a/incident_io/models/escalation_path_v2_param_bindings.py b/incident_io/models/escalation_path_v2_param_bindings.py index afca4a2..e9f0f28 100644 --- a/incident_io/models/escalation_path_v2_param_bindings.py +++ b/incident_io/models/escalation_path_v2_param_bindings.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationPathV2ParamBindings") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPathV2ParamBindings: """For a templated path, the values bound to the template's declared parameters, keyed by parameter name. diff --git a/incident_io/models/escalation_priority_v2.py b/incident_io/models/escalation_priority_v2.py index c723b4a..c1650fb 100644 --- a/incident_io/models/escalation_priority_v2.py +++ b/incident_io/models/escalation_priority_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationPriorityV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationPriorityV2: """The priority associated with this escalation. diff --git a/incident_io/models/escalation_respond_snooze_details_payload_v2.py b/incident_io/models/escalation_respond_snooze_details_payload_v2.py index 45a993b..57ebec1 100644 --- a/incident_io/models/escalation_respond_snooze_details_payload_v2.py +++ b/incident_io/models/escalation_respond_snooze_details_payload_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="EscalationRespondSnoozeDetailsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationRespondSnoozeDetailsPayloadV2: """ Example: diff --git a/incident_io/models/escalation_user_response_options_v2.py b/incident_io/models/escalation_user_response_options_v2.py index 4008db6..0882fa8 100644 --- a/incident_io/models/escalation_user_response_options_v2.py +++ b/incident_io/models/escalation_user_response_options_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationUserResponseOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationUserResponseOptionsV2: """ Example: diff --git a/incident_io/models/escalation_v2.py b/incident_io/models/escalation_v2.py index 3617b23..85c5ce7 100644 --- a/incident_io/models/escalation_v2.py +++ b/incident_io/models/escalation_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="EscalationV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationV2: """ Example: diff --git a/incident_io/models/escalation_with_status_change_v2.py b/incident_io/models/escalation_with_status_change_v2.py index ea44a98..9dd3e24 100644 --- a/incident_io/models/escalation_with_status_change_v2.py +++ b/incident_io/models/escalation_with_status_change_v2.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="EscalationWithStatusChangeV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationWithStatusChangeV2: """ Example: diff --git a/incident_io/models/escalations_check_escalation_permissions_payload_v2.py b/incident_io/models/escalations_check_escalation_permissions_payload_v2.py index 1e6e068..bd701e7 100644 --- a/incident_io/models/escalations_check_escalation_permissions_payload_v2.py +++ b/incident_io/models/escalations_check_escalation_permissions_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationsCheckEscalationPermissionsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsCheckEscalationPermissionsPayloadV2: """ Example: diff --git a/incident_io/models/escalations_check_escalation_permissions_result_v2.py b/incident_io/models/escalations_check_escalation_permissions_result_v2.py index 168b48f..f2fa309 100644 --- a/incident_io/models/escalations_check_escalation_permissions_result_v2.py +++ b/incident_io/models/escalations_check_escalation_permissions_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="EscalationsCheckEscalationPermissionsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsCheckEscalationPermissionsResultV2: """ Example: diff --git a/incident_io/models/escalations_create_path_payload_v2.py b/incident_io/models/escalations_create_path_payload_v2.py index e5014d4..14c6616 100644 --- a/incident_io/models/escalations_create_path_payload_v2.py +++ b/incident_io/models/escalations_create_path_payload_v2.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="EscalationsCreatePathPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsCreatePathPayloadV2: """ Example: diff --git a/incident_io/models/escalations_create_path_payload_v2_param_bindings.py b/incident_io/models/escalations_create_path_payload_v2_param_bindings.py index c2ce374..b2baef8 100644 --- a/incident_io/models/escalations_create_path_payload_v2_param_bindings.py +++ b/incident_io/models/escalations_create_path_payload_v2_param_bindings.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationsCreatePathPayloadV2ParamBindings") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsCreatePathPayloadV2ParamBindings: """For a templated path, the values to bind to the template's declared parameters, keyed by parameter name. diff --git a/incident_io/models/escalations_create_path_result_v2.py b/incident_io/models/escalations_create_path_result_v2.py index 36e4533..e6494c0 100644 --- a/incident_io/models/escalations_create_path_result_v2.py +++ b/incident_io/models/escalations_create_path_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationsCreatePathResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsCreatePathResultV2: """ Example: diff --git a/incident_io/models/escalations_create_payload_v2.py b/incident_io/models/escalations_create_payload_v2.py index 7102a53..ef113c6 100644 --- a/incident_io/models/escalations_create_payload_v2.py +++ b/incident_io/models/escalations_create_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EscalationsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsCreatePayloadV2: """ Example: diff --git a/incident_io/models/escalations_create_result_v2.py b/incident_io/models/escalations_create_result_v2.py index ee1a039..2946831 100644 --- a/incident_io/models/escalations_create_result_v2.py +++ b/incident_io/models/escalations_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsCreateResultV2: """ Example: diff --git a/incident_io/models/escalations_list_paths_result_v2.py b/incident_io/models/escalations_list_paths_result_v2.py index 3290071..0632983 100644 --- a/incident_io/models/escalations_list_paths_result_v2.py +++ b/incident_io/models/escalations_list_paths_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="EscalationsListPathsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsListPathsResultV2: """ Example: diff --git a/incident_io/models/escalations_list_result_v2.py b/incident_io/models/escalations_list_result_v2.py index 4cffb31..ab68363 100644 --- a/incident_io/models/escalations_list_result_v2.py +++ b/incident_io/models/escalations_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="EscalationsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsListResultV2: """ Example: diff --git a/incident_io/models/escalations_reassign_escalation_payload_v2.py b/incident_io/models/escalations_reassign_escalation_payload_v2.py index 08a5a89..2fa35d1 100644 --- a/incident_io/models/escalations_reassign_escalation_payload_v2.py +++ b/incident_io/models/escalations_reassign_escalation_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="EscalationsReassignEscalationPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsReassignEscalationPayloadV2: """ Example: diff --git a/incident_io/models/escalations_reassign_escalation_result_v2.py b/incident_io/models/escalations_reassign_escalation_result_v2.py index 4b17f5b..64b8385 100644 --- a/incident_io/models/escalations_reassign_escalation_result_v2.py +++ b/incident_io/models/escalations_reassign_escalation_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationsReassignEscalationResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsReassignEscalationResultV2: """ Example: diff --git a/incident_io/models/escalations_respond_escalation_payload_v2.py b/incident_io/models/escalations_respond_escalation_payload_v2.py index 1dc77bf..25d146d 100644 --- a/incident_io/models/escalations_respond_escalation_payload_v2.py +++ b/incident_io/models/escalations_respond_escalation_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="EscalationsRespondEscalationPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsRespondEscalationPayloadV2: """ Example: diff --git a/incident_io/models/escalations_show_path_result_v2.py b/incident_io/models/escalations_show_path_result_v2.py index a10d8af..a0960b5 100644 --- a/incident_io/models/escalations_show_path_result_v2.py +++ b/incident_io/models/escalations_show_path_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationsShowPathResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsShowPathResultV2: """ Example: diff --git a/incident_io/models/escalations_show_result_v2.py b/incident_io/models/escalations_show_result_v2.py index 3df4e09..51ee01d 100644 --- a/incident_io/models/escalations_show_result_v2.py +++ b/incident_io/models/escalations_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsShowResultV2: """ Example: diff --git a/incident_io/models/escalations_update_path_payload_v2.py b/incident_io/models/escalations_update_path_payload_v2.py index 32d6687..3ef02da 100644 --- a/incident_io/models/escalations_update_path_payload_v2.py +++ b/incident_io/models/escalations_update_path_payload_v2.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="EscalationsUpdatePathPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsUpdatePathPayloadV2: """ Example: diff --git a/incident_io/models/escalations_update_path_payload_v2_param_bindings.py b/incident_io/models/escalations_update_path_payload_v2_param_bindings.py index d6f4321..947c736 100644 --- a/incident_io/models/escalations_update_path_payload_v2_param_bindings.py +++ b/incident_io/models/escalations_update_path_payload_v2_param_bindings.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationsUpdatePathPayloadV2ParamBindings") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsUpdatePathPayloadV2ParamBindings: """For a templated path, the values to bind to the template's declared parameters, keyed by parameter name. diff --git a/incident_io/models/escalations_update_path_result_v2.py b/incident_io/models/escalations_update_path_result_v2.py index 7373f2d..2ffc002 100644 --- a/incident_io/models/escalations_update_path_result_v2.py +++ b/incident_io/models/escalations_update_path_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="EscalationsUpdatePathResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsUpdatePathResultV2: """ Example: diff --git a/incident_io/models/escalations_v2_list_alert.py b/incident_io/models/escalations_v2_list_alert.py index c7c5d39..295b977 100644 --- a/incident_io/models/escalations_v2_list_alert.py +++ b/incident_io/models/escalations_v2_list_alert.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationsV2ListAlert") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsV2ListAlert: """Filter on the alert that created an escalation. Accepted operators are 'one_of' and 'not_in'. diff --git a/incident_io/models/escalations_v2_list_created_at.py b/incident_io/models/escalations_v2_list_created_at.py index 03cd659..b01713d 100644 --- a/incident_io/models/escalations_v2_list_created_at.py +++ b/incident_io/models/escalations_v2_list_created_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationsV2ListCreatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsV2ListCreatedAt: """Filter on the created_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/escalations_v2_list_escalation_path.py b/incident_io/models/escalations_v2_list_escalation_path.py index d47e9ce..657b6bc 100644 --- a/incident_io/models/escalations_v2_list_escalation_path.py +++ b/incident_io/models/escalations_v2_list_escalation_path.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationsV2ListEscalationPath") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsV2ListEscalationPath: """Filter on the escalation path for which the escalation was triggered. Accepted operators are 'one_of' and 'not_in'. diff --git a/incident_io/models/escalations_v2_list_idempotency_key.py b/incident_io/models/escalations_v2_list_idempotency_key.py index b4f67cd..783fdcf 100644 --- a/incident_io/models/escalations_v2_list_idempotency_key.py +++ b/incident_io/models/escalations_v2_list_idempotency_key.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationsV2ListIdempotencyKey") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsV2ListIdempotencyKey: """Filter on the idempotency key of the escalation. This is the key set when creating escalations via the API, and is distinct from alert deduplication keys. Accepted operators are 'is' for exact matches and 'starts_with' for prefix diff --git a/incident_io/models/escalations_v2_list_incident.py b/incident_io/models/escalations_v2_list_incident.py index 650ee8e..999e286 100644 --- a/incident_io/models/escalations_v2_list_incident.py +++ b/incident_io/models/escalations_v2_list_incident.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationsV2ListIncident") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsV2ListIncident: """Filter on the incident that the escalation is connected to. Accepted operators are 'one_of' and 'not_in'. diff --git a/incident_io/models/escalations_v2_list_status.py b/incident_io/models/escalations_v2_list_status.py index 88dcddd..d8f2f60 100644 --- a/incident_io/models/escalations_v2_list_status.py +++ b/incident_io/models/escalations_v2_list_status.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationsV2ListStatus") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsV2ListStatus: """Filter on the status of the escalation. Accepted operators are 'one_of' and 'not_in'. diff --git a/incident_io/models/escalations_v2_list_updated_at.py b/incident_io/models/escalations_v2_list_updated_at.py index 2d35c38..a1dd332 100644 --- a/incident_io/models/escalations_v2_list_updated_at.py +++ b/incident_io/models/escalations_v2_list_updated_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="EscalationsV2ListUpdatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class EscalationsV2ListUpdatedAt: """Filter on the updated_at timestamp of the escalation. Accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/expression_branch_payload_v2.py b/incident_io/models/expression_branch_payload_v2.py index 447f3ff..3ee3eb0 100644 --- a/incident_io/models/expression_branch_payload_v2.py +++ b/incident_io/models/expression_branch_payload_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExpressionBranchPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionBranchPayloadV2: """ Example: diff --git a/incident_io/models/expression_branch_payload_v3.py b/incident_io/models/expression_branch_payload_v3.py index ae2bf66..d9ae970 100644 --- a/incident_io/models/expression_branch_payload_v3.py +++ b/incident_io/models/expression_branch_payload_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExpressionBranchPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionBranchPayloadV3: """ Example: diff --git a/incident_io/models/expression_branch_v2.py b/incident_io/models/expression_branch_v2.py index 45bb960..2cfad6a 100644 --- a/incident_io/models/expression_branch_v2.py +++ b/incident_io/models/expression_branch_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExpressionBranchV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionBranchV2: """ Example: diff --git a/incident_io/models/expression_branch_v3.py b/incident_io/models/expression_branch_v3.py index 1923590..824c8b9 100644 --- a/incident_io/models/expression_branch_v3.py +++ b/incident_io/models/expression_branch_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExpressionBranchV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionBranchV3: """ Example: diff --git a/incident_io/models/expression_branches_opts_payload_v2.py b/incident_io/models/expression_branches_opts_payload_v2.py index 5d31ccc..83e27b7 100644 --- a/incident_io/models/expression_branches_opts_payload_v2.py +++ b/incident_io/models/expression_branches_opts_payload_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExpressionBranchesOptsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionBranchesOptsPayloadV2: """ Example: diff --git a/incident_io/models/expression_branches_opts_payload_v3.py b/incident_io/models/expression_branches_opts_payload_v3.py index 6f34b3a..2e48098 100644 --- a/incident_io/models/expression_branches_opts_payload_v3.py +++ b/incident_io/models/expression_branches_opts_payload_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExpressionBranchesOptsPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionBranchesOptsPayloadV3: """ Example: diff --git a/incident_io/models/expression_branches_opts_v2.py b/incident_io/models/expression_branches_opts_v2.py index ac56149..66a8502 100644 --- a/incident_io/models/expression_branches_opts_v2.py +++ b/incident_io/models/expression_branches_opts_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExpressionBranchesOptsV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionBranchesOptsV2: """ Example: diff --git a/incident_io/models/expression_branches_opts_v3.py b/incident_io/models/expression_branches_opts_v3.py index 4170d58..5b551aa 100644 --- a/incident_io/models/expression_branches_opts_v3.py +++ b/incident_io/models/expression_branches_opts_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExpressionBranchesOptsV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionBranchesOptsV3: """ Example: diff --git a/incident_io/models/expression_cast_opts_payload_v2.py b/incident_io/models/expression_cast_opts_payload_v2.py index 4ed5c5c..3d2aa7b 100644 --- a/incident_io/models/expression_cast_opts_payload_v2.py +++ b/incident_io/models/expression_cast_opts_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionCastOptsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionCastOptsPayloadV2: """ Example: diff --git a/incident_io/models/expression_cast_opts_payload_v3.py b/incident_io/models/expression_cast_opts_payload_v3.py index 6327710..01e5d1c 100644 --- a/incident_io/models/expression_cast_opts_payload_v3.py +++ b/incident_io/models/expression_cast_opts_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionCastOptsPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionCastOptsPayloadV3: """ Example: diff --git a/incident_io/models/expression_cast_opts_v2.py b/incident_io/models/expression_cast_opts_v2.py index 73397a1..ae009b8 100644 --- a/incident_io/models/expression_cast_opts_v2.py +++ b/incident_io/models/expression_cast_opts_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionCastOptsV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionCastOptsV2: """ Example: diff --git a/incident_io/models/expression_cast_opts_v3.py b/incident_io/models/expression_cast_opts_v3.py index 2612c27..e559810 100644 --- a/incident_io/models/expression_cast_opts_v3.py +++ b/incident_io/models/expression_cast_opts_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionCastOptsV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionCastOptsV3: """ Example: diff --git a/incident_io/models/expression_concatenate_opts_payload_v2.py b/incident_io/models/expression_concatenate_opts_payload_v2.py index 5a11041..1689f8f 100644 --- a/incident_io/models/expression_concatenate_opts_payload_v2.py +++ b/incident_io/models/expression_concatenate_opts_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ExpressionConcatenateOptsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionConcatenateOptsPayloadV2: """ Example: diff --git a/incident_io/models/expression_concatenate_opts_payload_v3.py b/incident_io/models/expression_concatenate_opts_payload_v3.py index fc923d1..6a05e44 100644 --- a/incident_io/models/expression_concatenate_opts_payload_v3.py +++ b/incident_io/models/expression_concatenate_opts_payload_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ExpressionConcatenateOptsPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionConcatenateOptsPayloadV3: """ Example: diff --git a/incident_io/models/expression_concatenate_opts_v2.py b/incident_io/models/expression_concatenate_opts_v2.py index d5f51cb..bb263ca 100644 --- a/incident_io/models/expression_concatenate_opts_v2.py +++ b/incident_io/models/expression_concatenate_opts_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ExpressionConcatenateOptsV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionConcatenateOptsV2: """ Example: diff --git a/incident_io/models/expression_concatenate_opts_v3.py b/incident_io/models/expression_concatenate_opts_v3.py index 34e7f43..1e10326 100644 --- a/incident_io/models/expression_concatenate_opts_v3.py +++ b/incident_io/models/expression_concatenate_opts_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ExpressionConcatenateOptsV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionConcatenateOptsV3: """ Example: diff --git a/incident_io/models/expression_else_branch_payload_v2.py b/incident_io/models/expression_else_branch_payload_v2.py index 927224d..9706dee 100644 --- a/incident_io/models/expression_else_branch_payload_v2.py +++ b/incident_io/models/expression_else_branch_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionElseBranchPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionElseBranchPayloadV2: """ Example: diff --git a/incident_io/models/expression_else_branch_payload_v3.py b/incident_io/models/expression_else_branch_payload_v3.py index b29347b..8f6cd0a 100644 --- a/incident_io/models/expression_else_branch_payload_v3.py +++ b/incident_io/models/expression_else_branch_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionElseBranchPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionElseBranchPayloadV3: """ Example: diff --git a/incident_io/models/expression_else_branch_v2.py b/incident_io/models/expression_else_branch_v2.py index a06af98..7621102 100644 --- a/incident_io/models/expression_else_branch_v2.py +++ b/incident_io/models/expression_else_branch_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionElseBranchV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionElseBranchV2: """ Example: diff --git a/incident_io/models/expression_else_branch_v3.py b/incident_io/models/expression_else_branch_v3.py index ba722a5..29573a0 100644 --- a/incident_io/models/expression_else_branch_v3.py +++ b/incident_io/models/expression_else_branch_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionElseBranchV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionElseBranchV3: """ Example: diff --git a/incident_io/models/expression_filter_opts_payload_v2.py b/incident_io/models/expression_filter_opts_payload_v2.py index da1e174..991fbe0 100644 --- a/incident_io/models/expression_filter_opts_payload_v2.py +++ b/incident_io/models/expression_filter_opts_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionFilterOptsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionFilterOptsPayloadV2: """ Example: diff --git a/incident_io/models/expression_filter_opts_payload_v3.py b/incident_io/models/expression_filter_opts_payload_v3.py index 45cbb34..0b6fb46 100644 --- a/incident_io/models/expression_filter_opts_payload_v3.py +++ b/incident_io/models/expression_filter_opts_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionFilterOptsPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionFilterOptsPayloadV3: """ Example: diff --git a/incident_io/models/expression_filter_opts_v2.py b/incident_io/models/expression_filter_opts_v2.py index 740ce04..e0378dc 100644 --- a/incident_io/models/expression_filter_opts_v2.py +++ b/incident_io/models/expression_filter_opts_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionFilterOptsV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionFilterOptsV2: """ Example: diff --git a/incident_io/models/expression_filter_opts_v3.py b/incident_io/models/expression_filter_opts_v3.py index 2169c3e..f5a6982 100644 --- a/incident_io/models/expression_filter_opts_v3.py +++ b/incident_io/models/expression_filter_opts_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionFilterOptsV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionFilterOptsV3: """ Example: diff --git a/incident_io/models/expression_navigate_opts_payload_v2.py b/incident_io/models/expression_navigate_opts_payload_v2.py index 8d62f7a..6b785fe 100644 --- a/incident_io/models/expression_navigate_opts_payload_v2.py +++ b/incident_io/models/expression_navigate_opts_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ExpressionNavigateOptsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionNavigateOptsPayloadV2: """ Example: diff --git a/incident_io/models/expression_navigate_opts_payload_v3.py b/incident_io/models/expression_navigate_opts_payload_v3.py index 45e26bd..95995a5 100644 --- a/incident_io/models/expression_navigate_opts_payload_v3.py +++ b/incident_io/models/expression_navigate_opts_payload_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ExpressionNavigateOptsPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionNavigateOptsPayloadV3: """ Example: diff --git a/incident_io/models/expression_navigate_opts_v2.py b/incident_io/models/expression_navigate_opts_v2.py index 4f3dc77..1dd8282 100644 --- a/incident_io/models/expression_navigate_opts_v2.py +++ b/incident_io/models/expression_navigate_opts_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ExpressionNavigateOptsV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionNavigateOptsV2: """ Example: diff --git a/incident_io/models/expression_navigate_opts_v3.py b/incident_io/models/expression_navigate_opts_v3.py index d0c987c..625d071 100644 --- a/incident_io/models/expression_navigate_opts_v3.py +++ b/incident_io/models/expression_navigate_opts_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ExpressionNavigateOptsV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionNavigateOptsV3: """ Example: diff --git a/incident_io/models/expression_operation_payload_v2.py b/incident_io/models/expression_operation_payload_v2.py index 01a92d4..007dbec 100644 --- a/incident_io/models/expression_operation_payload_v2.py +++ b/incident_io/models/expression_operation_payload_v2.py @@ -29,7 +29,7 @@ T = TypeVar("T", bound="ExpressionOperationPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionOperationPayloadV2: """ Example: diff --git a/incident_io/models/expression_operation_payload_v3.py b/incident_io/models/expression_operation_payload_v3.py index a85bdcc..f99a134 100644 --- a/incident_io/models/expression_operation_payload_v3.py +++ b/incident_io/models/expression_operation_payload_v3.py @@ -29,7 +29,7 @@ T = TypeVar("T", bound="ExpressionOperationPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionOperationPayloadV3: """ Example: diff --git a/incident_io/models/expression_operation_v2.py b/incident_io/models/expression_operation_v2.py index 105604f..ee47748 100644 --- a/incident_io/models/expression_operation_v2.py +++ b/incident_io/models/expression_operation_v2.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="ExpressionOperationV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionOperationV2: """ Example: diff --git a/incident_io/models/expression_operation_v3.py b/incident_io/models/expression_operation_v3.py index 8d90e48..47d9132 100644 --- a/incident_io/models/expression_operation_v3.py +++ b/incident_io/models/expression_operation_v3.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="ExpressionOperationV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionOperationV3: """ Example: diff --git a/incident_io/models/expression_parse_opts_payload_v2.py b/incident_io/models/expression_parse_opts_payload_v2.py index 90ac1c5..7226fc3 100644 --- a/incident_io/models/expression_parse_opts_payload_v2.py +++ b/incident_io/models/expression_parse_opts_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionParseOptsPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionParseOptsPayloadV2: """ Example: diff --git a/incident_io/models/expression_parse_opts_payload_v3.py b/incident_io/models/expression_parse_opts_payload_v3.py index a03dcb7..b8f666a 100644 --- a/incident_io/models/expression_parse_opts_payload_v3.py +++ b/incident_io/models/expression_parse_opts_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionParseOptsPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionParseOptsPayloadV3: """ Example: diff --git a/incident_io/models/expression_parse_opts_v2.py b/incident_io/models/expression_parse_opts_v2.py index e30004d..c78a37b 100644 --- a/incident_io/models/expression_parse_opts_v2.py +++ b/incident_io/models/expression_parse_opts_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionParseOptsV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionParseOptsV2: """ Example: diff --git a/incident_io/models/expression_parse_opts_v3.py b/incident_io/models/expression_parse_opts_v3.py index c43416c..12472b2 100644 --- a/incident_io/models/expression_parse_opts_v3.py +++ b/incident_io/models/expression_parse_opts_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExpressionParseOptsV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionParseOptsV3: """ Example: diff --git a/incident_io/models/expression_payload_v2.py b/incident_io/models/expression_payload_v2.py index 13ada19..01fcfe3 100644 --- a/incident_io/models/expression_payload_v2.py +++ b/incident_io/models/expression_payload_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ExpressionPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionPayloadV2: """ Example: diff --git a/incident_io/models/expression_payload_v3.py b/incident_io/models/expression_payload_v3.py index 7262f1c..3010537 100644 --- a/incident_io/models/expression_payload_v3.py +++ b/incident_io/models/expression_payload_v3.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ExpressionPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionPayloadV3: """ Example: diff --git a/incident_io/models/expression_v2.py b/incident_io/models/expression_v2.py index 89517b9..ad72089 100644 --- a/incident_io/models/expression_v2.py +++ b/incident_io/models/expression_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ExpressionV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionV2: """ Example: diff --git a/incident_io/models/expression_v3.py b/incident_io/models/expression_v3.py index 4a276a9..30c1d51 100644 --- a/incident_io/models/expression_v3.py +++ b/incident_io/models/expression_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ExpressionV3") -@_attrs_define +@_attrs_define(kw_only=True) class ExpressionV3: """ Example: diff --git a/incident_io/models/external_issue_reference_v1.py b/incident_io/models/external_issue_reference_v1.py index 20063ee..98ac5a5 100644 --- a/incident_io/models/external_issue_reference_v1.py +++ b/incident_io/models/external_issue_reference_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ExternalIssueReferenceV1") -@_attrs_define +@_attrs_define(kw_only=True) class ExternalIssueReferenceV1: """ Example: diff --git a/incident_io/models/external_issue_reference_v2.py b/incident_io/models/external_issue_reference_v2.py index 9b33933..5112437 100644 --- a/incident_io/models/external_issue_reference_v2.py +++ b/incident_io/models/external_issue_reference_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ExternalIssueReferenceV2") -@_attrs_define +@_attrs_define(kw_only=True) class ExternalIssueReferenceV2: """ Example: diff --git a/incident_io/models/external_resource_v1.py b/incident_io/models/external_resource_v1.py index 7d7ec6d..5325577 100644 --- a/incident_io/models/external_resource_v1.py +++ b/incident_io/models/external_resource_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="ExternalResourceV1") -@_attrs_define +@_attrs_define(kw_only=True) class ExternalResourceV1: """ Example: diff --git a/incident_io/models/follow_up_category_v3.py b/incident_io/models/follow_up_category_v3.py index c256a3b..05b307a 100644 --- a/incident_io/models/follow_up_category_v3.py +++ b/incident_io/models/follow_up_category_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="FollowUpCategoryV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpCategoryV3: """ Example: diff --git a/incident_io/models/follow_up_priority_v2.py b/incident_io/models/follow_up_priority_v2.py index 3aeb35b..e7990dc 100644 --- a/incident_io/models/follow_up_priority_v2.py +++ b/incident_io/models/follow_up_priority_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="FollowUpPriorityV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpPriorityV2: """ Example: diff --git a/incident_io/models/follow_up_v2.py b/incident_io/models/follow_up_v2.py index f7eb4db..d661601 100644 --- a/incident_io/models/follow_up_v2.py +++ b/incident_io/models/follow_up_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="FollowUpV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpV2: """ Example: diff --git a/incident_io/models/follow_up_v3.py b/incident_io/models/follow_up_v3.py index 4ef99b0..b681d9a 100644 --- a/incident_io/models/follow_up_v3.py +++ b/incident_io/models/follow_up_v3.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="FollowUpV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpV3: """ Example: diff --git a/incident_io/models/follow_ups_connect_external_issue_payload_v2.py b/incident_io/models/follow_ups_connect_external_issue_payload_v2.py index 3641803..e20b377 100644 --- a/incident_io/models/follow_ups_connect_external_issue_payload_v2.py +++ b/incident_io/models/follow_ups_connect_external_issue_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsConnectExternalIssuePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsConnectExternalIssuePayloadV2: """ Example: diff --git a/incident_io/models/follow_ups_connect_external_issue_payload_v3.py b/incident_io/models/follow_ups_connect_external_issue_payload_v3.py index cf6a7c6..23cf962 100644 --- a/incident_io/models/follow_ups_connect_external_issue_payload_v3.py +++ b/incident_io/models/follow_ups_connect_external_issue_payload_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsConnectExternalIssuePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsConnectExternalIssuePayloadV3: """ Example: diff --git a/incident_io/models/follow_ups_connect_external_issue_result_v2.py b/incident_io/models/follow_ups_connect_external_issue_result_v2.py index 6682e48..d9828ce 100644 --- a/incident_io/models/follow_ups_connect_external_issue_result_v2.py +++ b/incident_io/models/follow_ups_connect_external_issue_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsConnectExternalIssueResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsConnectExternalIssueResultV2: """ Example: diff --git a/incident_io/models/follow_ups_connect_external_issue_result_v3.py b/incident_io/models/follow_ups_connect_external_issue_result_v3.py index f8ba32b..d096c7f 100644 --- a/incident_io/models/follow_ups_connect_external_issue_result_v3.py +++ b/incident_io/models/follow_ups_connect_external_issue_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsConnectExternalIssueResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsConnectExternalIssueResultV3: """ Example: diff --git a/incident_io/models/follow_ups_create_from_link_payload_v3.py b/incident_io/models/follow_ups_create_from_link_payload_v3.py index 48356bb..80d5387 100644 --- a/incident_io/models/follow_ups_create_from_link_payload_v3.py +++ b/incident_io/models/follow_ups_create_from_link_payload_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="FollowUpsCreateFromLinkPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsCreateFromLinkPayloadV3: """ Example: diff --git a/incident_io/models/follow_ups_create_from_link_result_v3.py b/incident_io/models/follow_ups_create_from_link_result_v3.py index 28dd7df..7e8d83b 100644 --- a/incident_io/models/follow_ups_create_from_link_result_v3.py +++ b/incident_io/models/follow_ups_create_from_link_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsCreateFromLinkResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsCreateFromLinkResultV3: """ Example: diff --git a/incident_io/models/follow_ups_create_payload_v2.py b/incident_io/models/follow_ups_create_payload_v2.py index 54972bd..f0caa87 100644 --- a/incident_io/models/follow_ups_create_payload_v2.py +++ b/incident_io/models/follow_ups_create_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="FollowUpsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsCreatePayloadV2: """ Example: diff --git a/incident_io/models/follow_ups_create_payload_v3.py b/incident_io/models/follow_ups_create_payload_v3.py index 7328566..0343acd 100644 --- a/incident_io/models/follow_ups_create_payload_v3.py +++ b/incident_io/models/follow_ups_create_payload_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="FollowUpsCreatePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsCreatePayloadV3: """ Example: diff --git a/incident_io/models/follow_ups_create_result_v2.py b/incident_io/models/follow_ups_create_result_v2.py index ea28f90..ea618f6 100644 --- a/incident_io/models/follow_ups_create_result_v2.py +++ b/incident_io/models/follow_ups_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsCreateResultV2: """ Example: diff --git a/incident_io/models/follow_ups_create_result_v3.py b/incident_io/models/follow_ups_create_result_v3.py index 51484da..c7ac838 100644 --- a/incident_io/models/follow_ups_create_result_v3.py +++ b/incident_io/models/follow_ups_create_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsCreateResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsCreateResultV3: """ Example: diff --git a/incident_io/models/follow_ups_list_result_v2.py b/incident_io/models/follow_ups_list_result_v2.py index 32abc07..a1940a9 100644 --- a/incident_io/models/follow_ups_list_result_v2.py +++ b/incident_io/models/follow_ups_list_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsListResultV2: """ Example: diff --git a/incident_io/models/follow_ups_list_result_v3.py b/incident_io/models/follow_ups_list_result_v3.py index 87b94ba..b116a68 100644 --- a/incident_io/models/follow_ups_list_result_v3.py +++ b/incident_io/models/follow_ups_list_result_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="FollowUpsListResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsListResultV3: """ Example: diff --git a/incident_io/models/follow_ups_show_result_v2.py b/incident_io/models/follow_ups_show_result_v2.py index f9d6124..a4e619a 100644 --- a/incident_io/models/follow_ups_show_result_v2.py +++ b/incident_io/models/follow_ups_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsShowResultV2: """ Example: diff --git a/incident_io/models/follow_ups_show_result_v3.py b/incident_io/models/follow_ups_show_result_v3.py index fb3af18..35fee99 100644 --- a/incident_io/models/follow_ups_show_result_v3.py +++ b/incident_io/models/follow_ups_show_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsShowResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsShowResultV3: """ Example: diff --git a/incident_io/models/follow_ups_update_payload_v2.py b/incident_io/models/follow_ups_update_payload_v2.py index d5d6245..35df5a3 100644 --- a/incident_io/models/follow_ups_update_payload_v2.py +++ b/incident_io/models/follow_ups_update_payload_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="FollowUpsUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsUpdatePayloadV2: """ Example: diff --git a/incident_io/models/follow_ups_update_payload_v3.py b/incident_io/models/follow_ups_update_payload_v3.py index d5b50a9..e3aa2ff 100644 --- a/incident_io/models/follow_ups_update_payload_v3.py +++ b/incident_io/models/follow_ups_update_payload_v3.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="FollowUpsUpdatePayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsUpdatePayloadV3: """ Example: diff --git a/incident_io/models/follow_ups_update_result_v2.py b/incident_io/models/follow_ups_update_result_v2.py index da7956b..2a05891 100644 --- a/incident_io/models/follow_ups_update_result_v2.py +++ b/incident_io/models/follow_ups_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsUpdateResultV2: """ Example: diff --git a/incident_io/models/follow_ups_update_result_v3.py b/incident_io/models/follow_ups_update_result_v3.py index d302872..aa40f7a 100644 --- a/incident_io/models/follow_ups_update_result_v3.py +++ b/incident_io/models/follow_ups_update_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="FollowUpsUpdateResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsUpdateResultV3: """ Example: diff --git a/incident_io/models/follow_ups_v3_list_created_at.py b/incident_io/models/follow_ups_v3_list_created_at.py index 35ac290..ee338a6 100644 --- a/incident_io/models/follow_ups_v3_list_created_at.py +++ b/incident_io/models/follow_ups_v3_list_created_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="FollowUpsV3ListCreatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsV3ListCreatedAt: """Filter on follow-up created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/follow_ups_v3_list_updated_at.py b/incident_io/models/follow_ups_v3_list_updated_at.py index 6f163e2..381b4ee 100644 --- a/incident_io/models/follow_ups_v3_list_updated_at.py +++ b/incident_io/models/follow_ups_v3_list_updated_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="FollowUpsV3ListUpdatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class FollowUpsV3ListUpdatedAt: """Filter on follow-up updated at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/grouping_key_v2.py b/incident_io/models/grouping_key_v2.py index f679070..6a6b5f7 100644 --- a/incident_io/models/grouping_key_v2.py +++ b/incident_io/models/grouping_key_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="GroupingKeyV2") -@_attrs_define +@_attrs_define(kw_only=True) class GroupingKeyV2: """ Example: diff --git a/incident_io/models/grouping_key_v3.py b/incident_io/models/grouping_key_v3.py index e65acb1..d245f82 100644 --- a/incident_io/models/grouping_key_v3.py +++ b/incident_io/models/grouping_key_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="GroupingKeyV3") -@_attrs_define +@_attrs_define(kw_only=True) class GroupingKeyV3: """ Example: diff --git a/incident_io/models/grouping_settings_v3.py b/incident_io/models/grouping_settings_v3.py index 0444005..093d1ac 100644 --- a/incident_io/models/grouping_settings_v3.py +++ b/incident_io/models/grouping_settings_v3.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="GroupingSettingsV3") -@_attrs_define +@_attrs_define(kw_only=True) class GroupingSettingsV3: """ Example: diff --git a/incident_io/models/identity_team_v1.py b/incident_io/models/identity_team_v1.py index c017c0c..9936ee6 100644 --- a/incident_io/models/identity_team_v1.py +++ b/incident_io/models/identity_team_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IdentityTeamV1") -@_attrs_define +@_attrs_define(kw_only=True) class IdentityTeamV1: """ Example: diff --git a/incident_io/models/identity_v1.py b/incident_io/models/identity_v1.py index d296335..c49d6fd 100644 --- a/incident_io/models/identity_v1.py +++ b/incident_io/models/identity_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IdentityV1") -@_attrs_define +@_attrs_define(kw_only=True) class IdentityV1: """ Example: diff --git a/incident_io/models/image_v1.py b/incident_io/models/image_v1.py index 734df90..9202924 100644 --- a/incident_io/models/image_v1.py +++ b/incident_io/models/image_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ImageV1") -@_attrs_define +@_attrs_define(kw_only=True) class ImageV1: """ Example: diff --git a/incident_io/models/incident_activity_log_content_v2.py b/incident_io/models/incident_activity_log_content_v2.py index 3921122..ac5a72e 100644 --- a/incident_io/models/incident_activity_log_content_v2.py +++ b/incident_io/models/incident_activity_log_content_v2.py @@ -40,7 +40,7 @@ T = TypeVar("T", bound="IncidentActivityLogContentV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentActivityLogContentV2: """Details of an activity log entry. diff --git a/incident_io/models/incident_activity_log_entries_list_result_v2.py b/incident_io/models/incident_activity_log_entries_list_result_v2.py index c98fb85..00f47e3 100644 --- a/incident_io/models/incident_activity_log_entries_list_result_v2.py +++ b/incident_io/models/incident_activity_log_entries_list_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentActivityLogEntriesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentActivityLogEntriesListResultV2: """ Example: diff --git a/incident_io/models/incident_activity_log_entry_v2.py b/incident_io/models/incident_activity_log_entry_v2.py index 5524e08..dacfc0d 100644 --- a/incident_io/models/incident_activity_log_entry_v2.py +++ b/incident_io/models/incident_activity_log_entry_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="IncidentActivityLogEntryV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentActivityLogEntryV2: """One thing that happened on an incident. diff --git a/incident_io/models/incident_alert_v2.py b/incident_io/models/incident_alert_v2.py index 2dbf337..1d5a89b 100644 --- a/incident_io/models/incident_alert_v2.py +++ b/incident_io/models/incident_alert_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentAlertV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentAlertV2: """ Example: diff --git a/incident_io/models/incident_attachment_v1.py b/incident_io/models/incident_attachment_v1.py index 20b3f00..5033eca 100644 --- a/incident_io/models/incident_attachment_v1.py +++ b/incident_io/models/incident_attachment_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentAttachmentV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentAttachmentV1: """ Example: diff --git a/incident_io/models/incident_attachments_create_payload_v1.py b/incident_io/models/incident_attachments_create_payload_v1.py index 9c345d9..29c732d 100644 --- a/incident_io/models/incident_attachments_create_payload_v1.py +++ b/incident_io/models/incident_attachments_create_payload_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentAttachmentsCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentAttachmentsCreatePayloadV1: """ Example: diff --git a/incident_io/models/incident_attachments_create_payload_v1_resource.py b/incident_io/models/incident_attachments_create_payload_v1_resource.py index 5b228b6..0798229 100644 --- a/incident_io/models/incident_attachments_create_payload_v1_resource.py +++ b/incident_io/models/incident_attachments_create_payload_v1_resource.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="IncidentAttachmentsCreatePayloadV1Resource") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentAttachmentsCreatePayloadV1Resource: """ Example: diff --git a/incident_io/models/incident_attachments_create_result_v1.py b/incident_io/models/incident_attachments_create_result_v1.py index ab053b5..c498e89 100644 --- a/incident_io/models/incident_attachments_create_result_v1.py +++ b/incident_io/models/incident_attachments_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentAttachmentsCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentAttachmentsCreateResultV1: """ Example: diff --git a/incident_io/models/incident_attachments_list_result_v1.py b/incident_io/models/incident_attachments_list_result_v1.py index b173185..fc733a1 100644 --- a/incident_io/models/incident_attachments_list_result_v1.py +++ b/incident_io/models/incident_attachments_list_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentAttachmentsListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentAttachmentsListResultV1: """ Example: diff --git a/incident_io/models/incident_duration_metric_v2.py b/incident_io/models/incident_duration_metric_v2.py index bee15be..8d9fc30 100644 --- a/incident_io/models/incident_duration_metric_v2.py +++ b/incident_io/models/incident_duration_metric_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentDurationMetricV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentDurationMetricV2: """ Example: diff --git a/incident_io/models/incident_duration_metric_with_value_v2.py b/incident_io/models/incident_duration_metric_with_value_v2.py index cc7e4a7..0abc93a 100644 --- a/incident_io/models/incident_duration_metric_with_value_v2.py +++ b/incident_io/models/incident_duration_metric_with_value_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentDurationMetricWithValueV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentDurationMetricWithValueV2: """ Example: diff --git a/incident_io/models/incident_edit_payload_v2.py b/incident_io/models/incident_edit_payload_v2.py index 540d07e..a59b21a 100644 --- a/incident_io/models/incident_edit_payload_v2.py +++ b/incident_io/models/incident_edit_payload_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="IncidentEditPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentEditPayloadV2: """ Example: diff --git a/incident_io/models/incident_membership_v1.py b/incident_io/models/incident_membership_v1.py index aac524e..fccae77 100644 --- a/incident_io/models/incident_membership_v1.py +++ b/incident_io/models/incident_membership_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="IncidentMembershipV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentMembershipV1: """ Example: diff --git a/incident_io/models/incident_memberships_create_payload_v1.py b/incident_io/models/incident_memberships_create_payload_v1.py index fa2dcf2..7c96daa 100644 --- a/incident_io/models/incident_memberships_create_payload_v1.py +++ b/incident_io/models/incident_memberships_create_payload_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentMembershipsCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentMembershipsCreatePayloadV1: """ Example: diff --git a/incident_io/models/incident_memberships_create_result_v1.py b/incident_io/models/incident_memberships_create_result_v1.py index 5bab586..b454a29 100644 --- a/incident_io/models/incident_memberships_create_result_v1.py +++ b/incident_io/models/incident_memberships_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentMembershipsCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentMembershipsCreateResultV1: """ Example: diff --git a/incident_io/models/incident_memberships_revoke_payload_v1.py b/incident_io/models/incident_memberships_revoke_payload_v1.py index e58ef71..95eda57 100644 --- a/incident_io/models/incident_memberships_revoke_payload_v1.py +++ b/incident_io/models/incident_memberships_revoke_payload_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentMembershipsRevokePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentMembershipsRevokePayloadV1: """ Example: diff --git a/incident_io/models/incident_participant_v2.py b/incident_io/models/incident_participant_v2.py index de96a51..503cc9f 100644 --- a/incident_io/models/incident_participant_v2.py +++ b/incident_io/models/incident_participant_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="IncidentParticipantV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentParticipantV2: """ Example: diff --git a/incident_io/models/incident_participant_workload_v2.py b/incident_io/models/incident_participant_workload_v2.py index bf4ffdf..b4403f4 100644 --- a/incident_io/models/incident_participant_workload_v2.py +++ b/incident_io/models/incident_participant_workload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="IncidentParticipantWorkloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentParticipantWorkloadV2: """ Example: diff --git a/incident_io/models/incident_participant_workloads_list_result_v2.py b/incident_io/models/incident_participant_workloads_list_result_v2.py index 9bf49ff..1c28603 100644 --- a/incident_io/models/incident_participant_workloads_list_result_v2.py +++ b/incident_io/models/incident_participant_workloads_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="IncidentParticipantWorkloadsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentParticipantWorkloadsListResultV2: """ Example: diff --git a/incident_io/models/incident_participants_list_result_v2.py b/incident_io/models/incident_participants_list_result_v2.py index 56df1e8..ddc46b7 100644 --- a/incident_io/models/incident_participants_list_result_v2.py +++ b/incident_io/models/incident_participants_list_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentParticipantsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentParticipantsListResultV2: """ Example: diff --git a/incident_io/models/incident_participants_v2.py b/incident_io/models/incident_participants_v2.py index e793b04..d207ed1 100644 --- a/incident_io/models/incident_participants_v2.py +++ b/incident_io/models/incident_participants_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentParticipantsV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentParticipantsV2: """ Example: diff --git a/incident_io/models/incident_relationship_details_v1.py b/incident_io/models/incident_relationship_details_v1.py index a7b704b..61394cf 100644 --- a/incident_io/models/incident_relationship_details_v1.py +++ b/incident_io/models/incident_relationship_details_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentRelationshipDetailsV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRelationshipDetailsV1: """ Example: diff --git a/incident_io/models/incident_relationship_v1.py b/incident_io/models/incident_relationship_v1.py index 44babc0..34f77cb 100644 --- a/incident_io/models/incident_relationship_v1.py +++ b/incident_io/models/incident_relationship_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRelationshipV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRelationshipV1: """ Example: diff --git a/incident_io/models/incident_relationships_list_result_v1.py b/incident_io/models/incident_relationships_list_result_v1.py index 069ec11..c6c5d2a 100644 --- a/incident_io/models/incident_relationships_list_result_v1.py +++ b/incident_io/models/incident_relationships_list_result_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentRelationshipsListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRelationshipsListResultV1: """ Example: diff --git a/incident_io/models/incident_role_assignment_payload_v1.py b/incident_io/models/incident_role_assignment_payload_v1.py index 396204b..4be3e82 100644 --- a/incident_io/models/incident_role_assignment_payload_v1.py +++ b/incident_io/models/incident_role_assignment_payload_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRoleAssignmentPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRoleAssignmentPayloadV1: """ Example: diff --git a/incident_io/models/incident_role_assignment_payload_v2.py b/incident_io/models/incident_role_assignment_payload_v2.py index 62a0df1..919bfeb 100644 --- a/incident_io/models/incident_role_assignment_payload_v2.py +++ b/incident_io/models/incident_role_assignment_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentRoleAssignmentPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRoleAssignmentPayloadV2: """ Example: diff --git a/incident_io/models/incident_role_assignment_v1.py b/incident_io/models/incident_role_assignment_v1.py index 2c7a25b..dfed837 100644 --- a/incident_io/models/incident_role_assignment_v1.py +++ b/incident_io/models/incident_role_assignment_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentRoleAssignmentV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRoleAssignmentV1: """ Example: diff --git a/incident_io/models/incident_role_assignment_v2.py b/incident_io/models/incident_role_assignment_v2.py index 593f357..981f999 100644 --- a/incident_io/models/incident_role_assignment_v2.py +++ b/incident_io/models/incident_role_assignment_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentRoleAssignmentV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRoleAssignmentV2: """ Example: diff --git a/incident_io/models/incident_role_v1.py b/incident_io/models/incident_role_v1.py index d4c3fa6..eae312e 100644 --- a/incident_io/models/incident_role_v1.py +++ b/incident_io/models/incident_role_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRoleV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRoleV1: """ Example: diff --git a/incident_io/models/incident_role_v2.py b/incident_io/models/incident_role_v2.py index 168a3a3..1f96e8a 100644 --- a/incident_io/models/incident_role_v2.py +++ b/incident_io/models/incident_role_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentRoleV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRoleV2: """ Example: diff --git a/incident_io/models/incident_roles_create_payload_v1.py b/incident_io/models/incident_roles_create_payload_v1.py index 5703b02..97419b9 100644 --- a/incident_io/models/incident_roles_create_payload_v1.py +++ b/incident_io/models/incident_roles_create_payload_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentRolesCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesCreatePayloadV1: """ Example: diff --git a/incident_io/models/incident_roles_create_payload_v2.py b/incident_io/models/incident_roles_create_payload_v2.py index 9abe2a3..a58cce2 100644 --- a/incident_io/models/incident_roles_create_payload_v2.py +++ b/incident_io/models/incident_roles_create_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentRolesCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesCreatePayloadV2: """ Example: diff --git a/incident_io/models/incident_roles_create_result_v1.py b/incident_io/models/incident_roles_create_result_v1.py index 4184437..9fa81f5 100644 --- a/incident_io/models/incident_roles_create_result_v1.py +++ b/incident_io/models/incident_roles_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRolesCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesCreateResultV1: """ Example: diff --git a/incident_io/models/incident_roles_create_result_v2.py b/incident_io/models/incident_roles_create_result_v2.py index 10a7d18..4160e3a 100644 --- a/incident_io/models/incident_roles_create_result_v2.py +++ b/incident_io/models/incident_roles_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRolesCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesCreateResultV2: """ Example: diff --git a/incident_io/models/incident_roles_list_result_v1.py b/incident_io/models/incident_roles_list_result_v1.py index 0699c8d..e7e3b11 100644 --- a/incident_io/models/incident_roles_list_result_v1.py +++ b/incident_io/models/incident_roles_list_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRolesListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesListResultV1: """ Example: diff --git a/incident_io/models/incident_roles_list_result_v2.py b/incident_io/models/incident_roles_list_result_v2.py index 1539ba1..44ced61 100644 --- a/incident_io/models/incident_roles_list_result_v2.py +++ b/incident_io/models/incident_roles_list_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRolesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesListResultV2: """ Example: diff --git a/incident_io/models/incident_roles_show_result_v1.py b/incident_io/models/incident_roles_show_result_v1.py index 9cdf327..4814936 100644 --- a/incident_io/models/incident_roles_show_result_v1.py +++ b/incident_io/models/incident_roles_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRolesShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesShowResultV1: """ Example: diff --git a/incident_io/models/incident_roles_show_result_v2.py b/incident_io/models/incident_roles_show_result_v2.py index ca1b488..b2974ce 100644 --- a/incident_io/models/incident_roles_show_result_v2.py +++ b/incident_io/models/incident_roles_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRolesShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesShowResultV2: """ Example: diff --git a/incident_io/models/incident_roles_update_payload_v1.py b/incident_io/models/incident_roles_update_payload_v1.py index e1280fe..3ad6f97 100644 --- a/incident_io/models/incident_roles_update_payload_v1.py +++ b/incident_io/models/incident_roles_update_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="IncidentRolesUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesUpdatePayloadV1: """ Example: diff --git a/incident_io/models/incident_roles_update_payload_v2.py b/incident_io/models/incident_roles_update_payload_v2.py index d0554eb..a94687a 100644 --- a/incident_io/models/incident_roles_update_payload_v2.py +++ b/incident_io/models/incident_roles_update_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentRolesUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesUpdatePayloadV2: """ Example: diff --git a/incident_io/models/incident_roles_update_result_v1.py b/incident_io/models/incident_roles_update_result_v1.py index dbad523..044c94c 100644 --- a/incident_io/models/incident_roles_update_result_v1.py +++ b/incident_io/models/incident_roles_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRolesUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesUpdateResultV1: """ Example: diff --git a/incident_io/models/incident_roles_update_result_v2.py b/incident_io/models/incident_roles_update_result_v2.py index 4b25145..44b6ef7 100644 --- a/incident_io/models/incident_roles_update_result_v2.py +++ b/incident_io/models/incident_roles_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentRolesUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentRolesUpdateResultV2: """ Example: diff --git a/incident_io/models/incident_slim_v2.py b/incident_io/models/incident_slim_v2.py index 9a5de42..1b263c7 100644 --- a/incident_io/models/incident_slim_v2.py +++ b/incident_io/models/incident_slim_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentSlimV2: """Incident slim is a subset of the full incident object, listing key fields. diff --git a/incident_io/models/incident_status_v1.py b/incident_io/models/incident_status_v1.py index aa6cfa2..624e6aa 100644 --- a/incident_io/models/incident_status_v1.py +++ b/incident_io/models/incident_status_v1.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentStatusV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentStatusV1: """ Example: diff --git a/incident_io/models/incident_status_v2.py b/incident_io/models/incident_status_v2.py index 2358ce8..c316bee 100644 --- a/incident_io/models/incident_status_v2.py +++ b/incident_io/models/incident_status_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentStatusV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentStatusV2: """ Example: diff --git a/incident_io/models/incident_statuses_create_payload_v1.py b/incident_io/models/incident_statuses_create_payload_v1.py index cd0f0ee..e1a630b 100644 --- a/incident_io/models/incident_statuses_create_payload_v1.py +++ b/incident_io/models/incident_statuses_create_payload_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="IncidentStatusesCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentStatusesCreatePayloadV1: """ Example: diff --git a/incident_io/models/incident_statuses_create_result_v1.py b/incident_io/models/incident_statuses_create_result_v1.py index 6bf62bc..3566496 100644 --- a/incident_io/models/incident_statuses_create_result_v1.py +++ b/incident_io/models/incident_statuses_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentStatusesCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentStatusesCreateResultV1: """ Example: diff --git a/incident_io/models/incident_statuses_list_result_v1.py b/incident_io/models/incident_statuses_list_result_v1.py index 216ccb8..fee2ed4 100644 --- a/incident_io/models/incident_statuses_list_result_v1.py +++ b/incident_io/models/incident_statuses_list_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentStatusesListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentStatusesListResultV1: """ Example: diff --git a/incident_io/models/incident_statuses_show_result_v1.py b/incident_io/models/incident_statuses_show_result_v1.py index b08c3b7..87bf02b 100644 --- a/incident_io/models/incident_statuses_show_result_v1.py +++ b/incident_io/models/incident_statuses_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentStatusesShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentStatusesShowResultV1: """ Example: diff --git a/incident_io/models/incident_statuses_update_payload_v1.py b/incident_io/models/incident_statuses_update_payload_v1.py index dec77a3..d0fabe7 100644 --- a/incident_io/models/incident_statuses_update_payload_v1.py +++ b/incident_io/models/incident_statuses_update_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="IncidentStatusesUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentStatusesUpdatePayloadV1: """ Example: diff --git a/incident_io/models/incident_statuses_update_result_v1.py b/incident_io/models/incident_statuses_update_result_v1.py index 067c11c..883cc96 100644 --- a/incident_io/models/incident_statuses_update_result_v1.py +++ b/incident_io/models/incident_statuses_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentStatusesUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentStatusesUpdateResultV1: """ Example: diff --git a/incident_io/models/incident_template_auto_generated_binding_payload_v1.py b/incident_io/models/incident_template_auto_generated_binding_payload_v1.py index 2d7bbdc..82f8730 100644 --- a/incident_io/models/incident_template_auto_generated_binding_payload_v1.py +++ b/incident_io/models/incident_template_auto_generated_binding_payload_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentTemplateAutoGeneratedBindingPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateAutoGeneratedBindingPayloadV1: """ Example: diff --git a/incident_io/models/incident_template_auto_generated_binding_v1.py b/incident_io/models/incident_template_auto_generated_binding_v1.py index f32faed..4fc3066 100644 --- a/incident_io/models/incident_template_auto_generated_binding_v1.py +++ b/incident_io/models/incident_template_auto_generated_binding_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentTemplateAutoGeneratedBindingV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateAutoGeneratedBindingV1: """ Example: diff --git a/incident_io/models/incident_template_binding_payload_v1.py b/incident_io/models/incident_template_binding_payload_v1.py index 1afaf85..b723cfe 100644 --- a/incident_io/models/incident_template_binding_payload_v1.py +++ b/incident_io/models/incident_template_binding_payload_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentTemplateBindingPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateBindingPayloadV1: """ Example: diff --git a/incident_io/models/incident_template_binding_v1.py b/incident_io/models/incident_template_binding_v1.py index 9cdf530..c53868e 100644 --- a/incident_io/models/incident_template_binding_v1.py +++ b/incident_io/models/incident_template_binding_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentTemplateBindingV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateBindingV1: """ Example: diff --git a/incident_io/models/incident_template_config_payload_v1.py b/incident_io/models/incident_template_config_payload_v1.py index 378ac76..135b472 100644 --- a/incident_io/models/incident_template_config_payload_v1.py +++ b/incident_io/models/incident_template_config_payload_v1.py @@ -26,7 +26,7 @@ T = TypeVar("T", bound="IncidentTemplateConfigPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateConfigPayloadV1: """The values an incident template applies to the incidents it creates. diff --git a/incident_io/models/incident_template_config_v1.py b/incident_io/models/incident_template_config_v1.py index 4b91f57..4355418 100644 --- a/incident_io/models/incident_template_config_v1.py +++ b/incident_io/models/incident_template_config_v1.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="IncidentTemplateConfigV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateConfigV1: """The values an incident template applies to the incidents it creates. diff --git a/incident_io/models/incident_template_custom_field_binding_payload_v1.py b/incident_io/models/incident_template_custom_field_binding_payload_v1.py index 4cf60b0..34dec30 100644 --- a/incident_io/models/incident_template_custom_field_binding_payload_v1.py +++ b/incident_io/models/incident_template_custom_field_binding_payload_v1.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="IncidentTemplateCustomFieldBindingPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateCustomFieldBindingPayloadV1: """ Example: diff --git a/incident_io/models/incident_template_custom_field_binding_v1.py b/incident_io/models/incident_template_custom_field_binding_v1.py index 6391256..d482858 100644 --- a/incident_io/models/incident_template_custom_field_binding_v1.py +++ b/incident_io/models/incident_template_custom_field_binding_v1.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="IncidentTemplateCustomFieldBindingV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateCustomFieldBindingV1: """ Example: diff --git a/incident_io/models/incident_template_severity_binding_payload_v1.py b/incident_io/models/incident_template_severity_binding_payload_v1.py index cf27625..9bcdf9b 100644 --- a/incident_io/models/incident_template_severity_binding_payload_v1.py +++ b/incident_io/models/incident_template_severity_binding_payload_v1.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentTemplateSeverityBindingPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateSeverityBindingPayloadV1: """ Example: diff --git a/incident_io/models/incident_template_severity_binding_v1.py b/incident_io/models/incident_template_severity_binding_v1.py index 9f59bd7..bfe626e 100644 --- a/incident_io/models/incident_template_severity_binding_v1.py +++ b/incident_io/models/incident_template_severity_binding_v1.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentTemplateSeverityBindingV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateSeverityBindingV1: """ Example: diff --git a/incident_io/models/incident_template_v1.py b/incident_io/models/incident_template_v1.py index ad0d8aa..fab124f 100644 --- a/incident_io/models/incident_template_v1.py +++ b/incident_io/models/incident_template_v1.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="IncidentTemplateV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateV1: """A reusable set of values applied to incidents created from alerts. diff --git a/incident_io/models/incident_template_validate_warning_v1.py b/incident_io/models/incident_template_validate_warning_v1.py index 6de3977..44410fd 100644 --- a/incident_io/models/incident_template_validate_warning_v1.py +++ b/incident_io/models/incident_template_validate_warning_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentTemplateValidateWarningV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplateValidateWarningV1: """Something suspect about a template config that isn't severe enough to reject it. diff --git a/incident_io/models/incident_templates_create_payload_v1.py b/incident_io/models/incident_templates_create_payload_v1.py index 3536cd7..51dfe42 100644 --- a/incident_io/models/incident_templates_create_payload_v1.py +++ b/incident_io/models/incident_templates_create_payload_v1.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentTemplatesCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplatesCreatePayloadV1: """ Example: diff --git a/incident_io/models/incident_templates_create_result_v1.py b/incident_io/models/incident_templates_create_result_v1.py index 6c1c372..d8e9564 100644 --- a/incident_io/models/incident_templates_create_result_v1.py +++ b/incident_io/models/incident_templates_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTemplatesCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplatesCreateResultV1: """ Example: diff --git a/incident_io/models/incident_templates_list_result_v1.py b/incident_io/models/incident_templates_list_result_v1.py index 191c149..04c2d9a 100644 --- a/incident_io/models/incident_templates_list_result_v1.py +++ b/incident_io/models/incident_templates_list_result_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentTemplatesListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplatesListResultV1: """ Example: diff --git a/incident_io/models/incident_templates_show_result_v1.py b/incident_io/models/incident_templates_show_result_v1.py index d0c551f..3455c9d 100644 --- a/incident_io/models/incident_templates_show_result_v1.py +++ b/incident_io/models/incident_templates_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTemplatesShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplatesShowResultV1: """ Example: diff --git a/incident_io/models/incident_templates_update_payload_v1.py b/incident_io/models/incident_templates_update_payload_v1.py index 6c1af35..a884fa5 100644 --- a/incident_io/models/incident_templates_update_payload_v1.py +++ b/incident_io/models/incident_templates_update_payload_v1.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentTemplatesUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplatesUpdatePayloadV1: """ Example: diff --git a/incident_io/models/incident_templates_update_result_v1.py b/incident_io/models/incident_templates_update_result_v1.py index 0feae12..ba6abb0 100644 --- a/incident_io/models/incident_templates_update_result_v1.py +++ b/incident_io/models/incident_templates_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTemplatesUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplatesUpdateResultV1: """ Example: diff --git a/incident_io/models/incident_templates_validate_payload_v1.py b/incident_io/models/incident_templates_validate_payload_v1.py index df882c8..7c12b6d 100644 --- a/incident_io/models/incident_templates_validate_payload_v1.py +++ b/incident_io/models/incident_templates_validate_payload_v1.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentTemplatesValidatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplatesValidatePayloadV1: """ Example: diff --git a/incident_io/models/incident_templates_validate_result_v1.py b/incident_io/models/incident_templates_validate_result_v1.py index 7eb6201..78d33c1 100644 --- a/incident_io/models/incident_templates_validate_result_v1.py +++ b/incident_io/models/incident_templates_validate_result_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentTemplatesValidateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTemplatesValidateResultV1: """ Example: diff --git a/incident_io/models/incident_timeline_item_v2.py b/incident_io/models/incident_timeline_item_v2.py index 6876b86..f2258d4 100644 --- a/incident_io/models/incident_timeline_item_v2.py +++ b/incident_io/models/incident_timeline_item_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentTimelineItemV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimelineItemV2: """An item on an incident's curated timeline. diff --git a/incident_io/models/incident_timeline_items_create_payload_v2.py b/incident_io/models/incident_timeline_items_create_payload_v2.py index a537d44..e47edeb 100644 --- a/incident_io/models/incident_timeline_items_create_payload_v2.py +++ b/incident_io/models/incident_timeline_items_create_payload_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentTimelineItemsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimelineItemsCreatePayloadV2: """ Example: diff --git a/incident_io/models/incident_timeline_items_create_result_v2.py b/incident_io/models/incident_timeline_items_create_result_v2.py index 64303f6..b09884e 100644 --- a/incident_io/models/incident_timeline_items_create_result_v2.py +++ b/incident_io/models/incident_timeline_items_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTimelineItemsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimelineItemsCreateResultV2: """ Example: diff --git a/incident_io/models/incident_timeline_items_list_result_v2.py b/incident_io/models/incident_timeline_items_list_result_v2.py index 86cdcf2..ff4dc5c 100644 --- a/incident_io/models/incident_timeline_items_list_result_v2.py +++ b/incident_io/models/incident_timeline_items_list_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentTimelineItemsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimelineItemsListResultV2: """ Example: diff --git a/incident_io/models/incident_timeline_items_update_payload_v2.py b/incident_io/models/incident_timeline_items_update_payload_v2.py index dd6453d..f1a1850 100644 --- a/incident_io/models/incident_timeline_items_update_payload_v2.py +++ b/incident_io/models/incident_timeline_items_update_payload_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentTimelineItemsUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimelineItemsUpdatePayloadV2: """ Example: diff --git a/incident_io/models/incident_timeline_items_update_result_v2.py b/incident_io/models/incident_timeline_items_update_result_v2.py index dec1737..34539a3 100644 --- a/incident_io/models/incident_timeline_items_update_result_v2.py +++ b/incident_io/models/incident_timeline_items_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTimelineItemsUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimelineItemsUpdateResultV2: """ Example: diff --git a/incident_io/models/incident_timestamp_v2.py b/incident_io/models/incident_timestamp_v2.py index 1d52046..5b50343 100644 --- a/incident_io/models/incident_timestamp_v2.py +++ b/incident_io/models/incident_timestamp_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentTimestampV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimestampV2: """ Example: diff --git a/incident_io/models/incident_timestamp_value_payload_v2.py b/incident_io/models/incident_timestamp_value_payload_v2.py index 5d1a225..005cb78 100644 --- a/incident_io/models/incident_timestamp_value_payload_v2.py +++ b/incident_io/models/incident_timestamp_value_payload_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentTimestampValuePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimestampValuePayloadV2: """ Example: diff --git a/incident_io/models/incident_timestamp_value_v1.py b/incident_io/models/incident_timestamp_value_v1.py index 30e3585..76bfff1 100644 --- a/incident_io/models/incident_timestamp_value_v1.py +++ b/incident_io/models/incident_timestamp_value_v1.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentTimestampValueV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimestampValueV1: """ Example: diff --git a/incident_io/models/incident_timestamp_value_v2.py b/incident_io/models/incident_timestamp_value_v2.py index f71690c..0285c13 100644 --- a/incident_io/models/incident_timestamp_value_v2.py +++ b/incident_io/models/incident_timestamp_value_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentTimestampValueV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimestampValueV2: """ Example: diff --git a/incident_io/models/incident_timestamp_with_value_v2.py b/incident_io/models/incident_timestamp_with_value_v2.py index 64eaf73..55010d6 100644 --- a/incident_io/models/incident_timestamp_with_value_v2.py +++ b/incident_io/models/incident_timestamp_with_value_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentTimestampWithValueV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimestampWithValueV2: """ Example: diff --git a/incident_io/models/incident_timestamps_list_result_v2.py b/incident_io/models/incident_timestamps_list_result_v2.py index d699546..c6ad30c 100644 --- a/incident_io/models/incident_timestamps_list_result_v2.py +++ b/incident_io/models/incident_timestamps_list_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTimestampsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimestampsListResultV2: """ Example: diff --git a/incident_io/models/incident_timestamps_show_result_v2.py b/incident_io/models/incident_timestamps_show_result_v2.py index b7af4c3..60c9a30 100644 --- a/incident_io/models/incident_timestamps_show_result_v2.py +++ b/incident_io/models/incident_timestamps_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTimestampsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTimestampsShowResultV2: """ Example: diff --git a/incident_io/models/incident_type_v1.py b/incident_io/models/incident_type_v1.py index 9096796..7743693 100644 --- a/incident_io/models/incident_type_v1.py +++ b/incident_io/models/incident_type_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTypeV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTypeV1: """ Example: diff --git a/incident_io/models/incident_type_v2.py b/incident_io/models/incident_type_v2.py index 12d2e2c..ce3387a 100644 --- a/incident_io/models/incident_type_v2.py +++ b/incident_io/models/incident_type_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="IncidentTypeV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTypeV2: """ Example: diff --git a/incident_io/models/incident_types_list_result_v1.py b/incident_io/models/incident_types_list_result_v1.py index c0ca19e..a08e0cd 100644 --- a/incident_io/models/incident_types_list_result_v1.py +++ b/incident_io/models/incident_types_list_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTypesListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTypesListResultV1: """ Example: diff --git a/incident_io/models/incident_types_show_result_v1.py b/incident_io/models/incident_types_show_result_v1.py index 60118b8..a4a6131 100644 --- a/incident_io/models/incident_types_show_result_v1.py +++ b/incident_io/models/incident_types_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentTypesShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentTypesShowResultV1: """ Example: diff --git a/incident_io/models/incident_update_v2.py b/incident_io/models/incident_update_v2.py index 9c1f73b..05f3c2d 100644 --- a/incident_io/models/incident_update_v2.py +++ b/incident_io/models/incident_update_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentUpdateV2: """ Example: diff --git a/incident_io/models/incident_updates_create_payload_v2.py b/incident_io/models/incident_updates_create_payload_v2.py index 68c6663..905e3e5 100644 --- a/incident_io/models/incident_updates_create_payload_v2.py +++ b/incident_io/models/incident_updates_create_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="IncidentUpdatesCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentUpdatesCreatePayloadV2: """ Example: diff --git a/incident_io/models/incident_updates_create_result_v2.py b/incident_io/models/incident_updates_create_result_v2.py index dc173df..95806be 100644 --- a/incident_io/models/incident_updates_create_result_v2.py +++ b/incident_io/models/incident_updates_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentUpdatesCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentUpdatesCreateResultV2: """ Example: diff --git a/incident_io/models/incident_updates_list_result_v2.py b/incident_io/models/incident_updates_list_result_v2.py index 3d8dbc6..88b4f00 100644 --- a/incident_io/models/incident_updates_list_result_v2.py +++ b/incident_io/models/incident_updates_list_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentUpdatesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentUpdatesListResultV2: """ Example: diff --git a/incident_io/models/incident_v1.py b/incident_io/models/incident_v1.py index 429a05a..49a3089 100644 --- a/incident_io/models/incident_v1.py +++ b/incident_io/models/incident_v1.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="IncidentV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentV1: """ Example: diff --git a/incident_io/models/incident_v2.py b/incident_io/models/incident_v2.py index 47239f5..219efb6 100644 --- a/incident_io/models/incident_v2.py +++ b/incident_io/models/incident_v2.py @@ -28,7 +28,7 @@ T = TypeVar("T", bound="IncidentV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentV2: """ Example: diff --git a/incident_io/models/incident_with_status_change_v2.py b/incident_io/models/incident_with_status_change_v2.py index 1b0963e..7aa900b 100644 --- a/incident_io/models/incident_with_status_change_v2.py +++ b/incident_io/models/incident_with_status_change_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IncidentWithStatusChangeV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentWithStatusChangeV2: """ Example: diff --git a/incident_io/models/incidents_create_payload_v1.py b/incident_io/models/incidents_create_payload_v1.py index 94c29c6..1eb9602 100644 --- a/incident_io/models/incidents_create_payload_v1.py +++ b/incident_io/models/incidents_create_payload_v1.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="IncidentsCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsCreatePayloadV1: """ Example: diff --git a/incident_io/models/incidents_create_payload_v2.py b/incident_io/models/incidents_create_payload_v2.py index 897383c..ed59e71 100644 --- a/incident_io/models/incidents_create_payload_v2.py +++ b/incident_io/models/incidents_create_payload_v2.py @@ -28,7 +28,7 @@ T = TypeVar("T", bound="IncidentsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsCreatePayloadV2: """ Example: diff --git a/incident_io/models/incidents_create_result_v1.py b/incident_io/models/incidents_create_result_v1.py index 033c7fb..8cb095e 100644 --- a/incident_io/models/incidents_create_result_v1.py +++ b/incident_io/models/incidents_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentsCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsCreateResultV1: """ Example: diff --git a/incident_io/models/incidents_create_result_v2.py b/incident_io/models/incidents_create_result_v2.py index cfe64f3..073f88c 100644 --- a/incident_io/models/incidents_create_result_v2.py +++ b/incident_io/models/incidents_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsCreateResultV2: """ Example: diff --git a/incident_io/models/incidents_edit_payload_v2.py b/incident_io/models/incidents_edit_payload_v2.py index e2b5d9e..c08731d 100644 --- a/incident_io/models/incidents_edit_payload_v2.py +++ b/incident_io/models/incidents_edit_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentsEditPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsEditPayloadV2: """ Example: diff --git a/incident_io/models/incidents_edit_result_v2.py b/incident_io/models/incidents_edit_result_v2.py index 6c5a513..6fb2879 100644 --- a/incident_io/models/incidents_edit_result_v2.py +++ b/incident_io/models/incidents_edit_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentsEditResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsEditResultV2: """ Example: diff --git a/incident_io/models/incidents_import_postmortem_document_payload_v2.py b/incident_io/models/incidents_import_postmortem_document_payload_v2.py index 03618b3..2d2425f 100644 --- a/incident_io/models/incidents_import_postmortem_document_payload_v2.py +++ b/incident_io/models/incidents_import_postmortem_document_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsImportPostmortemDocumentPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsImportPostmortemDocumentPayloadV2: """ Example: diff --git a/incident_io/models/incidents_import_postmortem_document_result_v2.py b/incident_io/models/incidents_import_postmortem_document_result_v2.py index 7803ac2..2f08865 100644 --- a/incident_io/models/incidents_import_postmortem_document_result_v2.py +++ b/incident_io/models/incidents_import_postmortem_document_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentsImportPostmortemDocumentResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsImportPostmortemDocumentResultV2: """ Example: diff --git a/incident_io/models/incidents_list_result_v1.py b/incident_io/models/incidents_list_result_v1.py index 402c2af..08369df 100644 --- a/incident_io/models/incidents_list_result_v1.py +++ b/incident_io/models/incidents_list_result_v1.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentsListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsListResultV1: """ Example: diff --git a/incident_io/models/incidents_list_result_v2.py b/incident_io/models/incidents_list_result_v2.py index d0da8c0..3a7d9cb 100644 --- a/incident_io/models/incidents_list_result_v2.py +++ b/incident_io/models/incidents_list_result_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="IncidentsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsListResultV2: """ Example: diff --git a/incident_io/models/incidents_show_result_v1.py b/incident_io/models/incidents_show_result_v1.py index e583fc5..6c3f8a2 100644 --- a/incident_io/models/incidents_show_result_v1.py +++ b/incident_io/models/incidents_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentsShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsShowResultV1: """ Example: diff --git a/incident_io/models/incidents_show_result_v2.py b/incident_io/models/incidents_show_result_v2.py index e063c73..44adcaf 100644 --- a/incident_io/models/incidents_show_result_v2.py +++ b/incident_io/models/incidents_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IncidentsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsShowResultV2: """ Example: diff --git a/incident_io/models/incidents_v2_list_created_at.py b/incident_io/models/incidents_v2_list_created_at.py index 85aeecf..16e826a 100644 --- a/incident_io/models/incidents_v2_list_created_at.py +++ b/incident_io/models/incidents_v2_list_created_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListCreatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListCreatedAt: """Filter on incident created at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/incidents_v2_list_custom_field.py b/incident_io/models/incidents_v2_list_custom_field.py index 694cb77..41449c9 100644 --- a/incident_io/models/incidents_v2_list_custom_field.py +++ b/incident_io/models/incidents_v2_list_custom_field.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentsV2ListCustomField") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListCustomField: """Filter on an incident custom field. Custom field ID should be sent, followed by the operator and values. Accepted operator will depend on the custom field type. diff --git a/incident_io/models/incidents_v2_list_custom_field_additional_property.py b/incident_io/models/incidents_v2_list_custom_field_additional_property.py index bf76bd0..4bfc39a 100644 --- a/incident_io/models/incidents_v2_list_custom_field_additional_property.py +++ b/incident_io/models/incidents_v2_list_custom_field_additional_property.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListCustomFieldAdditionalProperty") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListCustomFieldAdditionalProperty: """ Example: diff --git a/incident_io/models/incidents_v2_list_incident_role.py b/incident_io/models/incidents_v2_list_incident_role.py index 7c1e1e0..ddd2697 100644 --- a/incident_io/models/incidents_v2_list_incident_role.py +++ b/incident_io/models/incidents_v2_list_incident_role.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="IncidentsV2ListIncidentRole") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListIncidentRole: """Filter on an incident role. Role ID should be sent, along with backlink attribute ID (if needed) followed by the operator and values. The accepted operators are 'one_of', 'is_blank'. diff --git a/incident_io/models/incidents_v2_list_incident_role_additional_property.py b/incident_io/models/incidents_v2_list_incident_role_additional_property.py index 85517e5..51d91ea 100644 --- a/incident_io/models/incidents_v2_list_incident_role_additional_property.py +++ b/incident_io/models/incidents_v2_list_incident_role_additional_property.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListIncidentRoleAdditionalProperty") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListIncidentRoleAdditionalProperty: """ Example: diff --git a/incident_io/models/incidents_v2_list_incident_type.py b/incident_io/models/incidents_v2_list_incident_type.py index 87ec339..3203fbe 100644 --- a/incident_io/models/incidents_v2_list_incident_type.py +++ b/incident_io/models/incidents_v2_list_incident_type.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListIncidentType") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListIncidentType: """Filter on incident type. The accepted operators are 'one_of, or 'not_in'. diff --git a/incident_io/models/incidents_v2_list_mode.py b/incident_io/models/incidents_v2_list_mode.py index 23a7d21..2485272 100644 --- a/incident_io/models/incidents_v2_list_mode.py +++ b/incident_io/models/incidents_v2_list_mode.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListMode") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListMode: """Filter on incident mode. The accepted operator is 'one_of'. If this is not provided, this value defaults to `{"one_of": ["standard", "retrospective"] }`, meaning that test and tutorial incidents are not included. diff --git a/incident_io/models/incidents_v2_list_severity.py b/incident_io/models/incidents_v2_list_severity.py index 72fc460..d84d22b 100644 --- a/incident_io/models/incidents_v2_list_severity.py +++ b/incident_io/models/incidents_v2_list_severity.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListSeverity") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListSeverity: """Filter on incident severity. The accepted operators are 'one_of', 'not_in', 'gte', 'lte'. diff --git a/incident_io/models/incidents_v2_list_status.py b/incident_io/models/incidents_v2_list_status.py index 2105d0a..148b7f2 100644 --- a/incident_io/models/incidents_v2_list_status.py +++ b/incident_io/models/incidents_v2_list_status.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListStatus") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListStatus: """Filter on incident status. The accepted operators are 'one_of', or 'not_in'. diff --git a/incident_io/models/incidents_v2_list_status_category.py b/incident_io/models/incidents_v2_list_status_category.py index 54130b6..f74f939 100644 --- a/incident_io/models/incidents_v2_list_status_category.py +++ b/incident_io/models/incidents_v2_list_status_category.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListStatusCategory") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListStatusCategory: """Filter on the category of the incidents status. The accepted operators are 'one_of', or 'not_in'. diff --git a/incident_io/models/incidents_v2_list_updated_at.py b/incident_io/models/incidents_v2_list_updated_at.py index 7477cc1..2b8988c 100644 --- a/incident_io/models/incidents_v2_list_updated_at.py +++ b/incident_io/models/incidents_v2_list_updated_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IncidentsV2ListUpdatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class IncidentsV2ListUpdatedAt: """Filter on incident updated at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/ip_allowlist_item_v1.py b/incident_io/models/ip_allowlist_item_v1.py index b067360..73de358 100644 --- a/incident_io/models/ip_allowlist_item_v1.py +++ b/incident_io/models/ip_allowlist_item_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="IPAllowlistItemV1") -@_attrs_define +@_attrs_define(kw_only=True) class IPAllowlistItemV1: """ Example: diff --git a/incident_io/models/ip_allowlist_v1.py b/incident_io/models/ip_allowlist_v1.py index 9f14295..4e1ef46 100644 --- a/incident_io/models/ip_allowlist_v1.py +++ b/incident_io/models/ip_allowlist_v1.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="IPAllowlistV1") -@_attrs_define +@_attrs_define(kw_only=True) class IPAllowlistV1: """ Example: diff --git a/incident_io/models/ip_allowlists_show_ip_allowlist_result_v1.py b/incident_io/models/ip_allowlists_show_ip_allowlist_result_v1.py index e7e39fd..af3315a 100644 --- a/incident_io/models/ip_allowlists_show_ip_allowlist_result_v1.py +++ b/incident_io/models/ip_allowlists_show_ip_allowlist_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IPAllowlistsShowIPAllowlistResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IPAllowlistsShowIPAllowlistResultV1: """ Example: diff --git a/incident_io/models/ip_allowlists_update_ip_allowlist_payload_v1.py b/incident_io/models/ip_allowlists_update_ip_allowlist_payload_v1.py index bbb1a91..bed1f12 100644 --- a/incident_io/models/ip_allowlists_update_ip_allowlist_payload_v1.py +++ b/incident_io/models/ip_allowlists_update_ip_allowlist_payload_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IPAllowlistsUpdateIPAllowlistPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class IPAllowlistsUpdateIPAllowlistPayloadV1: """ Example: diff --git a/incident_io/models/ip_allowlists_update_ip_allowlist_result_v1.py b/incident_io/models/ip_allowlists_update_ip_allowlist_result_v1.py index b8bef63..615256b 100644 --- a/incident_io/models/ip_allowlists_update_ip_allowlist_result_v1.py +++ b/incident_io/models/ip_allowlists_update_ip_allowlist_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="IPAllowlistsUpdateIPAllowlistResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class IPAllowlistsUpdateIPAllowlistResultV1: """ Example: diff --git a/incident_io/models/ip_range_v1.py b/incident_io/models/ip_range_v1.py index 1d415b5..5931f98 100644 --- a/incident_io/models/ip_range_v1.py +++ b/incident_io/models/ip_range_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="IPRangeV1") -@_attrs_define +@_attrs_define(kw_only=True) class IPRangeV1: """One address our requests to your systems come from. diff --git a/incident_io/models/linked_schedule_v2.py b/incident_io/models/linked_schedule_v2.py index ec2babe..fc5142d 100644 --- a/incident_io/models/linked_schedule_v2.py +++ b/incident_io/models/linked_schedule_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="LinkedScheduleV2") -@_attrs_define +@_attrs_define(kw_only=True) class LinkedScheduleV2: """ Example: diff --git a/incident_io/models/maintenance_window_escalation_target_payload_v1.py b/incident_io/models/maintenance_window_escalation_target_payload_v1.py index 25f0566..afe2a6e 100644 --- a/incident_io/models/maintenance_window_escalation_target_payload_v1.py +++ b/incident_io/models/maintenance_window_escalation_target_payload_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="MaintenanceWindowEscalationTargetPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowEscalationTargetPayloadV1: """ Example: diff --git a/incident_io/models/maintenance_window_escalation_target_v1.py b/incident_io/models/maintenance_window_escalation_target_v1.py index 047b62e..8b853ca 100644 --- a/incident_io/models/maintenance_window_escalation_target_v1.py +++ b/incident_io/models/maintenance_window_escalation_target_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="MaintenanceWindowEscalationTargetV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowEscalationTargetV1: """ Example: diff --git a/incident_io/models/maintenance_window_notify_channel_payload_v1.py b/incident_io/models/maintenance_window_notify_channel_payload_v1.py index e39f5d1..d9eb4f2 100644 --- a/incident_io/models/maintenance_window_notify_channel_payload_v1.py +++ b/incident_io/models/maintenance_window_notify_channel_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="MaintenanceWindowNotifyChannelPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowNotifyChannelPayloadV1: """A channel to receive notifications about this maintenance window diff --git a/incident_io/models/maintenance_window_notify_channel_v1.py b/incident_io/models/maintenance_window_notify_channel_v1.py index ce759b1..54be119 100644 --- a/incident_io/models/maintenance_window_notify_channel_v1.py +++ b/incident_io/models/maintenance_window_notify_channel_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="MaintenanceWindowNotifyChannelV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowNotifyChannelV1: """A channel that will receive notifications about this maintenance window diff --git a/incident_io/models/maintenance_window_v1.py b/incident_io/models/maintenance_window_v1.py index f0ab8aa..e25ea8a 100644 --- a/incident_io/models/maintenance_window_v1.py +++ b/incident_io/models/maintenance_window_v1.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="MaintenanceWindowV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowV1: """ Example: diff --git a/incident_io/models/maintenance_windows_create_payload_v1.py b/incident_io/models/maintenance_windows_create_payload_v1.py index c58144e..399e27b 100644 --- a/incident_io/models/maintenance_windows_create_payload_v1.py +++ b/incident_io/models/maintenance_windows_create_payload_v1.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="MaintenanceWindowsCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowsCreatePayloadV1: """ Example: diff --git a/incident_io/models/maintenance_windows_create_result_v1.py b/incident_io/models/maintenance_windows_create_result_v1.py index 55e21a8..6095dbb 100644 --- a/incident_io/models/maintenance_windows_create_result_v1.py +++ b/incident_io/models/maintenance_windows_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="MaintenanceWindowsCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowsCreateResultV1: """ Example: diff --git a/incident_io/models/maintenance_windows_list_result_v1.py b/incident_io/models/maintenance_windows_list_result_v1.py index 0b069df..dd3381b 100644 --- a/incident_io/models/maintenance_windows_list_result_v1.py +++ b/incident_io/models/maintenance_windows_list_result_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="MaintenanceWindowsListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowsListResultV1: """ Example: diff --git a/incident_io/models/maintenance_windows_show_result_v1.py b/incident_io/models/maintenance_windows_show_result_v1.py index 7568ac3..dc5077a 100644 --- a/incident_io/models/maintenance_windows_show_result_v1.py +++ b/incident_io/models/maintenance_windows_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="MaintenanceWindowsShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowsShowResultV1: """ Example: diff --git a/incident_io/models/maintenance_windows_update_payload_v1.py b/incident_io/models/maintenance_windows_update_payload_v1.py index 2a823aa..05c3abd 100644 --- a/incident_io/models/maintenance_windows_update_payload_v1.py +++ b/incident_io/models/maintenance_windows_update_payload_v1.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="MaintenanceWindowsUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowsUpdatePayloadV1: """ Example: diff --git a/incident_io/models/maintenance_windows_update_result_v1.py b/incident_io/models/maintenance_windows_update_result_v1.py index 658d93b..5bc177f 100644 --- a/incident_io/models/maintenance_windows_update_result_v1.py +++ b/incident_io/models/maintenance_windows_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="MaintenanceWindowsUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class MaintenanceWindowsUpdateResultV1: """ Example: diff --git a/incident_io/models/management_meta_v2.py b/incident_io/models/management_meta_v2.py index c218c47..7ea56f6 100644 --- a/incident_io/models/management_meta_v2.py +++ b/incident_io/models/management_meta_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ManagementMetaV2") -@_attrs_define +@_attrs_define(kw_only=True) class ManagementMetaV2: """ Example: diff --git a/incident_io/models/management_meta_v2_annotations.py b/incident_io/models/management_meta_v2_annotations.py index 83776d2..09873b9 100644 --- a/incident_io/models/management_meta_v2_annotations.py +++ b/incident_io/models/management_meta_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ManagementMetaV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class ManagementMetaV2Annotations: """Annotations that track metadata about this resource diff --git a/incident_io/models/new_slack_user_group_payload_v2.py b/incident_io/models/new_slack_user_group_payload_v2.py index c3319e7..cbeaa3d 100644 --- a/incident_io/models/new_slack_user_group_payload_v2.py +++ b/incident_io/models/new_slack_user_group_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="NewSlackUserGroupPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class NewSlackUserGroupPayloadV2: """ Example: diff --git a/incident_io/models/on_call_notification_method_phone_details_public_v2.py b/incident_io/models/on_call_notification_method_phone_details_public_v2.py index 45fdc50..afd515c 100644 --- a/incident_io/models/on_call_notification_method_phone_details_public_v2.py +++ b/incident_io/models/on_call_notification_method_phone_details_public_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="OnCallNotificationMethodPhoneDetailsPublicV2") -@_attrs_define +@_attrs_define(kw_only=True) class OnCallNotificationMethodPhoneDetailsPublicV2: """ Example: diff --git a/incident_io/models/on_call_notification_method_public_v2.py b/incident_io/models/on_call_notification_method_public_v2.py index fa5ebc2..ac447b3 100644 --- a/incident_io/models/on_call_notification_method_public_v2.py +++ b/incident_io/models/on_call_notification_method_public_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="OnCallNotificationMethodPublicV2") -@_attrs_define +@_attrs_define(kw_only=True) class OnCallNotificationMethodPublicV2: """ Example: diff --git a/incident_io/models/on_call_notification_rule_app_details_public_v2.py b/incident_io/models/on_call_notification_rule_app_details_public_v2.py index 0098157..f655bb7 100644 --- a/incident_io/models/on_call_notification_rule_app_details_public_v2.py +++ b/incident_io/models/on_call_notification_rule_app_details_public_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="OnCallNotificationRuleAppDetailsPublicV2") -@_attrs_define +@_attrs_define(kw_only=True) class OnCallNotificationRuleAppDetailsPublicV2: """ Example: diff --git a/incident_io/models/on_call_notification_rule_method_target_all_public_v2.py b/incident_io/models/on_call_notification_rule_method_target_all_public_v2.py index 8e016fc..f673b4d 100644 --- a/incident_io/models/on_call_notification_rule_method_target_all_public_v2.py +++ b/incident_io/models/on_call_notification_rule_method_target_all_public_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="OnCallNotificationRuleMethodTargetAllPublicV2") -@_attrs_define +@_attrs_define(kw_only=True) class OnCallNotificationRuleMethodTargetAllPublicV2: """ Example: diff --git a/incident_io/models/on_call_notification_rule_method_target_public_v2.py b/incident_io/models/on_call_notification_rule_method_target_public_v2.py index 10edb28..e522869 100644 --- a/incident_io/models/on_call_notification_rule_method_target_public_v2.py +++ b/incident_io/models/on_call_notification_rule_method_target_public_v2.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="OnCallNotificationRuleMethodTargetPublicV2") -@_attrs_define +@_attrs_define(kw_only=True) class OnCallNotificationRuleMethodTargetPublicV2: """ Example: diff --git a/incident_io/models/on_call_notification_rule_method_target_specific_public_v2.py b/incident_io/models/on_call_notification_rule_method_target_specific_public_v2.py index 9b7abb5..c54516d 100644 --- a/incident_io/models/on_call_notification_rule_method_target_specific_public_v2.py +++ b/incident_io/models/on_call_notification_rule_method_target_specific_public_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="OnCallNotificationRuleMethodTargetSpecificPublicV2") -@_attrs_define +@_attrs_define(kw_only=True) class OnCallNotificationRuleMethodTargetSpecificPublicV2: """ Example: diff --git a/incident_io/models/on_call_notification_rule_phone_details_public_v2.py b/incident_io/models/on_call_notification_rule_phone_details_public_v2.py index 71253a9..5bf32a9 100644 --- a/incident_io/models/on_call_notification_rule_phone_details_public_v2.py +++ b/incident_io/models/on_call_notification_rule_phone_details_public_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="OnCallNotificationRulePhoneDetailsPublicV2") -@_attrs_define +@_attrs_define(kw_only=True) class OnCallNotificationRulePhoneDetailsPublicV2: """ Example: diff --git a/incident_io/models/on_call_notification_rule_public_v2.py b/incident_io/models/on_call_notification_rule_public_v2.py index 35e1331..16f218e 100644 --- a/incident_io/models/on_call_notification_rule_public_v2.py +++ b/incident_io/models/on_call_notification_rule_public_v2.py @@ -29,7 +29,7 @@ T = TypeVar("T", bound="OnCallNotificationRulePublicV2") -@_attrs_define +@_attrs_define(kw_only=True) class OnCallNotificationRulePublicV2: """ Example: diff --git a/incident_io/models/pagination_meta_result_v1.py b/incident_io/models/pagination_meta_result_v1.py index 5270ab4..792017e 100644 --- a/incident_io/models/pagination_meta_result_v1.py +++ b/incident_io/models/pagination_meta_result_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="PaginationMetaResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class PaginationMetaResultV1: """ Example: diff --git a/incident_io/models/pagination_meta_result_v2.py b/incident_io/models/pagination_meta_result_v2.py index f2caeac..8072b68 100644 --- a/incident_io/models/pagination_meta_result_v2.py +++ b/incident_io/models/pagination_meta_result_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="PaginationMetaResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PaginationMetaResultV2: """ Example: diff --git a/incident_io/models/pagination_meta_result_v3.py b/incident_io/models/pagination_meta_result_v3.py index 58ee423..95e5d23 100644 --- a/incident_io/models/pagination_meta_result_v3.py +++ b/incident_io/models/pagination_meta_result_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="PaginationMetaResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class PaginationMetaResultV3: """ Example: diff --git a/incident_io/models/pagination_meta_result_with_total_v1.py b/incident_io/models/pagination_meta_result_with_total_v1.py index c0a73ec..592937a 100644 --- a/incident_io/models/pagination_meta_result_with_total_v1.py +++ b/incident_io/models/pagination_meta_result_with_total_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="PaginationMetaResultWithTotalV1") -@_attrs_define +@_attrs_define(kw_only=True) class PaginationMetaResultWithTotalV1: """ Example: diff --git a/incident_io/models/pagination_meta_result_with_total_v2.py b/incident_io/models/pagination_meta_result_with_total_v2.py index d312eea..347021e 100644 --- a/incident_io/models/pagination_meta_result_with_total_v2.py +++ b/incident_io/models/pagination_meta_result_with_total_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="PaginationMetaResultWithTotalV2") -@_attrs_define +@_attrs_define(kw_only=True) class PaginationMetaResultWithTotalV2: """ Example: diff --git a/incident_io/models/pagination_meta_result_with_total_v3.py b/incident_io/models/pagination_meta_result_with_total_v3.py index addb679..77223f8 100644 --- a/incident_io/models/pagination_meta_result_with_total_v3.py +++ b/incident_io/models/pagination_meta_result_with_total_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="PaginationMetaResultWithTotalV3") -@_attrs_define +@_attrs_define(kw_only=True) class PaginationMetaResultWithTotalV3: """ Example: diff --git a/incident_io/models/partial_entry_payload_v3.py b/incident_io/models/partial_entry_payload_v3.py index baa4160..43db7f2 100644 --- a/incident_io/models/partial_entry_payload_v3.py +++ b/incident_io/models/partial_entry_payload_v3.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="PartialEntryPayloadV3") -@_attrs_define +@_attrs_define(kw_only=True) class PartialEntryPayloadV3: """Represents a partial entry update, allowing selective field updates diff --git a/incident_io/models/partial_entry_payload_v3_attribute_values.py b/incident_io/models/partial_entry_payload_v3_attribute_values.py index b2df635..43a7243 100644 --- a/incident_io/models/partial_entry_payload_v3_attribute_values.py +++ b/incident_io/models/partial_entry_payload_v3_attribute_values.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="PartialEntryPayloadV3AttributeValues") -@_attrs_define +@_attrs_define(kw_only=True) class PartialEntryPayloadV3AttributeValues: """The attribute values to apply to this entry diff --git a/incident_io/models/pay_config_one_off_rule_payload_v2.py b/incident_io/models/pay_config_one_off_rule_payload_v2.py index c7c3fe3..b2053a7 100644 --- a/incident_io/models/pay_config_one_off_rule_payload_v2.py +++ b/incident_io/models/pay_config_one_off_rule_payload_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="PayConfigOneOffRulePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigOneOffRulePayloadV2: """A one-off rule to write. Send an existing rule's ID to keep it stable, and omit it for a rule you are adding. diff --git a/incident_io/models/pay_config_one_off_rule_v2.py b/incident_io/models/pay_config_one_off_rule_v2.py index 655241b..fa5c2fa 100644 --- a/incident_io/models/pay_config_one_off_rule_v2.py +++ b/incident_io/models/pay_config_one_off_rule_v2.py @@ -10,7 +10,7 @@ T = TypeVar("T", bound="PayConfigOneOffRuleV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigOneOffRuleV2: """A rule that applies over a single window of time, such as a public holiday. One-off rules take precedence over weekly rules, and may not overlap each other. diff --git a/incident_io/models/pay_config_v2.py b/incident_io/models/pay_config_v2.py index 00e6697..5acd886 100644 --- a/incident_io/models/pay_config_v2.py +++ b/incident_io/models/pay_config_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="PayConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigV2: """A pay config sets what someone is paid for being on call: a base rate, plus rules that override it at particular times. An on-call pay report prices diff --git a/incident_io/models/pay_config_weekly_rule_payload_v2.py b/incident_io/models/pay_config_weekly_rule_payload_v2.py index f39df8e..6de500d 100644 --- a/incident_io/models/pay_config_weekly_rule_payload_v2.py +++ b/incident_io/models/pay_config_weekly_rule_payload_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PayConfigWeeklyRulePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigWeeklyRulePayloadV2: """A weekly rule to write. Send an existing rule's ID to keep it stable, and omit it for a rule you are adding. diff --git a/incident_io/models/pay_config_weekly_rule_v2.py b/incident_io/models/pay_config_weekly_rule_v2.py index dde1de9..e4d1e4a 100644 --- a/incident_io/models/pay_config_weekly_rule_v2.py +++ b/incident_io/models/pay_config_weekly_rule_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigWeeklyRuleV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigWeeklyRuleV2: """A rule that applies every week, over the same days and hours. diff --git a/incident_io/models/pay_configs_create_one_off_rule_payload_v2.py b/incident_io/models/pay_configs_create_one_off_rule_payload_v2.py index ade7b03..ac27737 100644 --- a/incident_io/models/pay_configs_create_one_off_rule_payload_v2.py +++ b/incident_io/models/pay_configs_create_one_off_rule_payload_v2.py @@ -10,7 +10,7 @@ T = TypeVar("T", bound="PayConfigsCreateOneOffRulePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsCreateOneOffRulePayloadV2: """ Example: diff --git a/incident_io/models/pay_configs_create_one_off_rule_result_v2.py b/incident_io/models/pay_configs_create_one_off_rule_result_v2.py index cf8be05..f7b849b 100644 --- a/incident_io/models/pay_configs_create_one_off_rule_result_v2.py +++ b/incident_io/models/pay_configs_create_one_off_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsCreateOneOffRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsCreateOneOffRuleResultV2: """ Example: diff --git a/incident_io/models/pay_configs_create_payload_v2.py b/incident_io/models/pay_configs_create_payload_v2.py index e7d28e4..46dbaec 100644 --- a/incident_io/models/pay_configs_create_payload_v2.py +++ b/incident_io/models/pay_configs_create_payload_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="PayConfigsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsCreatePayloadV2: """ Example: diff --git a/incident_io/models/pay_configs_create_result_v2.py b/incident_io/models/pay_configs_create_result_v2.py index 0d969b7..5fdff58 100644 --- a/incident_io/models/pay_configs_create_result_v2.py +++ b/incident_io/models/pay_configs_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsCreateResultV2: """ Example: diff --git a/incident_io/models/pay_configs_create_weekly_rule_payload_v2.py b/incident_io/models/pay_configs_create_weekly_rule_payload_v2.py index 6c1139e..6f781f1 100644 --- a/incident_io/models/pay_configs_create_weekly_rule_payload_v2.py +++ b/incident_io/models/pay_configs_create_weekly_rule_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsCreateWeeklyRulePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsCreateWeeklyRulePayloadV2: """ Example: diff --git a/incident_io/models/pay_configs_create_weekly_rule_result_v2.py b/incident_io/models/pay_configs_create_weekly_rule_result_v2.py index c9bb31d..dae6df4 100644 --- a/incident_io/models/pay_configs_create_weekly_rule_result_v2.py +++ b/incident_io/models/pay_configs_create_weekly_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsCreateWeeklyRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsCreateWeeklyRuleResultV2: """ Example: diff --git a/incident_io/models/pay_configs_list_one_off_rules_result_v2.py b/incident_io/models/pay_configs_list_one_off_rules_result_v2.py index 5048d24..dc87783 100644 --- a/incident_io/models/pay_configs_list_one_off_rules_result_v2.py +++ b/incident_io/models/pay_configs_list_one_off_rules_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsListOneOffRulesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsListOneOffRulesResultV2: """ Example: diff --git a/incident_io/models/pay_configs_list_result_v2.py b/incident_io/models/pay_configs_list_result_v2.py index f18bdf1..16714ad 100644 --- a/incident_io/models/pay_configs_list_result_v2.py +++ b/incident_io/models/pay_configs_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PayConfigsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsListResultV2: """ Example: diff --git a/incident_io/models/pay_configs_list_weekly_rules_result_v2.py b/incident_io/models/pay_configs_list_weekly_rules_result_v2.py index bc530e3..26961bf 100644 --- a/incident_io/models/pay_configs_list_weekly_rules_result_v2.py +++ b/incident_io/models/pay_configs_list_weekly_rules_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsListWeeklyRulesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsListWeeklyRulesResultV2: """ Example: diff --git a/incident_io/models/pay_configs_show_one_off_rule_result_v2.py b/incident_io/models/pay_configs_show_one_off_rule_result_v2.py index 147d9aa..2d37de0 100644 --- a/incident_io/models/pay_configs_show_one_off_rule_result_v2.py +++ b/incident_io/models/pay_configs_show_one_off_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsShowOneOffRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsShowOneOffRuleResultV2: """ Example: diff --git a/incident_io/models/pay_configs_show_result_v2.py b/incident_io/models/pay_configs_show_result_v2.py index eacd1e8..f4487f9 100644 --- a/incident_io/models/pay_configs_show_result_v2.py +++ b/incident_io/models/pay_configs_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsShowResultV2: """ Example: diff --git a/incident_io/models/pay_configs_show_weekly_rule_result_v2.py b/incident_io/models/pay_configs_show_weekly_rule_result_v2.py index 0efce14..6181dce 100644 --- a/incident_io/models/pay_configs_show_weekly_rule_result_v2.py +++ b/incident_io/models/pay_configs_show_weekly_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsShowWeeklyRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsShowWeeklyRuleResultV2: """ Example: diff --git a/incident_io/models/pay_configs_update_one_off_rule_payload_v2.py b/incident_io/models/pay_configs_update_one_off_rule_payload_v2.py index a782250..1ef329d 100644 --- a/incident_io/models/pay_configs_update_one_off_rule_payload_v2.py +++ b/incident_io/models/pay_configs_update_one_off_rule_payload_v2.py @@ -10,7 +10,7 @@ T = TypeVar("T", bound="PayConfigsUpdateOneOffRulePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsUpdateOneOffRulePayloadV2: """ Example: diff --git a/incident_io/models/pay_configs_update_one_off_rule_result_v2.py b/incident_io/models/pay_configs_update_one_off_rule_result_v2.py index 30d1b6a..0fdb46f 100644 --- a/incident_io/models/pay_configs_update_one_off_rule_result_v2.py +++ b/incident_io/models/pay_configs_update_one_off_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsUpdateOneOffRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsUpdateOneOffRuleResultV2: """ Example: diff --git a/incident_io/models/pay_configs_update_payload_v2.py b/incident_io/models/pay_configs_update_payload_v2.py index 2e6cab7..66c6d1b 100644 --- a/incident_io/models/pay_configs_update_payload_v2.py +++ b/incident_io/models/pay_configs_update_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsUpdatePayloadV2: """ Example: diff --git a/incident_io/models/pay_configs_update_result_v2.py b/incident_io/models/pay_configs_update_result_v2.py index b65fc15..1b30d04 100644 --- a/incident_io/models/pay_configs_update_result_v2.py +++ b/incident_io/models/pay_configs_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsUpdateResultV2: """ Example: diff --git a/incident_io/models/pay_configs_update_weekly_rule_payload_v2.py b/incident_io/models/pay_configs_update_weekly_rule_payload_v2.py index bcf6686..65c0219 100644 --- a/incident_io/models/pay_configs_update_weekly_rule_payload_v2.py +++ b/incident_io/models/pay_configs_update_weekly_rule_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsUpdateWeeklyRulePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsUpdateWeeklyRulePayloadV2: """ Example: diff --git a/incident_io/models/pay_configs_update_weekly_rule_result_v2.py b/incident_io/models/pay_configs_update_weekly_rule_result_v2.py index a91cd7b..0bdfaf7 100644 --- a/incident_io/models/pay_configs_update_weekly_rule_result_v2.py +++ b/incident_io/models/pay_configs_update_weekly_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayConfigsUpdateWeeklyRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayConfigsUpdateWeeklyRuleResultV2: """ Example: diff --git a/incident_io/models/pay_report_rotation_filter_v2.py b/incident_io/models/pay_report_rotation_filter_v2.py index 56fbc15..1f7a3d3 100644 --- a/incident_io/models/pay_report_rotation_filter_v2.py +++ b/incident_io/models/pay_report_rotation_filter_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="PayReportRotationFilterV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportRotationFilterV2: """Narrows one of a report's schedules to some of its rotations. diff --git a/incident_io/models/pay_report_v2.py b/incident_io/models/pay_report_v2.py index f567a49..8d6c072 100644 --- a/incident_io/models/pay_report_v2.py +++ b/incident_io/models/pay_report_v2.py @@ -23,7 +23,7 @@ T = TypeVar("T", bound="PayReportV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportV2: """A pay report values the time a set of users spent on-call over a date window, using the rates from a pay config. diff --git a/incident_io/models/pay_report_v2_total_pay_by_currency.py b/incident_io/models/pay_report_v2_total_pay_by_currency.py index 2302e2a..a8dc3df 100644 --- a/incident_io/models/pay_report_v2_total_pay_by_currency.py +++ b/incident_io/models/pay_report_v2_total_pay_by_currency.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="PayReportV2TotalPayByCurrency") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportV2TotalPayByCurrency: """Total owed for this report, keyed by ISO 4217 currency code, in the lowest denomination of that currency. Reports spanning pay configs with different currencies have an entry per currency, and those totals must not be summed. diff --git a/incident_io/models/pay_reports_create_payload_v2.py b/incident_io/models/pay_reports_create_payload_v2.py index bc3aa4b..0ba781b 100644 --- a/incident_io/models/pay_reports_create_payload_v2.py +++ b/incident_io/models/pay_reports_create_payload_v2.py @@ -22,7 +22,7 @@ T = TypeVar("T", bound="PayReportsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportsCreatePayloadV2: """ Example: diff --git a/incident_io/models/pay_reports_create_result_v2.py b/incident_io/models/pay_reports_create_result_v2.py index ea77739..d28958f 100644 --- a/incident_io/models/pay_reports_create_result_v2.py +++ b/incident_io/models/pay_reports_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayReportsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportsCreateResultV2: """ Example: diff --git a/incident_io/models/pay_reports_list_result_v2.py b/incident_io/models/pay_reports_list_result_v2.py index f6dfdba..bb0a612 100644 --- a/incident_io/models/pay_reports_list_result_v2.py +++ b/incident_io/models/pay_reports_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PayReportsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportsListResultV2: """ Example: diff --git a/incident_io/models/pay_reports_publish_payload_v2.py b/incident_io/models/pay_reports_publish_payload_v2.py index a4c7b11..aa217d3 100644 --- a/incident_io/models/pay_reports_publish_payload_v2.py +++ b/incident_io/models/pay_reports_publish_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayReportsPublishPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportsPublishPayloadV2: """ Example: diff --git a/incident_io/models/pay_reports_publish_result_v2.py b/incident_io/models/pay_reports_publish_result_v2.py index 93ad503..7c810f1 100644 --- a/incident_io/models/pay_reports_publish_result_v2.py +++ b/incident_io/models/pay_reports_publish_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayReportsPublishResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportsPublishResultV2: """ Example: diff --git a/incident_io/models/pay_reports_show_result_v2.py b/incident_io/models/pay_reports_show_result_v2.py index 00786ed..409b99f 100644 --- a/incident_io/models/pay_reports_show_result_v2.py +++ b/incident_io/models/pay_reports_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayReportsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportsShowResultV2: """ Example: diff --git a/incident_io/models/pay_reports_unpublish_payload_v2.py b/incident_io/models/pay_reports_unpublish_payload_v2.py index befa9b2..5b35119 100644 --- a/incident_io/models/pay_reports_unpublish_payload_v2.py +++ b/incident_io/models/pay_reports_unpublish_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="PayReportsUnpublishPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportsUnpublishPayloadV2: """ Example: diff --git a/incident_io/models/pay_reports_unpublish_result_v2.py b/incident_io/models/pay_reports_unpublish_result_v2.py index 02cc82b..b37feca 100644 --- a/incident_io/models/pay_reports_unpublish_result_v2.py +++ b/incident_io/models/pay_reports_unpublish_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PayReportsUnpublishResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PayReportsUnpublishResultV2: """ Example: diff --git a/incident_io/models/policies_create_payload_v2.py b/incident_io/models/policies_create_payload_v2.py index f92ef5b..a56a955 100644 --- a/incident_io/models/policies_create_payload_v2.py +++ b/incident_io/models/policies_create_payload_v2.py @@ -28,7 +28,7 @@ T = TypeVar("T", bound="PoliciesCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PoliciesCreatePayloadV2: """ Example: diff --git a/incident_io/models/policies_create_result_v2.py b/incident_io/models/policies_create_result_v2.py index d817ae9..61613bc 100644 --- a/incident_io/models/policies_create_result_v2.py +++ b/incident_io/models/policies_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PoliciesCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PoliciesCreateResultV2: """ Example: diff --git a/incident_io/models/policies_list_result_v2.py b/incident_io/models/policies_list_result_v2.py index 9d96c9e..9721917 100644 --- a/incident_io/models/policies_list_result_v2.py +++ b/incident_io/models/policies_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PoliciesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PoliciesListResultV2: """ Example: diff --git a/incident_io/models/policies_show_result_v2.py b/incident_io/models/policies_show_result_v2.py index a887bd4..ae51894 100644 --- a/incident_io/models/policies_show_result_v2.py +++ b/incident_io/models/policies_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PoliciesShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PoliciesShowResultV2: """ Example: diff --git a/incident_io/models/policies_update_payload_v2.py b/incident_io/models/policies_update_payload_v2.py index 57d5c5d..1524c30 100644 --- a/incident_io/models/policies_update_payload_v2.py +++ b/incident_io/models/policies_update_payload_v2.py @@ -28,7 +28,7 @@ T = TypeVar("T", bound="PoliciesUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PoliciesUpdatePayloadV2: """ Example: diff --git a/incident_io/models/policies_update_result_v2.py b/incident_io/models/policies_update_result_v2.py index 4c49ef5..a4d1c0b 100644 --- a/incident_io/models/policies_update_result_v2.py +++ b/incident_io/models/policies_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PoliciesUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PoliciesUpdateResultV2: """ Example: diff --git a/incident_io/models/policy_assignment_rules_payload_v2.py b/incident_io/models/policy_assignment_rules_payload_v2.py index 479721e..0f530ff 100644 --- a/incident_io/models/policy_assignment_rules_payload_v2.py +++ b/incident_io/models/policy_assignment_rules_payload_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="PolicyAssignmentRulesPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyAssignmentRulesPayloadV2: """ Example: diff --git a/incident_io/models/policy_assignment_rules_v2.py b/incident_io/models/policy_assignment_rules_v2.py index 796de90..3665a36 100644 --- a/incident_io/models/policy_assignment_rules_v2.py +++ b/incident_io/models/policy_assignment_rules_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="PolicyAssignmentRulesV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyAssignmentRulesV2: """ Example: diff --git a/incident_io/models/policy_debrief_payload_v2.py b/incident_io/models/policy_debrief_payload_v2.py index 7b9b15c..ac4e8a6 100644 --- a/incident_io/models/policy_debrief_payload_v2.py +++ b/incident_io/models/policy_debrief_payload_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="PolicyDebriefPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyDebriefPayloadV2: """Set when policy_type is debrief. diff --git a/incident_io/models/policy_debrief_v2.py b/incident_io/models/policy_debrief_v2.py index 5455fa4..a4a629f 100644 --- a/incident_io/models/policy_debrief_v2.py +++ b/incident_io/models/policy_debrief_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="PolicyDebriefV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyDebriefV2: """Set when policy_type is debrief. diff --git a/incident_io/models/policy_due_date_config_payload_v2.py b/incident_io/models/policy_due_date_config_payload_v2.py index e8c6bfa..480e2d5 100644 --- a/incident_io/models/policy_due_date_config_payload_v2.py +++ b/incident_io/models/policy_due_date_config_payload_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="PolicyDueDateConfigPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyDueDateConfigPayloadV2: """ Example: diff --git a/incident_io/models/policy_due_date_config_v2.py b/incident_io/models/policy_due_date_config_v2.py index 525b1f2..0e6c285 100644 --- a/incident_io/models/policy_due_date_config_v2.py +++ b/incident_io/models/policy_due_date_config_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="PolicyDueDateConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyDueDateConfigV2: """ Example: diff --git a/incident_io/models/policy_finding_debrief_v2.py b/incident_io/models/policy_finding_debrief_v2.py index 2d76c29..13cdf61 100644 --- a/incident_io/models/policy_finding_debrief_v2.py +++ b/incident_io/models/policy_finding_debrief_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="PolicyFindingDebriefV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingDebriefV2: """Set when policy_type is debrief. diff --git a/incident_io/models/policy_finding_dismissal_v2.py b/incident_io/models/policy_finding_dismissal_v2.py index e4766b2..38f7fe1 100644 --- a/incident_io/models/policy_finding_dismissal_v2.py +++ b/incident_io/models/policy_finding_dismissal_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PolicyFindingDismissalV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingDismissalV2: """ Example: diff --git a/incident_io/models/policy_finding_follow_up_v2.py b/incident_io/models/policy_finding_follow_up_v2.py index 962af69..18a70c5 100644 --- a/incident_io/models/policy_finding_follow_up_v2.py +++ b/incident_io/models/policy_finding_follow_up_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="PolicyFindingFollowUpV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingFollowUpV2: """Set when policy_type is follow_up. diff --git a/incident_io/models/policy_finding_on_call_readiness_v2.py b/incident_io/models/policy_finding_on_call_readiness_v2.py index c17033e..91d1df8 100644 --- a/incident_io/models/policy_finding_on_call_readiness_v2.py +++ b/incident_io/models/policy_finding_on_call_readiness_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PolicyFindingOnCallReadinessV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingOnCallReadinessV2: """Set when policy_type is on_call_readiness. The user is always the one the finding is about. diff --git a/incident_io/models/policy_finding_post_mortem_v2.py b/incident_io/models/policy_finding_post_mortem_v2.py index 59b72a8..6acce6b 100644 --- a/incident_io/models/policy_finding_post_mortem_v2.py +++ b/incident_io/models/policy_finding_post_mortem_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="PolicyFindingPostMortemV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingPostMortemV2: """Set when policy_type is post_mortem. diff --git a/incident_io/models/policy_finding_readiness_rule_v2.py b/incident_io/models/policy_finding_readiness_rule_v2.py index f6c5a3a..d65b75f 100644 --- a/incident_io/models/policy_finding_readiness_rule_v2.py +++ b/incident_io/models/policy_finding_readiness_rule_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PolicyFindingReadinessRuleV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingReadinessRuleV2: """ Example: diff --git a/incident_io/models/policy_finding_schedule_impacted_user_v2.py b/incident_io/models/policy_finding_schedule_impacted_user_v2.py index 692c07a..c8028f3 100644 --- a/incident_io/models/policy_finding_schedule_impacted_user_v2.py +++ b/incident_io/models/policy_finding_schedule_impacted_user_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PolicyFindingScheduleImpactedUserV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingScheduleImpactedUserV2: """ Example: diff --git a/incident_io/models/policy_finding_schedule_v2.py b/incident_io/models/policy_finding_schedule_v2.py index e997243..10d7b1b 100644 --- a/incident_io/models/policy_finding_schedule_v2.py +++ b/incident_io/models/policy_finding_schedule_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="PolicyFindingScheduleV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingScheduleV2: """Set when policy_type is schedule. Describes a gap in on-call cover. diff --git a/incident_io/models/policy_finding_v2.py b/incident_io/models/policy_finding_v2.py index 39b251a..c5d69d8 100644 --- a/incident_io/models/policy_finding_v2.py +++ b/incident_io/models/policy_finding_v2.py @@ -29,7 +29,7 @@ T = TypeVar("T", bound="PolicyFindingV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingV2: """ Example: diff --git a/incident_io/models/policy_finding_vacation_conflict_v2.py b/incident_io/models/policy_finding_vacation_conflict_v2.py index 10a876e..e5cc697 100644 --- a/incident_io/models/policy_finding_vacation_conflict_v2.py +++ b/incident_io/models/policy_finding_vacation_conflict_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="PolicyFindingVacationConflictV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingVacationConflictV2: """Set when policy_type is vacation_conflict. Someone is on call while on holiday. diff --git a/incident_io/models/policy_findings_dismiss_payload_v2.py b/incident_io/models/policy_findings_dismiss_payload_v2.py index a5c1db5..6ec4651 100644 --- a/incident_io/models/policy_findings_dismiss_payload_v2.py +++ b/incident_io/models/policy_findings_dismiss_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="PolicyFindingsDismissPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingsDismissPayloadV2: """ Example: diff --git a/incident_io/models/policy_findings_dismiss_result_v2.py b/incident_io/models/policy_findings_dismiss_result_v2.py index e59a92a..277705d 100644 --- a/incident_io/models/policy_findings_dismiss_result_v2.py +++ b/incident_io/models/policy_findings_dismiss_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PolicyFindingsDismissResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingsDismissResultV2: """ Example: diff --git a/incident_io/models/policy_findings_list_result_v2.py b/incident_io/models/policy_findings_list_result_v2.py index f48ce2c..e68272d 100644 --- a/incident_io/models/policy_findings_list_result_v2.py +++ b/incident_io/models/policy_findings_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PolicyFindingsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingsListResultV2: """ Example: diff --git a/incident_io/models/policy_findings_restore_result_v2.py b/incident_io/models/policy_findings_restore_result_v2.py index ecdeee7..a3ae22c 100644 --- a/incident_io/models/policy_findings_restore_result_v2.py +++ b/incident_io/models/policy_findings_restore_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PolicyFindingsRestoreResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingsRestoreResultV2: """ Example: diff --git a/incident_io/models/policy_findings_show_result_v2.py b/incident_io/models/policy_findings_show_result_v2.py index 6080c09..9d8edcf 100644 --- a/incident_io/models/policy_findings_show_result_v2.py +++ b/incident_io/models/policy_findings_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PolicyFindingsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFindingsShowResultV2: """ Example: diff --git a/incident_io/models/policy_follow_up_payload_v2.py b/incident_io/models/policy_follow_up_payload_v2.py index e5db222..10852a1 100644 --- a/incident_io/models/policy_follow_up_payload_v2.py +++ b/incident_io/models/policy_follow_up_payload_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="PolicyFollowUpPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFollowUpPayloadV2: """Set when policy_type is follow_up. diff --git a/incident_io/models/policy_follow_up_v2.py b/incident_io/models/policy_follow_up_v2.py index 9b6dd9e..663478a 100644 --- a/incident_io/models/policy_follow_up_v2.py +++ b/incident_io/models/policy_follow_up_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="PolicyFollowUpV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyFollowUpV2: """Set when policy_type is follow_up. diff --git a/incident_io/models/policy_on_call_readiness_v2.py b/incident_io/models/policy_on_call_readiness_v2.py index 997c8db..565bdab 100644 --- a/incident_io/models/policy_on_call_readiness_v2.py +++ b/incident_io/models/policy_on_call_readiness_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="PolicyOnCallReadinessV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyOnCallReadinessV2: """Set when policy_type is on_call_readiness. The assignee is always the user the finding is about and cannot be configured. diff --git a/incident_io/models/policy_post_mortem_payload_v2.py b/incident_io/models/policy_post_mortem_payload_v2.py index bbe1902..0d60f66 100644 --- a/incident_io/models/policy_post_mortem_payload_v2.py +++ b/incident_io/models/policy_post_mortem_payload_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="PolicyPostMortemPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyPostMortemPayloadV2: """Set when policy_type is post_mortem. diff --git a/incident_io/models/policy_post_mortem_v2.py b/incident_io/models/policy_post_mortem_v2.py index 1e30063..acede6e 100644 --- a/incident_io/models/policy_post_mortem_v2.py +++ b/incident_io/models/policy_post_mortem_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="PolicyPostMortemV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyPostMortemV2: """Set when policy_type is post_mortem. diff --git a/incident_io/models/policy_readiness_rule_v2.py b/incident_io/models/policy_readiness_rule_v2.py index 452f04c..9c29b22 100644 --- a/incident_io/models/policy_readiness_rule_v2.py +++ b/incident_io/models/policy_readiness_rule_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PolicyReadinessRuleV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyReadinessRuleV2: """ Example: diff --git a/incident_io/models/policy_reminder_cadence_v2.py b/incident_io/models/policy_reminder_cadence_v2.py index b862428..a870549 100644 --- a/incident_io/models/policy_reminder_cadence_v2.py +++ b/incident_io/models/policy_reminder_cadence_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="PolicyReminderCadenceV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyReminderCadenceV2: """A recurring reminder, which repeats once per interval until the finding is resolved. diff --git a/incident_io/models/policy_schedule_v2.py b/incident_io/models/policy_schedule_v2.py index e19a6c0..b0bf809 100644 --- a/incident_io/models/policy_schedule_v2.py +++ b/incident_io/models/policy_schedule_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PolicyScheduleV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyScheduleV2: """Detects gaps in on-call coverage. Set when policy_type is schedule. diff --git a/incident_io/models/policy_v2.py b/incident_io/models/policy_v2.py index 349ec89..3cd70cb 100644 --- a/incident_io/models/policy_v2.py +++ b/incident_io/models/policy_v2.py @@ -25,7 +25,7 @@ T = TypeVar("T", bound="PolicyV2") -@_attrs_define +@_attrs_define(kw_only=True) class PolicyV2: """ Example: diff --git a/incident_io/models/postmortem_document_v1.py b/incident_io/models/postmortem_document_v1.py index 27c5376..d52293f 100644 --- a/incident_io/models/postmortem_document_v1.py +++ b/incident_io/models/postmortem_document_v1.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="PostmortemDocumentV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentV1: """ Example: diff --git a/incident_io/models/postmortem_document_with_status_change_v1.py b/incident_io/models/postmortem_document_with_status_change_v1.py index 0ed16a3..f9b94f2 100644 --- a/incident_io/models/postmortem_document_with_status_change_v1.py +++ b/incident_io/models/postmortem_document_with_status_change_v1.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="PostmortemDocumentWithStatusChangeV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentWithStatusChangeV1: """ Example: diff --git a/incident_io/models/postmortem_documents_attach_payload_v1.py b/incident_io/models/postmortem_documents_attach_payload_v1.py index ae5ebb8..08ad9d3 100644 --- a/incident_io/models/postmortem_documents_attach_payload_v1.py +++ b/incident_io/models/postmortem_documents_attach_payload_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PostmortemDocumentsAttachPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentsAttachPayloadV1: """ Example: diff --git a/incident_io/models/postmortem_documents_attach_result_v1.py b/incident_io/models/postmortem_documents_attach_result_v1.py index 863dabe..1775cd6 100644 --- a/incident_io/models/postmortem_documents_attach_result_v1.py +++ b/incident_io/models/postmortem_documents_attach_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PostmortemDocumentsAttachResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentsAttachResultV1: """ Example: diff --git a/incident_io/models/postmortem_documents_list_result_v1.py b/incident_io/models/postmortem_documents_list_result_v1.py index 865bf05..ed056d3 100644 --- a/incident_io/models/postmortem_documents_list_result_v1.py +++ b/incident_io/models/postmortem_documents_list_result_v1.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="PostmortemDocumentsListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentsListResultV1: """ Example: diff --git a/incident_io/models/postmortem_documents_show_content_result_v1.py b/incident_io/models/postmortem_documents_show_content_result_v1.py index 4a3c7b5..5dc742d 100644 --- a/incident_io/models/postmortem_documents_show_content_result_v1.py +++ b/incident_io/models/postmortem_documents_show_content_result_v1.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="PostmortemDocumentsShowContentResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentsShowContentResultV1: """ Example: diff --git a/incident_io/models/postmortem_documents_show_result_v1.py b/incident_io/models/postmortem_documents_show_result_v1.py index f7c0d56..11e45d0 100644 --- a/incident_io/models/postmortem_documents_show_result_v1.py +++ b/incident_io/models/postmortem_documents_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PostmortemDocumentsShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentsShowResultV1: """ Example: diff --git a/incident_io/models/postmortem_documents_update_status_payload_v1.py b/incident_io/models/postmortem_documents_update_status_payload_v1.py index 4b077e0..5a89f9a 100644 --- a/incident_io/models/postmortem_documents_update_status_payload_v1.py +++ b/incident_io/models/postmortem_documents_update_status_payload_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PostmortemDocumentsUpdateStatusPayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentsUpdateStatusPayloadV1: """ Example: diff --git a/incident_io/models/postmortem_documents_update_status_result_v1.py b/incident_io/models/postmortem_documents_update_status_result_v1.py index 85ce3b3..6b6129c 100644 --- a/incident_io/models/postmortem_documents_update_status_result_v1.py +++ b/incident_io/models/postmortem_documents_update_status_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="PostmortemDocumentsUpdateStatusResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class PostmortemDocumentsUpdateStatusResultV1: """ Example: diff --git a/incident_io/models/rbac_role_v2.py b/incident_io/models/rbac_role_v2.py index c4f4fd8..5252ceb 100644 --- a/incident_io/models/rbac_role_v2.py +++ b/incident_io/models/rbac_role_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="RBACRoleV2") -@_attrs_define +@_attrs_define(kw_only=True) class RBACRoleV2: """ Example: diff --git a/incident_io/models/retrospective_incident_options_v2.py b/incident_io/models/retrospective_incident_options_v2.py index 56af0de..e5e37b8 100644 --- a/incident_io/models/retrospective_incident_options_v2.py +++ b/incident_io/models/retrospective_incident_options_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="RetrospectiveIncidentOptionsV2") -@_attrs_define +@_attrs_define(kw_only=True) class RetrospectiveIncidentOptionsV2: """ Example: diff --git a/incident_io/models/returns_meta_v2.py b/incident_io/models/returns_meta_v2.py index 753a131..1f52a63 100644 --- a/incident_io/models/returns_meta_v2.py +++ b/incident_io/models/returns_meta_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ReturnsMetaV2") -@_attrs_define +@_attrs_define(kw_only=True) class ReturnsMetaV2: """ Example: diff --git a/incident_io/models/returns_meta_v3.py b/incident_io/models/returns_meta_v3.py index 9fb8c22..9a20deb 100644 --- a/incident_io/models/returns_meta_v3.py +++ b/incident_io/models/returns_meta_v3.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ReturnsMetaV3") -@_attrs_define +@_attrs_define(kw_only=True) class ReturnsMetaV3: """ Example: diff --git a/incident_io/models/schedule_config_create_payload_v2.py b/incident_io/models/schedule_config_create_payload_v2.py index a2baf4c..a290c24 100644 --- a/incident_io/models/schedule_config_create_payload_v2.py +++ b/incident_io/models/schedule_config_create_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ScheduleConfigCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleConfigCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_config_update_payload_v2.py b/incident_io/models/schedule_config_update_payload_v2.py index ed3c465..c12dde6 100644 --- a/incident_io/models/schedule_config_update_payload_v2.py +++ b/incident_io/models/schedule_config_update_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ScheduleConfigUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleConfigUpdatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_config_v2.py b/incident_io/models/schedule_config_v2.py index 884d2ff..994fc41 100644 --- a/incident_io/models/schedule_config_v2.py +++ b/incident_io/models/schedule_config_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ScheduleConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleConfigV2: """ Example: diff --git a/incident_io/models/schedule_create_payload_v2.py b/incident_io/models/schedule_create_payload_v2.py index f772484..a410ae9 100644 --- a/incident_io/models/schedule_create_payload_v2.py +++ b/incident_io/models/schedule_create_payload_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="ScheduleCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_create_payload_v2_annotations.py b/incident_io/models/schedule_create_payload_v2_annotations.py index 4c963b0..e499a65 100644 --- a/incident_io/models/schedule_create_payload_v2_annotations.py +++ b/incident_io/models/schedule_create_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleCreatePayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleCreatePayloadV2Annotations: """Annotations that can track metadata about the schedule diff --git a/incident_io/models/schedule_entries_list_payload_v2.py b/incident_io/models/schedule_entries_list_payload_v2.py index a1bada7..b1d2b76 100644 --- a/incident_io/models/schedule_entries_list_payload_v2.py +++ b/incident_io/models/schedule_entries_list_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ScheduleEntriesListPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleEntriesListPayloadV2: """The schedule entries for a window of time, grouped by where they come from. diff --git a/incident_io/models/schedule_entry_v2.py b/incident_io/models/schedule_entry_v2.py index ec05634..10058bc 100644 --- a/incident_io/models/schedule_entry_v2.py +++ b/incident_io/models/schedule_entry_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ScheduleEntryV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleEntryV2: """A single shift on a schedule, representing who is on-call between a start and end time. When present, `rotation_id` and `layer_id` tell you which diff --git a/incident_io/models/schedule_holidays_public_config_payload_v2.py b/incident_io/models/schedule_holidays_public_config_payload_v2.py index 53d0c50..8aa5b6e 100644 --- a/incident_io/models/schedule_holidays_public_config_payload_v2.py +++ b/incident_io/models/schedule_holidays_public_config_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleHolidaysPublicConfigPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleHolidaysPublicConfigPayloadV2: """ Example: diff --git a/incident_io/models/schedule_holidays_public_config_v2.py b/incident_io/models/schedule_holidays_public_config_v2.py index 5ee0022..7821d9b 100644 --- a/incident_io/models/schedule_holidays_public_config_v2.py +++ b/incident_io/models/schedule_holidays_public_config_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleHolidaysPublicConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleHolidaysPublicConfigV2: """ Example: diff --git a/incident_io/models/schedule_layer_create_payload_v2.py b/incident_io/models/schedule_layer_create_payload_v2.py index 7cafa80..519307b 100644 --- a/incident_io/models/schedule_layer_create_payload_v2.py +++ b/incident_io/models/schedule_layer_create_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="ScheduleLayerCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleLayerCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_layer_update_payload_v2.py b/incident_io/models/schedule_layer_update_payload_v2.py index 3afa891..433bd0b 100644 --- a/incident_io/models/schedule_layer_update_payload_v2.py +++ b/incident_io/models/schedule_layer_update_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="ScheduleLayerUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleLayerUpdatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_layer_v2.py b/incident_io/models/schedule_layer_v2.py index ca14cea..eab45e1 100644 --- a/incident_io/models/schedule_layer_v2.py +++ b/incident_io/models/schedule_layer_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="ScheduleLayerV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleLayerV2: """ Example: diff --git a/incident_io/models/schedule_override_v2.py b/incident_io/models/schedule_override_v2.py index d87cff6..2130091 100644 --- a/incident_io/models/schedule_override_v2.py +++ b/incident_io/models/schedule_override_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ScheduleOverrideV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleOverrideV2: """ Example: diff --git a/incident_io/models/schedule_replica_create_payload_v2.py b/incident_io/models/schedule_replica_create_payload_v2.py index f915b93..6f55477 100644 --- a/incident_io/models/schedule_replica_create_payload_v2.py +++ b/incident_io/models/schedule_replica_create_payload_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="ScheduleReplicaCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleReplicaCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_replica_source_v2.py b/incident_io/models/schedule_replica_source_v2.py index 1bf7b70..66e2fee 100644 --- a/incident_io/models/schedule_replica_source_v2.py +++ b/incident_io/models/schedule_replica_source_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleReplicaSourceV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleReplicaSourceV2: """ Example: diff --git a/incident_io/models/schedule_replica_user_status_v2.py b/incident_io/models/schedule_replica_user_status_v2.py index 7e77bfd..457f866 100644 --- a/incident_io/models/schedule_replica_user_status_v2.py +++ b/incident_io/models/schedule_replica_user_status_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="ScheduleReplicaUserStatusV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleReplicaUserStatusV2: """ Example: diff --git a/incident_io/models/schedule_replica_v2.py b/incident_io/models/schedule_replica_v2.py index c8be2ba..198b05b 100644 --- a/incident_io/models/schedule_replica_v2.py +++ b/incident_io/models/schedule_replica_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="ScheduleReplicaV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleReplicaV2: """ Example: diff --git a/incident_io/models/schedule_rotation_create_payload_v2.py b/incident_io/models/schedule_rotation_create_payload_v2.py index fac085c..bf29510 100644 --- a/incident_io/models/schedule_rotation_create_payload_v2.py +++ b/incident_io/models/schedule_rotation_create_payload_v2.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="ScheduleRotationCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleRotationCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_rotation_handover_v2.py b/incident_io/models/schedule_rotation_handover_v2.py index c4779d0..484fe9b 100644 --- a/incident_io/models/schedule_rotation_handover_v2.py +++ b/incident_io/models/schedule_rotation_handover_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ScheduleRotationHandoverV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleRotationHandoverV2: """ Example: diff --git a/incident_io/models/schedule_rotation_update_payload_v2.py b/incident_io/models/schedule_rotation_update_payload_v2.py index a9ee835..cc4e58c 100644 --- a/incident_io/models/schedule_rotation_update_payload_v2.py +++ b/incident_io/models/schedule_rotation_update_payload_v2.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="ScheduleRotationUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleRotationUpdatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_rotation_v2.py b/incident_io/models/schedule_rotation_v2.py index 9c5a708..ce2f284 100644 --- a/incident_io/models/schedule_rotation_v2.py +++ b/incident_io/models/schedule_rotation_v2.py @@ -24,7 +24,7 @@ T = TypeVar("T", bound="ScheduleRotationV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleRotationV2: """ Example: diff --git a/incident_io/models/schedule_rotation_working_interval_create_payload_v2.py b/incident_io/models/schedule_rotation_working_interval_create_payload_v2.py index aa5f9bb..c38910d 100644 --- a/incident_io/models/schedule_rotation_working_interval_create_payload_v2.py +++ b/incident_io/models/schedule_rotation_working_interval_create_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ScheduleRotationWorkingIntervalCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleRotationWorkingIntervalCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_rotation_working_interval_v2.py b/incident_io/models/schedule_rotation_working_interval_v2.py index d53caee..cbd6b18 100644 --- a/incident_io/models/schedule_rotation_working_interval_v2.py +++ b/incident_io/models/schedule_rotation_working_interval_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ScheduleRotationWorkingIntervalV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleRotationWorkingIntervalV2: """ Example: diff --git a/incident_io/models/schedule_shift_change_v2.py b/incident_io/models/schedule_shift_change_v2.py index 353874f..61ce700 100644 --- a/incident_io/models/schedule_shift_change_v2.py +++ b/incident_io/models/schedule_shift_change_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ScheduleShiftChangeV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleShiftChangeV2: """ Example: diff --git a/incident_io/models/schedule_slim_v2.py b/incident_io/models/schedule_slim_v2.py index c86cb46..768f0c6 100644 --- a/incident_io/models/schedule_slim_v2.py +++ b/incident_io/models/schedule_slim_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="ScheduleSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSlimV2: """ Example: diff --git a/incident_io/models/schedule_sync_rule_create_payload_v2.py b/incident_io/models/schedule_sync_rule_create_payload_v2.py index 255fa30..bf04ad8 100644 --- a/incident_io/models/schedule_sync_rule_create_payload_v2.py +++ b/incident_io/models/schedule_sync_rule_create_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="ScheduleSyncRuleCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncRuleCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_sync_rule_create_payload_v2_annotations.py b/incident_io/models/schedule_sync_rule_create_payload_v2_annotations.py index 296e275..d0a2092 100644 --- a/incident_io/models/schedule_sync_rule_create_payload_v2_annotations.py +++ b/incident_io/models/schedule_sync_rule_create_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleSyncRuleCreatePayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncRuleCreatePayloadV2Annotations: """Annotations that track metadata about this resource diff --git a/incident_io/models/schedule_sync_rule_v2.py b/incident_io/models/schedule_sync_rule_v2.py index e608fc1..0b73722 100644 --- a/incident_io/models/schedule_sync_rule_v2.py +++ b/incident_io/models/schedule_sync_rule_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ScheduleSyncRuleV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncRuleV2: """A sync rule links a schedule to a sync target, telling us which of the schedule's members should flow into the target's Slack user group. diff --git a/incident_io/models/schedule_sync_target_create_payload_v2.py b/incident_io/models/schedule_sync_target_create_payload_v2.py index 93a82be..dac2c1c 100644 --- a/incident_io/models/schedule_sync_target_create_payload_v2.py +++ b/incident_io/models/schedule_sync_target_create_payload_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_sync_target_create_payload_v2_annotations.py b/incident_io/models/schedule_sync_target_create_payload_v2_annotations.py index 7a6a15f..979e3d6 100644 --- a/incident_io/models/schedule_sync_target_create_payload_v2_annotations.py +++ b/incident_io/models/schedule_sync_target_create_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetCreatePayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetCreatePayloadV2Annotations: """Annotations that track metadata about this resource diff --git a/incident_io/models/schedule_sync_target_resource_v2.py b/incident_io/models/schedule_sync_target_resource_v2.py index 531fa93..c015352 100644 --- a/incident_io/models/schedule_sync_target_resource_v2.py +++ b/incident_io/models/schedule_sync_target_resource_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetResourceV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetResourceV2: """A sync target is the link between incident.io and a single Slack user group, used to keep that group's membership in step with who is currently on call. diff --git a/incident_io/models/schedule_sync_targets_create_payload_v2.py b/incident_io/models/schedule_sync_targets_create_payload_v2.py index 34dde47..a69d67c 100644 --- a/incident_io/models/schedule_sync_targets_create_payload_v2.py +++ b/incident_io/models/schedule_sync_targets_create_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetsCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_sync_targets_create_result_v2.py b/incident_io/models/schedule_sync_targets_create_result_v2.py index 136fafa..c11b179 100644 --- a/incident_io/models/schedule_sync_targets_create_result_v2.py +++ b/incident_io/models/schedule_sync_targets_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetsCreateResultV2: """ Example: diff --git a/incident_io/models/schedule_sync_targets_list_result_v2.py b/incident_io/models/schedule_sync_targets_list_result_v2.py index 6c9699c..8dfb433 100644 --- a/incident_io/models/schedule_sync_targets_list_result_v2.py +++ b/incident_io/models/schedule_sync_targets_list_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetsListResultV2: """ Example: diff --git a/incident_io/models/schedule_sync_targets_show_result_v2.py b/incident_io/models/schedule_sync_targets_show_result_v2.py index 2d42794..4bc46fa 100644 --- a/incident_io/models/schedule_sync_targets_show_result_v2.py +++ b/incident_io/models/schedule_sync_targets_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetsShowResultV2: """ Example: diff --git a/incident_io/models/schedule_sync_targets_update_payload_v2.py b/incident_io/models/schedule_sync_targets_update_payload_v2.py index f1a5ba4..01b5427 100644 --- a/incident_io/models/schedule_sync_targets_update_payload_v2.py +++ b/incident_io/models/schedule_sync_targets_update_payload_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetsUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetsUpdatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_sync_targets_update_payload_v2_annotations.py b/incident_io/models/schedule_sync_targets_update_payload_v2_annotations.py index f3c2065..2d88a6f 100644 --- a/incident_io/models/schedule_sync_targets_update_payload_v2_annotations.py +++ b/incident_io/models/schedule_sync_targets_update_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetsUpdatePayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetsUpdatePayloadV2Annotations: """Annotations that track metadata about this resource diff --git a/incident_io/models/schedule_sync_targets_update_result_v2.py b/incident_io/models/schedule_sync_targets_update_result_v2.py index 045e9a2..0340091 100644 --- a/incident_io/models/schedule_sync_targets_update_result_v2.py +++ b/incident_io/models/schedule_sync_targets_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="ScheduleSyncTargetsUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleSyncTargetsUpdateResultV2: """ Example: diff --git a/incident_io/models/schedule_update_payload_v2.py b/incident_io/models/schedule_update_payload_v2.py index f91bfb3..38e618f 100644 --- a/incident_io/models/schedule_update_payload_v2.py +++ b/incident_io/models/schedule_update_payload_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="ScheduleUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleUpdatePayloadV2: """ Example: diff --git a/incident_io/models/schedule_update_payload_v2_annotations.py b/incident_io/models/schedule_update_payload_v2_annotations.py index d40f0ec..7d23101 100644 --- a/incident_io/models/schedule_update_payload_v2_annotations.py +++ b/incident_io/models/schedule_update_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleUpdatePayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleUpdatePayloadV2Annotations: """Annotations that can track metadata about the schedule diff --git a/incident_io/models/schedule_v2.py b/incident_io/models/schedule_v2.py index 5d173aa..03a248d 100644 --- a/incident_io/models/schedule_v2.py +++ b/incident_io/models/schedule_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="ScheduleV2") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleV2: """ Example: diff --git a/incident_io/models/schedule_v2_annotations.py b/incident_io/models/schedule_v2_annotations.py index 6806941..1c41325 100644 --- a/incident_io/models/schedule_v2_annotations.py +++ b/incident_io/models/schedule_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="ScheduleV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class ScheduleV2Annotations: """Annotations that track metadata about this resource diff --git a/incident_io/models/schedules_create_override_payload_v2.py b/incident_io/models/schedules_create_override_payload_v2.py index 532b1e6..35d8a53 100644 --- a/incident_io/models/schedules_create_override_payload_v2.py +++ b/incident_io/models/schedules_create_override_payload_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="SchedulesCreateOverridePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesCreateOverridePayloadV2: """ Example: diff --git a/incident_io/models/schedules_create_override_result_v2.py b/incident_io/models/schedules_create_override_result_v2.py index d313512..3e05b0f 100644 --- a/incident_io/models/schedules_create_override_result_v2.py +++ b/incident_io/models/schedules_create_override_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesCreateOverrideResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesCreateOverrideResultV2: """ Example: diff --git a/incident_io/models/schedules_create_payload_v2.py b/incident_io/models/schedules_create_payload_v2.py index 66292cc..50bb8c9 100644 --- a/incident_io/models/schedules_create_payload_v2.py +++ b/incident_io/models/schedules_create_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesCreatePayloadV2: """ Example: diff --git a/incident_io/models/schedules_create_result_v2.py b/incident_io/models/schedules_create_result_v2.py index 7f36924..969afeb 100644 --- a/incident_io/models/schedules_create_result_v2.py +++ b/incident_io/models/schedules_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesCreateResultV2: """ Example: diff --git a/incident_io/models/schedules_create_schedule_replica_payload_v2.py b/incident_io/models/schedules_create_schedule_replica_payload_v2.py index 53fc6d8..4ff184e 100644 --- a/incident_io/models/schedules_create_schedule_replica_payload_v2.py +++ b/incident_io/models/schedules_create_schedule_replica_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="SchedulesCreateScheduleReplicaPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesCreateScheduleReplicaPayloadV2: """ Example: diff --git a/incident_io/models/schedules_create_schedule_replica_result_v2.py b/incident_io/models/schedules_create_schedule_replica_result_v2.py index 4068670..a1c583a 100644 --- a/incident_io/models/schedules_create_schedule_replica_result_v2.py +++ b/incident_io/models/schedules_create_schedule_replica_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesCreateScheduleReplicaResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesCreateScheduleReplicaResultV2: """ Example: diff --git a/incident_io/models/schedules_create_schedule_sync_rule_payload_v2.py b/incident_io/models/schedules_create_schedule_sync_rule_payload_v2.py index 0ea1fab..3b02e99 100644 --- a/incident_io/models/schedules_create_schedule_sync_rule_payload_v2.py +++ b/incident_io/models/schedules_create_schedule_sync_rule_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="SchedulesCreateScheduleSyncRulePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesCreateScheduleSyncRulePayloadV2: """ Example: diff --git a/incident_io/models/schedules_create_schedule_sync_rule_result_v2.py b/incident_io/models/schedules_create_schedule_sync_rule_result_v2.py index 6993a04..52fc72c 100644 --- a/incident_io/models/schedules_create_schedule_sync_rule_result_v2.py +++ b/incident_io/models/schedules_create_schedule_sync_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesCreateScheduleSyncRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesCreateScheduleSyncRuleResultV2: """ Example: diff --git a/incident_io/models/schedules_list_overrides_result_v2.py b/incident_io/models/schedules_list_overrides_result_v2.py index 86ed59c..89de13f 100644 --- a/incident_io/models/schedules_list_overrides_result_v2.py +++ b/incident_io/models/schedules_list_overrides_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="SchedulesListOverridesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesListOverridesResultV2: """ Example: diff --git a/incident_io/models/schedules_list_result_v2.py b/incident_io/models/schedules_list_result_v2.py index 58f41c9..1b55d8c 100644 --- a/incident_io/models/schedules_list_result_v2.py +++ b/incident_io/models/schedules_list_result_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="SchedulesListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesListResultV2: """ Example: diff --git a/incident_io/models/schedules_list_schedule_entries_result_v2.py b/incident_io/models/schedules_list_schedule_entries_result_v2.py index d8d6b98..69d4014 100644 --- a/incident_io/models/schedules_list_schedule_entries_result_v2.py +++ b/incident_io/models/schedules_list_schedule_entries_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="SchedulesListScheduleEntriesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesListScheduleEntriesResultV2: """ Example: diff --git a/incident_io/models/schedules_list_schedule_replicas_result_v2.py b/incident_io/models/schedules_list_schedule_replicas_result_v2.py index 08bae82..096094f 100644 --- a/incident_io/models/schedules_list_schedule_replicas_result_v2.py +++ b/incident_io/models/schedules_list_schedule_replicas_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesListScheduleReplicasResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesListScheduleReplicasResultV2: """ Example: diff --git a/incident_io/models/schedules_list_schedule_sync_rules_result_v2.py b/incident_io/models/schedules_list_schedule_sync_rules_result_v2.py index 2cb911e..b57cdf9 100644 --- a/incident_io/models/schedules_list_schedule_sync_rules_result_v2.py +++ b/incident_io/models/schedules_list_schedule_sync_rules_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="SchedulesListScheduleSyncRulesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesListScheduleSyncRulesResultV2: """ Example: diff --git a/incident_io/models/schedules_preview_schedule_entries_payload_v2.py b/incident_io/models/schedules_preview_schedule_entries_payload_v2.py index ae92739..05692b2 100644 --- a/incident_io/models/schedules_preview_schedule_entries_payload_v2.py +++ b/incident_io/models/schedules_preview_schedule_entries_payload_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="SchedulesPreviewScheduleEntriesPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesPreviewScheduleEntriesPayloadV2: """ Example: diff --git a/incident_io/models/schedules_preview_schedule_entries_result_v2.py b/incident_io/models/schedules_preview_schedule_entries_result_v2.py index 9609cdf..3028cba 100644 --- a/incident_io/models/schedules_preview_schedule_entries_result_v2.py +++ b/incident_io/models/schedules_preview_schedule_entries_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesPreviewScheduleEntriesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesPreviewScheduleEntriesResultV2: """ Example: diff --git a/incident_io/models/schedules_show_override_result_v2.py b/incident_io/models/schedules_show_override_result_v2.py index 44c3524..290f1eb 100644 --- a/incident_io/models/schedules_show_override_result_v2.py +++ b/incident_io/models/schedules_show_override_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesShowOverrideResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesShowOverrideResultV2: """ Example: diff --git a/incident_io/models/schedules_show_result_v2.py b/incident_io/models/schedules_show_result_v2.py index 98923eb..c5a2efa 100644 --- a/incident_io/models/schedules_show_result_v2.py +++ b/incident_io/models/schedules_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesShowResultV2: """ Example: diff --git a/incident_io/models/schedules_show_schedule_replica_result_v2.py b/incident_io/models/schedules_show_schedule_replica_result_v2.py index 1666cb0..d765da6 100644 --- a/incident_io/models/schedules_show_schedule_replica_result_v2.py +++ b/incident_io/models/schedules_show_schedule_replica_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesShowScheduleReplicaResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesShowScheduleReplicaResultV2: """ Example: diff --git a/incident_io/models/schedules_show_schedule_sync_rule_result_v2.py b/incident_io/models/schedules_show_schedule_sync_rule_result_v2.py index 1ab8955..08a4c94 100644 --- a/incident_io/models/schedules_show_schedule_sync_rule_result_v2.py +++ b/incident_io/models/schedules_show_schedule_sync_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesShowScheduleSyncRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesShowScheduleSyncRuleResultV2: """ Example: diff --git a/incident_io/models/schedules_update_override_payload_v2.py b/incident_io/models/schedules_update_override_payload_v2.py index 5421691..777f2b5 100644 --- a/incident_io/models/schedules_update_override_payload_v2.py +++ b/incident_io/models/schedules_update_override_payload_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="SchedulesUpdateOverridePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesUpdateOverridePayloadV2: """ Example: diff --git a/incident_io/models/schedules_update_override_result_v2.py b/incident_io/models/schedules_update_override_result_v2.py index 0feb593..addd454 100644 --- a/incident_io/models/schedules_update_override_result_v2.py +++ b/incident_io/models/schedules_update_override_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesUpdateOverrideResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesUpdateOverrideResultV2: """ Example: diff --git a/incident_io/models/schedules_update_payload_v2.py b/incident_io/models/schedules_update_payload_v2.py index 989ee5b..7a8d166 100644 --- a/incident_io/models/schedules_update_payload_v2.py +++ b/incident_io/models/schedules_update_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesUpdatePayloadV2: """ Example: diff --git a/incident_io/models/schedules_update_result_v2.py b/incident_io/models/schedules_update_result_v2.py index ed8bc12..15e4ef1 100644 --- a/incident_io/models/schedules_update_result_v2.py +++ b/incident_io/models/schedules_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesUpdateResultV2: """ Example: diff --git a/incident_io/models/schedules_update_schedule_sync_rule_payload_v2.py b/incident_io/models/schedules_update_schedule_sync_rule_payload_v2.py index a50c1f4..ff5ab57 100644 --- a/incident_io/models/schedules_update_schedule_sync_rule_payload_v2.py +++ b/incident_io/models/schedules_update_schedule_sync_rule_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="SchedulesUpdateScheduleSyncRulePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesUpdateScheduleSyncRulePayloadV2: """ Example: diff --git a/incident_io/models/schedules_update_schedule_sync_rule_payload_v2_annotations.py b/incident_io/models/schedules_update_schedule_sync_rule_payload_v2_annotations.py index 385697f..2150189 100644 --- a/incident_io/models/schedules_update_schedule_sync_rule_payload_v2_annotations.py +++ b/incident_io/models/schedules_update_schedule_sync_rule_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="SchedulesUpdateScheduleSyncRulePayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesUpdateScheduleSyncRulePayloadV2Annotations: """Annotations that track metadata about this resource diff --git a/incident_io/models/schedules_update_schedule_sync_rule_result_v2.py b/incident_io/models/schedules_update_schedule_sync_rule_result_v2.py index 7cda3ae..69498f5 100644 --- a/incident_io/models/schedules_update_schedule_sync_rule_result_v2.py +++ b/incident_io/models/schedules_update_schedule_sync_rule_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SchedulesUpdateScheduleSyncRuleResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SchedulesUpdateScheduleSyncRuleResultV2: """ Example: diff --git a/incident_io/models/secret_v2.py b/incident_io/models/secret_v2.py index 7568857..c60bc97 100644 --- a/incident_io/models/secret_v2.py +++ b/incident_io/models/secret_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="SecretV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretV2: """A secret is a named credential that workflows can reference, for example an auth token for an outgoing webhook. diff --git a/incident_io/models/secret_version_v2.py b/incident_io/models/secret_version_v2.py index a2545bd..33a588b 100644 --- a/incident_io/models/secret_version_v2.py +++ b/incident_io/models/secret_version_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="SecretVersionV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretVersionV2: """A single version of a secret's value. Only metadata is exposed; the value itself is never returned. diff --git a/incident_io/models/secrets_create_payload_v2.py b/incident_io/models/secrets_create_payload_v2.py index a1e4b3c..145f232 100644 --- a/incident_io/models/secrets_create_payload_v2.py +++ b/incident_io/models/secrets_create_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="SecretsCreatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretsCreatePayloadV2: """ Example: diff --git a/incident_io/models/secrets_create_result_v2.py b/incident_io/models/secrets_create_result_v2.py index ddf6525..5743e83 100644 --- a/incident_io/models/secrets_create_result_v2.py +++ b/incident_io/models/secrets_create_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SecretsCreateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretsCreateResultV2: """ Example: diff --git a/incident_io/models/secrets_list_result_v2.py b/incident_io/models/secrets_list_result_v2.py index 1d316ab..907d5b1 100644 --- a/incident_io/models/secrets_list_result_v2.py +++ b/incident_io/models/secrets_list_result_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="SecretsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretsListResultV2: """ Example: diff --git a/incident_io/models/secrets_rotate_payload_v2.py b/incident_io/models/secrets_rotate_payload_v2.py index 9f9311b..583c644 100644 --- a/incident_io/models/secrets_rotate_payload_v2.py +++ b/incident_io/models/secrets_rotate_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="SecretsRotatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretsRotatePayloadV2: """ Example: diff --git a/incident_io/models/secrets_rotate_result_v2.py b/incident_io/models/secrets_rotate_result_v2.py index ffa2f72..116b54f 100644 --- a/incident_io/models/secrets_rotate_result_v2.py +++ b/incident_io/models/secrets_rotate_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SecretsRotateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretsRotateResultV2: """ Example: diff --git a/incident_io/models/secrets_show_result_v2.py b/incident_io/models/secrets_show_result_v2.py index 29ea3d1..3f63a5e 100644 --- a/incident_io/models/secrets_show_result_v2.py +++ b/incident_io/models/secrets_show_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="SecretsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretsShowResultV2: """ Example: diff --git a/incident_io/models/secrets_update_payload_v2.py b/incident_io/models/secrets_update_payload_v2.py index bec4468..3d6a047 100644 --- a/incident_io/models/secrets_update_payload_v2.py +++ b/incident_io/models/secrets_update_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="SecretsUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretsUpdatePayloadV2: """ Example: diff --git a/incident_io/models/secrets_update_result_v2.py b/incident_io/models/secrets_update_result_v2.py index bf46df5..67f5d79 100644 --- a/incident_io/models/secrets_update_result_v2.py +++ b/incident_io/models/secrets_update_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SecretsUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class SecretsUpdateResultV2: """ Example: diff --git a/incident_io/models/severities_create_payload_v1.py b/incident_io/models/severities_create_payload_v1.py index 9a7778a..54ea50d 100644 --- a/incident_io/models/severities_create_payload_v1.py +++ b/incident_io/models/severities_create_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="SeveritiesCreatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class SeveritiesCreatePayloadV1: """ Example: diff --git a/incident_io/models/severities_create_result_v1.py b/incident_io/models/severities_create_result_v1.py index 371cc51..7f4a417 100644 --- a/incident_io/models/severities_create_result_v1.py +++ b/incident_io/models/severities_create_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SeveritiesCreateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class SeveritiesCreateResultV1: """ Example: diff --git a/incident_io/models/severities_list_result_v1.py b/incident_io/models/severities_list_result_v1.py index 989d265..56d48d4 100644 --- a/incident_io/models/severities_list_result_v1.py +++ b/incident_io/models/severities_list_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SeveritiesListResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class SeveritiesListResultV1: """ Example: diff --git a/incident_io/models/severities_show_result_v1.py b/incident_io/models/severities_show_result_v1.py index 0ba5f8a..eae7346 100644 --- a/incident_io/models/severities_show_result_v1.py +++ b/incident_io/models/severities_show_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SeveritiesShowResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class SeveritiesShowResultV1: """ Example: diff --git a/incident_io/models/severities_update_payload_v1.py b/incident_io/models/severities_update_payload_v1.py index 9c7a480..40065bf 100644 --- a/incident_io/models/severities_update_payload_v1.py +++ b/incident_io/models/severities_update_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="SeveritiesUpdatePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class SeveritiesUpdatePayloadV1: """ Example: diff --git a/incident_io/models/severities_update_result_v1.py b/incident_io/models/severities_update_result_v1.py index be6ccf5..b5de3ef 100644 --- a/incident_io/models/severities_update_result_v1.py +++ b/incident_io/models/severities_update_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="SeveritiesUpdateResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class SeveritiesUpdateResultV1: """ Example: diff --git a/incident_io/models/severity_v1.py b/incident_io/models/severity_v1.py index 41c7fde..6cdc8a3 100644 --- a/incident_io/models/severity_v1.py +++ b/incident_io/models/severity_v1.py @@ -10,7 +10,7 @@ T = TypeVar("T", bound="SeverityV1") -@_attrs_define +@_attrs_define(kw_only=True) class SeverityV1: """ Example: diff --git a/incident_io/models/severity_v2.py b/incident_io/models/severity_v2.py index fc56fc6..1afb5c0 100644 --- a/incident_io/models/severity_v2.py +++ b/incident_io/models/severity_v2.py @@ -10,7 +10,7 @@ T = TypeVar("T", bound="SeverityV2") -@_attrs_define +@_attrs_define(kw_only=True) class SeverityV2: """ Example: diff --git a/incident_io/models/status_page_incident_affected_component_v2.py b/incident_io/models/status_page_incident_affected_component_v2.py index 220b28d..1c33bb8 100644 --- a/incident_io/models/status_page_incident_affected_component_v2.py +++ b/incident_io/models/status_page_incident_affected_component_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="StatusPageIncidentAffectedComponentV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageIncidentAffectedComponentV2: """ Example: diff --git a/incident_io/models/status_page_incident_component_impact_v2.py b/incident_io/models/status_page_incident_component_impact_v2.py index d36bf30..3582def 100644 --- a/incident_io/models/status_page_incident_component_impact_v2.py +++ b/incident_io/models/status_page_incident_component_impact_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPageIncidentComponentImpactV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageIncidentComponentImpactV2: """ Example: diff --git a/incident_io/models/status_page_incident_update_v2.py b/incident_io/models/status_page_incident_update_v2.py index 61e3195..aa6450b 100644 --- a/incident_io/models/status_page_incident_update_v2.py +++ b/incident_io/models/status_page_incident_update_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="StatusPageIncidentUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageIncidentUpdateV2: """ Example: diff --git a/incident_io/models/status_page_incident_v2.py b/incident_io/models/status_page_incident_v2.py index 79a38e0..5396f7b 100644 --- a/incident_io/models/status_page_incident_v2.py +++ b/incident_io/models/status_page_incident_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="StatusPageIncidentV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageIncidentV2: """ Example: diff --git a/incident_io/models/status_page_incident_with_update_v2.py b/incident_io/models/status_page_incident_with_update_v2.py index 6e36a50..59b6c60 100644 --- a/incident_io/models/status_page_incident_with_update_v2.py +++ b/incident_io/models/status_page_incident_with_update_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="StatusPageIncidentWithUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageIncidentWithUpdateV2: """ Example: diff --git a/incident_io/models/status_page_linked_response_incident_v1.py b/incident_io/models/status_page_linked_response_incident_v1.py index 80f3540..366fb96 100644 --- a/incident_io/models/status_page_linked_response_incident_v1.py +++ b/incident_io/models/status_page_linked_response_incident_v1.py @@ -10,7 +10,7 @@ T = TypeVar("T", bound="StatusPageLinkedResponseIncidentV1") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageLinkedResponseIncidentV1: """ Example: diff --git a/incident_io/models/status_page_maintenance_affected_component_v2.py b/incident_io/models/status_page_maintenance_affected_component_v2.py index 5443301..6069f7d 100644 --- a/incident_io/models/status_page_maintenance_affected_component_v2.py +++ b/incident_io/models/status_page_maintenance_affected_component_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="StatusPageMaintenanceAffectedComponentV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageMaintenanceAffectedComponentV2: """ Example: diff --git a/incident_io/models/status_page_maintenance_component_maintenance_period_v2.py b/incident_io/models/status_page_maintenance_component_maintenance_period_v2.py index 6c41dba..48b452c 100644 --- a/incident_io/models/status_page_maintenance_component_maintenance_period_v2.py +++ b/incident_io/models/status_page_maintenance_component_maintenance_period_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="StatusPageMaintenanceComponentMaintenancePeriodV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageMaintenanceComponentMaintenancePeriodV2: """ Example: diff --git a/incident_io/models/status_page_maintenance_update_v2.py b/incident_io/models/status_page_maintenance_update_v2.py index 26911ee..4aa8613 100644 --- a/incident_io/models/status_page_maintenance_update_v2.py +++ b/incident_io/models/status_page_maintenance_update_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="StatusPageMaintenanceUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageMaintenanceUpdateV2: """ Example: diff --git a/incident_io/models/status_page_maintenance_v2.py b/incident_io/models/status_page_maintenance_v2.py index d25b997..b4d2605 100644 --- a/incident_io/models/status_page_maintenance_v2.py +++ b/incident_io/models/status_page_maintenance_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="StatusPageMaintenanceV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageMaintenanceV2: """ Example: diff --git a/incident_io/models/status_page_retrospective_incident_update_v2.py b/incident_io/models/status_page_retrospective_incident_update_v2.py index aa629cc..ddb4cbf 100644 --- a/incident_io/models/status_page_retrospective_incident_update_v2.py +++ b/incident_io/models/status_page_retrospective_incident_update_v2.py @@ -21,7 +21,7 @@ T = TypeVar("T", bound="StatusPageRetrospectiveIncidentUpdateV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageRetrospectiveIncidentUpdateV2: """A single update in the reconstructed timeline of a retrospective status page incident. diff --git a/incident_io/models/status_page_structure_component_v2.py b/incident_io/models/status_page_structure_component_v2.py index c94573f..90b912c 100644 --- a/incident_io/models/status_page_structure_component_v2.py +++ b/incident_io/models/status_page_structure_component_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="StatusPageStructureComponentV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageStructureComponentV2: """ Example: diff --git a/incident_io/models/status_page_structure_group_v2.py b/incident_io/models/status_page_structure_group_v2.py index b7a9c01..2c1689e 100644 --- a/incident_io/models/status_page_structure_group_v2.py +++ b/incident_io/models/status_page_structure_group_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPageStructureGroupV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageStructureGroupV2: """ Example: diff --git a/incident_io/models/status_page_structure_item_v2.py b/incident_io/models/status_page_structure_item_v2.py index 86664a9..3ca144f 100644 --- a/incident_io/models/status_page_structure_item_v2.py +++ b/incident_io/models/status_page_structure_item_v2.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="StatusPageStructureItemV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageStructureItemV2: """ Example: diff --git a/incident_io/models/status_page_structure_sub_page_item_v2.py b/incident_io/models/status_page_structure_sub_page_item_v2.py index 0b1dd79..ff265a2 100644 --- a/incident_io/models/status_page_structure_sub_page_item_v2.py +++ b/incident_io/models/status_page_structure_sub_page_item_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="StatusPageStructureSubPageItemV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageStructureSubPageItemV2: """ Example: diff --git a/incident_io/models/status_page_structure_sub_page_v2.py b/incident_io/models/status_page_structure_sub_page_v2.py index b6f288d..7be8055 100644 --- a/incident_io/models/status_page_structure_sub_page_v2.py +++ b/incident_io/models/status_page_structure_sub_page_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPageStructureSubPageV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageStructureSubPageV2: """ Example: diff --git a/incident_io/models/status_page_structure_v2.py b/incident_io/models/status_page_structure_v2.py index e660850..1e4d912 100644 --- a/incident_io/models/status_page_structure_v2.py +++ b/incident_io/models/status_page_structure_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="StatusPageStructureV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageStructureV2: """ Example: diff --git a/incident_io/models/status_page_v2.py b/incident_io/models/status_page_v2.py index a9c9863..c36ac54 100644 --- a/incident_io/models/status_page_v2.py +++ b/incident_io/models/status_page_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="StatusPageV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPageV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_incident_payload_v2.py b/incident_io/models/status_pages_create_status_page_incident_payload_v2.py index 8da21ab..83d4238 100644 --- a/incident_io/models/status_pages_create_status_page_incident_payload_v2.py +++ b/incident_io/models/status_pages_create_status_page_incident_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageIncidentPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageIncidentPayloadV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_incident_result_v2.py b/incident_io/models/status_pages_create_status_page_incident_result_v2.py index e446de5..64c3b2e 100644 --- a/incident_io/models/status_pages_create_status_page_incident_result_v2.py +++ b/incident_io/models/status_pages_create_status_page_incident_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageIncidentResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageIncidentResultV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_incident_update_payload_v2.py b/incident_io/models/status_pages_create_status_page_incident_update_payload_v2.py index a854b48..148a669 100644 --- a/incident_io/models/status_pages_create_status_page_incident_update_payload_v2.py +++ b/incident_io/models/status_pages_create_status_page_incident_update_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageIncidentUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageIncidentUpdatePayloadV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_incident_update_result_v2.py b/incident_io/models/status_pages_create_status_page_incident_update_result_v2.py index 5b5db6f..d868c98 100644 --- a/incident_io/models/status_pages_create_status_page_incident_update_result_v2.py +++ b/incident_io/models/status_pages_create_status_page_incident_update_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageIncidentUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageIncidentUpdateResultV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_maintenance_payload_v2.py b/incident_io/models/status_pages_create_status_page_maintenance_payload_v2.py index 0211160..54a8f81 100644 --- a/incident_io/models/status_pages_create_status_page_maintenance_payload_v2.py +++ b/incident_io/models/status_pages_create_status_page_maintenance_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageMaintenancePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageMaintenancePayloadV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_maintenance_result_v2.py b/incident_io/models/status_pages_create_status_page_maintenance_result_v2.py index 74eec68..51e9b86 100644 --- a/incident_io/models/status_pages_create_status_page_maintenance_result_v2.py +++ b/incident_io/models/status_pages_create_status_page_maintenance_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageMaintenanceResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageMaintenanceResultV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2.py b/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2.py index ec1efa7..d163b6d 100644 --- a/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2.py +++ b/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_maintenance_update_result_v2.py b/incident_io/models/status_pages_create_status_page_maintenance_update_result_v2.py index 12d6a39..6bce6ec 100644 --- a/incident_io/models/status_pages_create_status_page_maintenance_update_result_v2.py +++ b/incident_io/models/status_pages_create_status_page_maintenance_update_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageMaintenanceUpdateResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageMaintenanceUpdateResultV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_retrospective_incident_payload_v2.py b/incident_io/models/status_pages_create_status_page_retrospective_incident_payload_v2.py index 06f8da6..6ca17f3 100644 --- a/incident_io/models/status_pages_create_status_page_retrospective_incident_payload_v2.py +++ b/incident_io/models/status_pages_create_status_page_retrospective_incident_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageRetrospectiveIncidentPayloadV2: """ Example: diff --git a/incident_io/models/status_pages_create_status_page_retrospective_incident_result_v2.py b/incident_io/models/status_pages_create_status_page_retrospective_incident_result_v2.py index 8cfb154..f9d29b3 100644 --- a/incident_io/models/status_pages_create_status_page_retrospective_incident_result_v2.py +++ b/incident_io/models/status_pages_create_status_page_retrospective_incident_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesCreateStatusPageRetrospectiveIncidentResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesCreateStatusPageRetrospectiveIncidentResultV2: """ Example: diff --git a/incident_io/models/status_pages_list_response_incidents_result_v1.py b/incident_io/models/status_pages_list_response_incidents_result_v1.py index 2d7b1e9..2881075 100644 --- a/incident_io/models/status_pages_list_response_incidents_result_v1.py +++ b/incident_io/models/status_pages_list_response_incidents_result_v1.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesListResponseIncidentsResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesListResponseIncidentsResultV1: """ Example: diff --git a/incident_io/models/status_pages_list_status_page_incidents_result_v2.py b/incident_io/models/status_pages_list_status_page_incidents_result_v2.py index 062a41b..f04a1dc 100644 --- a/incident_io/models/status_pages_list_status_page_incidents_result_v2.py +++ b/incident_io/models/status_pages_list_status_page_incidents_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="StatusPagesListStatusPageIncidentsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesListStatusPageIncidentsResultV2: """ Example: diff --git a/incident_io/models/status_pages_list_status_page_maintenances_result_v2.py b/incident_io/models/status_pages_list_status_page_maintenances_result_v2.py index bcb6efb..69ba5be 100644 --- a/incident_io/models/status_pages_list_status_page_maintenances_result_v2.py +++ b/incident_io/models/status_pages_list_status_page_maintenances_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="StatusPagesListStatusPageMaintenancesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesListStatusPageMaintenancesResultV2: """ Example: diff --git a/incident_io/models/status_pages_list_status_pages_result_v2.py b/incident_io/models/status_pages_list_status_pages_result_v2.py index 5dd356e..5356ea3 100644 --- a/incident_io/models/status_pages_list_status_pages_result_v2.py +++ b/incident_io/models/status_pages_list_status_pages_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="StatusPagesListStatusPagesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesListStatusPagesResultV2: """ Example: diff --git a/incident_io/models/status_pages_show_status_page_incident_result_v2.py b/incident_io/models/status_pages_show_status_page_incident_result_v2.py index ec577fc..e4c10cd 100644 --- a/incident_io/models/status_pages_show_status_page_incident_result_v2.py +++ b/incident_io/models/status_pages_show_status_page_incident_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesShowStatusPageIncidentResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesShowStatusPageIncidentResultV2: """ Example: diff --git a/incident_io/models/status_pages_show_status_page_maintenance_result_v2.py b/incident_io/models/status_pages_show_status_page_maintenance_result_v2.py index 798b851..ac674a9 100644 --- a/incident_io/models/status_pages_show_status_page_maintenance_result_v2.py +++ b/incident_io/models/status_pages_show_status_page_maintenance_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesShowStatusPageMaintenanceResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesShowStatusPageMaintenanceResultV2: """ Example: diff --git a/incident_io/models/status_pages_show_status_page_structure_result_v2.py b/incident_io/models/status_pages_show_status_page_structure_result_v2.py index e9db2ef..105b234 100644 --- a/incident_io/models/status_pages_show_status_page_structure_result_v2.py +++ b/incident_io/models/status_pages_show_status_page_structure_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="StatusPagesShowStatusPageStructureResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesShowStatusPageStructureResultV2: """ Example: diff --git a/incident_io/models/status_pages_update_status_page_incident_payload_v2.py b/incident_io/models/status_pages_update_status_page_incident_payload_v2.py index 63aa41a..e1c30ec 100644 --- a/incident_io/models/status_pages_update_status_page_incident_payload_v2.py +++ b/incident_io/models/status_pages_update_status_page_incident_payload_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="StatusPagesUpdateStatusPageIncidentPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesUpdateStatusPageIncidentPayloadV2: """ Example: diff --git a/incident_io/models/status_pages_update_status_page_incident_result_v2.py b/incident_io/models/status_pages_update_status_page_incident_result_v2.py index 7bdf7d4..818f6ec 100644 --- a/incident_io/models/status_pages_update_status_page_incident_result_v2.py +++ b/incident_io/models/status_pages_update_status_page_incident_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesUpdateStatusPageIncidentResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesUpdateStatusPageIncidentResultV2: """ Example: diff --git a/incident_io/models/status_pages_update_status_page_maintenance_payload_v2.py b/incident_io/models/status_pages_update_status_page_maintenance_payload_v2.py index 026e4f4..dcf9a03 100644 --- a/incident_io/models/status_pages_update_status_page_maintenance_payload_v2.py +++ b/incident_io/models/status_pages_update_status_page_maintenance_payload_v2.py @@ -10,7 +10,7 @@ T = TypeVar("T", bound="StatusPagesUpdateStatusPageMaintenancePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesUpdateStatusPageMaintenancePayloadV2: """ Example: diff --git a/incident_io/models/status_pages_update_status_page_maintenance_result_v2.py b/incident_io/models/status_pages_update_status_page_maintenance_result_v2.py index c5a483e..32155cb 100644 --- a/incident_io/models/status_pages_update_status_page_maintenance_result_v2.py +++ b/incident_io/models/status_pages_update_status_page_maintenance_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StatusPagesUpdateStatusPageMaintenanceResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class StatusPagesUpdateStatusPageMaintenanceResultV2: """ Example: diff --git a/incident_io/models/step_config_payload_v2.py b/incident_io/models/step_config_payload_v2.py index cef8d29..f82e246 100644 --- a/incident_io/models/step_config_payload_v2.py +++ b/incident_io/models/step_config_payload_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StepConfigPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class StepConfigPayloadV2: """ Example: diff --git a/incident_io/models/step_config_slim_v2.py b/incident_io/models/step_config_slim_v2.py index f8e4bcf..681ae8a 100644 --- a/incident_io/models/step_config_slim_v2.py +++ b/incident_io/models/step_config_slim_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="StepConfigSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class StepConfigSlimV2: """ Example: diff --git a/incident_io/models/step_config_v2.py b/incident_io/models/step_config_v2.py index abb95a8..fd9eb9a 100644 --- a/incident_io/models/step_config_v2.py +++ b/incident_io/models/step_config_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="StepConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class StepConfigV2: """ Example: diff --git a/incident_io/models/step_progress_slim_v2.py b/incident_io/models/step_progress_slim_v2.py index afc4fe9..494119e 100644 --- a/incident_io/models/step_progress_slim_v2.py +++ b/incident_io/models/step_progress_slim_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="StepProgressSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class StepProgressSlimV2: """ Example: diff --git a/incident_io/models/step_progress_v2.py b/incident_io/models/step_progress_v2.py index b266fb3..eaaf8cf 100644 --- a/incident_io/models/step_progress_v2.py +++ b/incident_io/models/step_progress_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="StepProgressV2") -@_attrs_define +@_attrs_define(kw_only=True) class StepProgressV2: """ Example: diff --git a/incident_io/models/team_slim_v2.py b/incident_io/models/team_slim_v2.py index 64297ae..3e5c6b5 100644 --- a/incident_io/models/team_slim_v2.py +++ b/incident_io/models/team_slim_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="TeamSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class TeamSlimV2: """ Example: diff --git a/incident_io/models/team_v3.py b/incident_io/models/team_v3.py index bc1531a..b98be87 100644 --- a/incident_io/models/team_v3.py +++ b/incident_io/models/team_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="TeamV3") -@_attrs_define +@_attrs_define(kw_only=True) class TeamV3: """ Example: diff --git a/incident_io/models/teams_list_result_v3.py b/incident_io/models/teams_list_result_v3.py index 3e9eaa8..0a2432b 100644 --- a/incident_io/models/teams_list_result_v3.py +++ b/incident_io/models/teams_list_result_v3.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="TeamsListResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class TeamsListResultV3: """ Example: diff --git a/incident_io/models/teams_show_result_v3.py b/incident_io/models/teams_show_result_v3.py index 583a698..2e6c307 100644 --- a/incident_io/models/teams_show_result_v3.py +++ b/incident_io/models/teams_show_result_v3.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="TeamsShowResultV3") -@_attrs_define +@_attrs_define(kw_only=True) class TeamsShowResultV3: """ Example: diff --git a/incident_io/models/telemetry_data_source_v2.py b/incident_io/models/telemetry_data_source_v2.py index 3112d1c..025e589 100644 --- a/incident_io/models/telemetry_data_source_v2.py +++ b/incident_io/models/telemetry_data_source_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="TelemetryDataSourceV2") -@_attrs_define +@_attrs_define(kw_only=True) class TelemetryDataSourceV2: """A telemetry data source integration diff --git a/incident_io/models/telemetry_datadog_update_config_v2.py b/incident_io/models/telemetry_datadog_update_config_v2.py index ffbb82b..26ebd2d 100644 --- a/incident_io/models/telemetry_datadog_update_config_v2.py +++ b/incident_io/models/telemetry_datadog_update_config_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="TelemetryDatadogUpdateConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class TelemetryDatadogUpdateConfigV2: """Datadog-specific credential updates diff --git a/incident_io/models/telemetry_grafana_update_config_v2.py b/incident_io/models/telemetry_grafana_update_config_v2.py index fffae81..a35e3c8 100644 --- a/incident_io/models/telemetry_grafana_update_config_v2.py +++ b/incident_io/models/telemetry_grafana_update_config_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="TelemetryGrafanaUpdateConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class TelemetryGrafanaUpdateConfigV2: """Grafana-specific credential and endpoint updates diff --git a/incident_io/models/telemetry_update_data_source_payload_v2.py b/incident_io/models/telemetry_update_data_source_payload_v2.py index aa63bbd..d036692 100644 --- a/incident_io/models/telemetry_update_data_source_payload_v2.py +++ b/incident_io/models/telemetry_update_data_source_payload_v2.py @@ -20,7 +20,7 @@ T = TypeVar("T", bound="TelemetryUpdateDataSourcePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class TelemetryUpdateDataSourcePayloadV2: """ Example: diff --git a/incident_io/models/telemetry_update_data_source_result_v2.py b/incident_io/models/telemetry_update_data_source_result_v2.py index 7df27a1..febf603 100644 --- a/incident_io/models/telemetry_update_data_source_result_v2.py +++ b/incident_io/models/telemetry_update_data_source_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="TelemetryUpdateDataSourceResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class TelemetryUpdateDataSourceResultV2: """ Example: diff --git a/incident_io/models/trigger_slim_v2.py b/incident_io/models/trigger_slim_v2.py index 7c891a9..5696e0e 100644 --- a/incident_io/models/trigger_slim_v2.py +++ b/incident_io/models/trigger_slim_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="TriggerSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class TriggerSlimV2: """ Example: diff --git a/incident_io/models/user_reference_payload_v1.py b/incident_io/models/user_reference_payload_v1.py index 1b32978..ed74581 100644 --- a/incident_io/models/user_reference_payload_v1.py +++ b/incident_io/models/user_reference_payload_v1.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="UserReferencePayloadV1") -@_attrs_define +@_attrs_define(kw_only=True) class UserReferencePayloadV1: """ Example: diff --git a/incident_io/models/user_reference_payload_v2.py b/incident_io/models/user_reference_payload_v2.py index 22d311a..0cbf3f4 100644 --- a/incident_io/models/user_reference_payload_v2.py +++ b/incident_io/models/user_reference_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="UserReferencePayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class UserReferencePayloadV2: """ Example: diff --git a/incident_io/models/user_seats_v2.py b/incident_io/models/user_seats_v2.py index 5cc4786..1d6674f 100644 --- a/incident_io/models/user_seats_v2.py +++ b/incident_io/models/user_seats_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="UserSeatsV2") -@_attrs_define +@_attrs_define(kw_only=True) class UserSeatsV2: """ Example: diff --git a/incident_io/models/user_v1.py b/incident_io/models/user_v1.py index 958394e..5db96a7 100644 --- a/incident_io/models/user_v1.py +++ b/incident_io/models/user_v1.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="UserV1") -@_attrs_define +@_attrs_define(kw_only=True) class UserV1: """ Example: diff --git a/incident_io/models/user_v2.py b/incident_io/models/user_v2.py index a686d9c..8ca8c74 100644 --- a/incident_io/models/user_v2.py +++ b/incident_io/models/user_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="UserV2") -@_attrs_define +@_attrs_define(kw_only=True) class UserV2: """ Example: diff --git a/incident_io/models/user_v3.py b/incident_io/models/user_v3.py index bf2d239..0a2348d 100644 --- a/incident_io/models/user_v3.py +++ b/incident_io/models/user_v3.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="UserV3") -@_attrs_define +@_attrs_define(kw_only=True) class UserV3: """ Example: diff --git a/incident_io/models/user_with_roles_v2.py b/incident_io/models/user_with_roles_v2.py index 406519b..b91e3e7 100644 --- a/incident_io/models/user_with_roles_v2.py +++ b/incident_io/models/user_with_roles_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="UserWithRolesV2") -@_attrs_define +@_attrs_define(kw_only=True) class UserWithRolesV2: """ Example: diff --git a/incident_io/models/users_list_notification_methods_result_v2.py b/incident_io/models/users_list_notification_methods_result_v2.py index 7f3f97d..748f4e0 100644 --- a/incident_io/models/users_list_notification_methods_result_v2.py +++ b/incident_io/models/users_list_notification_methods_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="UsersListNotificationMethodsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class UsersListNotificationMethodsResultV2: """ Example: diff --git a/incident_io/models/users_list_notification_rules_result_v2.py b/incident_io/models/users_list_notification_rules_result_v2.py index d6ee814..7d26954 100644 --- a/incident_io/models/users_list_notification_rules_result_v2.py +++ b/incident_io/models/users_list_notification_rules_result_v2.py @@ -15,7 +15,7 @@ T = TypeVar("T", bound="UsersListNotificationRulesResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class UsersListNotificationRulesResultV2: """ Example: diff --git a/incident_io/models/users_list_result_v2.py b/incident_io/models/users_list_result_v2.py index d8a8a76..af505f5 100644 --- a/incident_io/models/users_list_result_v2.py +++ b/incident_io/models/users_list_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="UsersListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class UsersListResultV2: """ Example: diff --git a/incident_io/models/users_show_paging_provider_result_v2.py b/incident_io/models/users_show_paging_provider_result_v2.py index ea464af..c28a144 100644 --- a/incident_io/models/users_show_paging_provider_result_v2.py +++ b/incident_io/models/users_show_paging_provider_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="UsersShowPagingProviderResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class UsersShowPagingProviderResultV2: """ Example: diff --git a/incident_io/models/users_show_result_v2.py b/incident_io/models/users_show_result_v2.py index a7cd420..c348752 100644 --- a/incident_io/models/users_show_result_v2.py +++ b/incident_io/models/users_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="UsersShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class UsersShowResultV2: """ Example: diff --git a/incident_io/models/users_update_paging_provider_payload_v2.py b/incident_io/models/users_update_paging_provider_payload_v2.py index c104a0b..e88f5b0 100644 --- a/incident_io/models/users_update_paging_provider_payload_v2.py +++ b/incident_io/models/users_update_paging_provider_payload_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="UsersUpdatePagingProviderPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class UsersUpdatePagingProviderPayloadV2: """ Example: diff --git a/incident_io/models/utilities_identity_result_v1.py b/incident_io/models/utilities_identity_result_v1.py index cd57644..923c601 100644 --- a/incident_io/models/utilities_identity_result_v1.py +++ b/incident_io/models/utilities_identity_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="UtilitiesIdentityResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class UtilitiesIdentityResultV1: """ Example: diff --git a/incident_io/models/utilities_ip_ranges_result_v1.py b/incident_io/models/utilities_ip_ranges_result_v1.py index 7c5d2ff..758f5db 100644 --- a/incident_io/models/utilities_ip_ranges_result_v1.py +++ b/incident_io/models/utilities_ip_ranges_result_v1.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="UtilitiesIPRangesResultV1") -@_attrs_define +@_attrs_define(kw_only=True) class UtilitiesIPRangesResultV1: """ Example: diff --git a/incident_io/models/webhook_delivery_request_v2.py b/incident_io/models/webhook_delivery_request_v2.py index 0fabc33..067c1bf 100644 --- a/incident_io/models/webhook_delivery_request_v2.py +++ b/incident_io/models/webhook_delivery_request_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhookDeliveryRequestV2") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookDeliveryRequestV2: """ Example: diff --git a/incident_io/models/webhook_delivery_request_v2_headers.py b/incident_io/models/webhook_delivery_request_v2_headers.py index 5eee0ed..84cf12e 100644 --- a/incident_io/models/webhook_delivery_request_v2_headers.py +++ b/incident_io/models/webhook_delivery_request_v2_headers.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WebhookDeliveryRequestV2Headers") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookDeliveryRequestV2Headers: """Headers sent with the request, including those added automatically. Values interpolated from a secret are replaced with [secret], and the signature header is always redacted diff --git a/incident_io/models/webhook_delivery_response_v2.py b/incident_io/models/webhook_delivery_response_v2.py index 4911383..201d986 100644 --- a/incident_io/models/webhook_delivery_response_v2.py +++ b/incident_io/models/webhook_delivery_response_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhookDeliveryResponseV2") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookDeliveryResponseV2: """ Example: diff --git a/incident_io/models/webhook_delivery_response_v2_headers.py b/incident_io/models/webhook_delivery_response_v2_headers.py index baa2546..956a421 100644 --- a/incident_io/models/webhook_delivery_response_v2_headers.py +++ b/incident_io/models/webhook_delivery_response_v2_headers.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WebhookDeliveryResponseV2Headers") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookDeliveryResponseV2Headers: """Headers returned by the endpoint, excluding any whose name resembles a credential diff --git a/incident_io/models/webhook_delivery_slim_v2.py b/incident_io/models/webhook_delivery_slim_v2.py index d14a558..ea9ec44 100644 --- a/incident_io/models/webhook_delivery_slim_v2.py +++ b/incident_io/models/webhook_delivery_slim_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="WebhookDeliverySlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookDeliverySlimV2: """ Example: diff --git a/incident_io/models/webhook_delivery_v2.py b/incident_io/models/webhook_delivery_v2.py index 6c9df97..a8a2a38 100644 --- a/incident_io/models/webhook_delivery_v2.py +++ b/incident_io/models/webhook_delivery_v2.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhookDeliveryV2") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookDeliveryV2: """ Example: diff --git a/incident_io/models/webhook_incident_user_v2.py b/incident_io/models/webhook_incident_user_v2.py index 996977d..1de7a58 100644 --- a/incident_io/models/webhook_incident_user_v2.py +++ b/incident_io/models/webhook_incident_user_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="WebhookIncidentUserV2") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookIncidentUserV2: """ Example: diff --git a/incident_io/models/webhook_incident_v2.py b/incident_io/models/webhook_incident_v2.py index f0da201..8ae858b 100644 --- a/incident_io/models/webhook_incident_v2.py +++ b/incident_io/models/webhook_incident_v2.py @@ -28,7 +28,7 @@ T = TypeVar("T", bound="WebhookIncidentV2") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookIncidentV2: """ Example: diff --git a/incident_io/models/webhook_private_resource_v2.py b/incident_io/models/webhook_private_resource_v2.py index 01f86bf..555358d 100644 --- a/incident_io/models/webhook_private_resource_v2.py +++ b/incident_io/models/webhook_private_resource_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WebhookPrivateResourceV2") -@_attrs_define +@_attrs_define(kw_only=True) class WebhookPrivateResourceV2: """ Example: diff --git a/incident_io/models/webhooks_private_alert_created_v1_response_body.py b/incident_io/models/webhooks_private_alert_created_v1_response_body.py index 6e53451..1130863 100644 --- a/incident_io/models/webhooks_private_alert_created_v1_response_body.py +++ b/incident_io/models/webhooks_private_alert_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateAlertCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateAlertCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_alert_resolved_v1_response_body.py b/incident_io/models/webhooks_private_alert_resolved_v1_response_body.py index 2e906c2..def09ad 100644 --- a/incident_io/models/webhooks_private_alert_resolved_v1_response_body.py +++ b/incident_io/models/webhooks_private_alert_resolved_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateAlertResolvedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateAlertResolvedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_escalation_created_v1_response_body.py b/incident_io/models/webhooks_private_escalation_created_v1_response_body.py index d0d705f..156712d 100644 --- a/incident_io/models/webhooks_private_escalation_created_v1_response_body.py +++ b/incident_io/models/webhooks_private_escalation_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateEscalationCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateEscalationCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body.py b/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body.py index f2a3ed3..7a74052 100644 --- a/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body.py +++ b/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateEscalationStatusUpdatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateEscalationStatusUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_action_created_v1_response_body.py b/incident_io/models/webhooks_private_incident_action_created_v1_response_body.py index 24afdea..3358c7d 100644 --- a/incident_io/models/webhooks_private_incident_action_created_v1_response_body.py +++ b/incident_io/models/webhooks_private_incident_action_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentActionCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentActionCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_action_updated_v1_response_body.py b/incident_io/models/webhooks_private_incident_action_updated_v1_response_body.py index 8bd508f..c826275 100644 --- a/incident_io/models/webhooks_private_incident_action_updated_v1_response_body.py +++ b/incident_io/models/webhooks_private_incident_action_updated_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentActionUpdatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentActionUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body.py b/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body.py index 39f022b..0923272 100644 --- a/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body.py +++ b/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body.py b/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body.py index f236cde..b0b301d 100644 --- a/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body.py +++ b/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentFollowUpCreatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentFollowUpCreatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body.py b/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body.py index 9224199..f63fb1c 100644 --- a/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body.py +++ b/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body.py b/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body.py index 83e5a46..a7c5dc8 100644 --- a/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body.py +++ b/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentFollowUpUpdatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentFollowUpUpdatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_incident_created_v2_response_body.py b/incident_io/models/webhooks_private_incident_incident_created_v2_response_body.py index f1f6568..ef45b5e 100644 --- a/incident_io/models/webhooks_private_incident_incident_created_v2_response_body.py +++ b/incident_io/models/webhooks_private_incident_incident_created_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentIncidentCreatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentIncidentCreatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body.py b/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body.py index dc131fc..8426a83 100644 --- a/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body.py +++ b/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentIncidentUpdatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentIncidentUpdatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body.py b/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body.py index 4e64dfe..3f51ce7 100644 --- a/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body.py +++ b/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentMembershipGrantedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentMembershipGrantedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body.py b/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body.py index 57e9aac..5e6132b 100644 --- a/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body.py +++ b/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPrivateIncidentMembershipRevokedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentMembershipRevokedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body.py b/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body.py index 82537a0..7b974e3 100644 --- a/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body.py +++ b/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body.py @@ -19,7 +19,7 @@ ) -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPrivateIncidentPostmortemDocumentStatusUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_alert_created_v1_response_body.py b/incident_io/models/webhooks_public_alert_created_v1_response_body.py index 0668fcf..31dc340 100644 --- a/incident_io/models/webhooks_public_alert_created_v1_response_body.py +++ b/incident_io/models/webhooks_public_alert_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicAlertCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicAlertCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_alert_resolved_v1_response_body.py b/incident_io/models/webhooks_public_alert_resolved_v1_response_body.py index c76a968..f56c705 100644 --- a/incident_io/models/webhooks_public_alert_resolved_v1_response_body.py +++ b/incident_io/models/webhooks_public_alert_resolved_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicAlertResolvedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicAlertResolvedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_escalation_created_v1_response_body.py b/incident_io/models/webhooks_public_escalation_created_v1_response_body.py index a2c8769..1fb579d 100644 --- a/incident_io/models/webhooks_public_escalation_created_v1_response_body.py +++ b/incident_io/models/webhooks_public_escalation_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicEscalationCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicEscalationCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body.py b/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body.py index b5c459c..f8154d3 100644 --- a/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body.py +++ b/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicEscalationStatusUpdatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicEscalationStatusUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_action_created_v1_response_body.py b/incident_io/models/webhooks_public_incident_action_created_v1_response_body.py index 867ed49..d607efc 100644 --- a/incident_io/models/webhooks_public_incident_action_created_v1_response_body.py +++ b/incident_io/models/webhooks_public_incident_action_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentActionCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentActionCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_action_updated_v1_response_body.py b/incident_io/models/webhooks_public_incident_action_updated_v1_response_body.py index 431adec..137d519 100644 --- a/incident_io/models/webhooks_public_incident_action_updated_v1_response_body.py +++ b/incident_io/models/webhooks_public_incident_action_updated_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentActionUpdatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentActionUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body.py b/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body.py index 6bd090d..bf7ac17 100644 --- a/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body.py +++ b/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentFollowUpCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentFollowUpCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body.py b/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body.py index 568c61b..c91ea91 100644 --- a/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body.py +++ b/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentFollowUpCreatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentFollowUpCreatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body.py b/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body.py index 47b9497..c36d3bc 100644 --- a/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body.py +++ b/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentFollowUpUpdatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentFollowUpUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body.py b/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body.py index fe646c8..1f1e184 100644 --- a/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body.py +++ b/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentFollowUpUpdatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentFollowUpUpdatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_incident_created_v2_response_body.py b/incident_io/models/webhooks_public_incident_incident_created_v2_response_body.py index 56cb0c8..1e2a1e4 100644 --- a/incident_io/models/webhooks_public_incident_incident_created_v2_response_body.py +++ b/incident_io/models/webhooks_public_incident_incident_created_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentIncidentCreatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentIncidentCreatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body.py b/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body.py index 08e3ee5..8beb542 100644 --- a/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body.py +++ b/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentIncidentStatusUpdatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentIncidentStatusUpdatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body.py b/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body.py index ae5c015..ac811a4 100644 --- a/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body.py +++ b/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksPublicIncidentIncidentUpdatedV2ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentIncidentUpdatedV2ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body.py b/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body.py index a0f6388..c9bb15b 100644 --- a/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body.py +++ b/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body.py @@ -21,7 +21,7 @@ ) -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksPublicIncidentPostmortemDocumentStatusUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_schedule_created_v1_response_body.py b/incident_io/models/webhooks_schedule_created_v1_response_body.py index 80b0c71..2ecc28c 100644 --- a/incident_io/models/webhooks_schedule_created_v1_response_body.py +++ b/incident_io/models/webhooks_schedule_created_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksScheduleCreatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksScheduleCreatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_schedule_deleted_v1_response_body.py b/incident_io/models/webhooks_schedule_deleted_v1_response_body.py index 6a0b976..0ceeb82 100644 --- a/incident_io/models/webhooks_schedule_deleted_v1_response_body.py +++ b/incident_io/models/webhooks_schedule_deleted_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksScheduleDeletedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksScheduleDeletedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_schedule_shift_change_v1_response_body.py b/incident_io/models/webhooks_schedule_shift_change_v1_response_body.py index 420bd72..1808c66 100644 --- a/incident_io/models/webhooks_schedule_shift_change_v1_response_body.py +++ b/incident_io/models/webhooks_schedule_shift_change_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksScheduleShiftChangeV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksScheduleShiftChangeV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_schedule_updated_v1_response_body.py b/incident_io/models/webhooks_schedule_updated_v1_response_body.py index 06c5710..97f3b73 100644 --- a/incident_io/models/webhooks_schedule_updated_v1_response_body.py +++ b/incident_io/models/webhooks_schedule_updated_v1_response_body.py @@ -17,7 +17,7 @@ T = TypeVar("T", bound="WebhooksScheduleUpdatedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksScheduleUpdatedV1ResponseBody: """ Example: diff --git a/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body.py b/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body.py index 3052c3a..b04d28e 100644 --- a/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body.py +++ b/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body.py @@ -19,7 +19,7 @@ T = TypeVar("T", bound="WebhooksStatusPageIncidentUpdateSharedV1ResponseBody") -@_attrs_define +@_attrs_define(kw_only=True) class WebhooksStatusPageIncidentUpdateSharedV1ResponseBody: """ Example: diff --git a/incident_io/models/weekday_interval_config_v2.py b/incident_io/models/weekday_interval_config_v2.py index b86f1ff..da25f9e 100644 --- a/incident_io/models/weekday_interval_config_v2.py +++ b/incident_io/models/weekday_interval_config_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="WeekdayIntervalConfigV2") -@_attrs_define +@_attrs_define(kw_only=True) class WeekdayIntervalConfigV2: """ Example: diff --git a/incident_io/models/weekday_interval_v2.py b/incident_io/models/weekday_interval_v2.py index 6918673..72c6fbf 100644 --- a/incident_io/models/weekday_interval_v2.py +++ b/incident_io/models/weekday_interval_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="WeekdayIntervalV2") -@_attrs_define +@_attrs_define(kw_only=True) class WeekdayIntervalV2: """ Example: diff --git a/incident_io/models/workflow_actor_v2.py b/incident_io/models/workflow_actor_v2.py index 237a170..441c76f 100644 --- a/incident_io/models/workflow_actor_v2.py +++ b/incident_io/models/workflow_actor_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WorkflowActorV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowActorV2: """ Example: diff --git a/incident_io/models/workflow_delay_v2.py b/incident_io/models/workflow_delay_v2.py index a8431de..14336a4 100644 --- a/incident_io/models/workflow_delay_v2.py +++ b/incident_io/models/workflow_delay_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WorkflowDelayV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowDelayV2: """ Example: diff --git a/incident_io/models/workflow_form_field_payload_v2.py b/incident_io/models/workflow_form_field_payload_v2.py index da89e23..95bc1a6 100644 --- a/incident_io/models/workflow_form_field_payload_v2.py +++ b/incident_io/models/workflow_form_field_payload_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="WorkflowFormFieldPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowFormFieldPayloadV2: """ Example: diff --git a/incident_io/models/workflow_form_field_v2.py b/incident_io/models/workflow_form_field_v2.py index 43b340b..8f8c704 100644 --- a/incident_io/models/workflow_form_field_v2.py +++ b/incident_io/models/workflow_form_field_v2.py @@ -11,7 +11,7 @@ T = TypeVar("T", bound="WorkflowFormFieldV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowFormFieldV2: """ Example: diff --git a/incident_io/models/workflow_run_slim_v2.py b/incident_io/models/workflow_run_slim_v2.py index 0744c45..fcb1b74 100644 --- a/incident_io/models/workflow_run_slim_v2.py +++ b/incident_io/models/workflow_run_slim_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="WorkflowRunSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowRunSlimV2: """ Example: diff --git a/incident_io/models/workflow_run_v2.py b/incident_io/models/workflow_run_v2.py index 2db59d8..abdfad3 100644 --- a/incident_io/models/workflow_run_v2.py +++ b/incident_io/models/workflow_run_v2.py @@ -16,7 +16,7 @@ T = TypeVar("T", bound="WorkflowRunV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowRunV2: """ Example: diff --git a/incident_io/models/workflow_runs_list_result_v2.py b/incident_io/models/workflow_runs_list_result_v2.py index 5b1b0f8..ac55805 100644 --- a/incident_io/models/workflow_runs_list_result_v2.py +++ b/incident_io/models/workflow_runs_list_result_v2.py @@ -18,7 +18,7 @@ T = TypeVar("T", bound="WorkflowRunsListResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowRunsListResultV2: """ Example: diff --git a/incident_io/models/workflow_runs_show_result_v2.py b/incident_io/models/workflow_runs_show_result_v2.py index f41d32f..2dc99c6 100644 --- a/incident_io/models/workflow_runs_show_result_v2.py +++ b/incident_io/models/workflow_runs_show_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="WorkflowRunsShowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowRunsShowResultV2: """ Example: diff --git a/incident_io/models/workflow_runs_v2_list_created_at.py b/incident_io/models/workflow_runs_v2_list_created_at.py index dad469c..ae515b2 100644 --- a/incident_io/models/workflow_runs_v2_list_created_at.py +++ b/incident_io/models/workflow_runs_v2_list_created_at.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WorkflowRunsV2ListCreatedAt") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowRunsV2ListCreatedAt: """Filter on workflow run created at timestamp. The accepted operators are 'gte', 'lte' and 'date_range'. diff --git a/incident_io/models/workflow_slim_v2.py b/incident_io/models/workflow_slim_v2.py index a756993..1544649 100644 --- a/incident_io/models/workflow_slim_v2.py +++ b/incident_io/models/workflow_slim_v2.py @@ -29,7 +29,7 @@ T = TypeVar("T", bound="WorkflowSlimV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowSlimV2: """ Example: diff --git a/incident_io/models/workflow_v2.py b/incident_io/models/workflow_v2.py index 315edae..42e6871 100644 --- a/incident_io/models/workflow_v2.py +++ b/incident_io/models/workflow_v2.py @@ -28,7 +28,7 @@ T = TypeVar("T", bound="WorkflowV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowV2: """ Example: diff --git a/incident_io/models/workflows_create_workflow_payload_v2.py b/incident_io/models/workflows_create_workflow_payload_v2.py index 07d1ae8..4d921cd 100644 --- a/incident_io/models/workflows_create_workflow_payload_v2.py +++ b/incident_io/models/workflows_create_workflow_payload_v2.py @@ -34,7 +34,7 @@ T = TypeVar("T", bound="WorkflowsCreateWorkflowPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowsCreateWorkflowPayloadV2: """ Example: diff --git a/incident_io/models/workflows_create_workflow_payload_v2_annotations.py b/incident_io/models/workflows_create_workflow_payload_v2_annotations.py index b794d3f..f221da1 100644 --- a/incident_io/models/workflows_create_workflow_payload_v2_annotations.py +++ b/incident_io/models/workflows_create_workflow_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WorkflowsCreateWorkflowPayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowsCreateWorkflowPayloadV2Annotations: """Annotations that track metadata about this resource diff --git a/incident_io/models/workflows_create_workflow_result_v2.py b/incident_io/models/workflows_create_workflow_result_v2.py index 50b5a53..bacbf9b 100644 --- a/incident_io/models/workflows_create_workflow_result_v2.py +++ b/incident_io/models/workflows_create_workflow_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="WorkflowsCreateWorkflowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowsCreateWorkflowResultV2: """ Example: diff --git a/incident_io/models/workflows_list_workflows_result_v2.py b/incident_io/models/workflows_list_workflows_result_v2.py index d3b4b2c..d6e2ab8 100644 --- a/incident_io/models/workflows_list_workflows_result_v2.py +++ b/incident_io/models/workflows_list_workflows_result_v2.py @@ -13,7 +13,7 @@ T = TypeVar("T", bound="WorkflowsListWorkflowsResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowsListWorkflowsResultV2: """ Example: diff --git a/incident_io/models/workflows_show_workflow_result_v2.py b/incident_io/models/workflows_show_workflow_result_v2.py index e5cab44..36d1762 100644 --- a/incident_io/models/workflows_show_workflow_result_v2.py +++ b/incident_io/models/workflows_show_workflow_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="WorkflowsShowWorkflowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowsShowWorkflowResultV2: """ Example: diff --git a/incident_io/models/workflows_update_workflow_payload_v2.py b/incident_io/models/workflows_update_workflow_payload_v2.py index abfd3e8..391b456 100644 --- a/incident_io/models/workflows_update_workflow_payload_v2.py +++ b/incident_io/models/workflows_update_workflow_payload_v2.py @@ -34,7 +34,7 @@ T = TypeVar("T", bound="WorkflowsUpdateWorkflowPayloadV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowsUpdateWorkflowPayloadV2: """ Example: diff --git a/incident_io/models/workflows_update_workflow_payload_v2_annotations.py b/incident_io/models/workflows_update_workflow_payload_v2_annotations.py index b21647a..3308819 100644 --- a/incident_io/models/workflows_update_workflow_payload_v2_annotations.py +++ b/incident_io/models/workflows_update_workflow_payload_v2_annotations.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WorkflowsUpdateWorkflowPayloadV2Annotations") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowsUpdateWorkflowPayloadV2Annotations: """Annotations that track metadata about this resource diff --git a/incident_io/models/workflows_update_workflow_result_v2.py b/incident_io/models/workflows_update_workflow_result_v2.py index 999a3dd..ce024a4 100644 --- a/incident_io/models/workflows_update_workflow_result_v2.py +++ b/incident_io/models/workflows_update_workflow_result_v2.py @@ -14,7 +14,7 @@ T = TypeVar("T", bound="WorkflowsUpdateWorkflowResultV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkflowsUpdateWorkflowResultV2: """ Example: diff --git a/incident_io/models/workload_metadata_v2.py b/incident_io/models/workload_metadata_v2.py index 332f583..b12f80a 100644 --- a/incident_io/models/workload_metadata_v2.py +++ b/incident_io/models/workload_metadata_v2.py @@ -12,7 +12,7 @@ T = TypeVar("T", bound="WorkloadMetadataV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkloadMetadataV2: """ Example: diff --git a/incident_io/models/workload_minutes_v2.py b/incident_io/models/workload_minutes_v2.py index 9a1b530..54c8041 100644 --- a/incident_io/models/workload_minutes_v2.py +++ b/incident_io/models/workload_minutes_v2.py @@ -9,7 +9,7 @@ T = TypeVar("T", bound="WorkloadMinutesV2") -@_attrs_define +@_attrs_define(kw_only=True) class WorkloadMinutesV2: """ Example: diff --git a/oasdiff-severity.txt b/oasdiff-severity.txt new file mode 100644 index 0000000..2db2679 --- /dev/null +++ b/oasdiff-severity.txt @@ -0,0 +1,2 @@ +response-property-enum-value-added WARN +request-parameter-min-set WARN diff --git a/pyproject.toml b/pyproject.toml index ef79bdc..d8360c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ license-files = ["LICENSE"] authors = [{ name = "incident.io", email = "support@incident.io" }] keywords = ["incident.io", "incident", "on-call", "alerting", "api", "sdk"] classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", diff --git a/scripts/fix_generated.py b/scripts/fix_generated.py new file mode 100644 index 0000000..5928214 --- /dev/null +++ b/scripts/fix_generated.py @@ -0,0 +1,165 @@ +#!/usr/bin/env python3 +"""Repair defects in the generated client that the generator will not. + +Each fix names the exact text it replaces and fails if that text is missing, so +an upstream generator change surfaces as a failed release rather than a silently +skipped patch. Report these upstream; delete a fix here when it lands there. + +Fixes: + +1. Binary responses are decoded as text. The generator emits + `BytesIO(response.text)` for a `format: binary` response, and BytesIO wants + bytes, so every successful call to such an endpoint raises TypeError. Ours is + `GET /v2/pay_reports/{id}/download`. + +2. The context-manager signatures don't type-check. `__exit__` and `__aexit__` + take `*args: object` and splat that into httpx's, which is typed for the + three specific arguments. Harmless at runtime, but the package ships + `py.typed`, so it has to check cleanly. + +3. Models accept positional arguments. attrs orders fields required-then- + optional in schema order, and our schema emits properties alphabetically, so + adding one optional field moves every positional argument after it. A caller + writing `Payload(Status.FIRING, "disk full", "dedup-123")` silently sends + that last value as a different field: no exception, no type error, no failed + test, and oasdiff rates adding an optional property `info`, so it publishes + automatically. Keyword-only turns that into a TypeError at the call site. +""" + +from __future__ import annotations + +import sys +from dataclasses import dataclass +from pathlib import Path + +# Only for the failure message; the real pin lives in the Makefile. +OPC_HINT = "(pinned in the Makefile)" + + +@dataclass(frozen=True) +class Fix: + """A single replacement, applied to every file matching `glob`.""" + + name: str + glob: str + old: str + new: str + # Some fixes apply to one known file, others to any matching endpoint. A + # fix that matches nothing is a bug, so both are checked against this. + expect_at_least: int = 1 + + +FIXES = ( + Fix( + name="models take keyword arguments only", + glob="models/*.py", + old="@_attrs_define\n", + new="@_attrs_define(kw_only=True)\n", + ), + Fix( + name="binary responses are read as bytes", + glob="api/*/*.py", + old="BytesIO(response.text)", + new="BytesIO(response.content)", + ), + Fix( + name="__exit__ passes httpx the types it declares", + glob="client.py", + old=( + " def __exit__(self, *args: object, **kwargs: Any) -> None:\n" + ' """Exit a context manager for internal httpx.Client (see httpx docs)"""\n' + " self.get_httpx_client().__exit__(*args, **kwargs)" + ), + new=( + " def __exit__(\n" + " self,\n" + " exc_type: type[BaseException] | None = None,\n" + " exc_value: BaseException | None = None,\n" + " traceback: TracebackType | None = None,\n" + " ) -> None:\n" + ' """Exit a context manager for internal httpx.Client (see httpx docs)"""\n' + " self.get_httpx_client().__exit__(exc_type, exc_value, traceback)" + ), + ), + Fix( + name="__aexit__ passes httpx the types it declares", + glob="client.py", + old=( + " async def __aexit__(self, *args: object, **kwargs: Any) -> None:\n" + ' """Exit a context manager for underlying httpx.AsyncClient (see httpx docs)"""\n' + " await self.get_async_httpx_client().__aexit__(*args, **kwargs)" + ), + new=( + " async def __aexit__(\n" + " self,\n" + " exc_type: type[BaseException] | None = None,\n" + " exc_value: BaseException | None = None,\n" + " traceback: TracebackType | None = None,\n" + " ) -> None:\n" + ' """Exit a context manager for underlying httpx.AsyncClient (see httpx docs)"""\n' + " await self.get_async_httpx_client().__aexit__(exc_type, exc_value, traceback)" + ), + ), + # The two above reference TracebackType, which the generated client doesn't + # import. If they stop matching, this adds an unused import — which ruff + # removes on the next run and which fails the release anyway, so it can't + # reach a published wheel. + Fix( + name="client.py imports TracebackType", + glob="client.py", + # Anchored on the newline: the real line is `from typing import Any, + # Self`, and an unanchored match would insert mid-line. + old="import ssl\n", + new="import ssl\nfrom types import TracebackType\n", + ), +) + + +def apply(fix: Fix, package: Path) -> int: + """Replace every occurrence, returning how many. Counts replacements rather + than files so a fix that stops matching one of several endpoints still + trips expect_at_least.""" + applied = 0 + for file in sorted(package.glob(fix.glob)): + source = file.read_text() + occurrences = source.count(fix.old) + if not occurrences: + continue + file.write_text(source.replace(fix.old, fix.new)) + applied += occurrences + return applied + + +def main(package_path: str) -> int: + package = Path(package_path) + unmatched = [] + + for fix in FIXES: + applied = apply(fix, package) + if applied < fix.expect_at_least: + unmatched.append(fix.name) + print(f" no match: {fix.name}", file=sys.stderr) + else: + print(f"Fixed: {fix.name} ({applied} replacement{'s' if applied != 1 else ''})") + + if unmatched: + # Either the generator fixed the defect upstream, or it changed its + # output and the defect is back unpatched. Both need a human, and both + # have to stop the release: publishing a wheel whose binary responses + # are broken, or whose models silently accept positional arguments, is + # worse than not publishing. The workflow turns this into an issue. + print( + f"\n{len(unmatched)} fix(es) matched nothing. Check whether " + f"openapi-python-client {OPC_HINT} changed its output, or fixed " + f"these upstream — in which case delete them here.", + file=sys.stderr, + ) + return 1 + return 0 + + +if __name__ == "__main__": + if len(sys.argv) != 2: + print(f"usage: {sys.argv[0]} ", file=sys.stderr) + raise SystemExit(2) + raise SystemExit(main(sys.argv[1])) diff --git a/scripts/mark_deprecated.py b/scripts/mark_deprecated.py index db173c2..41c6015 100755 --- a/scripts/mark_deprecated.py +++ b/scripts/mark_deprecated.py @@ -37,12 +37,26 @@ _DEPRECATION_MESSAGE = "{message}" +# sync() calls sync_detailed(), and both are wrapped, so a single user call +# would warn twice — the second time with a stacklevel pointing inside the SDK, +# which under -W error blames us for the user's call. This suppresses the inner +# warning. Module-level rather than thread-local because it is only ever set +# for the duration of one synchronous call frame. +_warning_in_progress = False + def _deprecated(_fn): @_functools.wraps(_fn) def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return _fn(*args, **kwargs) + _warning_in_progress = True + try: + return _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -52,8 +66,15 @@ def _deprecated_async(_fn): # inspect.iscoroutinefunction. See this module's docstring. @_functools.wraps(_fn) async def _wrapper(*args, **kwargs): + global _warning_in_progress + if _warning_in_progress: + return await _fn(*args, **kwargs) _warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning, stacklevel=2) - return await _fn(*args, **kwargs) + _warning_in_progress = True + try: + return await _fn(*args, **kwargs) + finally: + _warning_in_progress = False return _wrapper @@ -69,10 +90,29 @@ def deprecated_operations(spec: dict) -> set[tuple[str, str]]: if method not in METHODS or not isinstance(operation, dict): continue if operation.get("deprecated"): - found.add((method, path)) + found.add((method, normalise_path(path))) return found +def normalise_path(path: str) -> str: + """Snake_case the parameter names in a path, the way the generator does. + + The schema is free to name a path parameter `followUpId` or `action-id`; + the generated URL always says `follow_up_id`. Comparing the raw spec path + against the generated one therefore misses those, and a miss fails the + release. Only the parameter names are touched — the literal segments are + already whatever the API serves. + """ + + def snake(match: re.Match[str]) -> str: + name = match.group(1) + name = re.sub(r"[-\s]+", "_", name) + name = re.sub(r"(?<=[a-z0-9])([A-Z])", r"_\1", name) + return "{" + name.lower() + "}" + + return re.sub(r"\{([^}]+)\}", snake, path) + + def operation_of(source: str) -> tuple[str, str] | None: """Read the (method, path) a generated module calls.""" method = re.search(r'"method":\s*"([a-z]+)"', source) @@ -83,9 +123,12 @@ def operation_of(source: str) -> tuple[str, str] | None: def mark(file: Path, method: str, path: str) -> bool: + """Append the wrappers. True if the module ends up marked, including when + it already was — otherwise a second run reports every operation as missing + and blames the generator for it.""" source = file.read_text() if MARKER in source: - return False + return True present = [name for name in ENTRY_POINTS if re.search(rf"^(?:async )?def {name}\(", source, re.M)] if not present: diff --git a/scripts/verify_import.py b/scripts/verify_import.py index 2a4d347..cfee32a 100644 --- a/scripts/verify_import.py +++ b/scripts/verify_import.py @@ -14,6 +14,7 @@ import importlib import pkgutil import sys +from pathlib import Path import incident_io @@ -36,4 +37,19 @@ def _raise(name: str) -> None: importlib.import_module(module.name) count += 1 +# A floor, because the count on its own proves nothing: a schema that generated +# five modules, or a generator that silently dropped every endpoint, imports +# perfectly. The real figure is ~1900; this only catches collapse. +MINIMUM_MODULES = 1000 +if count < MINIMUM_MODULES: + sys.exit( + f"verify: only {count} modules, expected at least {MINIMUM_MODULES}. " + f"The generator produced far less than it should have." + ) + +# Checked here rather than only in the tests, because the release path runs +# this and `make generate` recreates the marker on every run. +if not (Path(package_root) / "py.typed").exists(): + sys.exit("verify: py.typed is missing, so type checkers will ignore the SDK") + print(f"verify: imported {count} modules") diff --git a/tests/test_sdk.py b/tests/test_sdk.py index 434fff1..fda426a 100644 --- a/tests/test_sdk.py +++ b/tests/test_sdk.py @@ -20,6 +20,7 @@ import incident_io from incident_io import AuthenticatedClient from incident_io.api.actions_v1 import actions_v1_list +from incident_io.api.pay_reports_v2 import pay_reports_v2_download from incident_io.api.severities_v1 import severities_v1_list SEVERITIES_BODY = { @@ -115,6 +116,23 @@ def test_a_deprecated_endpoint_warns(): assert "GET /v1/actions" in messages[0] +def test_a_deprecated_endpoint_warns_once_not_twice(): + """sync() calls sync_detailed(), and both carry the wrapper. Without + suppression the second warning points inside the SDK, which under + -W error blames us for the caller's mistake.""" + client = client_returning(200, {"actions": []}) + + with warnings.catch_warnings(record=True) as caught: + warnings.simplefilter("always") + actions_v1_list.sync(client=client) + + deprecations = [w for w in caught if w.category is DeprecationWarning] + assert len(deprecations) == 1, f"expected one warning, got {len(deprecations)}" + assert "incident_io" not in deprecations[0].filename, ( + "the warning points inside the SDK rather than at the caller" + ) + + def test_a_deprecated_async_endpoint_stays_a_coroutine_function(): """Wrapping `async def` in a plain `def` would break anything that branches on inspect.iscoroutinefunction, even though `await` still works.""" @@ -144,6 +162,28 @@ def test_an_undeprecated_endpoint_does_not_warn(): assert not [w for w in caught if w.category is DeprecationWarning] +def test_a_binary_download_returns_bytes(): + """The generator decodes binary responses with response.text and hands the + str to BytesIO, which raises. scripts/fix_generated.py patches that, and + an import-only check would never catch it coming back.""" + # client_returning serialises its body as JSON; a download returns raw bytes. + csv = b"member,hours\nalice,12\n" + + def handler(request: httpx.Request) -> httpx.Response: + return httpx.Response(200, content=csv) + + client = AuthenticatedClient( + base_url="https://api.incident.io", + token="test-key", + httpx_args={"transport": httpx.MockTransport(handler)}, + ) + + response = pay_reports_v2_download.sync_detailed(client=client, id="abc") + + assert response.status_code == 200 + assert response.parsed.payload.read() == csv + + def test_the_package_ships_a_py_typed_marker(): """Without it, mypy and pyright ignore every annotation in the SDK. `make generate` removes the package and recreates the marker, so this catches it From 5f39e4c741fa2bfe109d417a68bb5768560b4c47 Mon Sep 17 00:00:00 2001 From: Johanna Larsson Date: Tue, 22 Sep 2026 12:34:23 +0100 Subject: [PATCH 2/3] address comments --- .github/workflows/sync.yml | 34 +- Makefile | 13 +- api-surface.txt | 2739 ++++++++++++++++++++++++++++++++++++ scripts/api_surface.py | 138 ++ 4 files changed, 2921 insertions(+), 3 deletions(-) create mode 100644 api-surface.txt create mode 100644 scripts/api_surface.py diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 7bbc6f7..956d330 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -208,6 +208,38 @@ jobs: # behaviour needs checking. make verify only proves it imports. uv run --group dev pytest tests/ -q + # make verify fails when something left the public surface. That is a + # breaking change oasdiff cannot see, so it gets oasdiff's treatment: + # an issue, and no publish. + - name: Report a breaking change to the generated API + if: failure() && steps.changed.outputs.changed == 'true' && steps.breaking.outputs.breaking != 'true' + env: + GH_TOKEN: ${{ github.token }} + run: | + set -euo pipefail + git diff --quiet -- api-surface.txt && exit 0 || true + + gh label create breaking-change \ + --description "Schema changed incompatibly; release halted" \ + --color B60205 2>/dev/null || true + + if gh issue list --label breaking-change --state open --limit 1 \ + --json number --jq '.[0].number // empty' | grep -q .; then + echo "::error::Already reported." + exit 1 + fi + + gh issue create --title "Generated API changed incompatibly — manual release required" \ + --label breaking-change --body "$(cat < list[str]: + """One line per endpoint entry point, naming its keyword parameters. + + Catches an operation being renamed or retagged (the module path moves) and a + path or query parameter being renamed (the parameter list changes). + """ + lines = [] + api = importlib.import_module(f"{package.__name__}.api") + for module in pkgutil.walk_packages(api.__path__, f"{api.__name__}."): + if module.ispkg: + continue + imported = importlib.import_module(module.name) + for name in ENTRY_POINTS: + function = getattr(imported, name, None) + if function is None: + continue + parameters = sorted(inspect.signature(function).parameters) + lines.append(f"endpoint {module.name}.{name}({', '.join(parameters)})") + return lines + + +def model_lines(package) -> list[str]: + """One line per exported model, naming its fields or enum members. + + Catches a schema being renamed or inlined (the class leaves `__all__`), a + response property being removed, a required property being added, and an + enum value being removed — none of which oasdiff rates as breaking. + """ + lines = [] + models = importlib.import_module(f"{package.__name__}.models") + for name in sorted(getattr(models, "__all__", [])): + obj = getattr(models, name, None) + if obj is None: + lines.append(f"model {name} MISSING") + continue + + members = getattr(obj, "__members__", None) + if members is not None: # an enum + lines.append(f"enum {name}({', '.join(sorted(members))})") + continue + + fields = getattr(obj, "__attrs_attrs__", None) + if fields is not None: + required = sorted(f.name for f in fields if f.default is inspect.Parameter.empty) + optional = sorted(f.name for f in fields if f.default is not inspect.Parameter.empty) + lines.append(f"model {name}(required: {', '.join(required)} | optional: {', '.join(optional)})") + continue + + lines.append(f"model {name}") + return lines + + +def surface(package_name: str) -> list[str]: + package = importlib.import_module(package_name) + return sorted(endpoint_lines(package) + model_lines(package)) + + +def check(current: list[str], recorded_path: Path) -> int: + if not recorded_path.exists(): + sys.exit(f"{recorded_path} does not exist. Run the write command to create it.") + + recorded = recorded_path.read_text().splitlines() + removed = sorted(set(recorded) - set(current)) + added = sorted(set(current) - set(recorded)) + + for line in added: + print(f" + {line}") + + if not removed: + print(f"surface: {len(current)} entries, {len(added)} added, nothing removed") + return 0 + + print(f"\n{len(removed)} entries left the public surface:", file=sys.stderr) + for line in removed[:40]: + print(f" - {line}", file=sys.stderr) + if len(removed) > 40: + print(f" ... and {len(removed) - 40} more", file=sys.stderr) + print( + "\nConsumers import these by name, so removing one breaks them at import " + "or call time even when the wire contract is unchanged. This needs a major " + "version, not the automatic minor bump.", + file=sys.stderr, + ) + return 1 + + +def main(argv: list[str]) -> int: + if len(argv) != 4 or argv[1] not in ("write", "check"): + print(f"usage: {argv[0]} ", file=sys.stderr) + return 2 + + _, command, package_name, path = argv + current = surface(package_name) + + if command == "write": + Path(path).write_text("\n".join(current) + "\n") + print(f"surface: wrote {len(current)} entries to {path}") + return 0 + + return check(current, Path(path)) + + +if __name__ == "__main__": + raise SystemExit(main(sys.argv)) From b980e20998caebcfb92a94679730df48f6fbca7c Mon Sep 17 00:00:00 2001 From: Johanna Larsson Date: Tue, 22 Sep 2026 13:14:24 +0100 Subject: [PATCH 3/3] cleanup --- .github/workflows/sync.yml | 84 +- .github/workflows/test.yml | 24 +- Makefile | 23 +- api-surface.txt | 14798 +++++++++++++--- config.yml | 12 +- incident_io/api/actions_v1/actions_v1_show.py | 2 +- .../api/actions_v2/actions_v2_delete.py | 2 +- incident_io/api/actions_v2/actions_v2_show.py | 2 +- .../api/actions_v2/actions_v2_update.py | 2 +- .../catalog_v2/catalog_v2_destroy_entry.py | 2 +- .../api/catalog_v2/catalog_v2_destroy_type.py | 2 +- .../api/catalog_v2/catalog_v2_show_entry.py | 2 +- .../api/catalog_v2/catalog_v2_show_type.py | 2 +- .../api/catalog_v2/catalog_v2_update_entry.py | 2 +- .../api/catalog_v2/catalog_v2_update_type.py | 2 +- .../catalog_v2_update_type_schema.py | 2 +- .../custom_fields_v1_delete.py | 2 +- .../custom_fields_v1/custom_fields_v1_show.py | 2 +- .../custom_fields_v1_update.py | 2 +- .../follow_ups_v2_connect_external_issue.py | 2 +- .../api/follow_ups_v2/follow_ups_v2_delete.py | 2 +- .../api/follow_ups_v2/follow_ups_v2_show.py | 2 +- .../api/follow_ups_v2/follow_ups_v2_update.py | 2 +- .../incident_roles_v1_delete.py | 2 +- .../incident_roles_v1_show.py | 2 +- .../incident_roles_v1_update.py | 2 +- .../api/incidents_v1/incidents_v1_show.py | 2 +- incident_io/models/action_v1_status.py | 10 + incident_io/models/action_v2_status.py | 10 + incident_io/models/action_v3_status.py | 10 + .../actions_update_payload_v2_status.py | 10 + .../actions_update_payload_v3_status.py | 10 + .../models/actions_v1_list_incident_mode.py | 10 + .../models/actions_v2_list_incident_mode.py | 10 + .../models/actions_v3_list_incident_mode.py | 10 + .../activity_action_updated_v2_new_status.py | 10 + ...ivity_action_updated_v2_previous_status.py | 10 + ...ctivity_follow_up_updated_v2_new_status.py | 10 + ...ty_follow_up_updated_v2_previous_status.py | 10 + ...nt_visibility_changed_v2_new_visibility.py | 12 + ...sibility_changed_v2_previous_visibility.py | 12 + ...rt_events_create_http_payload_v2_status.py | 10 + ...el_target_payload_v3_channel_visibility.py | 12 + ...field_binding_payload_v2_merge_strategy.py | 12 + ...field_binding_payload_v3_merge_strategy.py | 12 + ..._custom_field_binding_v2_merge_strategy.py | 10 + ..._custom_field_binding_v3_merge_strategy.py | 10 + ...erity_binding_payload_v2_merge_strategy.py | 12 + ...erity_binding_payload_v3_merge_strategy.py | 12 + ...oute_severity_binding_v2_merge_strategy.py | 10 + ...oute_severity_binding_v3_merge_strategy.py | 10 + ..._when_alert_joins_group_payload_v3_mode.py | 10 + ...rt_route_when_alert_joins_group_v3_mode.py | 10 + incident_io/models/alert_slim_v2_status.py | 10 + ...mail_options_payload_v2_redactions_item.py | 12 + ...source_email_options_v2_redactions_item.py | 10 + .../models/alert_source_v2_source_type.py | 10 + ...t_sources_create_payload_v2_source_type.py | 10 + ...sources_validate_payload_v2_source_type.py | 10 + ...ibute_binding_payload_v2_merge_strategy.py | 12 + ...ate_attribute_binding_v2_merge_strategy.py | 10 + incident_io/models/alert_v2_status.py | 10 + ...nsition_incident_alert_payload_v2_state.py | 10 + incident_io/models/api_key_role_v1_name.py | 10 + .../models/api_key_team_role_v1_name.py | 10 + ..._keys_create_payload_v1_role_names_item.py | 10 + ..._create_payload_v1_team_role_names_item.py | 10 + ..._keys_update_payload_v1_role_names_item.py | 10 + ..._update_payload_v1_team_role_names_item.py | 10 + incident_io/models/audit_log_actor_v2_type.py | 10 + ...rt_access_attempted_metadata_v2_outcome.py | 12 + ...on_access_attempted_metadata_v2_outcome.py | 12 + ...nt_access_attempted_metadata_v2_outcome.py | 12 + ...ess_attempted_metadata_v2v2_access_type.py | 12 + ..._access_attempted_metadata_v2v2_outcome.py | 12 + ...e_insights_exported_metadata_v2_outcome.py | 12 + ...hts_measure_queried_metadata_v2_outcome.py | 12 + ...rlying_data_queried_metadata_v2_outcome.py | 12 + .../models/audit_log_target_v2_type.py | 10 + .../models/call_route_option_v2_digit.py | 10 + .../call_route_path_node_payload_v2_type.py | 10 + .../models/call_route_path_node_v2_type.py | 10 + .../call_route_target_v2_schedule_mode.py | 10 + .../models/call_route_target_v2_type.py | 10 + .../models/call_route_target_v2_urgency.py | 10 + .../models/call_route_v2_current_state.py | 10 + .../models/call_route_v2_custom_language.py | 10 + .../models/call_route_v2_phone_number_type.py | 10 + .../call_route_v2_responder_caller_id.py | 10 + ...l_routes_create_option_payload_v2_digit.py | 10 + ...l_routes_update_option_payload_v2_digit.py | 10 + ...outes_update_payload_v2_custom_language.py | 10 + ...s_update_payload_v2_responder_caller_id.py | 10 + .../models/call_transcript_entry_v2_medium.py | 10 + ..._create_type_payload_v2_categories_item.py | 10 + .../catalog_create_type_payload_v2_color.py | 10 + .../catalog_create_type_payload_v2_icon.py | 10 + ..._create_type_payload_v3_categories_item.py | 10 + .../catalog_create_type_payload_v3_color.py | 10 + .../catalog_create_type_payload_v3_icon.py | 10 + .../models/catalog_resource_v2_category.py | 10 + .../models/catalog_resource_v3_category.py | 10 + .../catalog_type_attribute_payload_v2_mode.py | 10 + .../catalog_type_attribute_payload_v3_mode.py | 10 + .../models/catalog_type_attribute_v2_mode.py | 10 + .../models/catalog_type_attribute_v3_mode.py | 10 + .../models/catalog_type_v2_categories_item.py | 10 + incident_io/models/catalog_type_v2_color.py | 10 + incident_io/models/catalog_type_v2_icon.py | 10 + .../models/catalog_type_v3_categories_item.py | 10 + incident_io/models/catalog_type_v3_color.py | 10 + incident_io/models/catalog_type_v3_icon.py | 10 + ..._update_type_payload_v2_categories_item.py | 10 + .../catalog_update_type_payload_v2_color.py | 10 + .../catalog_update_type_payload_v2_icon.py | 10 + ..._update_type_payload_v3_categories_item.py | 10 + .../catalog_update_type_payload_v3_color.py | 10 + .../catalog_update_type_payload_v3_icon.py | 10 + .../custom_field_type_info_v1_field_type.py | 10 + .../custom_field_type_info_v2_field_type.py | 10 + .../models/custom_field_v1_field_type.py | 10 + .../models/custom_field_v1_required.py | 10 + .../models/custom_field_v1_required_v2.py | 10 + .../models/custom_field_v2_field_type.py | 10 + ...tom_fields_create_payload_v1_field_type.py | 10 + ...ustom_fields_create_payload_v1_required.py | 10 + ...om_fields_create_payload_v1_required_v2.py | 10 + ...tom_fields_create_payload_v2_field_type.py | 10 + ...ustom_fields_update_payload_v1_required.py | 10 + ...om_fields_update_payload_v1_required_v2.py | 10 + .../embedded_incident_role_v2_role_type.py | 10 + ...ngine_param_v2_allowed_value_types_item.py | 10 + incident_io/models/error_response_type.py | 10 + .../models/escalation_event_v2_event.py | 10 + .../models/escalation_event_v2_urgency.py | 10 + ..._node_delay_v2_delay_interval_condition.py | 12 + .../escalation_path_node_level_v2_ack_mode.py | 10 + ...level_v2_time_to_ack_interval_condition.py | 12 + ..._level_with_binding_payload_v2_ack_mode.py | 12 + ...yload_v2_time_to_ack_interval_condition.py | 12 + ...ath_node_level_with_binding_v2_ack_mode.py | 10 + ...nding_v2_time_to_ack_interval_condition.py | 12 + ...annel_v2_time_to_ack_interval_condition.py | 12 + ...yload_v2_time_to_ack_interval_condition.py | 14 + ...nding_v2_time_to_ack_interval_condition.py | 12 + .../escalation_path_node_payload_v2_type.py | 10 + .../models/escalation_path_node_v2_type.py | 10 + ...escalation_path_target_v2_schedule_mode.py | 10 + .../models/escalation_path_target_v2_type.py | 10 + .../escalation_path_target_v2_urgency.py | 10 + ...t_with_binding_payload_v2_schedule_mode.py | 12 + ...ath_target_with_binding_payload_v2_type.py | 10 + ..._target_with_binding_payload_v2_urgency.py | 12 + ...th_target_with_binding_v2_schedule_mode.py | 12 + ...lation_path_target_with_binding_v2_type.py | 10 + ...ion_path_target_with_binding_v2_urgency.py | 10 + ...tion_path_template_node_payload_v2_type.py | 10 + .../escalation_path_template_node_v2_type.py | 10 + incident_io/models/escalation_path_v2_kind.py | 10 + ...ponse_options_v2_available_actions_item.py | 12 + incident_io/models/escalation_v2_status.py | 10 + ...lation_with_status_change_v2_new_status.py | 10 + ...n_with_status_change_v2_previous_status.py | 10 + ...escalations_create_path_payload_v2_kind.py | 10 + ..._respond_escalation_payload_v2_response.py | 12 + ...escalations_update_path_payload_v2_kind.py | 10 + ...ion_operation_payload_v2_operation_type.py | 10 + ...ion_operation_payload_v3_operation_type.py | 10 + .../expression_operation_v2_operation_type.py | 10 + .../expression_operation_v3_operation_type.py | 10 + .../external_issue_reference_v1_provider.py | 10 + .../external_issue_reference_v2_provider.py | 10 + .../external_resource_v1_resource_type.py | 10 + incident_io/models/follow_up_v2_status.py | 10 + incident_io/models/follow_up_v3_status.py | 10 + ...nect_external_issue_payload_v2_provider.py | 12 + ...nect_external_issue_payload_v3_provider.py | 12 + .../follow_ups_update_payload_v2_status.py | 10 + .../follow_ups_update_payload_v3_status.py | 10 + .../follow_ups_v2_list_incident_mode.py | 10 + .../follow_ups_v3_list_incident_mode.py | 10 + .../grouping_settings_v3_window_type.py | 10 + incident_io/models/identity_v1_roles_item.py | 10 + .../models/identity_v1_team_roles_item.py | 10 + .../incident_activity_log_entry_v2_type.py | 10 + ...reate_payload_v1_resource_resource_type.py | 12 + ...ident_attachments_v1_list_resource_type.py | 10 + ...nt_duration_metric_with_value_v2_status.py | 10 + ...ncident_participant_v2_participant_type.py | 10 + ...articipant_workload_v2_participant_type.py | 10 + .../models/incident_role_v1_role_type.py | 10 + .../models/incident_role_v2_role_type.py | 10 + .../incident_slim_v2_status_category.py | 10 + .../models/incident_slim_v2_visibility.py | 10 + .../models/incident_status_v1_category.py | 10 + .../models/incident_status_v2_category.py | 10 + ...ent_statuses_create_payload_v1_category.py | 10 + ...field_binding_payload_v1_merge_strategy.py | 12 + ..._custom_field_binding_v1_merge_strategy.py | 12 + ...erity_binding_payload_v1_merge_strategy.py | 12 + ...late_severity_binding_v1_merge_strategy.py | 12 + .../incident_type_v1_create_in_triage.py | 10 + .../incident_type_v2_create_in_triage.py | 10 + incident_io/models/incident_v1_mode.py | 10 + incident_io/models/incident_v1_status.py | 10 + incident_io/models/incident_v1_visibility.py | 10 + incident_io/models/incident_v2_mode.py | 10 + incident_io/models/incident_v2_visibility.py | 10 + .../incidents_create_payload_v1_mode.py | 10 + .../incidents_create_payload_v1_status.py | 10 + .../incidents_create_payload_v1_visibility.py | 10 + .../incidents_create_payload_v2_mode.py | 10 + .../incidents_create_payload_v2_visibility.py | 10 + .../models/incidents_v2_list_filter_mode.py | 10 + .../models/incidents_v2_list_sort_by.py | 10 + .../maintenance_windows_v1_list_status.py | 10 + .../models/management_meta_v2_managed_by.py | 10 + ...tification_method_public_v2_method_type.py | 10 + ...public_v2_push_notification_criticality.py | 12 + ...ation_rule_method_target_public_v2_type.py | 12 + ...on_rule_phone_details_public_v2_channel.py | 12 + ...notification_rule_public_v2_method_type.py | 10 + ...l_notification_rule_public_v2_rule_type.py | 10 + .../models/pay_config_v2_rate_time_unit.py | 10 + ...ig_weekly_rule_payload_v2_weekdays_item.py | 10 + ...pay_config_weekly_rule_v2_weekdays_item.py | 10 + ...onfigs_create_payload_v2_rate_time_unit.py | 10 + ...te_weekly_rule_payload_v2_weekdays_item.py | 12 + ...onfigs_update_payload_v2_rate_time_unit.py | 10 + ...te_weekly_rule_payload_v2_weekdays_item.py | 12 + .../models/pay_report_v2_error_code.py | 10 + .../pay_report_v2_overlapping_shifts.py | 10 + incident_io/models/pay_report_v2_status.py | 10 + .../models/pay_report_v2_unpaid_shifts.py | 10 + ...ts_create_payload_v2_overlapping_shifts.py | 10 + ...reports_create_payload_v2_unpaid_shifts.py | 10 + ...publish_payload_v2_send_user_breakdowns.py | 10 + .../policies_create_payload_v2_policy_type.py | 10 + .../policies_create_payload_v2_status.py | 10 + .../policies_update_payload_v2_policy_type.py | 10 + .../policies_update_payload_v2_status.py | 10 + .../models/policies_v2_list_policy_type.py | 10 + ...date_config_payload_v2_calculation_type.py | 10 + ...icy_due_date_config_v2_calculation_type.py | 10 + ...ing_readiness_rule_v2_method_types_item.py | 10 + ...finding_schedule_impacted_user_v2_cause.py | 10 + .../policy_finding_schedule_v2_cause.py | 10 + .../models/policy_finding_v2_policy_type.py | 10 + incident_io/models/policy_finding_v2_state.py | 10 + ...policy_on_call_readiness_v2_enforcement.py | 10 + ...icy_readiness_rule_v2_method_types_item.py | 10 + .../policy_reminder_cadence_v2_interval.py | 10 + .../policy_schedule_v2_evaluation_level.py | 10 + .../policy_schedule_v2_requirement_type.py | 10 + incident_io/models/policy_v2_policy_type.py | 10 + incident_io/models/policy_v2_status.py | 10 + .../models/postmortem_document_v1_status.py | 10 + .../models/postmortem_document_v1_type.py | 10 + ...cument_with_status_change_v1_new_status.py | 12 + ...t_with_status_change_v1_previous_status.py | 12 + ...nts_attach_payload_v1_document_provider.py | 12 + ...cuments_update_status_payload_v1_status.py | 12 + .../postmortem_documents_v1_list_sort_by.py | 10 + ...lica_create_payload_v2_replica_provider.py | 12 + .../schedule_replica_v2_replica_provider.py | 10 + ...ation_create_payload_v2_scheduling_mode.py | 12 + ...dule_rotation_handover_v2_interval_type.py | 10 + ...ation_update_payload_v2_scheduling_mode.py | 12 + .../schedule_rotation_v2_scheduling_mode.py | 10 + ...king_interval_create_payload_v2_weekday.py | 12 + ...le_rotation_working_interval_v2_weekday.py | 10 + ...e_sync_rule_create_payload_v2_sync_type.py | 10 + .../models/schedule_sync_rule_v2_sync_type.py | 10 + ...schedule_sync_rule_payload_v2_sync_type.py | 12 + ..._affected_component_v2_component_status.py | 12 + ...nt_component_impact_v2_component_status.py | 12 + ...page_incident_update_v2_incident_status.py | 10 + ...status_page_incident_v2_incident_status.py | 10 + ..._affected_component_v2_component_status.py | 12 + ...aintenance_update_v2_maintenance_status.py | 12 + ..._page_maintenance_v2_maintenance_status.py | 10 + ...tive_incident_update_v2_incident_status.py | 12 + ...age_incident_payload_v2_incident_status.py | 12 + ...ident_update_payload_v2_incident_status.py | 12 + ...intenance_payload_v2_maintenance_status.py | 12 + ...ce_update_payload_v2_maintenance_status.py | 12 + .../models/step_progress_slim_v2_status.py | 10 + ...progress_slim_v2_webhook_delivery_state.py | 10 + incident_io/models/step_progress_v2_status.py | 10 + ...step_progress_v2_webhook_delivery_state.py | 10 + incident_io/models/user_seats_v2_on_call.py | 10 + incident_io/models/user_seats_v2_response.py | 10 + incident_io/models/user_v1_role.py | 10 + incident_io/models/user_v2_role.py | 10 + incident_io/models/user_with_roles_v2_role.py | 10 + ...result_v2_preferred_escalation_provider.py | 12 + ...ayload_v2_preferred_escalation_provider.py | 12 + .../webhook_delivery_slim_v2_outcome.py | 10 + .../models/webhook_delivery_v2_outcome.py | 10 + .../models/webhook_incident_v2_mode.py | 10 + .../models/webhook_incident_v2_visibility.py | 10 + ...ert_created_v1_response_body_event_type.py | 12 + ...rt_resolved_v1_response_body_event_type.py | 12 + ...ion_created_v1_response_body_event_type.py | 12 + ...tus_updated_v1_response_body_event_type.py | 12 + ...ion_created_v1_response_body_event_type.py | 12 + ...ion_updated_v1_response_body_event_type.py | 12 + ..._up_created_v1_response_body_event_type.py | 12 + ..._up_created_v2_response_body_event_type.py | 12 + ..._up_updated_v1_response_body_event_type.py | 12 + ..._up_updated_v2_response_body_event_type.py | 12 + ...ent_created_v2_response_body_event_type.py | 12 + ...ent_updated_v2_response_body_event_type.py | 12 + ...hip_granted_v1_response_body_event_type.py | 12 + ...hip_revoked_v1_response_body_event_type.py | 12 + ...tus_updated_v1_response_body_event_type.py | 14 + ...ert_created_v1_response_body_event_type.py | 12 + ...rt_resolved_v1_response_body_event_type.py | 12 + ...ion_created_v1_response_body_event_type.py | 12 + ...tus_updated_v1_response_body_event_type.py | 12 + ...ion_created_v1_response_body_event_type.py | 12 + ...ion_updated_v1_response_body_event_type.py | 12 + ..._up_created_v1_response_body_event_type.py | 12 + ..._up_created_v2_response_body_event_type.py | 12 + ..._up_updated_v1_response_body_event_type.py | 12 + ..._up_updated_v2_response_body_event_type.py | 12 + ...ent_created_v2_response_body_event_type.py | 12 + ...tus_updated_v2_response_body_event_type.py | 12 + ...ent_updated_v2_response_body_event_type.py | 12 + ...tus_updated_v1_response_body_event_type.py | 12 + ...ule_created_v1_response_body_event_type.py | 12 + ...ule_deleted_v1_response_body_event_type.py | 12 + ...hift_change_v1_response_body_event_type.py | 12 + ...ule_updated_v1_response_body_event_type.py | 12 + ...date_shared_v1_response_body_event_type.py | 12 + .../models/weekday_interval_v2_weekday.py | 10 + ...workflow_slim_v2_private_incident_scope.py | 10 + ...low_slim_v2_runs_on_incident_modes_item.py | 10 + .../workflow_slim_v2_runs_on_incidents.py | 10 + incident_io/models/workflow_slim_v2_state.py | 10 + .../workflow_v2_private_incident_scope.py | 10 + ...workflow_v2_runs_on_incident_modes_item.py | 10 + .../models/workflow_v2_runs_on_incidents.py | 10 + incident_io/models/workflow_v2_state.py | 10 + ...kflow_payload_v2_private_incident_scope.py | 12 + ..._payload_v2_runs_on_incident_modes_item.py | 12 + ...e_workflow_payload_v2_runs_on_incidents.py | 12 + ...kflows_create_workflow_payload_v2_state.py | 10 + ...kflow_payload_v2_private_incident_scope.py | 12 + ..._payload_v2_runs_on_incident_modes_item.py | 12 + ...e_workflow_payload_v2_runs_on_incidents.py | 12 + ...kflows_update_workflow_payload_v2_state.py | 10 + oasdiff-severity.txt | 2 + scripts/api_surface.py | 46 +- scripts/fix_generated.py | 30 +- scripts/mark_deprecated.py | 30 +- scripts/verify_import.py | 12 +- templates/str_enum.py.jinja | 33 + tests/test_sdk.py | 40 +- 359 files changed, 15713 insertions(+), 2923 deletions(-) create mode 100644 templates/str_enum.py.jinja diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 956d330..e853b06 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -49,15 +49,11 @@ jobs: with: fetch-depth: 0 # need full history + tags to read the last version - - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 # Goes to a scratch path because oasdiff needs both versions to compare; # writing straight over openapi.json would lose the old one. - name: Fetch latest public schema - # -L because without it a redirect succeeds and writes zero bytes, - # which oasdiff reads as an empty schema and reports as every endpoint - # having been removed. - run: curl -sfSL https://api.incident.io/v1/openapiV3.json -o openapi.json.new + run: make fetch OUT=openapi.json.new - name: Exit early if schema unchanged id: changed @@ -69,6 +65,23 @@ jobs: echo "changed=true" >> "$GITHUB_OUTPUT" fi + - if: steps.changed.outputs.changed == 'true' + uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + with: + # The default key hashes pyproject.toml, which every release rewrites + # with a new version, so it would miss every time. The pins that + # actually decide what gets downloaded live in the Makefile. + cache-dependency-glob: Makefile + # mypy over 1895 files is the slowest part of verify: ~6s cold against + # ~0.2s warm. make generate rewrites every file, but mypy falls back to + # the source hash, and most models are untouched between releases. + - if: steps.changed.outputs.changed == 'true' + uses: actions/cache@v4 + with: + path: .mypy_cache + key: mypy-${{ hashFiles('Makefile') }}-${{ github.sha }} + restore-keys: mypy-${{ hashFiles('Makefile') }}- + - name: Check for breaking changes if: steps.changed.outputs.changed == 'true' id: breaking @@ -83,13 +96,19 @@ jobs: exit 0 fi - # oasdiff-severity.txt downgrades two rules from ERR. oasdiff judges - # the schema; what we ship is a client generated from it, and an - # added response enum value is breaking only for someone pinned to an - # older client — which is what the version bump is for. Left at ERR - # they halt about a quarter of real schema changes: over 49 - # consecutive changes from sdk-go's history, 12 would have stopped, - # 11 of them for an added enum value. The file takes no comments. + # oasdiff-severity.txt adjusts four rules in both directions; it + # takes no comments of its own. + # + # Down to WARN: an added response enum value, because our generated + # enums accept unknown values (templates/str_enum.py.jinja), and a + # tightened request minimum, because the generator emits no range + # validation so the client cannot behave differently. Left at ERR + # these halt about a quarter of real schema changes — over 49 + # consecutive changes from sdk-go's history, 12 would have stopped. + # + # Up to ERR: a removed operationId or component schema. Neither + # changes the wire contract, so oasdiff rates them info, but both + # rename something consumers import. report="$(/tmp/oasdiff breaking openapi.json openapi.json.new \ --severity-levels oasdiff-severity.txt --fail-on ERR 2>&1)" && rc=0 || rc=$? echo "$report" @@ -197,48 +216,17 @@ jobs: sed -i -E "0,/^version = /s/^version = .*/version = \"${NEXT#v}\"/" pyproject.toml grep -m1 '^version = ' pyproject.toml - - name: Regenerate and verify + - name: Regenerate and check if: steps.changed.outputs.changed == 'true' run: | set -euo pipefail mv openapi.json.new openapi.json make generate - make verify + # make test depends on make verify: builds the wheel, imports every + # module, type-checks, checks the API surface, then runs the tests. # The generated code changes on every release, which is exactly when - # behaviour needs checking. make verify only proves it imports. - uv run --group dev pytest tests/ -q - - # make verify fails when something left the public surface. That is a - # breaking change oasdiff cannot see, so it gets oasdiff's treatment: - # an issue, and no publish. - - name: Report a breaking change to the generated API - if: failure() && steps.changed.outputs.changed == 'true' && steps.breaking.outputs.breaking != 'true' - env: - GH_TOKEN: ${{ github.token }} - run: | - set -euo pipefail - git diff --quiet -- api-surface.txt && exit 0 || true - - gh label create breaking-change \ - --description "Schema changed incompatibly; release halted" \ - --color B60205 2>/dev/null || true - - if gh issue list --label breaking-change --state open --limit 1 \ - --json number --jq '.[0].number // empty' | grep -q .; then - echo "::error::Already reported." - exit 1 - fi - - gh issue create --title "Generated API changed incompatibly — manual release required" \ - --label breaking-change --body "$(cat < str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActionV1Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/action_v2_status.py b/incident_io/models/action_v2_status.py index 524936e..bd58b46 100644 --- a/incident_io/models/action_v2_status.py +++ b/incident_io/models/action_v2_status.py @@ -9,3 +9,13 @@ class ActionV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActionV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/action_v3_status.py b/incident_io/models/action_v3_status.py index 975ba25..cfc06b5 100644 --- a/incident_io/models/action_v3_status.py +++ b/incident_io/models/action_v3_status.py @@ -9,3 +9,13 @@ class ActionV3Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActionV3Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/actions_update_payload_v2_status.py b/incident_io/models/actions_update_payload_v2_status.py index 70f2c10..bd4c889 100644 --- a/incident_io/models/actions_update_payload_v2_status.py +++ b/incident_io/models/actions_update_payload_v2_status.py @@ -9,3 +9,13 @@ class ActionsUpdatePayloadV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActionsUpdatePayloadV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/actions_update_payload_v3_status.py b/incident_io/models/actions_update_payload_v3_status.py index ed1d327..732714a 100644 --- a/incident_io/models/actions_update_payload_v3_status.py +++ b/incident_io/models/actions_update_payload_v3_status.py @@ -9,3 +9,13 @@ class ActionsUpdatePayloadV3Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActionsUpdatePayloadV3Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/actions_v1_list_incident_mode.py b/incident_io/models/actions_v1_list_incident_mode.py index b8d08df..512ea88 100644 --- a/incident_io/models/actions_v1_list_incident_mode.py +++ b/incident_io/models/actions_v1_list_incident_mode.py @@ -8,3 +8,13 @@ class ActionsV1ListIncidentMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActionsV1ListIncidentMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/actions_v2_list_incident_mode.py b/incident_io/models/actions_v2_list_incident_mode.py index ef69f00..d8aa2bb 100644 --- a/incident_io/models/actions_v2_list_incident_mode.py +++ b/incident_io/models/actions_v2_list_incident_mode.py @@ -10,3 +10,13 @@ class ActionsV2ListIncidentMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActionsV2ListIncidentMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/actions_v3_list_incident_mode.py b/incident_io/models/actions_v3_list_incident_mode.py index 1f7caf9..82255c3 100644 --- a/incident_io/models/actions_v3_list_incident_mode.py +++ b/incident_io/models/actions_v3_list_incident_mode.py @@ -10,3 +10,13 @@ class ActionsV3ListIncidentMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActionsV3ListIncidentMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/activity_action_updated_v2_new_status.py b/incident_io/models/activity_action_updated_v2_new_status.py index 6e8736b..f77fb41 100644 --- a/incident_io/models/activity_action_updated_v2_new_status.py +++ b/incident_io/models/activity_action_updated_v2_new_status.py @@ -9,3 +9,13 @@ class ActivityActionUpdatedV2NewStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActivityActionUpdatedV2NewStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/activity_action_updated_v2_previous_status.py b/incident_io/models/activity_action_updated_v2_previous_status.py index 8ecb79b..dfed714 100644 --- a/incident_io/models/activity_action_updated_v2_previous_status.py +++ b/incident_io/models/activity_action_updated_v2_previous_status.py @@ -9,3 +9,13 @@ class ActivityActionUpdatedV2PreviousStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActivityActionUpdatedV2PreviousStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/activity_follow_up_updated_v2_new_status.py b/incident_io/models/activity_follow_up_updated_v2_new_status.py index 5fdd336..a11bc99 100644 --- a/incident_io/models/activity_follow_up_updated_v2_new_status.py +++ b/incident_io/models/activity_follow_up_updated_v2_new_status.py @@ -9,3 +9,13 @@ class ActivityFollowUpUpdatedV2NewStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActivityFollowUpUpdatedV2NewStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/activity_follow_up_updated_v2_previous_status.py b/incident_io/models/activity_follow_up_updated_v2_previous_status.py index 3beac6c..4fffe45 100644 --- a/incident_io/models/activity_follow_up_updated_v2_previous_status.py +++ b/incident_io/models/activity_follow_up_updated_v2_previous_status.py @@ -9,3 +9,13 @@ class ActivityFollowUpUpdatedV2PreviousStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ActivityFollowUpUpdatedV2PreviousStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/activity_incident_visibility_changed_v2_new_visibility.py b/incident_io/models/activity_incident_visibility_changed_v2_new_visibility.py index c0bdd16..f158774 100644 --- a/incident_io/models/activity_incident_visibility_changed_v2_new_visibility.py +++ b/incident_io/models/activity_incident_visibility_changed_v2_new_visibility.py @@ -7,3 +7,15 @@ class ActivityIncidentVisibilityChangedV2NewVisibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "ActivityIncidentVisibilityChangedV2NewVisibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/activity_incident_visibility_changed_v2_previous_visibility.py b/incident_io/models/activity_incident_visibility_changed_v2_previous_visibility.py index 1ed1c75..65ae86c 100644 --- a/incident_io/models/activity_incident_visibility_changed_v2_previous_visibility.py +++ b/incident_io/models/activity_incident_visibility_changed_v2_previous_visibility.py @@ -7,3 +7,15 @@ class ActivityIncidentVisibilityChangedV2PreviousVisibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "ActivityIncidentVisibilityChangedV2PreviousVisibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_events_create_http_payload_v2_status.py b/incident_io/models/alert_events_create_http_payload_v2_status.py index 230c763..1763ad5 100644 --- a/incident_io/models/alert_events_create_http_payload_v2_status.py +++ b/incident_io/models/alert_events_create_http_payload_v2_status.py @@ -7,3 +7,13 @@ class AlertEventsCreateHTTPPayloadV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertEventsCreateHTTPPayloadV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_channel_target_payload_v3_channel_visibility.py b/incident_io/models/alert_route_channel_target_payload_v3_channel_visibility.py index 9646e97..800fd4d 100644 --- a/incident_io/models/alert_route_channel_target_payload_v3_channel_visibility.py +++ b/incident_io/models/alert_route_channel_target_payload_v3_channel_visibility.py @@ -10,3 +10,15 @@ class AlertRouteChannelTargetPayloadV3ChannelVisibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AlertRouteChannelTargetPayloadV3ChannelVisibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_custom_field_binding_payload_v2_merge_strategy.py b/incident_io/models/alert_route_custom_field_binding_payload_v2_merge_strategy.py index 83999f0..4ff2e72 100644 --- a/incident_io/models/alert_route_custom_field_binding_payload_v2_merge_strategy.py +++ b/incident_io/models/alert_route_custom_field_binding_payload_v2_merge_strategy.py @@ -8,3 +8,15 @@ class AlertRouteCustomFieldBindingPayloadV2MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AlertRouteCustomFieldBindingPayloadV2MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_custom_field_binding_payload_v3_merge_strategy.py b/incident_io/models/alert_route_custom_field_binding_payload_v3_merge_strategy.py index 4724a51..62ad3ad 100644 --- a/incident_io/models/alert_route_custom_field_binding_payload_v3_merge_strategy.py +++ b/incident_io/models/alert_route_custom_field_binding_payload_v3_merge_strategy.py @@ -8,3 +8,15 @@ class AlertRouteCustomFieldBindingPayloadV3MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AlertRouteCustomFieldBindingPayloadV3MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_custom_field_binding_v2_merge_strategy.py b/incident_io/models/alert_route_custom_field_binding_v2_merge_strategy.py index 9b92f32..dd38b4e 100644 --- a/incident_io/models/alert_route_custom_field_binding_v2_merge_strategy.py +++ b/incident_io/models/alert_route_custom_field_binding_v2_merge_strategy.py @@ -8,3 +8,13 @@ class AlertRouteCustomFieldBindingV2MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertRouteCustomFieldBindingV2MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_custom_field_binding_v3_merge_strategy.py b/incident_io/models/alert_route_custom_field_binding_v3_merge_strategy.py index f5041a8..926fbfc 100644 --- a/incident_io/models/alert_route_custom_field_binding_v3_merge_strategy.py +++ b/incident_io/models/alert_route_custom_field_binding_v3_merge_strategy.py @@ -8,3 +8,13 @@ class AlertRouteCustomFieldBindingV3MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertRouteCustomFieldBindingV3MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_severity_binding_payload_v2_merge_strategy.py b/incident_io/models/alert_route_severity_binding_payload_v2_merge_strategy.py index fd3d66f..865b65b 100644 --- a/incident_io/models/alert_route_severity_binding_payload_v2_merge_strategy.py +++ b/incident_io/models/alert_route_severity_binding_payload_v2_merge_strategy.py @@ -7,3 +7,15 @@ class AlertRouteSeverityBindingPayloadV2MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AlertRouteSeverityBindingPayloadV2MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_severity_binding_payload_v3_merge_strategy.py b/incident_io/models/alert_route_severity_binding_payload_v3_merge_strategy.py index 12fe6d6..b5602c7 100644 --- a/incident_io/models/alert_route_severity_binding_payload_v3_merge_strategy.py +++ b/incident_io/models/alert_route_severity_binding_payload_v3_merge_strategy.py @@ -7,3 +7,15 @@ class AlertRouteSeverityBindingPayloadV3MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AlertRouteSeverityBindingPayloadV3MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_severity_binding_v2_merge_strategy.py b/incident_io/models/alert_route_severity_binding_v2_merge_strategy.py index b5beff8..579d12a 100644 --- a/incident_io/models/alert_route_severity_binding_v2_merge_strategy.py +++ b/incident_io/models/alert_route_severity_binding_v2_merge_strategy.py @@ -7,3 +7,13 @@ class AlertRouteSeverityBindingV2MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertRouteSeverityBindingV2MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_severity_binding_v3_merge_strategy.py b/incident_io/models/alert_route_severity_binding_v3_merge_strategy.py index 1e33552..2c7b5dc 100644 --- a/incident_io/models/alert_route_severity_binding_v3_merge_strategy.py +++ b/incident_io/models/alert_route_severity_binding_v3_merge_strategy.py @@ -7,3 +7,13 @@ class AlertRouteSeverityBindingV3MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertRouteSeverityBindingV3MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_when_alert_joins_group_payload_v3_mode.py b/incident_io/models/alert_route_when_alert_joins_group_payload_v3_mode.py index 42a8e1c..2fe1902 100644 --- a/incident_io/models/alert_route_when_alert_joins_group_payload_v3_mode.py +++ b/incident_io/models/alert_route_when_alert_joins_group_payload_v3_mode.py @@ -7,3 +7,13 @@ class AlertRouteWhenAlertJoinsGroupPayloadV3Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertRouteWhenAlertJoinsGroupPayloadV3Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_route_when_alert_joins_group_v3_mode.py b/incident_io/models/alert_route_when_alert_joins_group_v3_mode.py index 6151e66..f98b217 100644 --- a/incident_io/models/alert_route_when_alert_joins_group_v3_mode.py +++ b/incident_io/models/alert_route_when_alert_joins_group_v3_mode.py @@ -7,3 +7,13 @@ class AlertRouteWhenAlertJoinsGroupV3Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertRouteWhenAlertJoinsGroupV3Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_slim_v2_status.py b/incident_io/models/alert_slim_v2_status.py index cc352ac..e7392aa 100644 --- a/incident_io/models/alert_slim_v2_status.py +++ b/incident_io/models/alert_slim_v2_status.py @@ -7,3 +7,13 @@ class AlertSlimV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertSlimV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_source_email_options_payload_v2_redactions_item.py b/incident_io/models/alert_source_email_options_payload_v2_redactions_item.py index 39b6ef4..dad4a84 100644 --- a/incident_io/models/alert_source_email_options_payload_v2_redactions_item.py +++ b/incident_io/models/alert_source_email_options_payload_v2_redactions_item.py @@ -8,3 +8,15 @@ class AlertSourceEmailOptionsPayloadV2RedactionsItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AlertSourceEmailOptionsPayloadV2RedactionsItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_source_email_options_v2_redactions_item.py b/incident_io/models/alert_source_email_options_v2_redactions_item.py index da1c6dd..bb8b6d0 100644 --- a/incident_io/models/alert_source_email_options_v2_redactions_item.py +++ b/incident_io/models/alert_source_email_options_v2_redactions_item.py @@ -8,3 +8,13 @@ class AlertSourceEmailOptionsV2RedactionsItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertSourceEmailOptionsV2RedactionsItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_source_v2_source_type.py b/incident_io/models/alert_source_v2_source_type.py index f418f47..6ab2fdf 100644 --- a/incident_io/models/alert_source_v2_source_type.py +++ b/incident_io/models/alert_source_v2_source_type.py @@ -57,3 +57,13 @@ class AlertSourceV2SourceType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertSourceV2SourceType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_sources_create_payload_v2_source_type.py b/incident_io/models/alert_sources_create_payload_v2_source_type.py index 0085d8b..bdd61f3 100644 --- a/incident_io/models/alert_sources_create_payload_v2_source_type.py +++ b/incident_io/models/alert_sources_create_payload_v2_source_type.py @@ -57,3 +57,13 @@ class AlertSourcesCreatePayloadV2SourceType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertSourcesCreatePayloadV2SourceType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_sources_validate_payload_v2_source_type.py b/incident_io/models/alert_sources_validate_payload_v2_source_type.py index 536d1e7..ec99a8e 100644 --- a/incident_io/models/alert_sources_validate_payload_v2_source_type.py +++ b/incident_io/models/alert_sources_validate_payload_v2_source_type.py @@ -57,3 +57,13 @@ class AlertSourcesValidatePayloadV2SourceType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertSourcesValidatePayloadV2SourceType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_template_attribute_binding_payload_v2_merge_strategy.py b/incident_io/models/alert_template_attribute_binding_payload_v2_merge_strategy.py index 1b421d6..cd07d4d 100644 --- a/incident_io/models/alert_template_attribute_binding_payload_v2_merge_strategy.py +++ b/incident_io/models/alert_template_attribute_binding_payload_v2_merge_strategy.py @@ -10,3 +10,15 @@ class AlertTemplateAttributeBindingPayloadV2MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AlertTemplateAttributeBindingPayloadV2MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_template_attribute_binding_v2_merge_strategy.py b/incident_io/models/alert_template_attribute_binding_v2_merge_strategy.py index 65140aa..0e92acc 100644 --- a/incident_io/models/alert_template_attribute_binding_v2_merge_strategy.py +++ b/incident_io/models/alert_template_attribute_binding_v2_merge_strategy.py @@ -10,3 +10,13 @@ class AlertTemplateAttributeBindingV2MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertTemplateAttributeBindingV2MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alert_v2_status.py b/incident_io/models/alert_v2_status.py index c41c2f6..f018198 100644 --- a/incident_io/models/alert_v2_status.py +++ b/incident_io/models/alert_v2_status.py @@ -7,3 +7,13 @@ class AlertV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/alerts_transition_incident_alert_payload_v2_state.py b/incident_io/models/alerts_transition_incident_alert_payload_v2_state.py index 1298838..e6a87fd 100644 --- a/incident_io/models/alerts_transition_incident_alert_payload_v2_state.py +++ b/incident_io/models/alerts_transition_incident_alert_payload_v2_state.py @@ -7,3 +7,13 @@ class AlertsTransitionIncidentAlertPayloadV2State(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AlertsTransitionIncidentAlertPayloadV2State": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/api_key_role_v1_name.py b/incident_io/models/api_key_role_v1_name.py index ea59604..0359203 100644 --- a/incident_io/models/api_key_role_v1_name.py +++ b/incident_io/models/api_key_role_v1_name.py @@ -50,3 +50,13 @@ class APIKeyRoleV1Name(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "APIKeyRoleV1Name": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/api_key_team_role_v1_name.py b/incident_io/models/api_key_team_role_v1_name.py index 4e99fe8..2f13dfa 100644 --- a/incident_io/models/api_key_team_role_v1_name.py +++ b/incident_io/models/api_key_team_role_v1_name.py @@ -19,3 +19,13 @@ class APIKeyTeamRoleV1Name(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "APIKeyTeamRoleV1Name": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/api_keys_create_payload_v1_role_names_item.py b/incident_io/models/api_keys_create_payload_v1_role_names_item.py index 7ce841d..a9066ae 100644 --- a/incident_io/models/api_keys_create_payload_v1_role_names_item.py +++ b/incident_io/models/api_keys_create_payload_v1_role_names_item.py @@ -50,3 +50,13 @@ class APIKeysCreatePayloadV1RoleNamesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "APIKeysCreatePayloadV1RoleNamesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/api_keys_create_payload_v1_team_role_names_item.py b/incident_io/models/api_keys_create_payload_v1_team_role_names_item.py index cf5275f..7e487be 100644 --- a/incident_io/models/api_keys_create_payload_v1_team_role_names_item.py +++ b/incident_io/models/api_keys_create_payload_v1_team_role_names_item.py @@ -19,3 +19,13 @@ class APIKeysCreatePayloadV1TeamRoleNamesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "APIKeysCreatePayloadV1TeamRoleNamesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/api_keys_update_payload_v1_role_names_item.py b/incident_io/models/api_keys_update_payload_v1_role_names_item.py index 8b1d264..21b763b 100644 --- a/incident_io/models/api_keys_update_payload_v1_role_names_item.py +++ b/incident_io/models/api_keys_update_payload_v1_role_names_item.py @@ -50,3 +50,13 @@ class APIKeysUpdatePayloadV1RoleNamesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "APIKeysUpdatePayloadV1RoleNamesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/api_keys_update_payload_v1_team_role_names_item.py b/incident_io/models/api_keys_update_payload_v1_team_role_names_item.py index 317f356..d85557d 100644 --- a/incident_io/models/api_keys_update_payload_v1_team_role_names_item.py +++ b/incident_io/models/api_keys_update_payload_v1_team_role_names_item.py @@ -19,3 +19,13 @@ class APIKeysUpdatePayloadV1TeamRoleNamesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "APIKeysUpdatePayloadV1TeamRoleNamesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_actor_v2_type.py b/incident_io/models/audit_log_actor_v2_type.py index 73a4894..8e92312 100644 --- a/incident_io/models/audit_log_actor_v2_type.py +++ b/incident_io/models/audit_log_actor_v2_type.py @@ -10,3 +10,13 @@ class AuditLogActorV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AuditLogActorV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2_outcome.py b/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2_outcome.py index 19c4c24..7a88efe 100644 --- a/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2_outcome.py +++ b/incident_io/models/audit_log_private_alert_access_attempted_metadata_v2_outcome.py @@ -7,3 +7,15 @@ class AuditLogPrivateAlertAccessAttemptedMetadataV2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AuditLogPrivateAlertAccessAttemptedMetadataV2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2_outcome.py b/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2_outcome.py index 429c149..d045329 100644 --- a/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2_outcome.py +++ b/incident_io/models/audit_log_private_escalation_access_attempted_metadata_v2_outcome.py @@ -7,3 +7,15 @@ class AuditLogPrivateEscalationAccessAttemptedMetadataV2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AuditLogPrivateEscalationAccessAttemptedMetadataV2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2_outcome.py b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2_outcome.py index e13196a..5ced1b8 100644 --- a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2_outcome.py +++ b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2_outcome.py @@ -7,3 +7,15 @@ class AuditLogPrivateIncidentAccessAttemptedMetadataV2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AuditLogPrivateIncidentAccessAttemptedMetadataV2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2_access_type.py b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2_access_type.py index cbc4865..3d2ad4d 100644 --- a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2_access_type.py +++ b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2_access_type.py @@ -9,3 +9,15 @@ class AuditLogPrivateIncidentAccessAttemptedMetadataV2V2AccessType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AuditLogPrivateIncidentAccessAttemptedMetadataV2V2AccessType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2_outcome.py b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2_outcome.py index fb182bd..d2269c1 100644 --- a/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2_outcome.py +++ b/incident_io/models/audit_log_private_incident_access_attempted_metadata_v2v2_outcome.py @@ -7,3 +7,15 @@ class AuditLogPrivateIncidentAccessAttemptedMetadataV2V2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AuditLogPrivateIncidentAccessAttemptedMetadataV2V2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_private_insights_exported_metadata_v2_outcome.py b/incident_io/models/audit_log_private_insights_exported_metadata_v2_outcome.py index 291b3a2..0ce833b 100644 --- a/incident_io/models/audit_log_private_insights_exported_metadata_v2_outcome.py +++ b/incident_io/models/audit_log_private_insights_exported_metadata_v2_outcome.py @@ -7,3 +7,15 @@ class AuditLogPrivateInsightsExportedMetadataV2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AuditLogPrivateInsightsExportedMetadataV2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2_outcome.py b/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2_outcome.py index b403675..a9e7cee 100644 --- a/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2_outcome.py +++ b/incident_io/models/audit_log_private_insights_measure_queried_metadata_v2_outcome.py @@ -7,3 +7,15 @@ class AuditLogPrivateInsightsMeasureQueriedMetadataV2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AuditLogPrivateInsightsMeasureQueriedMetadataV2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2_outcome.py b/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2_outcome.py index bdcbba7..6f854ca 100644 --- a/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2_outcome.py +++ b/incident_io/models/audit_log_private_insights_underlying_data_queried_metadata_v2_outcome.py @@ -7,3 +7,15 @@ class AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/audit_log_target_v2_type.py b/incident_io/models/audit_log_target_v2_type.py index 380338e..0ceaa0d 100644 --- a/incident_io/models/audit_log_target_v2_type.py +++ b/incident_io/models/audit_log_target_v2_type.py @@ -72,3 +72,13 @@ class AuditLogTargetV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "AuditLogTargetV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_option_v2_digit.py b/incident_io/models/call_route_option_v2_digit.py index c8be6b2..f6f0ca8 100644 --- a/incident_io/models/call_route_option_v2_digit.py +++ b/incident_io/models/call_route_option_v2_digit.py @@ -14,3 +14,13 @@ class CallRouteOptionV2Digit(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRouteOptionV2Digit": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_path_node_payload_v2_type.py b/incident_io/models/call_route_path_node_payload_v2_type.py index 255e43f..1ba6bed 100644 --- a/incident_io/models/call_route_path_node_payload_v2_type.py +++ b/incident_io/models/call_route_path_node_payload_v2_type.py @@ -7,3 +7,13 @@ class CallRoutePathNodePayloadV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRoutePathNodePayloadV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_path_node_v2_type.py b/incident_io/models/call_route_path_node_v2_type.py index 80c1585..4307af2 100644 --- a/incident_io/models/call_route_path_node_v2_type.py +++ b/incident_io/models/call_route_path_node_v2_type.py @@ -7,3 +7,13 @@ class CallRoutePathNodeV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRoutePathNodeV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_target_v2_schedule_mode.py b/incident_io/models/call_route_target_v2_schedule_mode.py index 3828e00..9637c18 100644 --- a/incident_io/models/call_route_target_v2_schedule_mode.py +++ b/incident_io/models/call_route_target_v2_schedule_mode.py @@ -12,3 +12,13 @@ class CallRouteTargetV2ScheduleMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRouteTargetV2ScheduleMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_target_v2_type.py b/incident_io/models/call_route_target_v2_type.py index 770bcba..043d9fd 100644 --- a/incident_io/models/call_route_target_v2_type.py +++ b/incident_io/models/call_route_target_v2_type.py @@ -7,3 +7,13 @@ class CallRouteTargetV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRouteTargetV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_target_v2_urgency.py b/incident_io/models/call_route_target_v2_urgency.py index 8577d73..742e9eb 100644 --- a/incident_io/models/call_route_target_v2_urgency.py +++ b/incident_io/models/call_route_target_v2_urgency.py @@ -7,3 +7,13 @@ class CallRouteTargetV2Urgency(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRouteTargetV2Urgency": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_v2_current_state.py b/incident_io/models/call_route_v2_current_state.py index fbbc270..5fcc89e 100644 --- a/incident_io/models/call_route_v2_current_state.py +++ b/incident_io/models/call_route_v2_current_state.py @@ -9,3 +9,13 @@ class CallRouteV2CurrentState(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRouteV2CurrentState": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_v2_custom_language.py b/incident_io/models/call_route_v2_custom_language.py index ce93d26..c1d512c 100644 --- a/incident_io/models/call_route_v2_custom_language.py +++ b/incident_io/models/call_route_v2_custom_language.py @@ -13,3 +13,13 @@ class CallRouteV2CustomLanguage(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRouteV2CustomLanguage": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_v2_phone_number_type.py b/incident_io/models/call_route_v2_phone_number_type.py index 5dec80b..acf0989 100644 --- a/incident_io/models/call_route_v2_phone_number_type.py +++ b/incident_io/models/call_route_v2_phone_number_type.py @@ -9,3 +9,13 @@ class CallRouteV2PhoneNumberType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRouteV2PhoneNumberType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_route_v2_responder_caller_id.py b/incident_io/models/call_route_v2_responder_caller_id.py index b5dd386..08eec76 100644 --- a/incident_io/models/call_route_v2_responder_caller_id.py +++ b/incident_io/models/call_route_v2_responder_caller_id.py @@ -7,3 +7,13 @@ class CallRouteV2ResponderCallerId(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRouteV2ResponderCallerId": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_routes_create_option_payload_v2_digit.py b/incident_io/models/call_routes_create_option_payload_v2_digit.py index f707afe..2f27352 100644 --- a/incident_io/models/call_routes_create_option_payload_v2_digit.py +++ b/incident_io/models/call_routes_create_option_payload_v2_digit.py @@ -14,3 +14,13 @@ class CallRoutesCreateOptionPayloadV2Digit(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRoutesCreateOptionPayloadV2Digit": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_routes_update_option_payload_v2_digit.py b/incident_io/models/call_routes_update_option_payload_v2_digit.py index f0191d3..833c7a2 100644 --- a/incident_io/models/call_routes_update_option_payload_v2_digit.py +++ b/incident_io/models/call_routes_update_option_payload_v2_digit.py @@ -14,3 +14,13 @@ class CallRoutesUpdateOptionPayloadV2Digit(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRoutesUpdateOptionPayloadV2Digit": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_routes_update_payload_v2_custom_language.py b/incident_io/models/call_routes_update_payload_v2_custom_language.py index ebc2263..7500fed 100644 --- a/incident_io/models/call_routes_update_payload_v2_custom_language.py +++ b/incident_io/models/call_routes_update_payload_v2_custom_language.py @@ -13,3 +13,13 @@ class CallRoutesUpdatePayloadV2CustomLanguage(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRoutesUpdatePayloadV2CustomLanguage": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_routes_update_payload_v2_responder_caller_id.py b/incident_io/models/call_routes_update_payload_v2_responder_caller_id.py index 9aa36a6..62bff9c 100644 --- a/incident_io/models/call_routes_update_payload_v2_responder_caller_id.py +++ b/incident_io/models/call_routes_update_payload_v2_responder_caller_id.py @@ -7,3 +7,13 @@ class CallRoutesUpdatePayloadV2ResponderCallerId(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallRoutesUpdatePayloadV2ResponderCallerId": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/call_transcript_entry_v2_medium.py b/incident_io/models/call_transcript_entry_v2_medium.py index 8c8969c..311b253 100644 --- a/incident_io/models/call_transcript_entry_v2_medium.py +++ b/incident_io/models/call_transcript_entry_v2_medium.py @@ -7,3 +7,13 @@ class CallTranscriptEntryV2Medium(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CallTranscriptEntryV2Medium": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_create_type_payload_v2_categories_item.py b/incident_io/models/catalog_create_type_payload_v2_categories_item.py index dc19284..a04c557 100644 --- a/incident_io/models/catalog_create_type_payload_v2_categories_item.py +++ b/incident_io/models/catalog_create_type_payload_v2_categories_item.py @@ -12,3 +12,13 @@ class CatalogCreateTypePayloadV2CategoriesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogCreateTypePayloadV2CategoriesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_create_type_payload_v2_color.py b/incident_io/models/catalog_create_type_payload_v2_color.py index fcf969d..304756b 100644 --- a/incident_io/models/catalog_create_type_payload_v2_color.py +++ b/incident_io/models/catalog_create_type_payload_v2_color.py @@ -12,3 +12,13 @@ class CatalogCreateTypePayloadV2Color(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogCreateTypePayloadV2Color": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_create_type_payload_v2_icon.py b/incident_io/models/catalog_create_type_payload_v2_icon.py index 6b27221..2dea999 100644 --- a/incident_io/models/catalog_create_type_payload_v2_icon.py +++ b/incident_io/models/catalog_create_type_payload_v2_icon.py @@ -33,3 +33,13 @@ class CatalogCreateTypePayloadV2Icon(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogCreateTypePayloadV2Icon": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_create_type_payload_v3_categories_item.py b/incident_io/models/catalog_create_type_payload_v3_categories_item.py index e5215cf..d0b5c5f 100644 --- a/incident_io/models/catalog_create_type_payload_v3_categories_item.py +++ b/incident_io/models/catalog_create_type_payload_v3_categories_item.py @@ -12,3 +12,13 @@ class CatalogCreateTypePayloadV3CategoriesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogCreateTypePayloadV3CategoriesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_create_type_payload_v3_color.py b/incident_io/models/catalog_create_type_payload_v3_color.py index d014e02..3965802 100644 --- a/incident_io/models/catalog_create_type_payload_v3_color.py +++ b/incident_io/models/catalog_create_type_payload_v3_color.py @@ -12,3 +12,13 @@ class CatalogCreateTypePayloadV3Color(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogCreateTypePayloadV3Color": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_create_type_payload_v3_icon.py b/incident_io/models/catalog_create_type_payload_v3_icon.py index c47d93f..c98e516 100644 --- a/incident_io/models/catalog_create_type_payload_v3_icon.py +++ b/incident_io/models/catalog_create_type_payload_v3_icon.py @@ -33,3 +33,13 @@ class CatalogCreateTypePayloadV3Icon(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogCreateTypePayloadV3Icon": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_resource_v2_category.py b/incident_io/models/catalog_resource_v2_category.py index 2fcc1ca..b6e5799 100644 --- a/incident_io/models/catalog_resource_v2_category.py +++ b/incident_io/models/catalog_resource_v2_category.py @@ -8,3 +8,13 @@ class CatalogResourceV2Category(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogResourceV2Category": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_resource_v3_category.py b/incident_io/models/catalog_resource_v3_category.py index 2faeb4e..2850c81 100644 --- a/incident_io/models/catalog_resource_v3_category.py +++ b/incident_io/models/catalog_resource_v3_category.py @@ -8,3 +8,13 @@ class CatalogResourceV3Category(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogResourceV3Category": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_attribute_payload_v2_mode.py b/incident_io/models/catalog_type_attribute_payload_v2_mode.py index f282510..ea1e9c3 100644 --- a/incident_io/models/catalog_type_attribute_payload_v2_mode.py +++ b/incident_io/models/catalog_type_attribute_payload_v2_mode.py @@ -12,3 +12,13 @@ class CatalogTypeAttributePayloadV2Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeAttributePayloadV2Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_attribute_payload_v3_mode.py b/incident_io/models/catalog_type_attribute_payload_v3_mode.py index 3ae8485..14bac8e 100644 --- a/incident_io/models/catalog_type_attribute_payload_v3_mode.py +++ b/incident_io/models/catalog_type_attribute_payload_v3_mode.py @@ -13,3 +13,13 @@ class CatalogTypeAttributePayloadV3Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeAttributePayloadV3Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_attribute_v2_mode.py b/incident_io/models/catalog_type_attribute_v2_mode.py index 715a4c5..09697db 100644 --- a/incident_io/models/catalog_type_attribute_v2_mode.py +++ b/incident_io/models/catalog_type_attribute_v2_mode.py @@ -12,3 +12,13 @@ class CatalogTypeAttributeV2Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeAttributeV2Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_attribute_v3_mode.py b/incident_io/models/catalog_type_attribute_v3_mode.py index 9f593bd..2a14796 100644 --- a/incident_io/models/catalog_type_attribute_v3_mode.py +++ b/incident_io/models/catalog_type_attribute_v3_mode.py @@ -13,3 +13,13 @@ class CatalogTypeAttributeV3Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeAttributeV3Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_v2_categories_item.py b/incident_io/models/catalog_type_v2_categories_item.py index d43c1f2..e22ca45 100644 --- a/incident_io/models/catalog_type_v2_categories_item.py +++ b/incident_io/models/catalog_type_v2_categories_item.py @@ -12,3 +12,13 @@ class CatalogTypeV2CategoriesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeV2CategoriesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_v2_color.py b/incident_io/models/catalog_type_v2_color.py index e4fa23a..a7d469a 100644 --- a/incident_io/models/catalog_type_v2_color.py +++ b/incident_io/models/catalog_type_v2_color.py @@ -12,3 +12,13 @@ class CatalogTypeV2Color(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeV2Color": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_v2_icon.py b/incident_io/models/catalog_type_v2_icon.py index 24f64fe..4a90a17 100644 --- a/incident_io/models/catalog_type_v2_icon.py +++ b/incident_io/models/catalog_type_v2_icon.py @@ -33,3 +33,13 @@ class CatalogTypeV2Icon(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeV2Icon": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_v3_categories_item.py b/incident_io/models/catalog_type_v3_categories_item.py index a5d131b..cb43e91 100644 --- a/incident_io/models/catalog_type_v3_categories_item.py +++ b/incident_io/models/catalog_type_v3_categories_item.py @@ -12,3 +12,13 @@ class CatalogTypeV3CategoriesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeV3CategoriesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_v3_color.py b/incident_io/models/catalog_type_v3_color.py index 2c4bc6e..ff65560 100644 --- a/incident_io/models/catalog_type_v3_color.py +++ b/incident_io/models/catalog_type_v3_color.py @@ -12,3 +12,13 @@ class CatalogTypeV3Color(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeV3Color": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_type_v3_icon.py b/incident_io/models/catalog_type_v3_icon.py index f73b288..2bdaab3 100644 --- a/incident_io/models/catalog_type_v3_icon.py +++ b/incident_io/models/catalog_type_v3_icon.py @@ -33,3 +33,13 @@ class CatalogTypeV3Icon(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogTypeV3Icon": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_update_type_payload_v2_categories_item.py b/incident_io/models/catalog_update_type_payload_v2_categories_item.py index 0621974..c6ee986 100644 --- a/incident_io/models/catalog_update_type_payload_v2_categories_item.py +++ b/incident_io/models/catalog_update_type_payload_v2_categories_item.py @@ -12,3 +12,13 @@ class CatalogUpdateTypePayloadV2CategoriesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogUpdateTypePayloadV2CategoriesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_update_type_payload_v2_color.py b/incident_io/models/catalog_update_type_payload_v2_color.py index 9cc06ff..1204e53 100644 --- a/incident_io/models/catalog_update_type_payload_v2_color.py +++ b/incident_io/models/catalog_update_type_payload_v2_color.py @@ -12,3 +12,13 @@ class CatalogUpdateTypePayloadV2Color(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogUpdateTypePayloadV2Color": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_update_type_payload_v2_icon.py b/incident_io/models/catalog_update_type_payload_v2_icon.py index 508617c..f4cda32 100644 --- a/incident_io/models/catalog_update_type_payload_v2_icon.py +++ b/incident_io/models/catalog_update_type_payload_v2_icon.py @@ -33,3 +33,13 @@ class CatalogUpdateTypePayloadV2Icon(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogUpdateTypePayloadV2Icon": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_update_type_payload_v3_categories_item.py b/incident_io/models/catalog_update_type_payload_v3_categories_item.py index e15ec6b..75d8103 100644 --- a/incident_io/models/catalog_update_type_payload_v3_categories_item.py +++ b/incident_io/models/catalog_update_type_payload_v3_categories_item.py @@ -12,3 +12,13 @@ class CatalogUpdateTypePayloadV3CategoriesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogUpdateTypePayloadV3CategoriesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_update_type_payload_v3_color.py b/incident_io/models/catalog_update_type_payload_v3_color.py index 38dd897..6ba61a1 100644 --- a/incident_io/models/catalog_update_type_payload_v3_color.py +++ b/incident_io/models/catalog_update_type_payload_v3_color.py @@ -12,3 +12,13 @@ class CatalogUpdateTypePayloadV3Color(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogUpdateTypePayloadV3Color": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/catalog_update_type_payload_v3_icon.py b/incident_io/models/catalog_update_type_payload_v3_icon.py index 55e7950..7d86f86 100644 --- a/incident_io/models/catalog_update_type_payload_v3_icon.py +++ b/incident_io/models/catalog_update_type_payload_v3_icon.py @@ -33,3 +33,13 @@ class CatalogUpdateTypePayloadV3Icon(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CatalogUpdateTypePayloadV3Icon": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_field_type_info_v1_field_type.py b/incident_io/models/custom_field_type_info_v1_field_type.py index 080bb42..39a921c 100644 --- a/incident_io/models/custom_field_type_info_v1_field_type.py +++ b/incident_io/models/custom_field_type_info_v1_field_type.py @@ -10,3 +10,13 @@ class CustomFieldTypeInfoV1FieldType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldTypeInfoV1FieldType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_field_type_info_v2_field_type.py b/incident_io/models/custom_field_type_info_v2_field_type.py index dc25419..cdf971d 100644 --- a/incident_io/models/custom_field_type_info_v2_field_type.py +++ b/incident_io/models/custom_field_type_info_v2_field_type.py @@ -10,3 +10,13 @@ class CustomFieldTypeInfoV2FieldType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldTypeInfoV2FieldType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_field_v1_field_type.py b/incident_io/models/custom_field_v1_field_type.py index 3c23ad0..8f53d1c 100644 --- a/incident_io/models/custom_field_v1_field_type.py +++ b/incident_io/models/custom_field_v1_field_type.py @@ -10,3 +10,13 @@ class CustomFieldV1FieldType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldV1FieldType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_field_v1_required.py b/incident_io/models/custom_field_v1_required.py index 439f65a..330a964 100644 --- a/incident_io/models/custom_field_v1_required.py +++ b/incident_io/models/custom_field_v1_required.py @@ -8,3 +8,13 @@ class CustomFieldV1Required(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldV1Required": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_field_v1_required_v2.py b/incident_io/models/custom_field_v1_required_v2.py index 467a714..6b7128f 100644 --- a/incident_io/models/custom_field_v1_required_v2.py +++ b/incident_io/models/custom_field_v1_required_v2.py @@ -8,3 +8,13 @@ class CustomFieldV1RequiredV2(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldV1RequiredV2": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_field_v2_field_type.py b/incident_io/models/custom_field_v2_field_type.py index e49755c..ddabb30 100644 --- a/incident_io/models/custom_field_v2_field_type.py +++ b/incident_io/models/custom_field_v2_field_type.py @@ -10,3 +10,13 @@ class CustomFieldV2FieldType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldV2FieldType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_fields_create_payload_v1_field_type.py b/incident_io/models/custom_fields_create_payload_v1_field_type.py index d061ebf..dbfac84 100644 --- a/incident_io/models/custom_fields_create_payload_v1_field_type.py +++ b/incident_io/models/custom_fields_create_payload_v1_field_type.py @@ -10,3 +10,13 @@ class CustomFieldsCreatePayloadV1FieldType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldsCreatePayloadV1FieldType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_fields_create_payload_v1_required.py b/incident_io/models/custom_fields_create_payload_v1_required.py index d7b42b5..b74dbe9 100644 --- a/incident_io/models/custom_fields_create_payload_v1_required.py +++ b/incident_io/models/custom_fields_create_payload_v1_required.py @@ -8,3 +8,13 @@ class CustomFieldsCreatePayloadV1Required(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldsCreatePayloadV1Required": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_fields_create_payload_v1_required_v2.py b/incident_io/models/custom_fields_create_payload_v1_required_v2.py index 81a2b1d..086cf65 100644 --- a/incident_io/models/custom_fields_create_payload_v1_required_v2.py +++ b/incident_io/models/custom_fields_create_payload_v1_required_v2.py @@ -8,3 +8,13 @@ class CustomFieldsCreatePayloadV1RequiredV2(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldsCreatePayloadV1RequiredV2": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_fields_create_payload_v2_field_type.py b/incident_io/models/custom_fields_create_payload_v2_field_type.py index 1d65fd8..b9652ab 100644 --- a/incident_io/models/custom_fields_create_payload_v2_field_type.py +++ b/incident_io/models/custom_fields_create_payload_v2_field_type.py @@ -10,3 +10,13 @@ class CustomFieldsCreatePayloadV2FieldType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldsCreatePayloadV2FieldType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_fields_update_payload_v1_required.py b/incident_io/models/custom_fields_update_payload_v1_required.py index 4e66961..a99fe0c 100644 --- a/incident_io/models/custom_fields_update_payload_v1_required.py +++ b/incident_io/models/custom_fields_update_payload_v1_required.py @@ -8,3 +8,13 @@ class CustomFieldsUpdatePayloadV1Required(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldsUpdatePayloadV1Required": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/custom_fields_update_payload_v1_required_v2.py b/incident_io/models/custom_fields_update_payload_v1_required_v2.py index a4648c6..40fa140 100644 --- a/incident_io/models/custom_fields_update_payload_v1_required_v2.py +++ b/incident_io/models/custom_fields_update_payload_v1_required_v2.py @@ -8,3 +8,13 @@ class CustomFieldsUpdatePayloadV1RequiredV2(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "CustomFieldsUpdatePayloadV1RequiredV2": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/embedded_incident_role_v2_role_type.py b/incident_io/models/embedded_incident_role_v2_role_type.py index bf5f357..23f9fb0 100644 --- a/incident_io/models/embedded_incident_role_v2_role_type.py +++ b/incident_io/models/embedded_incident_role_v2_role_type.py @@ -8,3 +8,13 @@ class EmbeddedIncidentRoleV2RoleType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EmbeddedIncidentRoleV2RoleType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/engine_param_v2_allowed_value_types_item.py b/incident_io/models/engine_param_v2_allowed_value_types_item.py index ff4daa2..a0f88f1 100644 --- a/incident_io/models/engine_param_v2_allowed_value_types_item.py +++ b/incident_io/models/engine_param_v2_allowed_value_types_item.py @@ -8,3 +8,13 @@ class EngineParamV2AllowedValueTypesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EngineParamV2AllowedValueTypesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/error_response_type.py b/incident_io/models/error_response_type.py index 138fdec..62eef42 100644 --- a/incident_io/models/error_response_type.py +++ b/incident_io/models/error_response_type.py @@ -20,3 +20,13 @@ class ErrorResponseType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ErrorResponseType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_event_v2_event.py b/incident_io/models/escalation_event_v2_event.py index 926dd87..fc289eb 100644 --- a/incident_io/models/escalation_event_v2_event.py +++ b/incident_io/models/escalation_event_v2_event.py @@ -13,3 +13,13 @@ class EscalationEventV2Event(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationEventV2Event": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_event_v2_urgency.py b/incident_io/models/escalation_event_v2_urgency.py index 3efe88f..3d9f213 100644 --- a/incident_io/models/escalation_event_v2_urgency.py +++ b/incident_io/models/escalation_event_v2_urgency.py @@ -7,3 +7,13 @@ class EscalationEventV2Urgency(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationEventV2Urgency": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_delay_v2_delay_interval_condition.py b/incident_io/models/escalation_path_node_delay_v2_delay_interval_condition.py index dd475af..8a8c2b8 100644 --- a/incident_io/models/escalation_path_node_delay_v2_delay_interval_condition.py +++ b/incident_io/models/escalation_path_node_delay_v2_delay_interval_condition.py @@ -7,3 +7,15 @@ class EscalationPathNodeDelayV2DelayIntervalCondition(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathNodeDelayV2DelayIntervalCondition": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_level_v2_ack_mode.py b/incident_io/models/escalation_path_node_level_v2_ack_mode.py index 9f8d381..d05fb09 100644 --- a/incident_io/models/escalation_path_node_level_v2_ack_mode.py +++ b/incident_io/models/escalation_path_node_level_v2_ack_mode.py @@ -7,3 +7,13 @@ class EscalationPathNodeLevelV2AckMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathNodeLevelV2AckMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_level_v2_time_to_ack_interval_condition.py b/incident_io/models/escalation_path_node_level_v2_time_to_ack_interval_condition.py index 34dfbb0..f53300a 100644 --- a/incident_io/models/escalation_path_node_level_v2_time_to_ack_interval_condition.py +++ b/incident_io/models/escalation_path_node_level_v2_time_to_ack_interval_condition.py @@ -7,3 +7,15 @@ class EscalationPathNodeLevelV2TimeToAckIntervalCondition(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathNodeLevelV2TimeToAckIntervalCondition": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_level_with_binding_payload_v2_ack_mode.py b/incident_io/models/escalation_path_node_level_with_binding_payload_v2_ack_mode.py index d778bc7..4aeb450 100644 --- a/incident_io/models/escalation_path_node_level_with_binding_payload_v2_ack_mode.py +++ b/incident_io/models/escalation_path_node_level_with_binding_payload_v2_ack_mode.py @@ -7,3 +7,15 @@ class EscalationPathNodeLevelWithBindingPayloadV2AckMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathNodeLevelWithBindingPayloadV2AckMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_level_with_binding_payload_v2_time_to_ack_interval_condition.py b/incident_io/models/escalation_path_node_level_with_binding_payload_v2_time_to_ack_interval_condition.py index 1184748..644c9b2 100644 --- a/incident_io/models/escalation_path_node_level_with_binding_payload_v2_time_to_ack_interval_condition.py +++ b/incident_io/models/escalation_path_node_level_with_binding_payload_v2_time_to_ack_interval_condition.py @@ -7,3 +7,15 @@ class EscalationPathNodeLevelWithBindingPayloadV2TimeToAckIntervalCondition(StrE def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathNodeLevelWithBindingPayloadV2TimeToAckIntervalCondition": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_level_with_binding_v2_ack_mode.py b/incident_io/models/escalation_path_node_level_with_binding_v2_ack_mode.py index 45a15fb..bde49c6 100644 --- a/incident_io/models/escalation_path_node_level_with_binding_v2_ack_mode.py +++ b/incident_io/models/escalation_path_node_level_with_binding_v2_ack_mode.py @@ -7,3 +7,13 @@ class EscalationPathNodeLevelWithBindingV2AckMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathNodeLevelWithBindingV2AckMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_level_with_binding_v2_time_to_ack_interval_condition.py b/incident_io/models/escalation_path_node_level_with_binding_v2_time_to_ack_interval_condition.py index 70e0745..52c326f 100644 --- a/incident_io/models/escalation_path_node_level_with_binding_v2_time_to_ack_interval_condition.py +++ b/incident_io/models/escalation_path_node_level_with_binding_v2_time_to_ack_interval_condition.py @@ -7,3 +7,15 @@ class EscalationPathNodeLevelWithBindingV2TimeToAckIntervalCondition(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathNodeLevelWithBindingV2TimeToAckIntervalCondition": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_notify_channel_v2_time_to_ack_interval_condition.py b/incident_io/models/escalation_path_node_notify_channel_v2_time_to_ack_interval_condition.py index 6de4ce2..374de88 100644 --- a/incident_io/models/escalation_path_node_notify_channel_v2_time_to_ack_interval_condition.py +++ b/incident_io/models/escalation_path_node_notify_channel_v2_time_to_ack_interval_condition.py @@ -7,3 +7,15 @@ class EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathNodeNotifyChannelV2TimeToAckIntervalCondition": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2_time_to_ack_interval_condition.py b/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2_time_to_ack_interval_condition.py index 36b89d5..13871b9 100644 --- a/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2_time_to_ack_interval_condition.py +++ b/incident_io/models/escalation_path_node_notify_channel_with_binding_payload_v2_time_to_ack_interval_condition.py @@ -9,3 +9,17 @@ class EscalationPathNodeNotifyChannelWithBindingPayloadV2TimeToAckIntervalCondit def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> ( + "EscalationPathNodeNotifyChannelWithBindingPayloadV2TimeToAckIntervalCondition" + ): + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_notify_channel_with_binding_v2_time_to_ack_interval_condition.py b/incident_io/models/escalation_path_node_notify_channel_with_binding_v2_time_to_ack_interval_condition.py index b5e7e79..cb630ba 100644 --- a/incident_io/models/escalation_path_node_notify_channel_with_binding_v2_time_to_ack_interval_condition.py +++ b/incident_io/models/escalation_path_node_notify_channel_with_binding_v2_time_to_ack_interval_condition.py @@ -7,3 +7,15 @@ class EscalationPathNodeNotifyChannelWithBindingV2TimeToAckIntervalCondition(Str def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathNodeNotifyChannelWithBindingV2TimeToAckIntervalCondition": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_payload_v2_type.py b/incident_io/models/escalation_path_node_payload_v2_type.py index 9d11753..2c5bf79 100644 --- a/incident_io/models/escalation_path_node_payload_v2_type.py +++ b/incident_io/models/escalation_path_node_payload_v2_type.py @@ -12,3 +12,13 @@ class EscalationPathNodePayloadV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathNodePayloadV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_node_v2_type.py b/incident_io/models/escalation_path_node_v2_type.py index 35d752c..592304f 100644 --- a/incident_io/models/escalation_path_node_v2_type.py +++ b/incident_io/models/escalation_path_node_v2_type.py @@ -12,3 +12,13 @@ class EscalationPathNodeV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathNodeV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_v2_schedule_mode.py b/incident_io/models/escalation_path_target_v2_schedule_mode.py index ab007b7..b309b19 100644 --- a/incident_io/models/escalation_path_target_v2_schedule_mode.py +++ b/incident_io/models/escalation_path_target_v2_schedule_mode.py @@ -12,3 +12,13 @@ class EscalationPathTargetV2ScheduleMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathTargetV2ScheduleMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_v2_type.py b/incident_io/models/escalation_path_target_v2_type.py index 9c6fbd8..0948a35 100644 --- a/incident_io/models/escalation_path_target_v2_type.py +++ b/incident_io/models/escalation_path_target_v2_type.py @@ -9,3 +9,13 @@ class EscalationPathTargetV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathTargetV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_v2_urgency.py b/incident_io/models/escalation_path_target_v2_urgency.py index d0f09c6..8ac39fd 100644 --- a/incident_io/models/escalation_path_target_v2_urgency.py +++ b/incident_io/models/escalation_path_target_v2_urgency.py @@ -7,3 +7,13 @@ class EscalationPathTargetV2Urgency(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathTargetV2Urgency": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_with_binding_payload_v2_schedule_mode.py b/incident_io/models/escalation_path_target_with_binding_payload_v2_schedule_mode.py index c24136f..727df41 100644 --- a/incident_io/models/escalation_path_target_with_binding_payload_v2_schedule_mode.py +++ b/incident_io/models/escalation_path_target_with_binding_payload_v2_schedule_mode.py @@ -12,3 +12,15 @@ class EscalationPathTargetWithBindingPayloadV2ScheduleMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathTargetWithBindingPayloadV2ScheduleMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_with_binding_payload_v2_type.py b/incident_io/models/escalation_path_target_with_binding_payload_v2_type.py index 1b6f98a..1ccc18d 100644 --- a/incident_io/models/escalation_path_target_with_binding_payload_v2_type.py +++ b/incident_io/models/escalation_path_target_with_binding_payload_v2_type.py @@ -9,3 +9,13 @@ class EscalationPathTargetWithBindingPayloadV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathTargetWithBindingPayloadV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_with_binding_payload_v2_urgency.py b/incident_io/models/escalation_path_target_with_binding_payload_v2_urgency.py index 151e782..137b909 100644 --- a/incident_io/models/escalation_path_target_with_binding_payload_v2_urgency.py +++ b/incident_io/models/escalation_path_target_with_binding_payload_v2_urgency.py @@ -7,3 +7,15 @@ class EscalationPathTargetWithBindingPayloadV2Urgency(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathTargetWithBindingPayloadV2Urgency": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_with_binding_v2_schedule_mode.py b/incident_io/models/escalation_path_target_with_binding_v2_schedule_mode.py index 63ddc6d..227bfb8 100644 --- a/incident_io/models/escalation_path_target_with_binding_v2_schedule_mode.py +++ b/incident_io/models/escalation_path_target_with_binding_v2_schedule_mode.py @@ -12,3 +12,15 @@ class EscalationPathTargetWithBindingV2ScheduleMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationPathTargetWithBindingV2ScheduleMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_with_binding_v2_type.py b/incident_io/models/escalation_path_target_with_binding_v2_type.py index 9bb8a3b..d2bc8af 100644 --- a/incident_io/models/escalation_path_target_with_binding_v2_type.py +++ b/incident_io/models/escalation_path_target_with_binding_v2_type.py @@ -9,3 +9,13 @@ class EscalationPathTargetWithBindingV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathTargetWithBindingV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_target_with_binding_v2_urgency.py b/incident_io/models/escalation_path_target_with_binding_v2_urgency.py index 574ff7d..12e47a0 100644 --- a/incident_io/models/escalation_path_target_with_binding_v2_urgency.py +++ b/incident_io/models/escalation_path_target_with_binding_v2_urgency.py @@ -7,3 +7,13 @@ class EscalationPathTargetWithBindingV2Urgency(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathTargetWithBindingV2Urgency": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_template_node_payload_v2_type.py b/incident_io/models/escalation_path_template_node_payload_v2_type.py index 618fc08..bc4f012 100644 --- a/incident_io/models/escalation_path_template_node_payload_v2_type.py +++ b/incident_io/models/escalation_path_template_node_payload_v2_type.py @@ -12,3 +12,13 @@ class EscalationPathTemplateNodePayloadV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathTemplateNodePayloadV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_template_node_v2_type.py b/incident_io/models/escalation_path_template_node_v2_type.py index 8fb3131..cfa7e29 100644 --- a/incident_io/models/escalation_path_template_node_v2_type.py +++ b/incident_io/models/escalation_path_template_node_v2_type.py @@ -12,3 +12,13 @@ class EscalationPathTemplateNodeV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathTemplateNodeV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_path_v2_kind.py b/incident_io/models/escalation_path_v2_kind.py index a2a2f04..6d5f33d 100644 --- a/incident_io/models/escalation_path_v2_kind.py +++ b/incident_io/models/escalation_path_v2_kind.py @@ -7,3 +7,13 @@ class EscalationPathV2Kind(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationPathV2Kind": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_user_response_options_v2_available_actions_item.py b/incident_io/models/escalation_user_response_options_v2_available_actions_item.py index 6b0dbdd..3f24c18 100644 --- a/incident_io/models/escalation_user_response_options_v2_available_actions_item.py +++ b/incident_io/models/escalation_user_response_options_v2_available_actions_item.py @@ -8,3 +8,15 @@ class EscalationUserResponseOptionsV2AvailableActionsItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationUserResponseOptionsV2AvailableActionsItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_v2_status.py b/incident_io/models/escalation_v2_status.py index 9d9bc42..58f1bc0 100644 --- a/incident_io/models/escalation_v2_status.py +++ b/incident_io/models/escalation_v2_status.py @@ -14,3 +14,13 @@ class EscalationV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_with_status_change_v2_new_status.py b/incident_io/models/escalation_with_status_change_v2_new_status.py index 2e4a264..933640d 100644 --- a/incident_io/models/escalation_with_status_change_v2_new_status.py +++ b/incident_io/models/escalation_with_status_change_v2_new_status.py @@ -14,3 +14,13 @@ class EscalationWithStatusChangeV2NewStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationWithStatusChangeV2NewStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalation_with_status_change_v2_previous_status.py b/incident_io/models/escalation_with_status_change_v2_previous_status.py index 6637262..260b1ec 100644 --- a/incident_io/models/escalation_with_status_change_v2_previous_status.py +++ b/incident_io/models/escalation_with_status_change_v2_previous_status.py @@ -14,3 +14,13 @@ class EscalationWithStatusChangeV2PreviousStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationWithStatusChangeV2PreviousStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalations_create_path_payload_v2_kind.py b/incident_io/models/escalations_create_path_payload_v2_kind.py index 69fc19c..1b03980 100644 --- a/incident_io/models/escalations_create_path_payload_v2_kind.py +++ b/incident_io/models/escalations_create_path_payload_v2_kind.py @@ -7,3 +7,13 @@ class EscalationsCreatePathPayloadV2Kind(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationsCreatePathPayloadV2Kind": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalations_respond_escalation_payload_v2_response.py b/incident_io/models/escalations_respond_escalation_payload_v2_response.py index 34d197a..2eda7b3 100644 --- a/incident_io/models/escalations_respond_escalation_payload_v2_response.py +++ b/incident_io/models/escalations_respond_escalation_payload_v2_response.py @@ -8,3 +8,15 @@ class EscalationsRespondEscalationPayloadV2Response(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "EscalationsRespondEscalationPayloadV2Response": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/escalations_update_path_payload_v2_kind.py b/incident_io/models/escalations_update_path_payload_v2_kind.py index b57212f..31f5c4a 100644 --- a/incident_io/models/escalations_update_path_payload_v2_kind.py +++ b/incident_io/models/escalations_update_path_payload_v2_kind.py @@ -7,3 +7,13 @@ class EscalationsUpdatePathPayloadV2Kind(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "EscalationsUpdatePathPayloadV2Kind": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/expression_operation_payload_v2_operation_type.py b/incident_io/models/expression_operation_payload_v2_operation_type.py index c838be3..a7bffb3 100644 --- a/incident_io/models/expression_operation_payload_v2_operation_type.py +++ b/incident_io/models/expression_operation_payload_v2_operation_type.py @@ -17,3 +17,13 @@ class ExpressionOperationPayloadV2OperationType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ExpressionOperationPayloadV2OperationType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/expression_operation_payload_v3_operation_type.py b/incident_io/models/expression_operation_payload_v3_operation_type.py index 0d31c49..92a4098 100644 --- a/incident_io/models/expression_operation_payload_v3_operation_type.py +++ b/incident_io/models/expression_operation_payload_v3_operation_type.py @@ -17,3 +17,13 @@ class ExpressionOperationPayloadV3OperationType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ExpressionOperationPayloadV3OperationType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/expression_operation_v2_operation_type.py b/incident_io/models/expression_operation_v2_operation_type.py index d5bd65d..5e21b78 100644 --- a/incident_io/models/expression_operation_v2_operation_type.py +++ b/incident_io/models/expression_operation_v2_operation_type.py @@ -17,3 +17,13 @@ class ExpressionOperationV2OperationType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ExpressionOperationV2OperationType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/expression_operation_v3_operation_type.py b/incident_io/models/expression_operation_v3_operation_type.py index f0b1dd1..a48f321 100644 --- a/incident_io/models/expression_operation_v3_operation_type.py +++ b/incident_io/models/expression_operation_v3_operation_type.py @@ -17,3 +17,13 @@ class ExpressionOperationV3OperationType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ExpressionOperationV3OperationType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/external_issue_reference_v1_provider.py b/incident_io/models/external_issue_reference_v1_provider.py index fd7bb89..8050420 100644 --- a/incident_io/models/external_issue_reference_v1_provider.py +++ b/incident_io/models/external_issue_reference_v1_provider.py @@ -18,3 +18,13 @@ class ExternalIssueReferenceV1Provider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ExternalIssueReferenceV1Provider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/external_issue_reference_v2_provider.py b/incident_io/models/external_issue_reference_v2_provider.py index a02c65d..6ef3c62 100644 --- a/incident_io/models/external_issue_reference_v2_provider.py +++ b/incident_io/models/external_issue_reference_v2_provider.py @@ -18,3 +18,13 @@ class ExternalIssueReferenceV2Provider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ExternalIssueReferenceV2Provider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/external_resource_v1_resource_type.py b/incident_io/models/external_resource_v1_resource_type.py index 2a983f6..9af6731 100644 --- a/incident_io/models/external_resource_v1_resource_type.py +++ b/incident_io/models/external_resource_v1_resource_type.py @@ -22,3 +22,13 @@ class ExternalResourceV1ResourceType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ExternalResourceV1ResourceType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/follow_up_v2_status.py b/incident_io/models/follow_up_v2_status.py index 18d1b37..7edcb1d 100644 --- a/incident_io/models/follow_up_v2_status.py +++ b/incident_io/models/follow_up_v2_status.py @@ -9,3 +9,13 @@ class FollowUpV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "FollowUpV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/follow_up_v3_status.py b/incident_io/models/follow_up_v3_status.py index fa7ee7b..766ab17 100644 --- a/incident_io/models/follow_up_v3_status.py +++ b/incident_io/models/follow_up_v3_status.py @@ -9,3 +9,13 @@ class FollowUpV3Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "FollowUpV3Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/follow_ups_connect_external_issue_payload_v2_provider.py b/incident_io/models/follow_ups_connect_external_issue_payload_v2_provider.py index 29b8d21..f22b7b0 100644 --- a/incident_io/models/follow_ups_connect_external_issue_payload_v2_provider.py +++ b/incident_io/models/follow_ups_connect_external_issue_payload_v2_provider.py @@ -18,3 +18,15 @@ class FollowUpsConnectExternalIssuePayloadV2Provider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "FollowUpsConnectExternalIssuePayloadV2Provider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/follow_ups_connect_external_issue_payload_v3_provider.py b/incident_io/models/follow_ups_connect_external_issue_payload_v3_provider.py index 202a8b8..1d62583 100644 --- a/incident_io/models/follow_ups_connect_external_issue_payload_v3_provider.py +++ b/incident_io/models/follow_ups_connect_external_issue_payload_v3_provider.py @@ -18,3 +18,15 @@ class FollowUpsConnectExternalIssuePayloadV3Provider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "FollowUpsConnectExternalIssuePayloadV3Provider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/follow_ups_update_payload_v2_status.py b/incident_io/models/follow_ups_update_payload_v2_status.py index 89d9cf9..9cebd7f 100644 --- a/incident_io/models/follow_ups_update_payload_v2_status.py +++ b/incident_io/models/follow_ups_update_payload_v2_status.py @@ -9,3 +9,13 @@ class FollowUpsUpdatePayloadV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "FollowUpsUpdatePayloadV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/follow_ups_update_payload_v3_status.py b/incident_io/models/follow_ups_update_payload_v3_status.py index 7daee70..f1d5605 100644 --- a/incident_io/models/follow_ups_update_payload_v3_status.py +++ b/incident_io/models/follow_ups_update_payload_v3_status.py @@ -9,3 +9,13 @@ class FollowUpsUpdatePayloadV3Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "FollowUpsUpdatePayloadV3Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/follow_ups_v2_list_incident_mode.py b/incident_io/models/follow_ups_v2_list_incident_mode.py index a407f01..dd3e2ed 100644 --- a/incident_io/models/follow_ups_v2_list_incident_mode.py +++ b/incident_io/models/follow_ups_v2_list_incident_mode.py @@ -10,3 +10,13 @@ class FollowUpsV2ListIncidentMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "FollowUpsV2ListIncidentMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/follow_ups_v3_list_incident_mode.py b/incident_io/models/follow_ups_v3_list_incident_mode.py index e814430..a68843f 100644 --- a/incident_io/models/follow_ups_v3_list_incident_mode.py +++ b/incident_io/models/follow_ups_v3_list_incident_mode.py @@ -10,3 +10,13 @@ class FollowUpsV3ListIncidentMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "FollowUpsV3ListIncidentMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/grouping_settings_v3_window_type.py b/incident_io/models/grouping_settings_v3_window_type.py index 312c9b9..4007526 100644 --- a/incident_io/models/grouping_settings_v3_window_type.py +++ b/incident_io/models/grouping_settings_v3_window_type.py @@ -7,3 +7,13 @@ class GroupingSettingsV3WindowType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "GroupingSettingsV3WindowType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/identity_v1_roles_item.py b/incident_io/models/identity_v1_roles_item.py index 838c93f..6d8fc5b 100644 --- a/incident_io/models/identity_v1_roles_item.py +++ b/incident_io/models/identity_v1_roles_item.py @@ -50,3 +50,13 @@ class IdentityV1RolesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IdentityV1RolesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/identity_v1_team_roles_item.py b/incident_io/models/identity_v1_team_roles_item.py index 4bdac0c..2b96245 100644 --- a/incident_io/models/identity_v1_team_roles_item.py +++ b/incident_io/models/identity_v1_team_roles_item.py @@ -19,3 +19,13 @@ class IdentityV1TeamRolesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IdentityV1TeamRolesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_activity_log_entry_v2_type.py b/incident_io/models/incident_activity_log_entry_v2_type.py index 8bc0b95..ba1236f 100644 --- a/incident_io/models/incident_activity_log_entry_v2_type.py +++ b/incident_io/models/incident_activity_log_entry_v2_type.py @@ -74,3 +74,13 @@ class IncidentActivityLogEntryV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentActivityLogEntryV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_attachments_create_payload_v1_resource_resource_type.py b/incident_io/models/incident_attachments_create_payload_v1_resource_resource_type.py index 6912150..480503d 100644 --- a/incident_io/models/incident_attachments_create_payload_v1_resource_resource_type.py +++ b/incident_io/models/incident_attachments_create_payload_v1_resource_resource_type.py @@ -22,3 +22,15 @@ class IncidentAttachmentsCreatePayloadV1ResourceResourceType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "IncidentAttachmentsCreatePayloadV1ResourceResourceType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_attachments_v1_list_resource_type.py b/incident_io/models/incident_attachments_v1_list_resource_type.py index 1985b32..474e2c9 100644 --- a/incident_io/models/incident_attachments_v1_list_resource_type.py +++ b/incident_io/models/incident_attachments_v1_list_resource_type.py @@ -22,3 +22,13 @@ class IncidentAttachmentsV1ListResourceType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentAttachmentsV1ListResourceType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_duration_metric_with_value_v2_status.py b/incident_io/models/incident_duration_metric_with_value_v2_status.py index 19e22a4..83abed0 100644 --- a/incident_io/models/incident_duration_metric_with_value_v2_status.py +++ b/incident_io/models/incident_duration_metric_with_value_v2_status.py @@ -9,3 +9,13 @@ class IncidentDurationMetricWithValueV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentDurationMetricWithValueV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_participant_v2_participant_type.py b/incident_io/models/incident_participant_v2_participant_type.py index 0d5d9ea..5dd2ffd 100644 --- a/incident_io/models/incident_participant_v2_participant_type.py +++ b/incident_io/models/incident_participant_v2_participant_type.py @@ -8,3 +8,13 @@ class IncidentParticipantV2ParticipantType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentParticipantV2ParticipantType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_participant_workload_v2_participant_type.py b/incident_io/models/incident_participant_workload_v2_participant_type.py index 90a4a70..eaa8d0b 100644 --- a/incident_io/models/incident_participant_workload_v2_participant_type.py +++ b/incident_io/models/incident_participant_workload_v2_participant_type.py @@ -8,3 +8,13 @@ class IncidentParticipantWorkloadV2ParticipantType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentParticipantWorkloadV2ParticipantType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_role_v1_role_type.py b/incident_io/models/incident_role_v1_role_type.py index 0c82731..fe0274c 100644 --- a/incident_io/models/incident_role_v1_role_type.py +++ b/incident_io/models/incident_role_v1_role_type.py @@ -8,3 +8,13 @@ class IncidentRoleV1RoleType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentRoleV1RoleType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_role_v2_role_type.py b/incident_io/models/incident_role_v2_role_type.py index e52e06a..d4936bb 100644 --- a/incident_io/models/incident_role_v2_role_type.py +++ b/incident_io/models/incident_role_v2_role_type.py @@ -8,3 +8,13 @@ class IncidentRoleV2RoleType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentRoleV2RoleType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_slim_v2_status_category.py b/incident_io/models/incident_slim_v2_status_category.py index 57dff03..dd2f82e 100644 --- a/incident_io/models/incident_slim_v2_status_category.py +++ b/incident_io/models/incident_slim_v2_status_category.py @@ -13,3 +13,13 @@ class IncidentSlimV2StatusCategory(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentSlimV2StatusCategory": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_slim_v2_visibility.py b/incident_io/models/incident_slim_v2_visibility.py index 7898142..02fd58e 100644 --- a/incident_io/models/incident_slim_v2_visibility.py +++ b/incident_io/models/incident_slim_v2_visibility.py @@ -7,3 +7,13 @@ class IncidentSlimV2Visibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentSlimV2Visibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_status_v1_category.py b/incident_io/models/incident_status_v1_category.py index 4d922d0..181dd17 100644 --- a/incident_io/models/incident_status_v1_category.py +++ b/incident_io/models/incident_status_v1_category.py @@ -13,3 +13,13 @@ class IncidentStatusV1Category(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentStatusV1Category": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_status_v2_category.py b/incident_io/models/incident_status_v2_category.py index f98b58a..51e8d42 100644 --- a/incident_io/models/incident_status_v2_category.py +++ b/incident_io/models/incident_status_v2_category.py @@ -13,3 +13,13 @@ class IncidentStatusV2Category(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentStatusV2Category": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_statuses_create_payload_v1_category.py b/incident_io/models/incident_statuses_create_payload_v1_category.py index 39a67c9..952f25b 100644 --- a/incident_io/models/incident_statuses_create_payload_v1_category.py +++ b/incident_io/models/incident_statuses_create_payload_v1_category.py @@ -8,3 +8,13 @@ class IncidentStatusesCreatePayloadV1Category(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentStatusesCreatePayloadV1Category": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_template_custom_field_binding_payload_v1_merge_strategy.py b/incident_io/models/incident_template_custom_field_binding_payload_v1_merge_strategy.py index 6a3ce4e..e801a2c 100644 --- a/incident_io/models/incident_template_custom_field_binding_payload_v1_merge_strategy.py +++ b/incident_io/models/incident_template_custom_field_binding_payload_v1_merge_strategy.py @@ -8,3 +8,15 @@ class IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "IncidentTemplateCustomFieldBindingPayloadV1MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_template_custom_field_binding_v1_merge_strategy.py b/incident_io/models/incident_template_custom_field_binding_v1_merge_strategy.py index 3033ea3..c5a2112 100644 --- a/incident_io/models/incident_template_custom_field_binding_v1_merge_strategy.py +++ b/incident_io/models/incident_template_custom_field_binding_v1_merge_strategy.py @@ -8,3 +8,15 @@ class IncidentTemplateCustomFieldBindingV1MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "IncidentTemplateCustomFieldBindingV1MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_template_severity_binding_payload_v1_merge_strategy.py b/incident_io/models/incident_template_severity_binding_payload_v1_merge_strategy.py index 5fad731..97b766f 100644 --- a/incident_io/models/incident_template_severity_binding_payload_v1_merge_strategy.py +++ b/incident_io/models/incident_template_severity_binding_payload_v1_merge_strategy.py @@ -7,3 +7,15 @@ class IncidentTemplateSeverityBindingPayloadV1MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "IncidentTemplateSeverityBindingPayloadV1MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_template_severity_binding_v1_merge_strategy.py b/incident_io/models/incident_template_severity_binding_v1_merge_strategy.py index ef5bc7d..201e3d8 100644 --- a/incident_io/models/incident_template_severity_binding_v1_merge_strategy.py +++ b/incident_io/models/incident_template_severity_binding_v1_merge_strategy.py @@ -7,3 +7,15 @@ class IncidentTemplateSeverityBindingV1MergeStrategy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "IncidentTemplateSeverityBindingV1MergeStrategy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_type_v1_create_in_triage.py b/incident_io/models/incident_type_v1_create_in_triage.py index 58daccb..1d69aea 100644 --- a/incident_io/models/incident_type_v1_create_in_triage.py +++ b/incident_io/models/incident_type_v1_create_in_triage.py @@ -7,3 +7,13 @@ class IncidentTypeV1CreateInTriage(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentTypeV1CreateInTriage": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_type_v2_create_in_triage.py b/incident_io/models/incident_type_v2_create_in_triage.py index ff3110c..e5c4deb 100644 --- a/incident_io/models/incident_type_v2_create_in_triage.py +++ b/incident_io/models/incident_type_v2_create_in_triage.py @@ -7,3 +7,13 @@ class IncidentTypeV2CreateInTriage(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentTypeV2CreateInTriage": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_v1_mode.py b/incident_io/models/incident_v1_mode.py index 3a9d4ea..b4d9f31 100644 --- a/incident_io/models/incident_v1_mode.py +++ b/incident_io/models/incident_v1_mode.py @@ -8,3 +8,13 @@ class IncidentV1Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentV1Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_v1_status.py b/incident_io/models/incident_v1_status.py index b6a1182..75e7b0c 100644 --- a/incident_io/models/incident_v1_status.py +++ b/incident_io/models/incident_v1_status.py @@ -11,3 +11,13 @@ class IncidentV1Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentV1Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_v1_visibility.py b/incident_io/models/incident_v1_visibility.py index b73f182..cb94609 100644 --- a/incident_io/models/incident_v1_visibility.py +++ b/incident_io/models/incident_v1_visibility.py @@ -7,3 +7,13 @@ class IncidentV1Visibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentV1Visibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_v2_mode.py b/incident_io/models/incident_v2_mode.py index d5ef57f..5e8b9cd 100644 --- a/incident_io/models/incident_v2_mode.py +++ b/incident_io/models/incident_v2_mode.py @@ -9,3 +9,13 @@ class IncidentV2Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentV2Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incident_v2_visibility.py b/incident_io/models/incident_v2_visibility.py index 95c0948..3d4fe43 100644 --- a/incident_io/models/incident_v2_visibility.py +++ b/incident_io/models/incident_v2_visibility.py @@ -7,3 +7,13 @@ class IncidentV2Visibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentV2Visibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incidents_create_payload_v1_mode.py b/incident_io/models/incidents_create_payload_v1_mode.py index 47ade76..c61bb2f 100644 --- a/incident_io/models/incidents_create_payload_v1_mode.py +++ b/incident_io/models/incidents_create_payload_v1_mode.py @@ -7,3 +7,13 @@ class IncidentsCreatePayloadV1Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentsCreatePayloadV1Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incidents_create_payload_v1_status.py b/incident_io/models/incidents_create_payload_v1_status.py index a7f79c5..0b81ecc 100644 --- a/incident_io/models/incidents_create_payload_v1_status.py +++ b/incident_io/models/incidents_create_payload_v1_status.py @@ -11,3 +11,13 @@ class IncidentsCreatePayloadV1Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentsCreatePayloadV1Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incidents_create_payload_v1_visibility.py b/incident_io/models/incidents_create_payload_v1_visibility.py index b048ae1..1ce0160 100644 --- a/incident_io/models/incidents_create_payload_v1_visibility.py +++ b/incident_io/models/incidents_create_payload_v1_visibility.py @@ -7,3 +7,13 @@ class IncidentsCreatePayloadV1Visibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentsCreatePayloadV1Visibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incidents_create_payload_v2_mode.py b/incident_io/models/incidents_create_payload_v2_mode.py index 2bea4a5..69f9547 100644 --- a/incident_io/models/incidents_create_payload_v2_mode.py +++ b/incident_io/models/incidents_create_payload_v2_mode.py @@ -9,3 +9,13 @@ class IncidentsCreatePayloadV2Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentsCreatePayloadV2Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incidents_create_payload_v2_visibility.py b/incident_io/models/incidents_create_payload_v2_visibility.py index bc41bf2..4826002 100644 --- a/incident_io/models/incidents_create_payload_v2_visibility.py +++ b/incident_io/models/incidents_create_payload_v2_visibility.py @@ -7,3 +7,13 @@ class IncidentsCreatePayloadV2Visibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentsCreatePayloadV2Visibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incidents_v2_list_filter_mode.py b/incident_io/models/incidents_v2_list_filter_mode.py index c3584a4..f746c32 100644 --- a/incident_io/models/incidents_v2_list_filter_mode.py +++ b/incident_io/models/incidents_v2_list_filter_mode.py @@ -7,3 +7,13 @@ class IncidentsV2ListFilterMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentsV2ListFilterMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/incidents_v2_list_sort_by.py b/incident_io/models/incidents_v2_list_sort_by.py index 085a741..de09f61 100644 --- a/incident_io/models/incidents_v2_list_sort_by.py +++ b/incident_io/models/incidents_v2_list_sort_by.py @@ -7,3 +7,13 @@ class IncidentsV2ListSortBy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "IncidentsV2ListSortBy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/maintenance_windows_v1_list_status.py b/incident_io/models/maintenance_windows_v1_list_status.py index e3d90cf..a81172b 100644 --- a/incident_io/models/maintenance_windows_v1_list_status.py +++ b/incident_io/models/maintenance_windows_v1_list_status.py @@ -8,3 +8,13 @@ class MaintenanceWindowsV1ListStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "MaintenanceWindowsV1ListStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/management_meta_v2_managed_by.py b/incident_io/models/management_meta_v2_managed_by.py index cc0cc30..1ebc253 100644 --- a/incident_io/models/management_meta_v2_managed_by.py +++ b/incident_io/models/management_meta_v2_managed_by.py @@ -8,3 +8,13 @@ class ManagementMetaV2ManagedBy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ManagementMetaV2ManagedBy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/on_call_notification_method_public_v2_method_type.py b/incident_io/models/on_call_notification_method_public_v2_method_type.py index 52fa5ca..1313d74 100644 --- a/incident_io/models/on_call_notification_method_public_v2_method_type.py +++ b/incident_io/models/on_call_notification_method_public_v2_method_type.py @@ -11,3 +11,13 @@ class OnCallNotificationMethodPublicV2MethodType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "OnCallNotificationMethodPublicV2MethodType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/on_call_notification_rule_app_details_public_v2_push_notification_criticality.py b/incident_io/models/on_call_notification_rule_app_details_public_v2_push_notification_criticality.py index ed19309..b610b89 100644 --- a/incident_io/models/on_call_notification_rule_app_details_public_v2_push_notification_criticality.py +++ b/incident_io/models/on_call_notification_rule_app_details_public_v2_push_notification_criticality.py @@ -7,3 +7,15 @@ class OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality(StrEnu def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "OnCallNotificationRuleAppDetailsPublicV2PushNotificationCriticality": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/on_call_notification_rule_method_target_public_v2_type.py b/incident_io/models/on_call_notification_rule_method_target_public_v2_type.py index 9b8da43..24e16fb 100644 --- a/incident_io/models/on_call_notification_rule_method_target_public_v2_type.py +++ b/incident_io/models/on_call_notification_rule_method_target_public_v2_type.py @@ -7,3 +7,15 @@ class OnCallNotificationRuleMethodTargetPublicV2Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "OnCallNotificationRuleMethodTargetPublicV2Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/on_call_notification_rule_phone_details_public_v2_channel.py b/incident_io/models/on_call_notification_rule_phone_details_public_v2_channel.py index 80b09f3..e282fc0 100644 --- a/incident_io/models/on_call_notification_rule_phone_details_public_v2_channel.py +++ b/incident_io/models/on_call_notification_rule_phone_details_public_v2_channel.py @@ -7,3 +7,15 @@ class OnCallNotificationRulePhoneDetailsPublicV2Channel(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "OnCallNotificationRulePhoneDetailsPublicV2Channel": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/on_call_notification_rule_public_v2_method_type.py b/incident_io/models/on_call_notification_rule_public_v2_method_type.py index 98319ea..ff19746 100644 --- a/incident_io/models/on_call_notification_rule_public_v2_method_type.py +++ b/incident_io/models/on_call_notification_rule_public_v2_method_type.py @@ -11,3 +11,13 @@ class OnCallNotificationRulePublicV2MethodType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "OnCallNotificationRulePublicV2MethodType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/on_call_notification_rule_public_v2_rule_type.py b/incident_io/models/on_call_notification_rule_public_v2_rule_type.py index bd4e9d1..71708b6 100644 --- a/incident_io/models/on_call_notification_rule_public_v2_rule_type.py +++ b/incident_io/models/on_call_notification_rule_public_v2_rule_type.py @@ -7,3 +7,13 @@ class OnCallNotificationRulePublicV2RuleType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "OnCallNotificationRulePublicV2RuleType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_config_v2_rate_time_unit.py b/incident_io/models/pay_config_v2_rate_time_unit.py index 587afd0..5890fcf 100644 --- a/incident_io/models/pay_config_v2_rate_time_unit.py +++ b/incident_io/models/pay_config_v2_rate_time_unit.py @@ -7,3 +7,13 @@ class PayConfigV2RateTimeUnit(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayConfigV2RateTimeUnit": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_config_weekly_rule_payload_v2_weekdays_item.py b/incident_io/models/pay_config_weekly_rule_payload_v2_weekdays_item.py index 7a054b3..ceb61f7 100644 --- a/incident_io/models/pay_config_weekly_rule_payload_v2_weekdays_item.py +++ b/incident_io/models/pay_config_weekly_rule_payload_v2_weekdays_item.py @@ -12,3 +12,13 @@ class PayConfigWeeklyRulePayloadV2WeekdaysItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayConfigWeeklyRulePayloadV2WeekdaysItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_config_weekly_rule_v2_weekdays_item.py b/incident_io/models/pay_config_weekly_rule_v2_weekdays_item.py index d57307e..9db27d8 100644 --- a/incident_io/models/pay_config_weekly_rule_v2_weekdays_item.py +++ b/incident_io/models/pay_config_weekly_rule_v2_weekdays_item.py @@ -12,3 +12,13 @@ class PayConfigWeeklyRuleV2WeekdaysItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayConfigWeeklyRuleV2WeekdaysItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_configs_create_payload_v2_rate_time_unit.py b/incident_io/models/pay_configs_create_payload_v2_rate_time_unit.py index ce75ad5..e89c4e8 100644 --- a/incident_io/models/pay_configs_create_payload_v2_rate_time_unit.py +++ b/incident_io/models/pay_configs_create_payload_v2_rate_time_unit.py @@ -7,3 +7,13 @@ class PayConfigsCreatePayloadV2RateTimeUnit(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayConfigsCreatePayloadV2RateTimeUnit": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_configs_create_weekly_rule_payload_v2_weekdays_item.py b/incident_io/models/pay_configs_create_weekly_rule_payload_v2_weekdays_item.py index 1dbc556..be66fb9 100644 --- a/incident_io/models/pay_configs_create_weekly_rule_payload_v2_weekdays_item.py +++ b/incident_io/models/pay_configs_create_weekly_rule_payload_v2_weekdays_item.py @@ -12,3 +12,15 @@ class PayConfigsCreateWeeklyRulePayloadV2WeekdaysItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "PayConfigsCreateWeeklyRulePayloadV2WeekdaysItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_configs_update_payload_v2_rate_time_unit.py b/incident_io/models/pay_configs_update_payload_v2_rate_time_unit.py index 2feed97..c80bdf6 100644 --- a/incident_io/models/pay_configs_update_payload_v2_rate_time_unit.py +++ b/incident_io/models/pay_configs_update_payload_v2_rate_time_unit.py @@ -7,3 +7,13 @@ class PayConfigsUpdatePayloadV2RateTimeUnit(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayConfigsUpdatePayloadV2RateTimeUnit": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_configs_update_weekly_rule_payload_v2_weekdays_item.py b/incident_io/models/pay_configs_update_weekly_rule_payload_v2_weekdays_item.py index adebff0..90312fd 100644 --- a/incident_io/models/pay_configs_update_weekly_rule_payload_v2_weekdays_item.py +++ b/incident_io/models/pay_configs_update_weekly_rule_payload_v2_weekdays_item.py @@ -12,3 +12,15 @@ class PayConfigsUpdateWeeklyRulePayloadV2WeekdaysItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "PayConfigsUpdateWeeklyRulePayloadV2WeekdaysItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_report_v2_error_code.py b/incident_io/models/pay_report_v2_error_code.py index cb4f4ff..63327ab 100644 --- a/incident_io/models/pay_report_v2_error_code.py +++ b/incident_io/models/pay_report_v2_error_code.py @@ -7,3 +7,13 @@ class PayReportV2ErrorCode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayReportV2ErrorCode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_report_v2_overlapping_shifts.py b/incident_io/models/pay_report_v2_overlapping_shifts.py index 830b00b..c63fe7a 100644 --- a/incident_io/models/pay_report_v2_overlapping_shifts.py +++ b/incident_io/models/pay_report_v2_overlapping_shifts.py @@ -7,3 +7,13 @@ class PayReportV2OverlappingShifts(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayReportV2OverlappingShifts": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_report_v2_status.py b/incident_io/models/pay_report_v2_status.py index d097f5d..798edf0 100644 --- a/incident_io/models/pay_report_v2_status.py +++ b/incident_io/models/pay_report_v2_status.py @@ -9,3 +9,13 @@ class PayReportV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayReportV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_report_v2_unpaid_shifts.py b/incident_io/models/pay_report_v2_unpaid_shifts.py index 8b4dc72..cffe865 100644 --- a/incident_io/models/pay_report_v2_unpaid_shifts.py +++ b/incident_io/models/pay_report_v2_unpaid_shifts.py @@ -7,3 +7,13 @@ class PayReportV2UnpaidShifts(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayReportV2UnpaidShifts": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_reports_create_payload_v2_overlapping_shifts.py b/incident_io/models/pay_reports_create_payload_v2_overlapping_shifts.py index 54595ca..ff09ac1 100644 --- a/incident_io/models/pay_reports_create_payload_v2_overlapping_shifts.py +++ b/incident_io/models/pay_reports_create_payload_v2_overlapping_shifts.py @@ -7,3 +7,13 @@ class PayReportsCreatePayloadV2OverlappingShifts(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayReportsCreatePayloadV2OverlappingShifts": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_reports_create_payload_v2_unpaid_shifts.py b/incident_io/models/pay_reports_create_payload_v2_unpaid_shifts.py index ecf7912..44e4f6b 100644 --- a/incident_io/models/pay_reports_create_payload_v2_unpaid_shifts.py +++ b/incident_io/models/pay_reports_create_payload_v2_unpaid_shifts.py @@ -7,3 +7,13 @@ class PayReportsCreatePayloadV2UnpaidShifts(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayReportsCreatePayloadV2UnpaidShifts": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/pay_reports_publish_payload_v2_send_user_breakdowns.py b/incident_io/models/pay_reports_publish_payload_v2_send_user_breakdowns.py index 56a35e6..5948d93 100644 --- a/incident_io/models/pay_reports_publish_payload_v2_send_user_breakdowns.py +++ b/incident_io/models/pay_reports_publish_payload_v2_send_user_breakdowns.py @@ -7,3 +7,13 @@ class PayReportsPublishPayloadV2SendUserBreakdowns(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PayReportsPublishPayloadV2SendUserBreakdowns": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policies_create_payload_v2_policy_type.py b/incident_io/models/policies_create_payload_v2_policy_type.py index 4ea8591..d9a60d0 100644 --- a/incident_io/models/policies_create_payload_v2_policy_type.py +++ b/incident_io/models/policies_create_payload_v2_policy_type.py @@ -12,3 +12,13 @@ class PoliciesCreatePayloadV2PolicyType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PoliciesCreatePayloadV2PolicyType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policies_create_payload_v2_status.py b/incident_io/models/policies_create_payload_v2_status.py index 5ebe04b..d87fa39 100644 --- a/incident_io/models/policies_create_payload_v2_status.py +++ b/incident_io/models/policies_create_payload_v2_status.py @@ -7,3 +7,13 @@ class PoliciesCreatePayloadV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PoliciesCreatePayloadV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policies_update_payload_v2_policy_type.py b/incident_io/models/policies_update_payload_v2_policy_type.py index 47dc41f..1d346d0 100644 --- a/incident_io/models/policies_update_payload_v2_policy_type.py +++ b/incident_io/models/policies_update_payload_v2_policy_type.py @@ -12,3 +12,13 @@ class PoliciesUpdatePayloadV2PolicyType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PoliciesUpdatePayloadV2PolicyType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policies_update_payload_v2_status.py b/incident_io/models/policies_update_payload_v2_status.py index 7658ec3..a3c728e 100644 --- a/incident_io/models/policies_update_payload_v2_status.py +++ b/incident_io/models/policies_update_payload_v2_status.py @@ -7,3 +7,13 @@ class PoliciesUpdatePayloadV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PoliciesUpdatePayloadV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policies_v2_list_policy_type.py b/incident_io/models/policies_v2_list_policy_type.py index 6d854ea..d732e5f 100644 --- a/incident_io/models/policies_v2_list_policy_type.py +++ b/incident_io/models/policies_v2_list_policy_type.py @@ -12,3 +12,13 @@ class PoliciesV2ListPolicyType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PoliciesV2ListPolicyType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_due_date_config_payload_v2_calculation_type.py b/incident_io/models/policy_due_date_config_payload_v2_calculation_type.py index 7ff461d..6771266 100644 --- a/incident_io/models/policy_due_date_config_payload_v2_calculation_type.py +++ b/incident_io/models/policy_due_date_config_payload_v2_calculation_type.py @@ -7,3 +7,13 @@ class PolicyDueDateConfigPayloadV2CalculationType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyDueDateConfigPayloadV2CalculationType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_due_date_config_v2_calculation_type.py b/incident_io/models/policy_due_date_config_v2_calculation_type.py index 63dea01..0dae34a 100644 --- a/incident_io/models/policy_due_date_config_v2_calculation_type.py +++ b/incident_io/models/policy_due_date_config_v2_calculation_type.py @@ -7,3 +7,13 @@ class PolicyDueDateConfigV2CalculationType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyDueDateConfigV2CalculationType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_finding_readiness_rule_v2_method_types_item.py b/incident_io/models/policy_finding_readiness_rule_v2_method_types_item.py index ea0ab1c..e9e4b1d 100644 --- a/incident_io/models/policy_finding_readiness_rule_v2_method_types_item.py +++ b/incident_io/models/policy_finding_readiness_rule_v2_method_types_item.py @@ -15,3 +15,13 @@ class PolicyFindingReadinessRuleV2MethodTypesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyFindingReadinessRuleV2MethodTypesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_finding_schedule_impacted_user_v2_cause.py b/incident_io/models/policy_finding_schedule_impacted_user_v2_cause.py index 4670655..b8eb76d 100644 --- a/incident_io/models/policy_finding_schedule_impacted_user_v2_cause.py +++ b/incident_io/models/policy_finding_schedule_impacted_user_v2_cause.py @@ -7,3 +7,13 @@ class PolicyFindingScheduleImpactedUserV2Cause(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyFindingScheduleImpactedUserV2Cause": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_finding_schedule_v2_cause.py b/incident_io/models/policy_finding_schedule_v2_cause.py index 271d6ee..f3b1a8e 100644 --- a/incident_io/models/policy_finding_schedule_v2_cause.py +++ b/incident_io/models/policy_finding_schedule_v2_cause.py @@ -8,3 +8,13 @@ class PolicyFindingScheduleV2Cause(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyFindingScheduleV2Cause": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_finding_v2_policy_type.py b/incident_io/models/policy_finding_v2_policy_type.py index 489b8fa..dae63c2 100644 --- a/incident_io/models/policy_finding_v2_policy_type.py +++ b/incident_io/models/policy_finding_v2_policy_type.py @@ -12,3 +12,13 @@ class PolicyFindingV2PolicyType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyFindingV2PolicyType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_finding_v2_state.py b/incident_io/models/policy_finding_v2_state.py index f743f9a..73e3b61 100644 --- a/incident_io/models/policy_finding_v2_state.py +++ b/incident_io/models/policy_finding_v2_state.py @@ -10,3 +10,13 @@ class PolicyFindingV2State(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyFindingV2State": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_on_call_readiness_v2_enforcement.py b/incident_io/models/policy_on_call_readiness_v2_enforcement.py index c14cf5c..9e7c893 100644 --- a/incident_io/models/policy_on_call_readiness_v2_enforcement.py +++ b/incident_io/models/policy_on_call_readiness_v2_enforcement.py @@ -7,3 +7,13 @@ class PolicyOnCallReadinessV2Enforcement(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyOnCallReadinessV2Enforcement": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_readiness_rule_v2_method_types_item.py b/incident_io/models/policy_readiness_rule_v2_method_types_item.py index 2a076a3..7233108 100644 --- a/incident_io/models/policy_readiness_rule_v2_method_types_item.py +++ b/incident_io/models/policy_readiness_rule_v2_method_types_item.py @@ -15,3 +15,13 @@ class PolicyReadinessRuleV2MethodTypesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyReadinessRuleV2MethodTypesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_reminder_cadence_v2_interval.py b/incident_io/models/policy_reminder_cadence_v2_interval.py index 62fdfc5..ecc53b8 100644 --- a/incident_io/models/policy_reminder_cadence_v2_interval.py +++ b/incident_io/models/policy_reminder_cadence_v2_interval.py @@ -7,3 +7,13 @@ class PolicyReminderCadenceV2Interval(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyReminderCadenceV2Interval": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_schedule_v2_evaluation_level.py b/incident_io/models/policy_schedule_v2_evaluation_level.py index 98cb958..b28e7bc 100644 --- a/incident_io/models/policy_schedule_v2_evaluation_level.py +++ b/incident_io/models/policy_schedule_v2_evaluation_level.py @@ -7,3 +7,13 @@ class PolicyScheduleV2EvaluationLevel(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyScheduleV2EvaluationLevel": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_schedule_v2_requirement_type.py b/incident_io/models/policy_schedule_v2_requirement_type.py index 195ba88..1f05430 100644 --- a/incident_io/models/policy_schedule_v2_requirement_type.py +++ b/incident_io/models/policy_schedule_v2_requirement_type.py @@ -6,3 +6,13 @@ class PolicyScheduleV2RequirementType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyScheduleV2RequirementType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_v2_policy_type.py b/incident_io/models/policy_v2_policy_type.py index fe288af..fc53da8 100644 --- a/incident_io/models/policy_v2_policy_type.py +++ b/incident_io/models/policy_v2_policy_type.py @@ -12,3 +12,13 @@ class PolicyV2PolicyType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyV2PolicyType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/policy_v2_status.py b/incident_io/models/policy_v2_status.py index 5858106..2ec103b 100644 --- a/incident_io/models/policy_v2_status.py +++ b/incident_io/models/policy_v2_status.py @@ -7,3 +7,13 @@ class PolicyV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PolicyV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/postmortem_document_v1_status.py b/incident_io/models/postmortem_document_v1_status.py index 1c4abd8..3bc2769 100644 --- a/incident_io/models/postmortem_document_v1_status.py +++ b/incident_io/models/postmortem_document_v1_status.py @@ -8,3 +8,13 @@ class PostmortemDocumentV1Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PostmortemDocumentV1Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/postmortem_document_v1_type.py b/incident_io/models/postmortem_document_v1_type.py index 55a987b..c664812 100644 --- a/incident_io/models/postmortem_document_v1_type.py +++ b/incident_io/models/postmortem_document_v1_type.py @@ -7,3 +7,13 @@ class PostmortemDocumentV1Type(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PostmortemDocumentV1Type": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/postmortem_document_with_status_change_v1_new_status.py b/incident_io/models/postmortem_document_with_status_change_v1_new_status.py index b6666b2..68469c4 100644 --- a/incident_io/models/postmortem_document_with_status_change_v1_new_status.py +++ b/incident_io/models/postmortem_document_with_status_change_v1_new_status.py @@ -9,3 +9,15 @@ class PostmortemDocumentWithStatusChangeV1NewStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "PostmortemDocumentWithStatusChangeV1NewStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/postmortem_document_with_status_change_v1_previous_status.py b/incident_io/models/postmortem_document_with_status_change_v1_previous_status.py index 4dbc377..d26553d 100644 --- a/incident_io/models/postmortem_document_with_status_change_v1_previous_status.py +++ b/incident_io/models/postmortem_document_with_status_change_v1_previous_status.py @@ -9,3 +9,15 @@ class PostmortemDocumentWithStatusChangeV1PreviousStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "PostmortemDocumentWithStatusChangeV1PreviousStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/postmortem_documents_attach_payload_v1_document_provider.py b/incident_io/models/postmortem_documents_attach_payload_v1_document_provider.py index f70da3d..505daa7 100644 --- a/incident_io/models/postmortem_documents_attach_payload_v1_document_provider.py +++ b/incident_io/models/postmortem_documents_attach_payload_v1_document_provider.py @@ -17,3 +17,15 @@ class PostmortemDocumentsAttachPayloadV1DocumentProvider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "PostmortemDocumentsAttachPayloadV1DocumentProvider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/postmortem_documents_update_status_payload_v1_status.py b/incident_io/models/postmortem_documents_update_status_payload_v1_status.py index 443afa2..d41611b 100644 --- a/incident_io/models/postmortem_documents_update_status_payload_v1_status.py +++ b/incident_io/models/postmortem_documents_update_status_payload_v1_status.py @@ -8,3 +8,15 @@ class PostmortemDocumentsUpdateStatusPayloadV1Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "PostmortemDocumentsUpdateStatusPayloadV1Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/postmortem_documents_v1_list_sort_by.py b/incident_io/models/postmortem_documents_v1_list_sort_by.py index e4f1912..fdcc532 100644 --- a/incident_io/models/postmortem_documents_v1_list_sort_by.py +++ b/incident_io/models/postmortem_documents_v1_list_sort_by.py @@ -7,3 +7,13 @@ class PostmortemDocumentsV1ListSortBy(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "PostmortemDocumentsV1ListSortBy": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_replica_create_payload_v2_replica_provider.py b/incident_io/models/schedule_replica_create_payload_v2_replica_provider.py index 6b1fca1..f154ddd 100644 --- a/incident_io/models/schedule_replica_create_payload_v2_replica_provider.py +++ b/incident_io/models/schedule_replica_create_payload_v2_replica_provider.py @@ -9,3 +9,15 @@ class ScheduleReplicaCreatePayloadV2ReplicaProvider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "ScheduleReplicaCreatePayloadV2ReplicaProvider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_replica_v2_replica_provider.py b/incident_io/models/schedule_replica_v2_replica_provider.py index eaadad7..a9aac4d 100644 --- a/incident_io/models/schedule_replica_v2_replica_provider.py +++ b/incident_io/models/schedule_replica_v2_replica_provider.py @@ -9,3 +9,13 @@ class ScheduleReplicaV2ReplicaProvider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ScheduleReplicaV2ReplicaProvider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_rotation_create_payload_v2_scheduling_mode.py b/incident_io/models/schedule_rotation_create_payload_v2_scheduling_mode.py index 8e69d5c..d9d403d 100644 --- a/incident_io/models/schedule_rotation_create_payload_v2_scheduling_mode.py +++ b/incident_io/models/schedule_rotation_create_payload_v2_scheduling_mode.py @@ -7,3 +7,15 @@ class ScheduleRotationCreatePayloadV2SchedulingMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "ScheduleRotationCreatePayloadV2SchedulingMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_rotation_handover_v2_interval_type.py b/incident_io/models/schedule_rotation_handover_v2_interval_type.py index 9e6c2a3..bdbe070 100644 --- a/incident_io/models/schedule_rotation_handover_v2_interval_type.py +++ b/incident_io/models/schedule_rotation_handover_v2_interval_type.py @@ -8,3 +8,13 @@ class ScheduleRotationHandoverV2IntervalType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ScheduleRotationHandoverV2IntervalType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_rotation_update_payload_v2_scheduling_mode.py b/incident_io/models/schedule_rotation_update_payload_v2_scheduling_mode.py index 9c97e4f..7725e10 100644 --- a/incident_io/models/schedule_rotation_update_payload_v2_scheduling_mode.py +++ b/incident_io/models/schedule_rotation_update_payload_v2_scheduling_mode.py @@ -7,3 +7,15 @@ class ScheduleRotationUpdatePayloadV2SchedulingMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "ScheduleRotationUpdatePayloadV2SchedulingMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_rotation_v2_scheduling_mode.py b/incident_io/models/schedule_rotation_v2_scheduling_mode.py index 01a626d..6b63469 100644 --- a/incident_io/models/schedule_rotation_v2_scheduling_mode.py +++ b/incident_io/models/schedule_rotation_v2_scheduling_mode.py @@ -7,3 +7,13 @@ class ScheduleRotationV2SchedulingMode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ScheduleRotationV2SchedulingMode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_rotation_working_interval_create_payload_v2_weekday.py b/incident_io/models/schedule_rotation_working_interval_create_payload_v2_weekday.py index 4b3edff..30e3224 100644 --- a/incident_io/models/schedule_rotation_working_interval_create_payload_v2_weekday.py +++ b/incident_io/models/schedule_rotation_working_interval_create_payload_v2_weekday.py @@ -12,3 +12,15 @@ class ScheduleRotationWorkingIntervalCreatePayloadV2Weekday(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "ScheduleRotationWorkingIntervalCreatePayloadV2Weekday": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_rotation_working_interval_v2_weekday.py b/incident_io/models/schedule_rotation_working_interval_v2_weekday.py index 4d64b9f..4b1105d 100644 --- a/incident_io/models/schedule_rotation_working_interval_v2_weekday.py +++ b/incident_io/models/schedule_rotation_working_interval_v2_weekday.py @@ -12,3 +12,13 @@ class ScheduleRotationWorkingIntervalV2Weekday(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ScheduleRotationWorkingIntervalV2Weekday": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_sync_rule_create_payload_v2_sync_type.py b/incident_io/models/schedule_sync_rule_create_payload_v2_sync_type.py index df44bae..e533258 100644 --- a/incident_io/models/schedule_sync_rule_create_payload_v2_sync_type.py +++ b/incident_io/models/schedule_sync_rule_create_payload_v2_sync_type.py @@ -8,3 +8,13 @@ class ScheduleSyncRuleCreatePayloadV2SyncType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ScheduleSyncRuleCreatePayloadV2SyncType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedule_sync_rule_v2_sync_type.py b/incident_io/models/schedule_sync_rule_v2_sync_type.py index 49cd6fe..f5c20db 100644 --- a/incident_io/models/schedule_sync_rule_v2_sync_type.py +++ b/incident_io/models/schedule_sync_rule_v2_sync_type.py @@ -8,3 +8,13 @@ class ScheduleSyncRuleV2SyncType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "ScheduleSyncRuleV2SyncType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/schedules_update_schedule_sync_rule_payload_v2_sync_type.py b/incident_io/models/schedules_update_schedule_sync_rule_payload_v2_sync_type.py index 7640868..9cfb6b1 100644 --- a/incident_io/models/schedules_update_schedule_sync_rule_payload_v2_sync_type.py +++ b/incident_io/models/schedules_update_schedule_sync_rule_payload_v2_sync_type.py @@ -8,3 +8,15 @@ class SchedulesUpdateScheduleSyncRulePayloadV2SyncType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "SchedulesUpdateScheduleSyncRulePayloadV2SyncType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_page_incident_affected_component_v2_component_status.py b/incident_io/models/status_page_incident_affected_component_v2_component_status.py index 6d3bccd..1a27710 100644 --- a/incident_io/models/status_page_incident_affected_component_v2_component_status.py +++ b/incident_io/models/status_page_incident_affected_component_v2_component_status.py @@ -9,3 +9,15 @@ class StatusPageIncidentAffectedComponentV2ComponentStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPageIncidentAffectedComponentV2ComponentStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_page_incident_component_impact_v2_component_status.py b/incident_io/models/status_page_incident_component_impact_v2_component_status.py index 546ec22..8f4ebf5 100644 --- a/incident_io/models/status_page_incident_component_impact_v2_component_status.py +++ b/incident_io/models/status_page_incident_component_impact_v2_component_status.py @@ -8,3 +8,15 @@ class StatusPageIncidentComponentImpactV2ComponentStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPageIncidentComponentImpactV2ComponentStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_page_incident_update_v2_incident_status.py b/incident_io/models/status_page_incident_update_v2_incident_status.py index 4d14737..088fcc7 100644 --- a/incident_io/models/status_page_incident_update_v2_incident_status.py +++ b/incident_io/models/status_page_incident_update_v2_incident_status.py @@ -9,3 +9,13 @@ class StatusPageIncidentUpdateV2IncidentStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "StatusPageIncidentUpdateV2IncidentStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_page_incident_v2_incident_status.py b/incident_io/models/status_page_incident_v2_incident_status.py index 0fdf4bb..b866a21 100644 --- a/incident_io/models/status_page_incident_v2_incident_status.py +++ b/incident_io/models/status_page_incident_v2_incident_status.py @@ -9,3 +9,13 @@ class StatusPageIncidentV2IncidentStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "StatusPageIncidentV2IncidentStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_page_maintenance_affected_component_v2_component_status.py b/incident_io/models/status_page_maintenance_affected_component_v2_component_status.py index cbd53af..f2b39ce 100644 --- a/incident_io/models/status_page_maintenance_affected_component_v2_component_status.py +++ b/incident_io/models/status_page_maintenance_affected_component_v2_component_status.py @@ -7,3 +7,15 @@ class StatusPageMaintenanceAffectedComponentV2ComponentStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPageMaintenanceAffectedComponentV2ComponentStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_page_maintenance_update_v2_maintenance_status.py b/incident_io/models/status_page_maintenance_update_v2_maintenance_status.py index 22db6ce..6277664 100644 --- a/incident_io/models/status_page_maintenance_update_v2_maintenance_status.py +++ b/incident_io/models/status_page_maintenance_update_v2_maintenance_status.py @@ -8,3 +8,15 @@ class StatusPageMaintenanceUpdateV2MaintenanceStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPageMaintenanceUpdateV2MaintenanceStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_page_maintenance_v2_maintenance_status.py b/incident_io/models/status_page_maintenance_v2_maintenance_status.py index 6c696b4..1adfb79 100644 --- a/incident_io/models/status_page_maintenance_v2_maintenance_status.py +++ b/incident_io/models/status_page_maintenance_v2_maintenance_status.py @@ -8,3 +8,13 @@ class StatusPageMaintenanceV2MaintenanceStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "StatusPageMaintenanceV2MaintenanceStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_page_retrospective_incident_update_v2_incident_status.py b/incident_io/models/status_page_retrospective_incident_update_v2_incident_status.py index cb5d09e..6a9fc0b 100644 --- a/incident_io/models/status_page_retrospective_incident_update_v2_incident_status.py +++ b/incident_io/models/status_page_retrospective_incident_update_v2_incident_status.py @@ -9,3 +9,15 @@ class StatusPageRetrospectiveIncidentUpdateV2IncidentStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPageRetrospectiveIncidentUpdateV2IncidentStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_pages_create_status_page_incident_payload_v2_incident_status.py b/incident_io/models/status_pages_create_status_page_incident_payload_v2_incident_status.py index d409fa5..e4f1622 100644 --- a/incident_io/models/status_pages_create_status_page_incident_payload_v2_incident_status.py +++ b/incident_io/models/status_pages_create_status_page_incident_payload_v2_incident_status.py @@ -9,3 +9,15 @@ class StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPagesCreateStatusPageIncidentPayloadV2IncidentStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_pages_create_status_page_incident_update_payload_v2_incident_status.py b/incident_io/models/status_pages_create_status_page_incident_update_payload_v2_incident_status.py index dc01bd1..e22dce4 100644 --- a/incident_io/models/status_pages_create_status_page_incident_update_payload_v2_incident_status.py +++ b/incident_io/models/status_pages_create_status_page_incident_update_payload_v2_incident_status.py @@ -9,3 +9,15 @@ class StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPagesCreateStatusPageIncidentUpdatePayloadV2IncidentStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_pages_create_status_page_maintenance_payload_v2_maintenance_status.py b/incident_io/models/status_pages_create_status_page_maintenance_payload_v2_maintenance_status.py index a3bda2f..b24529f 100644 --- a/incident_io/models/status_pages_create_status_page_maintenance_payload_v2_maintenance_status.py +++ b/incident_io/models/status_pages_create_status_page_maintenance_payload_v2_maintenance_status.py @@ -8,3 +8,15 @@ class StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPagesCreateStatusPageMaintenancePayloadV2MaintenanceStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2_maintenance_status.py b/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2_maintenance_status.py index 83be95a..7f75043 100644 --- a/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2_maintenance_status.py +++ b/incident_io/models/status_pages_create_status_page_maintenance_update_payload_v2_maintenance_status.py @@ -8,3 +8,15 @@ class StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus(Str def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "StatusPagesCreateStatusPageMaintenanceUpdatePayloadV2MaintenanceStatus": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/step_progress_slim_v2_status.py b/incident_io/models/step_progress_slim_v2_status.py index 20bc5ee..84018be 100644 --- a/incident_io/models/step_progress_slim_v2_status.py +++ b/incident_io/models/step_progress_slim_v2_status.py @@ -8,3 +8,13 @@ class StepProgressSlimV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "StepProgressSlimV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/step_progress_slim_v2_webhook_delivery_state.py b/incident_io/models/step_progress_slim_v2_webhook_delivery_state.py index c2a6dfc..6089f8d 100644 --- a/incident_io/models/step_progress_slim_v2_webhook_delivery_state.py +++ b/incident_io/models/step_progress_slim_v2_webhook_delivery_state.py @@ -8,3 +8,13 @@ class StepProgressSlimV2WebhookDeliveryState(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "StepProgressSlimV2WebhookDeliveryState": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/step_progress_v2_status.py b/incident_io/models/step_progress_v2_status.py index 2dcaa29..6ff76bc 100644 --- a/incident_io/models/step_progress_v2_status.py +++ b/incident_io/models/step_progress_v2_status.py @@ -8,3 +8,13 @@ class StepProgressV2Status(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "StepProgressV2Status": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/step_progress_v2_webhook_delivery_state.py b/incident_io/models/step_progress_v2_webhook_delivery_state.py index 3eca13d..957e9cd 100644 --- a/incident_io/models/step_progress_v2_webhook_delivery_state.py +++ b/incident_io/models/step_progress_v2_webhook_delivery_state.py @@ -8,3 +8,13 @@ class StepProgressV2WebhookDeliveryState(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "StepProgressV2WebhookDeliveryState": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/user_seats_v2_on_call.py b/incident_io/models/user_seats_v2_on_call.py index 1633545..2b1c3bb 100644 --- a/incident_io/models/user_seats_v2_on_call.py +++ b/incident_io/models/user_seats_v2_on_call.py @@ -8,3 +8,13 @@ class UserSeatsV2OnCall(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "UserSeatsV2OnCall": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/user_seats_v2_response.py b/incident_io/models/user_seats_v2_response.py index 17ba32b..2ae31e2 100644 --- a/incident_io/models/user_seats_v2_response.py +++ b/incident_io/models/user_seats_v2_response.py @@ -8,3 +8,13 @@ class UserSeatsV2Response(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "UserSeatsV2Response": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/user_v1_role.py b/incident_io/models/user_v1_role.py index 9ee6838..41029c7 100644 --- a/incident_io/models/user_v1_role.py +++ b/incident_io/models/user_v1_role.py @@ -10,3 +10,13 @@ class UserV1Role(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "UserV1Role": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/user_v2_role.py b/incident_io/models/user_v2_role.py index ef77f92..9ec19d3 100644 --- a/incident_io/models/user_v2_role.py +++ b/incident_io/models/user_v2_role.py @@ -10,3 +10,13 @@ class UserV2Role(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "UserV2Role": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/user_with_roles_v2_role.py b/incident_io/models/user_with_roles_v2_role.py index 4ff5a8a..2e7d748 100644 --- a/incident_io/models/user_with_roles_v2_role.py +++ b/incident_io/models/user_with_roles_v2_role.py @@ -10,3 +10,13 @@ class UserWithRolesV2Role(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "UserWithRolesV2Role": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/users_show_paging_provider_result_v2_preferred_escalation_provider.py b/incident_io/models/users_show_paging_provider_result_v2_preferred_escalation_provider.py index dd22e41..db497f6 100644 --- a/incident_io/models/users_show_paging_provider_result_v2_preferred_escalation_provider.py +++ b/incident_io/models/users_show_paging_provider_result_v2_preferred_escalation_provider.py @@ -9,3 +9,15 @@ class UsersShowPagingProviderResultV2PreferredEscalationProvider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "UsersShowPagingProviderResultV2PreferredEscalationProvider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/users_update_paging_provider_payload_v2_preferred_escalation_provider.py b/incident_io/models/users_update_paging_provider_payload_v2_preferred_escalation_provider.py index 12b8657..567f500 100644 --- a/incident_io/models/users_update_paging_provider_payload_v2_preferred_escalation_provider.py +++ b/incident_io/models/users_update_paging_provider_payload_v2_preferred_escalation_provider.py @@ -9,3 +9,15 @@ class UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "UsersUpdatePagingProviderPayloadV2PreferredEscalationProvider": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhook_delivery_slim_v2_outcome.py b/incident_io/models/webhook_delivery_slim_v2_outcome.py index 1b67de4..50d6eab 100644 --- a/incident_io/models/webhook_delivery_slim_v2_outcome.py +++ b/incident_io/models/webhook_delivery_slim_v2_outcome.py @@ -11,3 +11,13 @@ class WebhookDeliverySlimV2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WebhookDeliverySlimV2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhook_delivery_v2_outcome.py b/incident_io/models/webhook_delivery_v2_outcome.py index 3dde179..e2b51e9 100644 --- a/incident_io/models/webhook_delivery_v2_outcome.py +++ b/incident_io/models/webhook_delivery_v2_outcome.py @@ -11,3 +11,13 @@ class WebhookDeliveryV2Outcome(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WebhookDeliveryV2Outcome": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhook_incident_v2_mode.py b/incident_io/models/webhook_incident_v2_mode.py index 83d3666..0dfdbac 100644 --- a/incident_io/models/webhook_incident_v2_mode.py +++ b/incident_io/models/webhook_incident_v2_mode.py @@ -9,3 +9,13 @@ class WebhookIncidentV2Mode(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WebhookIncidentV2Mode": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhook_incident_v2_visibility.py b/incident_io/models/webhook_incident_v2_visibility.py index bfe5698..c379b29 100644 --- a/incident_io/models/webhook_incident_v2_visibility.py +++ b/incident_io/models/webhook_incident_v2_visibility.py @@ -7,3 +7,13 @@ class WebhookIncidentV2Visibility(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WebhookIncidentV2Visibility": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_alert_created_v1_response_body_event_type.py b/incident_io/models/webhooks_private_alert_created_v1_response_body_event_type.py index 108b9fe..aec52fd 100644 --- a/incident_io/models/webhooks_private_alert_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_alert_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateAlertCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateAlertCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_alert_resolved_v1_response_body_event_type.py b/incident_io/models/webhooks_private_alert_resolved_v1_response_body_event_type.py index f268277..3c8fb9b 100644 --- a/incident_io/models/webhooks_private_alert_resolved_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_alert_resolved_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateAlertResolvedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateAlertResolvedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_escalation_created_v1_response_body_event_type.py b/incident_io/models/webhooks_private_escalation_created_v1_response_body_event_type.py index ac5d0e1..80e99ce 100644 --- a/incident_io/models/webhooks_private_escalation_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_escalation_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateEscalationCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateEscalationCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body_event_type.py index 783a9ca..78511f0 100644 --- a/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateEscalationStatusUpdatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateEscalationStatusUpdatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_action_created_v1_response_body_event_type.py b/incident_io/models/webhooks_private_incident_action_created_v1_response_body_event_type.py index 90f4437..5c34158 100644 --- a/incident_io/models/webhooks_private_incident_action_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_action_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentActionCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentActionCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_action_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_private_incident_action_updated_v1_response_body_event_type.py index c4687bc..3702e18 100644 --- a/incident_io/models/webhooks_private_incident_action_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_action_updated_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentActionUpdatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentActionUpdatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body_event_type.py b/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body_event_type.py index d1717cf..da71eb1 100644 --- a/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentFollowUpCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentFollowUpCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body_event_type.py b/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body_event_type.py index 2279726..7b9e330 100644 --- a/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentFollowUpCreatedV2ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentFollowUpCreatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body_event_type.py index 9b79066..013b394 100644 --- a/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body_event_type.py b/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body_event_type.py index 4fe908f..e999998 100644 --- a/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentFollowUpUpdatedV2ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentFollowUpUpdatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_incident_created_v2_response_body_event_type.py b/incident_io/models/webhooks_private_incident_incident_created_v2_response_body_event_type.py index dc7fe82..c3166d5 100644 --- a/incident_io/models/webhooks_private_incident_incident_created_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_incident_created_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentIncidentCreatedV2ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentIncidentCreatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body_event_type.py b/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body_event_type.py index 361fc8f..2169e77 100644 --- a/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentIncidentUpdatedV2ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentIncidentUpdatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body_event_type.py b/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body_event_type.py index 6a0ecad..91eec31 100644 --- a/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentMembershipGrantedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentMembershipGrantedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body_event_type.py b/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body_event_type.py index bae419a..9685368 100644 --- a/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPrivateIncidentMembershipRevokedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPrivateIncidentMembershipRevokedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body_event_type.py index f431fbd..340b0bf 100644 --- a/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body_event_type.py @@ -53,3 +53,17 @@ class WebhooksPrivateIncidentPostmortemDocumentStatusUpdatedV1ResponseBodyEventT def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> ( + "WebhooksPrivateIncidentPostmortemDocumentStatusUpdatedV1ResponseBodyEventType" + ): + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_alert_created_v1_response_body_event_type.py b/incident_io/models/webhooks_public_alert_created_v1_response_body_event_type.py index 3879b55..50d420c 100644 --- a/incident_io/models/webhooks_public_alert_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_alert_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicAlertCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicAlertCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_alert_resolved_v1_response_body_event_type.py b/incident_io/models/webhooks_public_alert_resolved_v1_response_body_event_type.py index 3955a9e..609ca96 100644 --- a/incident_io/models/webhooks_public_alert_resolved_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_alert_resolved_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicAlertResolvedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicAlertResolvedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_escalation_created_v1_response_body_event_type.py b/incident_io/models/webhooks_public_escalation_created_v1_response_body_event_type.py index 5126d61..9032cbc 100644 --- a/incident_io/models/webhooks_public_escalation_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_escalation_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicEscalationCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicEscalationCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body_event_type.py index 36f8441..9a8e797 100644 --- a/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicEscalationStatusUpdatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicEscalationStatusUpdatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_action_created_v1_response_body_event_type.py b/incident_io/models/webhooks_public_incident_action_created_v1_response_body_event_type.py index f7b63b1..e00f664 100644 --- a/incident_io/models/webhooks_public_incident_action_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_action_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentActionCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentActionCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_action_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_public_incident_action_updated_v1_response_body_event_type.py index f3b5be1..1f084a7 100644 --- a/incident_io/models/webhooks_public_incident_action_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_action_updated_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentActionUpdatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentActionUpdatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body_event_type.py b/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body_event_type.py index d7baab0..0f6b446 100644 --- a/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentFollowUpCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentFollowUpCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body_event_type.py b/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body_event_type.py index ea15112..4e5e453 100644 --- a/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentFollowUpCreatedV2ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentFollowUpCreatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body_event_type.py index 4b045d7..eee0cad 100644 --- a/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentFollowUpUpdatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentFollowUpUpdatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body_event_type.py b/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body_event_type.py index aad3f18..51789ae 100644 --- a/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentFollowUpUpdatedV2ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentFollowUpUpdatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_incident_created_v2_response_body_event_type.py b/incident_io/models/webhooks_public_incident_incident_created_v2_response_body_event_type.py index 305d832..fda4a78 100644 --- a/incident_io/models/webhooks_public_incident_incident_created_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_incident_created_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentIncidentCreatedV2ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentIncidentCreatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body_event_type.py b/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body_event_type.py index 2abbac8..eafd8f2 100644 --- a/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentIncidentStatusUpdatedV2ResponseBodyEventType(StrEnum def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentIncidentStatusUpdatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body_event_type.py b/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body_event_type.py index f6f65fd..43c5acd 100644 --- a/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksPublicIncidentIncidentUpdatedV2ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentIncidentUpdatedV2ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body_event_type.py index aeb11dd..3dd5633 100644 --- a/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body_event_type.py @@ -53,3 +53,15 @@ class WebhooksPublicIncidentPostmortemDocumentStatusUpdatedV1ResponseBodyEventTy def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksPublicIncidentPostmortemDocumentStatusUpdatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_schedule_created_v1_response_body_event_type.py b/incident_io/models/webhooks_schedule_created_v1_response_body_event_type.py index a710925..3af1598 100644 --- a/incident_io/models/webhooks_schedule_created_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_schedule_created_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksScheduleCreatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksScheduleCreatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_schedule_deleted_v1_response_body_event_type.py b/incident_io/models/webhooks_schedule_deleted_v1_response_body_event_type.py index 0fd8ddb..a840c5d 100644 --- a/incident_io/models/webhooks_schedule_deleted_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_schedule_deleted_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksScheduleDeletedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksScheduleDeletedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_schedule_shift_change_v1_response_body_event_type.py b/incident_io/models/webhooks_schedule_shift_change_v1_response_body_event_type.py index 156091d..d5029c9 100644 --- a/incident_io/models/webhooks_schedule_shift_change_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_schedule_shift_change_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksScheduleShiftChangeV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksScheduleShiftChangeV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_schedule_updated_v1_response_body_event_type.py b/incident_io/models/webhooks_schedule_updated_v1_response_body_event_type.py index 7a49769..c348a75 100644 --- a/incident_io/models/webhooks_schedule_updated_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_schedule_updated_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksScheduleUpdatedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksScheduleUpdatedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body_event_type.py b/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body_event_type.py index 70fac17..290badd 100644 --- a/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body_event_type.py +++ b/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body_event_type.py @@ -51,3 +51,15 @@ class WebhooksStatusPageIncidentUpdateSharedV1ResponseBodyEventType(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WebhooksStatusPageIncidentUpdateSharedV1ResponseBodyEventType": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/weekday_interval_v2_weekday.py b/incident_io/models/weekday_interval_v2_weekday.py index ccb1c18..e86167d 100644 --- a/incident_io/models/weekday_interval_v2_weekday.py +++ b/incident_io/models/weekday_interval_v2_weekday.py @@ -12,3 +12,13 @@ class WeekdayIntervalV2Weekday(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WeekdayIntervalV2Weekday": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflow_slim_v2_private_incident_scope.py b/incident_io/models/workflow_slim_v2_private_incident_scope.py index b2ee14f..b1a9dd5 100644 --- a/incident_io/models/workflow_slim_v2_private_incident_scope.py +++ b/incident_io/models/workflow_slim_v2_private_incident_scope.py @@ -8,3 +8,13 @@ class WorkflowSlimV2PrivateIncidentScope(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowSlimV2PrivateIncidentScope": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflow_slim_v2_runs_on_incident_modes_item.py b/incident_io/models/workflow_slim_v2_runs_on_incident_modes_item.py index f75cea4..775abe8 100644 --- a/incident_io/models/workflow_slim_v2_runs_on_incident_modes_item.py +++ b/incident_io/models/workflow_slim_v2_runs_on_incident_modes_item.py @@ -8,3 +8,13 @@ class WorkflowSlimV2RunsOnIncidentModesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowSlimV2RunsOnIncidentModesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflow_slim_v2_runs_on_incidents.py b/incident_io/models/workflow_slim_v2_runs_on_incidents.py index 05d4d76..126714b 100644 --- a/incident_io/models/workflow_slim_v2_runs_on_incidents.py +++ b/incident_io/models/workflow_slim_v2_runs_on_incidents.py @@ -7,3 +7,13 @@ class WorkflowSlimV2RunsOnIncidents(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowSlimV2RunsOnIncidents": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflow_slim_v2_state.py b/incident_io/models/workflow_slim_v2_state.py index 3003b36..035ea67 100644 --- a/incident_io/models/workflow_slim_v2_state.py +++ b/incident_io/models/workflow_slim_v2_state.py @@ -9,3 +9,13 @@ class WorkflowSlimV2State(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowSlimV2State": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflow_v2_private_incident_scope.py b/incident_io/models/workflow_v2_private_incident_scope.py index a7f9ee1..fa7b644 100644 --- a/incident_io/models/workflow_v2_private_incident_scope.py +++ b/incident_io/models/workflow_v2_private_incident_scope.py @@ -8,3 +8,13 @@ class WorkflowV2PrivateIncidentScope(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowV2PrivateIncidentScope": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflow_v2_runs_on_incident_modes_item.py b/incident_io/models/workflow_v2_runs_on_incident_modes_item.py index 8b848fa..61b814d 100644 --- a/incident_io/models/workflow_v2_runs_on_incident_modes_item.py +++ b/incident_io/models/workflow_v2_runs_on_incident_modes_item.py @@ -8,3 +8,13 @@ class WorkflowV2RunsOnIncidentModesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowV2RunsOnIncidentModesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflow_v2_runs_on_incidents.py b/incident_io/models/workflow_v2_runs_on_incidents.py index 612b03b..bfacd53 100644 --- a/incident_io/models/workflow_v2_runs_on_incidents.py +++ b/incident_io/models/workflow_v2_runs_on_incidents.py @@ -7,3 +7,13 @@ class WorkflowV2RunsOnIncidents(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowV2RunsOnIncidents": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflow_v2_state.py b/incident_io/models/workflow_v2_state.py index 78b64aa..d15c9e3 100644 --- a/incident_io/models/workflow_v2_state.py +++ b/incident_io/models/workflow_v2_state.py @@ -9,3 +9,13 @@ class WorkflowV2State(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowV2State": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflows_create_workflow_payload_v2_private_incident_scope.py b/incident_io/models/workflows_create_workflow_payload_v2_private_incident_scope.py index 270e7b4..d63ca4d 100644 --- a/incident_io/models/workflows_create_workflow_payload_v2_private_incident_scope.py +++ b/incident_io/models/workflows_create_workflow_payload_v2_private_incident_scope.py @@ -8,3 +8,15 @@ class WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WorkflowsCreateWorkflowPayloadV2PrivateIncidentScope": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflows_create_workflow_payload_v2_runs_on_incident_modes_item.py b/incident_io/models/workflows_create_workflow_payload_v2_runs_on_incident_modes_item.py index 4a0fae9..3c18ad4 100644 --- a/incident_io/models/workflows_create_workflow_payload_v2_runs_on_incident_modes_item.py +++ b/incident_io/models/workflows_create_workflow_payload_v2_runs_on_incident_modes_item.py @@ -8,3 +8,15 @@ class WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WorkflowsCreateWorkflowPayloadV2RunsOnIncidentModesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflows_create_workflow_payload_v2_runs_on_incidents.py b/incident_io/models/workflows_create_workflow_payload_v2_runs_on_incidents.py index eaac45f..7fcfe5c 100644 --- a/incident_io/models/workflows_create_workflow_payload_v2_runs_on_incidents.py +++ b/incident_io/models/workflows_create_workflow_payload_v2_runs_on_incidents.py @@ -7,3 +7,15 @@ class WorkflowsCreateWorkflowPayloadV2RunsOnIncidents(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WorkflowsCreateWorkflowPayloadV2RunsOnIncidents": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflows_create_workflow_payload_v2_state.py b/incident_io/models/workflows_create_workflow_payload_v2_state.py index 2760d41..655bf22 100644 --- a/incident_io/models/workflows_create_workflow_payload_v2_state.py +++ b/incident_io/models/workflows_create_workflow_payload_v2_state.py @@ -9,3 +9,13 @@ class WorkflowsCreateWorkflowPayloadV2State(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowsCreateWorkflowPayloadV2State": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflows_update_workflow_payload_v2_private_incident_scope.py b/incident_io/models/workflows_update_workflow_payload_v2_private_incident_scope.py index 2c168b5..1a8e77c 100644 --- a/incident_io/models/workflows_update_workflow_payload_v2_private_incident_scope.py +++ b/incident_io/models/workflows_update_workflow_payload_v2_private_incident_scope.py @@ -8,3 +8,15 @@ class WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WorkflowsUpdateWorkflowPayloadV2PrivateIncidentScope": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflows_update_workflow_payload_v2_runs_on_incident_modes_item.py b/incident_io/models/workflows_update_workflow_payload_v2_runs_on_incident_modes_item.py index 4cfba32..c83e76b 100644 --- a/incident_io/models/workflows_update_workflow_payload_v2_runs_on_incident_modes_item.py +++ b/incident_io/models/workflows_update_workflow_payload_v2_runs_on_incident_modes_item.py @@ -8,3 +8,15 @@ class WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModesItem(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WorkflowsUpdateWorkflowPayloadV2RunsOnIncidentModesItem": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflows_update_workflow_payload_v2_runs_on_incidents.py b/incident_io/models/workflows_update_workflow_payload_v2_runs_on_incidents.py index 056b087..8199814 100644 --- a/incident_io/models/workflows_update_workflow_payload_v2_runs_on_incidents.py +++ b/incident_io/models/workflows_update_workflow_payload_v2_runs_on_incidents.py @@ -7,3 +7,15 @@ class WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_( + cls, value: object + ) -> "WorkflowsUpdateWorkflowPayloadV2RunsOnIncidents": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/incident_io/models/workflows_update_workflow_payload_v2_state.py b/incident_io/models/workflows_update_workflow_payload_v2_state.py index 278ea58..11724b2 100644 --- a/incident_io/models/workflows_update_workflow_payload_v2_state.py +++ b/incident_io/models/workflows_update_workflow_payload_v2_state.py @@ -9,3 +9,13 @@ class WorkflowsUpdateWorkflowPayloadV2State(StrEnum): def __str__(self) -> str: return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "WorkflowsUpdateWorkflowPayloadV2State": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/oasdiff-severity.txt b/oasdiff-severity.txt index 2db2679..5955251 100644 --- a/oasdiff-severity.txt +++ b/oasdiff-severity.txt @@ -1,2 +1,4 @@ response-property-enum-value-added WARN request-parameter-min-set WARN +api-operation-id-removed ERR +api-schema-removed ERR diff --git a/scripts/api_surface.py b/scripts/api_surface.py index de67e6c..ead8e93 100644 --- a/scripts/api_surface.py +++ b/scripts/api_surface.py @@ -15,6 +15,10 @@ a file we commit, and on the next release fails if any line disappeared. Additions are fine; removals are not. +One line per name, not per class: a composite line would be rewritten whenever +anything on it changed, so adding a field would read as a removal and halt an +entirely additive release. + python scripts/api_surface.py write incident_io api-surface.txt python scripts/api_surface.py check incident_io api-surface.txt @@ -32,15 +36,22 @@ ENTRY_POINTS = ("sync_detailed", "sync", "asyncio_detailed", "asyncio") +def _raise(name: str) -> None: + """walk_packages swallows import errors while discovering subpackages + unless given an onerror. A swallowed one would silently shrink the recorded + surface, so the next real removal would go unnoticed.""" + raise ImportError(f"failed to import {name}") + + def endpoint_lines(package) -> list[str]: - """One line per endpoint entry point, naming its keyword parameters. + """One line per endpoint parameter. - Catches an operation being renamed or retagged (the module path moves) and a - path or query parameter being renamed (the parameter list changes). + Catches an operation being renamed or retagged (the module path moves) and + a path or query parameter being renamed (the parameter line disappears). """ lines = [] api = importlib.import_module(f"{package.__name__}.api") - for module in pkgutil.walk_packages(api.__path__, f"{api.__name__}."): + for module in pkgutil.walk_packages(api.__path__, f"{api.__name__}.", onerror=_raise): if module.ispkg: continue imported = importlib.import_module(module.name) @@ -48,39 +59,34 @@ def endpoint_lines(package) -> list[str]: function = getattr(imported, name, None) if function is None: continue - parameters = sorted(inspect.signature(function).parameters) - lines.append(f"endpoint {module.name}.{name}({', '.join(parameters)})") + for parameter in inspect.signature(function).parameters: + lines.append(f"endpoint {module.name}.{name} {parameter}") return lines def model_lines(package) -> list[str]: - """One line per exported model, naming its fields or enum members. + """One line per model field and per enum member. - Catches a schema being renamed or inlined (the class leaves `__all__`), a - response property being removed, a required property being added, and an - enum value being removed — none of which oasdiff rates as breaking. + Catches a schema being renamed or inlined (its lines disappear), a response + property being removed, and an enum value being removed — none of which + oasdiff rates as breaking. """ lines = [] models = importlib.import_module(f"{package.__name__}.models") for name in sorted(getattr(models, "__all__", [])): - obj = getattr(models, name, None) - if obj is None: - lines.append(f"model {name} MISSING") - continue + obj = getattr(models, name) members = getattr(obj, "__members__", None) if members is not None: # an enum - lines.append(f"enum {name}({', '.join(sorted(members))})") + lines.extend(f"enum {name}.{member}" for member in members) continue fields = getattr(obj, "__attrs_attrs__", None) - if fields is not None: - required = sorted(f.name for f in fields if f.default is inspect.Parameter.empty) - optional = sorted(f.name for f in fields if f.default is not inspect.Parameter.empty) - lines.append(f"model {name}(required: {', '.join(required)} | optional: {', '.join(optional)})") + if fields is None: + lines.append(f"model {name}") continue - lines.append(f"model {name}") + lines.extend(f"model {name}.{field.name}" for field in fields) return lines diff --git a/scripts/fix_generated.py b/scripts/fix_generated.py index 5928214..28cfa2f 100644 --- a/scripts/fix_generated.py +++ b/scripts/fix_generated.py @@ -7,17 +7,12 @@ Fixes: -1. Binary responses are decoded as text. The generator emits - `BytesIO(response.text)` for a `format: binary` response, and BytesIO wants - bytes, so every successful call to such an endpoint raises TypeError. Ours is - `GET /v2/pay_reports/{id}/download`. - -2. The context-manager signatures don't type-check. `__exit__` and `__aexit__` +1. The context-manager signatures don't type-check. `__exit__` and `__aexit__` take `*args: object` and splat that into httpx's, which is typed for the three specific arguments. Harmless at runtime, but the package ships `py.typed`, so it has to check cleanly. -3. Models accept positional arguments. attrs orders fields required-then- +2. Models accept positional arguments. attrs orders fields required-then- optional in schema order, and our schema emits properties alphabetically, so adding one optional field moves every positional argument after it. A caller writing `Payload(Status.FIRING, "disk full", "dedup-123")` silently sends @@ -44,9 +39,6 @@ class Fix: glob: str old: str new: str - # Some fixes apply to one known file, others to any matching endpoint. A - # fix that matches nothing is a bug, so both are checked against this. - expect_at_least: int = 1 FIXES = ( @@ -56,12 +48,6 @@ class Fix: old="@_attrs_define\n", new="@_attrs_define(kw_only=True)\n", ), - Fix( - name="binary responses are read as bytes", - glob="api/*/*.py", - old="BytesIO(response.text)", - new="BytesIO(response.content)", - ), Fix( name="__exit__ passes httpx the types it declares", glob="client.py", @@ -100,10 +86,8 @@ class Fix: " await self.get_async_httpx_client().__aexit__(exc_type, exc_value, traceback)" ), ), - # The two above reference TracebackType, which the generated client doesn't - # import. If they stop matching, this adds an unused import — which ruff - # removes on the next run and which fails the release anyway, so it can't - # reach a published wheel. + # The two above reference TracebackType, which the generated client + # doesn't import. Fix( name="client.py imports TracebackType", glob="client.py", @@ -116,9 +100,7 @@ class Fix: def apply(fix: Fix, package: Path) -> int: - """Replace every occurrence, returning how many. Counts replacements rather - than files so a fix that stops matching one of several endpoints still - trips expect_at_least.""" + """Replace every occurrence, returning how many.""" applied = 0 for file in sorted(package.glob(fix.glob)): source = file.read_text() @@ -136,7 +118,7 @@ def main(package_path: str) -> int: for fix in FIXES: applied = apply(fix, package) - if applied < fix.expect_at_least: + if not applied: unmatched.append(fix.name) print(f" no match: {fix.name}", file=sys.stderr) else: diff --git a/scripts/mark_deprecated.py b/scripts/mark_deprecated.py index 41c6015..790c7fe 100755 --- a/scripts/mark_deprecated.py +++ b/scripts/mark_deprecated.py @@ -23,9 +23,8 @@ import sys from pathlib import Path -SYNC_ENTRY_POINTS = ("sync_detailed", "sync") ASYNC_ENTRY_POINTS = ("asyncio_detailed", "asyncio") -ENTRY_POINTS = SYNC_ENTRY_POINTS + ASYNC_ENTRY_POINTS +ENTRY_POINTS = ("sync_detailed", "sync", *ASYNC_ENTRY_POINTS) METHODS = ("get", "post", "put", "patch", "delete") MARKER = "# --- deprecation markers added by scripts/mark_deprecated.py ---" @@ -90,27 +89,20 @@ def deprecated_operations(spec: dict) -> set[tuple[str, str]]: if method not in METHODS or not isinstance(operation, dict): continue if operation.get("deprecated"): - found.add((method, normalise_path(path))) + found.add((method, path_shape(path))) return found -def normalise_path(path: str) -> str: - """Snake_case the parameter names in a path, the way the generator does. +def path_shape(path: str) -> str: + """A path with its parameter names erased. - The schema is free to name a path parameter `followUpId` or `action-id`; - the generated URL always says `follow_up_id`. Comparing the raw spec path - against the generated one therefore misses those, and a miss fails the - release. Only the parameter names are touched — the literal segments are - already whatever the API serves. + The schema may call a parameter `followUpId`; the generated URL says + `follow_up_id`, via the generator's own identifier rules. Re-implementing + those rules here would duplicate something upstream owns and drift from it, + so compare only the shape. Two operations cannot differ by parameter name + alone — OpenAPI treats those as the same path — so nothing is lost. """ - - def snake(match: re.Match[str]) -> str: - name = match.group(1) - name = re.sub(r"[-\s]+", "_", name) - name = re.sub(r"(?<=[a-z0-9])([A-Z])", r"_\1", name) - return "{" + name.lower() + "}" - - return re.sub(r"\{([^}]+)\}", snake, path) + return re.sub(r"\{[^}]+\}", "{}", path) def operation_of(source: str) -> tuple[str, str] | None: @@ -119,7 +111,7 @@ def operation_of(source: str) -> tuple[str, str] | None: url = re.search(r'"url":\s*"([^"]+)"', source) if not method or not url: return None - return method.group(1), url.group(1) + return method.group(1), path_shape(url.group(1)) def mark(file: Path, method: str, path: str) -> bool: diff --git a/scripts/verify_import.py b/scripts/verify_import.py index cfee32a..112f202 100644 --- a/scripts/verify_import.py +++ b/scripts/verify_import.py @@ -1,7 +1,8 @@ """Import every generated module, and byte-compile the ones that can't be imported. Run against the installed wheel, not the working tree, so this checks what we would -actually publish. +actually publish. Given a path, it also checks the recorded API surface (see +api_surface.py), reusing the imports this walk has already done. `import incident_io` only pulls in the client and, transitively, the model graph — about four fifths of the package. Every module under `incident_io.api` is left out, because @@ -53,3 +54,12 @@ def _raise(name: str) -> None: sys.exit("verify: py.typed is missing, so type checkers will ignore the SDK") print(f"verify: imported {count} modules") + +# Folded in here rather than run as its own command: every module is already +# in sys.modules, so recording the surface costs nothing, where a second +# process would import the whole package again. +if len(sys.argv) > 1: + sys.path.insert(0, str(Path(__file__).parent)) + from api_surface import check, surface + + raise SystemExit(check(surface("incident_io"), Path(sys.argv[1]))) diff --git a/templates/str_enum.py.jinja b/templates/str_enum.py.jinja new file mode 100644 index 0000000..d9f1e81 --- /dev/null +++ b/templates/str_enum.py.jinja @@ -0,0 +1,33 @@ +{#- + Overrides the generator's str_enum template to add _missing_. + + The generator emits closed enums, so `StrEnum("a_new_value")` raises + ValueError inside from_dict. Our API adds enum values as a backwards- + compatible change and the server starts sending one the moment it ships, so + without this every already-installed copy of the SDK breaks on the next + response carrying it — and the release that knows the value is one those + callers have not installed. Unknown values become members instead. + + Keep the emitted docstring to one line: it is repeated in 325 generated + files, and the reasoning belongs here rather than in the published wheel. +-#} +from enum import StrEnum +from typing import Any + +class {{ enum.class_info.name }}(StrEnum): + {% for key, value in enum.values|dictsort(true) %} + {{ key }} = "{{ value }}" + {% endfor %} + + def __str__(self) -> str: + return str(self.value) + + @classmethod + def _missing_(cls, value: object) -> "{{ enum.class_info.name }}": + """Accept a value added to the API after this SDK was built.""" + if not isinstance(value, str): + return super()._missing_(value) # type: ignore[return-value] + unknown = str.__new__(cls, value) + unknown._name_ = value + unknown._value_ = value + return unknown diff --git a/tests/test_sdk.py b/tests/test_sdk.py index fda426a..42fce5f 100644 --- a/tests/test_sdk.py +++ b/tests/test_sdk.py @@ -11,13 +11,10 @@ from __future__ import annotations import inspect -import warnings -from pathlib import Path import httpx import pytest -import incident_io from incident_io import AuthenticatedClient from incident_io.api.actions_v1 import actions_v1_list from incident_io.api.pay_reports_v2 import pay_reports_v2_download @@ -91,7 +88,6 @@ def test_an_error_status_is_returned_not_raised(): assert response.status_code == 422 -@pytest.mark.asyncio async def test_the_async_entry_point_works(): client = client_returning(200, SEVERITIES_BODY) @@ -107,14 +103,9 @@ async def test_the_async_entry_point_works(): def test_a_deprecated_endpoint_warns(): client = client_returning(200, {"actions": []}) - with warnings.catch_warnings(record=True) as caught: - warnings.simplefilter("always") + with pytest.warns(DeprecationWarning, match=r"GET /v1/actions"): actions_v1_list.sync_detailed(client=client) - messages = [str(w.message) for w in caught if w.category is DeprecationWarning] - assert messages, "no DeprecationWarning was raised" - assert "GET /v1/actions" in messages[0] - def test_a_deprecated_endpoint_warns_once_not_twice(): """sync() calls sync_detailed(), and both carry the wrapper. Without @@ -122,13 +113,11 @@ def test_a_deprecated_endpoint_warns_once_not_twice(): -W error blames us for the caller's mistake.""" client = client_returning(200, {"actions": []}) - with warnings.catch_warnings(record=True) as caught: - warnings.simplefilter("always") + with pytest.warns(DeprecationWarning) as caught: actions_v1_list.sync(client=client) - deprecations = [w for w in caught if w.category is DeprecationWarning] - assert len(deprecations) == 1, f"expected one warning, got {len(deprecations)}" - assert "incident_io" not in deprecations[0].filename, ( + assert len(caught) == 1, f"expected one warning, got {len(caught)}" + assert "incident_io" not in caught[0].filename, ( "the warning points inside the SDK rather than at the caller" ) @@ -140,26 +129,21 @@ def test_a_deprecated_async_endpoint_stays_a_coroutine_function(): assert inspect.iscoroutinefunction(actions_v1_list.asyncio_detailed) -@pytest.mark.asyncio async def test_a_deprecated_async_endpoint_warns_and_still_returns(): client = client_returning(200, {"actions": []}) - with warnings.catch_warnings(record=True) as caught: - warnings.simplefilter("always") + with pytest.warns(DeprecationWarning): response = await actions_v1_list.asyncio_detailed(client=client) assert response.status_code == 200 - assert [w for w in caught if w.category is DeprecationWarning] -def test_an_undeprecated_endpoint_does_not_warn(): +def test_an_undeprecated_endpoint_does_not_warn(recwarn): client = client_returning(200, SEVERITIES_BODY) - with warnings.catch_warnings(record=True) as caught: - warnings.simplefilter("always") - severities_v1_list.sync_detailed(client=client) + severities_v1_list.sync_detailed(client=client) - assert not [w for w in caught if w.category is DeprecationWarning] + assert not [w for w in recwarn.list if w.category is DeprecationWarning] def test_a_binary_download_returns_bytes(): @@ -183,11 +167,3 @@ def handler(request: httpx.Request) -> httpx.Response: assert response.status_code == 200 assert response.parsed.payload.read() == csv - -def test_the_package_ships_a_py_typed_marker(): - """Without it, mypy and pyright ignore every annotation in the SDK. `make - generate` removes the package and recreates the marker, so this catches it - going missing.""" - marker = Path(incident_io.__path__[0]) / "py.typed" - - assert marker.exists(), f"{marker} is missing"