From 1ff70e0291f168cc2aec59f7152ab6808a333c8a Mon Sep 17 00:00:00 2001 From: Niyatha V S Date: Wed, 1 Jul 2026 19:51:53 +0530 Subject: [PATCH] Updated client python --- .openapi-generator/FILES | 30 +- README.md | 19 +- docs/ActionBeacon.md | 3 + docs/ApdexAlertRule.md | 29 + docs/ApdexSettingsApi.md | 6 +- docs/BrowserScriptConfiguration.md | 1 + docs/BrowserScriptConfigurationUpdate.md | 1 + docs/EventResult.md | 2 + docs/GitHubConfiguration.md | 32 + docs/HttpScriptConfiguration.md | 1 + docs/HttpScriptConfigurationUpdate.md | 1 + docs/InfrastructureGroup.md | 1 + docs/InfrastructureItem.md | 1 + docs/MetricField.md | 1 + docs/MetricFieldValue.md | 1 + docs/MobileAppCatalogApi.md | 236 ++++ docs/MobileAppMonitoringBeacon.md | 1 + docs/RoleMappingOverview.md | 35 + docs/RolesApi.md | 81 ++ docs/SLOCatalogForMobileAppApi.md | 173 +++ docs/ServiceLevelsAlertConfig.md | 1 + docs/ServiceLevelsAlertConfigWithRBACTag.md | 1 + docs/ServiceLevelsAlertConfigurationApi.md | 8 +- docs/ServiceLevelsAlertRule.md | 2 +- docs/ServiceLevelseAlertConfigWithMetadata.md | 1 + docs/TeamsApi.md | 81 ++ docs/TestResultCommonProperties.md | 2 + docs/WebpageScriptConfiguration.md | 3 +- docs/WebpageScriptConfigurationUpdate.md | 1 + instana_client/__init__.py | 13 +- instana_client/api/__init__.py | 1 + instana_client/api/action_catalog_api.py | 2 +- instana_client/api/action_history_api.py | 2 +- instana_client/api/ai_management_api.py | 2 +- instana_client/api/apdex_report_api.py | 2 +- instana_client/api/apdex_settings_api.py | 20 +- instana_client/api/api_token_api.py | 2 +- .../application_alert_configuration_api.py | 2 +- instana_client/api/application_analyze_api.py | 2 +- instana_client/api/application_catalog_api.py | 2 +- instana_client/api/application_metrics_api.py | 2 +- .../api/application_resources_api.py | 2 +- .../api/application_settings_api.py | 2 +- .../api/application_topology_api.py | 2 +- instana_client/api/audit_log_api.py | 2 +- instana_client/api/authentication_api.py | 2 +- instana_client/api/business_monitoring_api.py | 2 +- instana_client/api/custom_dashboards_api.py | 2 +- instana_client/api/custom_entities_api.py | 2 +- instana_client/api/default_api.py | 2 +- instana_client/api/end_user_monitoring_api.py | 2 +- instana_client/api/event_settings_api.py | 2 +- instana_client/api/events_api.py | 2 +- ...bal_application_alert_configuration_api.py | 2 +- instana_client/api/groups_api.py | 2 +- instana_client/api/health_api.py | 2 +- instana_client/api/host_agent_api.py | 2 +- .../infrastructure_alert_configuration_api.py | 2 +- .../api/infrastructure_analyze_api.py | 2 +- .../api/infrastructure_catalog_api.py | 2 +- .../api/infrastructure_metrics_api.py | 2 +- .../api/infrastructure_resources_api.py | 2 +- .../api/infrastructure_topology_api.py | 2 +- instana_client/api/ip_filtering_api.py | 2 +- .../api/llm_price_configuration_api.py | 2 +- .../api/log_alert_configuration_api.py | 2 +- instana_client/api/logging_analyze_api.py | 2 +- .../api/maintenance_configuration_api.py | 2 +- instana_client/api/mobile_app_analyze_api.py | 2 +- instana_client/api/mobile_app_catalog_api.py | 947 ++++++++++++- .../api/mobile_app_configuration_api.py | 2 +- instana_client/api/mobile_app_metrics_api.py | 2 +- instana_client/api/policies_api.py | 2 +- instana_client/api/releases_api.py | 2 +- instana_client/api/roles_api.py | 267 +++- .../service_levels_alert_configuration_api.py | 36 +- ...service_levels_objective_slo_report_api.py | 2 +- instana_client/api/session_settings_api.py | 2 +- instana_client/api/sli_report_api.py | 2 +- instana_client/api/sli_settings_api.py | 2 +- .../api/slo_catalog_for_mobile_app_api.py | 597 ++++++++ instana_client/api/slo_configurations_api.py | 2 +- .../api/slo_correction_configurations_api.py | 2 +- .../api/slo_correction_windows_api.py | 2 +- .../api/synthetic_alert_configuration_api.py | 2 +- instana_client/api/synthetic_calls_api.py | 2 +- instana_client/api/synthetic_catalog_api.py | 2 +- instana_client/api/synthetic_metrics_api.py | 2 +- instana_client/api/synthetic_settings_api.py | 2 +- .../synthetic_test_playback_results_api.py | 2 +- instana_client/api/teams_api.py | 267 +++- instana_client/api/usage_api.py | 2 +- instana_client/api/user_api.py | 2 +- instana_client/api/website_analyze_api.py | 2 +- instana_client/api/website_catalog_api.py | 2 +- .../api/website_configuration_api.py | 2 +- instana_client/api/website_metrics_api.py | 2 +- instana_client/api_client.py | 4 +- instana_client/configuration.py | 6 +- instana_client/exceptions.py | 2 +- instana_client/models/__init__.py | 10 +- instana_client/models/abstract_integration.py | 2 +- instana_client/models/abstract_rule.py | 2 +- instana_client/models/access_rule.py | 2 +- instana_client/models/action.py | 2 +- instana_client/models/action_beacon.py | 20 +- instana_client/models/action_configuration.py | 2 +- instana_client/models/action_instance.py | 2 +- .../models/action_instance_metadata_entry.py | 2 +- .../models/action_instance_parameter.py | 2 +- .../models/action_instance_request.py | 2 +- .../action_instance_request_parameters.py | 2 +- instana_client/models/action_match.py | 2 +- instana_client/models/action_search_space.py | 2 +- instana_client/models/adaptive_baseline.py | 2 +- .../models/adaptive_threshold_rule.py | 2 +- instana_client/models/adjusted_timeframe.py | 2 +- .../models/agent_configuration_update.py | 2 +- instana_client/models/agent_mode_update.py | 2 +- .../models/alerting_configuration.py | 2 +- ...lerting_configuration_with_last_updated.py | 2 +- instana_client/models/alerting_time_window.py | 2 +- instana_client/models/apdex_alert_rule.py | 97 ++ instana_client/models/apdex_configuration.py | 2 +- .../models/apdex_configuration_input.py | 2 +- instana_client/models/apdex_entity.py | 2 +- instana_client/models/apdex_level.py | 2 +- instana_client/models/apdex_report.py | 2 +- instana_client/models/api_create_group.py | 2 +- instana_client/models/api_create_role.py | 2 +- instana_client/models/api_group.py | 2 +- instana_client/models/api_member.py | 2 +- instana_client/models/api_permission_set.py | 2 +- .../api_restricted_application_filter.py | 2 +- instana_client/models/api_role.py | 2 +- instana_client/models/api_tag.py | 2 +- instana_client/models/api_team.py | 2 +- instana_client/models/api_team_info.py | 2 +- instana_client/models/api_team_member.py | 2 +- instana_client/models/api_team_role.py | 2 +- instana_client/models/api_team_scope.py | 2 +- instana_client/models/api_token.py | 2 +- .../models/app_data_metric_configuration.py | 2 +- instana_client/models/application.py | 2 +- .../models/application_alert_config.py | 2 +- .../application_alert_config_with_metadata.py | 2 +- .../models/application_alert_rule.py | 2 +- .../models/application_apdex_entity.py | 2 +- instana_client/models/application_config.py | 2 +- .../models/application_event_result.py | 6 +- instana_client/models/application_item.py | 2 +- .../models/application_metric_result.py | 2 +- instana_client/models/application_node.py | 2 +- instana_client/models/application_result.py | 2 +- instana_client/models/application_scope.py | 2 +- .../models/application_scope_with_metadata.py | 2 +- .../models/application_sli_entity.py | 2 +- .../models/application_slo_entity.py | 2 +- .../models/application_time_threshold.py | 2 +- .../models/audit_log_ui_response.py | 2 +- instana_client/models/author.py | 2 +- .../availability_blueprint_indicator.py | 2 +- .../models/availability_sli_entity.py | 2 +- instana_client/models/available_metrics.py | 2 +- instana_client/models/available_plugins.py | 2 +- .../models/backend_trace_reference.py | 2 +- .../bidirectional_ms_teams_app_integration.py | 2 +- .../bidirectional_slack_app_integration.py | 2 +- instana_client/models/binary_operator_dto.py | 2 +- .../models/browser_script_configuration.py | 10 +- .../browser_script_configuration_update.py | 10 +- .../models/built_in_event_specification.py | 2 +- ...n_event_specification_with_last_updated.py | 2 +- .../models/bulk_alert_config_request.py | 2 +- instana_client/models/business_activity.py | 2 +- .../models/business_perspective_config.py | 2 +- instana_client/models/call_groups_item.py | 2 +- instana_client/models/call_groups_result.py | 2 +- instana_client/models/call_relation.py | 2 +- instana_client/models/change_summary.py | 2 +- .../models/cloudfoundry_physical_context.py | 2 +- instana_client/models/condition.py | 2 +- instana_client/models/config_version.py | 2 +- instana_client/models/correction.py | 2 +- .../models/correction_configuration.py | 2 +- .../models/correction_scheduling.py | 2 +- instana_client/models/correction_window.py | 2 +- .../models/crash_mobile_app_alert_rule.py | 2 +- .../models/create_website_request_inner.py | 2 +- ...cursor_paginated_business_activity_item.py | 2 +- instana_client/models/cursor_pagination.py | 2 +- ...ion_with_ui_cursor_infra_explore_cursor.py | 2 +- .../models/custom_blueprint_indicator.py | 2 +- instana_client/models/custom_dashboard.py | 2 +- .../models/custom_dashboard_preview.py | 2 +- ...ashboard_with_user_specific_information.py | 2 +- instana_client/models/custom_dependency.py | 2 +- .../models/custom_email_subject_prefix.py | 2 +- instana_client/models/custom_entity_model.py | 2 +- .../models/custom_entity_with_metadata.py | 2 +- .../custom_event_mobile_app_alert_rule.py | 2 +- .../models/custom_event_specification.py | 2 +- ...m_event_specification_with_last_updated.py | 2 +- .../models/custom_event_website_alert_rule.py | 2 +- instana_client/models/custom_metric.py | 2 +- .../models/custom_payload_configuration.py | 2 +- instana_client/models/custom_payload_field.py | 2 +- .../custom_payload_with_last_updated.py | 2 +- .../models/custom_payload_with_version.py | 2 +- instana_client/models/custom_tag.py | 2 +- instana_client/models/dashboard_api_token.py | 2 +- instana_client/models/database_integration.py | 2 +- .../models/deprecated_tag_filter.py | 2 +- instana_client/models/dns_configuration.py | 2 +- .../models/dns_configuration_update.py | 2 +- .../models/dns_filter_query_time.py | 2 +- .../models/dns_filter_target_value.py | 2 +- instana_client/models/duration.py | 2 +- instana_client/models/dynamic_field.py | 2 +- instana_client/models/dynamic_field_value.py | 2 +- instana_client/models/dynamic_parameter.py | 2 +- instana_client/models/dynamic_tag.py | 2 +- instana_client/models/edit_user.py | 2 +- instana_client/models/email_integration.py | 2 +- instana_client/models/empty_configuration.py | 2 +- instana_client/models/endpoint.py | 2 +- instana_client/models/endpoint_config.py | 2 +- .../models/endpoint_event_result.py | 6 +- instana_client/models/endpoint_item.py | 2 +- .../models/endpoint_metric_result.py | 2 +- instana_client/models/endpoint_node.py | 2 +- instana_client/models/endpoint_result.py | 2 +- instana_client/models/endpoint_simple.py | 2 +- instana_client/models/entity_count_rule.py | 2 +- .../models/entity_count_verification_rule.py | 2 +- instana_client/models/entity_health_info.py | 2 +- instana_client/models/entity_id.py | 2 +- .../models/entity_verification_rule.py | 2 +- .../models/error_budget_alert_rule.py | 2 +- .../models/errors_application_alert_rule.py | 2 +- instana_client/models/event.py | 2 +- .../models/event_filtering_configuration.py | 2 +- instana_client/models/event_result.py | 6 +- .../models/event_specification_info.py | 2 +- instana_client/models/extended_service.py | 2 +- .../models/failure_synthetic_alert_rule.py | 2 +- .../fixed_http_path_segment_matching_rule.py | 2 +- instana_client/models/fixed_time_window.py | 2 +- .../models/generic_infra_alert_rule.py | 2 +- .../models/geo_location_configuration.py | 2 +- instana_client/models/geo_mapping_rule.py | 2 +- instana_client/models/geo_subdivision.py | 2 +- .../models/get_action_beacons_result.py | 2 +- instana_client/models/get_activities.py | 2 +- .../models/get_application_metrics.py | 2 +- instana_client/models/get_applications.py | 2 +- .../models/get_available_metrics_query.py | 2 +- .../models/get_available_plugins_query.py | 2 +- instana_client/models/get_call_groups.py | 2 +- instana_client/models/get_combined_metrics.py | 2 +- .../models/get_dynamic_parameter_values.py | 2 +- instana_client/models/get_endpoints.py | 2 +- .../models/get_infrastructure_groups_query.py | 2 +- .../models/get_infrastructure_query.py | 2 +- instana_client/models/get_metrics_result.py | 2 +- .../models/get_mobile_app_beacon_groups.py | 2 +- .../models/get_mobile_app_beacons.py | 2 +- .../models/get_mobile_app_metrics.py | 2 +- .../models/get_mobile_app_metrics_v2.py | 2 +- .../models/get_payload_keys_result.py | 2 +- instana_client/models/get_services.py | 2 +- .../get_session_replay_metadata_result.py | 2 +- instana_client/models/get_snapshots_query.py | 2 +- instana_client/models/get_test_result.py | 2 +- .../models/get_test_result_analytic.py | 2 +- instana_client/models/get_test_result_base.py | 2 +- instana_client/models/get_test_result_list.py | 2 +- .../models/get_test_summary_result.py | 2 +- .../models/get_trace_download_result_item.py | 2 +- instana_client/models/get_trace_groups.py | 2 +- instana_client/models/get_traces.py | 2 +- .../models/get_website_beacon_groups.py | 2 +- instana_client/models/get_website_beacons.py | 2 +- instana_client/models/get_website_metrics.py | 2 +- .../models/get_website_metrics_v2.py | 2 +- .../models/git_hub_configuration.py | 94 ++ ..._application_alert_config_with_metadata.py | 2 +- .../global_applications_alert_config.py | 2 +- .../models/google_chat_integration.py | 2 +- instana_client/models/graph_edge.py | 2 +- instana_client/models/graph_node.py | 2 +- instana_client/models/group.py | 2 +- instana_client/models/group_by_tag.py | 2 +- instana_client/models/group_mapping.py | 2 +- .../models/group_mapping_overview.py | 2 +- instana_client/models/health_state.py | 2 +- instana_client/models/historic_baseline.py | 2 +- .../models/host_availability_rule.py | 2 +- .../models/http_action_configuration.py | 2 +- .../http_action_configuration_update.py | 2 +- instana_client/models/http_endpoint_config.py | 2 +- instana_client/models/http_endpoint_rule.py | 2 +- .../models/http_path_segment_matching_rule.py | 2 +- .../models/http_script_configuration.py | 10 +- .../http_script_configuration_update.py | 10 +- instana_client/models/hyper_param.py | 2 +- instana_client/models/icmp_configuration.py | 2 +- .../models/icmp_configuration_update.py | 2 +- instana_client/models/icmp_validation.py | 2 +- .../models/identity_provider_patch.py | 2 +- instana_client/models/idp_status_update.py | 2 +- instana_client/models/impacted_beacon_info.py | 2 +- instana_client/models/infra_alert_config.py | 2 +- .../infra_alert_config_with_metadata.py | 2 +- instana_client/models/infra_alert_rule.py | 2 +- instana_client/models/infra_event_result.py | 6 +- instana_client/models/infra_slo_entity.py | 2 +- instana_client/models/infra_time_threshold.py | 2 +- .../models/infrastructure_entities_result.py | 2 +- instana_client/models/infrastructure_group.py | 6 +- .../models/infrastructure_groups_result.py | 2 +- instana_client/models/infrastructure_item.py | 6 +- .../models/infrastructure_metric_result.py | 2 +- instana_client/models/instana_version_info.py | 2 +- instana_client/models/integration_overview.py | 2 +- instana_client/models/invitation.py | 2 +- instana_client/models/invitation_response.py | 2 +- instana_client/models/invitation_result.py | 2 +- instana_client/models/ip_filtering.py | 2 +- .../models/ip_filtering_rule_dto.py | 2 +- instana_client/models/ip_filtering_upsert.py | 2 +- .../models/ip_masking_configuration.py | 2 +- instana_client/models/js_stack_trace_line.py | 2 +- .../models/kubernetes_physical_context.py | 2 +- .../models/latency_blueprint_indicator.py | 2 +- instana_client/models/llm_egress_gateway.py | 2 +- .../models/llm_gateway_capability.py | 2 +- instana_client/models/llm_gateway_model.py | 2 +- instana_client/models/llm_gateway_service.py | 2 +- .../llm_gateway_test_connection_request.py | 2 +- instana_client/models/llm_model_price.py | 2 +- .../models/llm_model_price_metadata.py | 2 +- instana_client/models/location_status.py | 2 +- instana_client/models/log_alert_config.py | 2 +- .../models/log_alert_config_with_metadata.py | 2 +- instana_client/models/log_alert_rule.py | 2 +- instana_client/models/log_count_alert_rule.py | 2 +- instana_client/models/log_event_result.py | 6 +- instana_client/models/log_time_threshold.py | 2 +- instana_client/models/log_volume_group.py | 2 +- .../models/log_volume_usage_item.py | 2 +- .../models/log_volume_usage_result.py | 2 +- .../models/logs_application_alert_rule.py | 2 +- instana_client/models/maintenance_config.py | 2 +- .../models/maintenance_config_scheduling.py | 2 +- .../models/maintenance_config_v2.py | 2 +- ...nce_config_v2_with_state_and_occurrence.py | 2 +- .../maintenance_config_with_last_updated.py | 2 +- instana_client/models/maintenance_window.py | 2 +- .../manual_alerting_channel_configuration.py | 2 +- instana_client/models/manual_close_info.py | 2 +- .../models/manual_service_config.py | 2 +- ...tch_all_http_path_segment_matching_rule.py | 2 +- instana_client/models/match_expression_dto.py | 2 +- instana_client/models/meta_data.py | 2 +- instana_client/models/metric_api_result.py | 2 +- instana_client/models/metric_config.py | 2 +- instana_client/models/metric_configuration.py | 2 +- instana_client/models/metric_description.py | 2 +- instana_client/models/metric_field.py | 16 +- instana_client/models/metric_field_value.py | 16 +- instana_client/models/metric_instance.py | 2 +- instana_client/models/metric_item.py | 2 +- instana_client/models/metric_metadata.py | 2 +- instana_client/models/metric_pattern.py | 2 +- instana_client/models/metrics_result.py | 2 +- instana_client/models/metrics_result_item.py | 2 +- .../models/metrics_test_result_item.py | 2 +- instana_client/models/mobile_app.py | 2 +- .../models/mobile_app_alert_config.py | 2 +- .../mobile_app_alert_config_with_rbac_tag.py | 2 +- .../models/mobile_app_alert_rule.py | 2 +- .../models/mobile_app_beacon_groups_item.py | 2 +- .../models/mobile_app_beacon_groups_result.py | 2 +- .../models/mobile_app_beacon_result.py | 2 +- .../models/mobile_app_beacon_tag_group.py | 2 +- .../models/mobile_app_beacons_item.py | 2 +- .../models/mobile_app_event_result.py | 6 +- .../models/mobile_app_metric_result.py | 2 +- .../models/mobile_app_monitoring_beacon.py | 6 +- ...obile_app_monitoring_metric_description.py | 2 +- ...le_app_monitoring_metrics_configuration.py | 2 +- .../models/mobile_app_time_threshold.py | 2 +- instana_client/models/model_field.py | 2 +- .../models/monitored_entities_stats.py | 2 +- instana_client/models/monitoring_state.py | 2 +- .../models/multiple_scripts_configuration.py | 2 +- .../models/new_application_config.py | 2 +- .../models/new_business_perspective_config.py | 2 +- .../models/new_manual_service_config.py | 2 +- instana_client/models/ns1_integration.py | 2 +- instana_client/models/o_auth_config.py | 2 +- instana_client/models/o_auth_integration.py | 2 +- instana_client/models/o_auth_token.py | 2 +- instana_client/models/occurrence.py | 2 +- .../models/office365_integration.py | 2 +- .../models/one_time_maintenance_window.py | 2 +- instana_client/models/opsgenie_integration.py | 2 +- instana_client/models/order.py | 2 +- .../models/pagerduty_integration.py | 2 +- instana_client/models/paginated_result.py | 2 +- instana_client/models/pagination.py | 2 +- instana_client/models/parameter.py | 2 +- instana_client/models/parameter_value.py | 2 +- ...rameter_http_path_segment_matching_rule.py | 2 +- instana_client/models/physical_context.py | 2 +- instana_client/models/plugin_result.py | 2 +- instana_client/models/policy.py | 2 +- instana_client/models/policy_runnable.py | 2 +- instana_client/models/policy_scheduling.py | 2 +- ...st_mobile_app_source_map_config_request.py | 2 +- .../models/post_snapshots_result.py | 2 +- instana_client/models/prefix_object.py | 2 +- instana_client/models/problem.py | 2 +- .../models/prometheus_webhook_integration.py | 2 +- .../models/recurrent_maintenance_window.py | 2 +- instana_client/models/release.py | 2 +- instana_client/models/release_scope.py | 2 +- .../models/release_with_metadata.py | 2 +- instana_client/models/retention_period.py | 2 +- .../models/role_mapping_overview.py | 100 ++ instana_client/models/rolling_time_window.py | 2 +- instana_client/models/rule_input.py | 2 +- ...e_with_threshold_application_alert_rule.py | 2 +- .../rule_with_threshold_infra_alert_rule.py | 2 +- .../rule_with_threshold_log_alert_rule.py | 2 +- ...le_with_threshold_mobile_app_alert_rule.py | 2 +- .../rule_with_threshold_website_alert_rule.py | 2 +- instana_client/models/run_configuration.py | 2 +- .../models/salesforce_integration.py | 2 +- .../models/saturation_blueprint_indicator.py | 2 +- instana_client/models/scope_binding.py | 2 +- instana_client/models/search_field_result.py | 2 +- instana_client/models/service.py | 2 +- instana_client/models/service_config.py | 2 +- instana_client/models/service_event_result.py | 6 +- instana_client/models/service_item.py | 2 +- .../models/service_level_indicator.py | 2 +- .../service_level_objective_alert_rule.py | 2 +- .../models/service_levels_alert_config.py | 6 +- ...rvice_levels_alert_config_with_rbac_tag.py | 6 +- .../models/service_levels_alert_rule.py | 13 +- .../models/service_levels_burn_rate_config.py | 2 +- .../service_levels_burn_rate_time_windows.py | 2 +- .../service_levels_static_threshold_config.py | 2 +- .../models/service_levels_time_threshold.py | 2 +- ...vice_levelse_alert_config_with_metadata.py | 6 +- instana_client/models/service_map.py | 2 +- .../models/service_map_connection.py | 2 +- .../models/service_matching_rule.py | 2 +- .../models/service_metric_result.py | 2 +- instana_client/models/service_node.py | 2 +- .../service_now_enhanced_integration.py | 2 +- .../models/service_now_integration.py | 2 +- instana_client/models/service_result.py | 2 +- instana_client/models/service_scope.py | 2 +- .../models/service_scope_with_metadata.py | 2 +- instana_client/models/service_scoped_to.py | 2 +- .../models/service_scoped_to_with_metadata.py | 2 +- instana_client/models/service_simple.py | 2 +- .../models/session_replay_metadata.py | 2 +- .../models/session_replay_timestamps.py | 2 +- instana_client/models/session_settings.py | 2 +- .../models/simple_metric_configuration.py | 2 +- instana_client/models/slack_integration.py | 2 +- instana_client/models/sli_configuration.py | 2 +- .../sli_configuration_with_last_updated.py | 2 +- instana_client/models/sli_entity.py | 2 +- instana_client/models/sli_report.py | 2 +- .../models/slo_config_with_rbac_tag.py | 2 +- instana_client/models/slo_entity.py | 2 +- instana_client/models/slo_report.py | 2 +- .../models/slowness_application_alert_rule.py | 2 +- .../models/slowness_mobile_app_alert_rule.py | 2 +- .../models/slowness_website_alert_rule.py | 2 +- instana_client/models/snapshot_item.py | 2 +- instana_client/models/snapshot_preview.py | 2 +- instana_client/models/snapshot_result.py | 2 +- instana_client/models/software_user.py | 2 +- instana_client/models/software_version.py | 2 +- instana_client/models/source_map_file_blob.py | 2 +- instana_client/models/source_map_file_meta.py | 2 +- .../models/source_map_upload_config.py | 2 +- .../models/source_map_upload_configs.py | 2 +- instana_client/models/span_excerpt.py | 2 +- instana_client/models/span_relation.py | 2 +- .../specific_js_errors_website_alert_rule.py | 2 +- instana_client/models/splunk_integration.py | 2 +- .../models/ssl_certificate_configuration.py | 2 +- .../ssl_certificate_configuration_update.py | 2 +- .../models/ssl_certificate_validation.py | 2 +- instana_client/models/stack_trace_item.py | 2 +- instana_client/models/stack_trace_line.py | 2 +- .../models/static_baseline_threshold_rule.py | 2 +- instana_client/models/static_string_field.py | 2 +- instana_client/models/static_threshold.py | 2 +- .../models/static_threshold_rule.py | 2 +- .../status_code_application_alert_rule.py | 2 +- .../status_code_mobile_app_alert_rule.py | 2 +- .../models/status_code_website_alert_rule.py | 2 +- .../models/synthetic_alert_config.py | 2 +- .../synthetic_alert_config_with_metadata.py | 2 +- .../synthetic_alert_config_with_rbac_tag.py | 2 +- instana_client/models/synthetic_alert_rule.py | 2 +- .../models/synthetic_bulk_response.py | 2 +- .../models/synthetic_call_config.py | 2 +- instana_client/models/synthetic_call_rule.py | 2 +- .../synthetic_call_with_defaults_config.py | 2 +- .../models/synthetic_configuration.py | 2 +- .../models/synthetic_configuration_update.py | 2 +- instana_client/models/synthetic_credential.py | 2 +- instana_client/models/synthetic_datacenter.py | 2 +- .../synthetic_datacenter_configuration.py | 2 +- instana_client/models/synthetic_geo_point.py | 2 +- instana_client/models/synthetic_location.py | 2 +- .../synthetic_location_configuration.py | 2 +- .../models/synthetic_metric_configuration.py | 2 +- .../models/synthetic_metric_tag_group.py | 2 +- .../models/synthetic_playback_capabilities.py | 2 +- ...rget_value_list_dns_filter_target_value.py | 2 +- ...st_icmp_validation_list_icmp_validation.py | 2 +- ...idation_list_ssl_certificate_validation.py | 2 +- ...resource_update_list_string_list_string.py | 2 +- ...ce_update_map_string_string_list_string.py | 2 +- instana_client/models/synthetic_slo_entity.py | 2 +- instana_client/models/synthetic_test.py | 2 +- instana_client/models/synthetic_test_cicd.py | 2 +- .../synthetic_test_cicd_customization.py | 2 +- .../models/synthetic_test_cicd_item.py | 2 +- .../models/synthetic_test_cicd_response.py | 2 +- .../models/synthetic_test_deep_update.py | 2 +- .../models/synthetic_test_shallow_update.py | 2 +- .../models/synthetic_test_update.py | 2 +- .../models/synthetic_time_threshold.py | 2 +- .../models/synthetic_type_configuration.py | 2 +- .../synthetic_type_configuration_update.py | 2 +- .../models/synthetics_event_result.py | 6 +- instana_client/models/system_rule.py | 2 +- instana_client/models/system_rule_label.py | 2 +- instana_client/models/tag.py | 2 +- instana_client/models/tag_catalog.py | 2 +- .../models/tag_filter_expression.py | 2 +- .../models/tag_filter_expression_element.py | 2 +- instana_client/models/tag_matcher_dto.py | 2 +- instana_client/models/tag_tree_level.py | 2 +- instana_client/models/tag_tree_node.py | 2 +- instana_client/models/tag_tree_tag.py | 2 +- .../models/test_common_properties.py | 2 +- .../models/test_connection_response.py | 2 +- instana_client/models/test_last_error.py | 2 +- instana_client/models/test_result.py | 2 +- .../models/test_result_common_properties.py | 8 +- .../models/test_result_detail_data.py | 2 +- instana_client/models/test_result_item.py | 2 +- .../models/test_result_list_item.py | 2 +- .../models/test_result_list_result.py | 2 +- instana_client/models/test_result_metadata.py | 2 +- .../models/test_result_subtransaction.py | 2 +- instana_client/models/threshold.py | 2 +- .../models/threshold_config_rule.py | 2 +- instana_client/models/threshold_rule.py | 2 +- .../throughput_application_alert_rule.py | 2 +- .../throughput_mobile_app_alert_rule.py | 2 +- .../models/throughput_website_alert_rule.py | 2 +- instana_client/models/time_frame.py | 2 +- instana_client/models/time_window.py | 2 +- instana_client/models/topology.py | 2 +- instana_client/models/trace.py | 2 +- .../trace_activity_tree_node_details.py | 2 +- .../models/trace_download_result.py | 2 +- instana_client/models/trace_groups_item.py | 2 +- instana_client/models/trace_groups_result.py | 2 +- ...trace_impact_application_time_threshold.py | 2 +- instana_client/models/trace_item.py | 2 +- instana_client/models/trace_result.py | 2 +- .../models/traffic_blueprint_indicator.py | 2 +- instana_client/models/trigger.py | 2 +- instana_client/models/type_configuration.py | 2 +- ...pported_http_path_segment_matching_rule.py | 2 +- .../updated_business_perspective_config.py | 2 +- instana_client/models/usage_result.py | 2 +- instana_client/models/usage_result_items.py | 2 +- instana_client/models/user_basic_result.py | 2 +- .../user_impact_mobile_app_time_threshold.py | 2 +- .../user_impact_website_time_threshold.py | 2 +- instana_client/models/user_result.py | 2 +- instana_client/models/users_result.py | 2 +- .../validated_alerting_channel_input_info.py | 6 +- .../validated_alerting_configuration.py | 2 +- ...nce_config_v2_with_state_and_occurrence.py | 2 +- ...alidated_maintenance_config_with_status.py | 2 +- .../models/victor_ops_integration.py | 2 +- ...ns_in_period_application_time_threshold.py | 2 +- ...ons_in_period_mobile_app_time_threshold.py | 2 +- ...ations_in_period_website_time_threshold.py | 2 +- ..._in_sequence_application_time_threshold.py | 2 +- ...ations_in_sequence_infra_time_threshold.py | 2 +- ...olations_in_sequence_log_time_threshold.py | 2 +- ...s_in_sequence_mobile_app_time_threshold.py | 2 +- ...ns_in_sequence_synthetic_time_threshold.py | 2 +- ...ions_in_sequence_website_time_threshold.py | 2 +- .../watson_ai_ops_webhook_integration.py | 2 +- .../models/webex_teams_webhook_integration.py | 2 +- instana_client/models/webhook_integration.py | 2 +- .../models/webpage_action_configuration.py | 2 +- .../webpage_action_configuration_update.py | 2 +- .../models/webpage_script_configuration.py | 12 +- .../webpage_script_configuration_update.py | 10 +- instana_client/models/website.py | 2 +- instana_client/models/website_alert_config.py | 2 +- .../website_alert_config_with_metadata.py | 2 +- .../website_alert_config_with_rbac_tag.py | 2 +- instana_client/models/website_alert_rule.py | 2 +- instana_client/models/website_apdex_entity.py | 2 +- .../models/website_beacon_groups_item.py | 2 +- .../models/website_beacon_groups_result.py | 2 +- .../models/website_beacon_result.py | 2 +- .../models/website_beacon_tag_group.py | 2 +- instana_client/models/website_beacons_item.py | 2 +- .../models/website_event_based_sli_entity.py | 2 +- instana_client/models/website_event_result.py | 6 +- .../models/website_metric_result.py | 2 +- .../models/website_monitoring_beacon.py | 2 +- .../website_monitoring_metric_description.py | 2 +- ...ebsite_monitoring_metrics_configuration.py | 2 +- instana_client/models/website_slo_entity.py | 2 +- .../models/website_time_based_sli_entity.py | 2 +- .../models/website_time_threshold.py | 2 +- instana_client/models/widget.py | 2 +- instana_client/models/with_meta_data.py | 2 +- instana_client/models/with_resolved_name.py | 2 +- .../models/z_chat_ops_integration.py | 2 +- instana_client/rest.py | 2 +- openapi-generator-config.json | 2 +- openapi.yaml | 1212 ++++++++++++++++- pyproject.toml | 2 +- setup.py | 4 +- test/test_apdex_alert_rule.py | 53 + test/test_git_hub_configuration.py | 57 + test/test_role_mapping_overview.py | 63 + test/test_slo_catalog_for_mobile_app_api.py | 46 + 651 files changed, 5356 insertions(+), 674 deletions(-) create mode 100644 docs/ApdexAlertRule.md create mode 100644 docs/GitHubConfiguration.md create mode 100644 docs/RoleMappingOverview.md create mode 100644 docs/SLOCatalogForMobileAppApi.md create mode 100644 instana_client/api/slo_catalog_for_mobile_app_api.py create mode 100644 instana_client/models/apdex_alert_rule.py create mode 100644 instana_client/models/git_hub_configuration.py create mode 100644 instana_client/models/role_mapping_overview.py create mode 100644 test/test_apdex_alert_rule.py create mode 100644 test/test_git_hub_configuration.py create mode 100644 test/test_role_mapping_overview.py create mode 100644 test/test_slo_catalog_for_mobile_app_api.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 731ff5e4..3cb7e32e 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -8,6 +8,7 @@ docs/AbstractIntegration.md docs/AbstractRule.md docs/AccessRule.md docs/Action.md +docs/ActionBeacon.md docs/ActionCatalogApi.md docs/ActionConfiguration.md docs/ActionHistoryApi.md @@ -26,6 +27,7 @@ docs/AgentModeUpdate.md docs/AlertingConfiguration.md docs/AlertingConfigurationWithLastUpdated.md docs/AlertingTimeWindow.md +docs/ApdexAlertRule.md docs/ApdexConfiguration.md docs/ApdexConfigurationInput.md docs/ApdexEntity.md @@ -173,6 +175,7 @@ docs/GenericInfraAlertRule.md docs/GeoLocationConfiguration.md docs/GeoMappingRule.md docs/GeoSubdivision.md +docs/GetActionBeaconsResult.md docs/GetActivities.md docs/GetApplicationMetrics.md docs/GetApplications.md @@ -191,6 +194,7 @@ docs/GetMobileAppMetrics.md docs/GetMobileAppMetricsV2.md docs/GetPayloadKeysResult.md docs/GetServices.md +docs/GetSessionReplayMetadataResult.md docs/GetSnapshotsQuery.md docs/GetTestResult.md docs/GetTestResultAnalytic.md @@ -204,6 +208,7 @@ docs/GetWebsiteBeaconGroups.md docs/GetWebsiteBeacons.md docs/GetWebsiteMetrics.md docs/GetWebsiteMetricsV2.md +docs/GitHubConfiguration.md docs/GlobalApplicationAlertConfigWithMetadata.md docs/GlobalApplicationAlertConfigurationApi.md docs/GlobalApplicationsAlertConfig.md @@ -369,6 +374,7 @@ docs/ReleaseScope.md docs/ReleaseWithMetadata.md docs/ReleasesApi.md docs/RetentionPeriod.md +docs/RoleMappingOverview.md docs/RolesApi.md docs/RollingTimeWindow.md docs/RuleInput.md @@ -380,6 +386,7 @@ docs/RuleWithThresholdWebsiteAlertRule.md docs/RunConfiguration.md docs/SLIReportApi.md docs/SLISettingsApi.md +docs/SLOCatalogForMobileAppApi.md docs/SLOConfigWithRBACTag.md docs/SLOConfigurationsApi.md docs/SLOCorrectionConfigurationsApi.md @@ -420,6 +427,8 @@ docs/ServiceScopeWithMetadata.md docs/ServiceScopedTo.md docs/ServiceScopedToWithMetadata.md docs/ServiceSimple.md +docs/SessionReplayMetadata.md +docs/SessionReplayTimestamps.md docs/SessionSettings.md docs/SessionSettingsApi.md docs/SimpleMetricConfiguration.md @@ -653,6 +662,7 @@ instana_client/api/service_levels_objective_slo_report_api.py instana_client/api/session_settings_api.py instana_client/api/sli_report_api.py instana_client/api/sli_settings_api.py +instana_client/api/slo_catalog_for_mobile_app_api.py instana_client/api/slo_configurations_api.py instana_client/api/slo_correction_configurations_api.py instana_client/api/slo_correction_windows_api.py @@ -678,6 +688,7 @@ instana_client/models/abstract_integration.py instana_client/models/abstract_rule.py instana_client/models/access_rule.py instana_client/models/action.py +instana_client/models/action_beacon.py instana_client/models/action_configuration.py instana_client/models/action_instance.py instana_client/models/action_instance_metadata_entry.py @@ -694,6 +705,7 @@ instana_client/models/agent_mode_update.py instana_client/models/alerting_configuration.py instana_client/models/alerting_configuration_with_last_updated.py instana_client/models/alerting_time_window.py +instana_client/models/apdex_alert_rule.py instana_client/models/apdex_configuration.py instana_client/models/apdex_configuration_input.py instana_client/models/apdex_entity.py @@ -823,6 +835,7 @@ instana_client/models/generic_infra_alert_rule.py instana_client/models/geo_location_configuration.py instana_client/models/geo_mapping_rule.py instana_client/models/geo_subdivision.py +instana_client/models/get_action_beacons_result.py instana_client/models/get_activities.py instana_client/models/get_application_metrics.py instana_client/models/get_applications.py @@ -841,6 +854,7 @@ instana_client/models/get_mobile_app_metrics.py instana_client/models/get_mobile_app_metrics_v2.py instana_client/models/get_payload_keys_result.py instana_client/models/get_services.py +instana_client/models/get_session_replay_metadata_result.py instana_client/models/get_snapshots_query.py instana_client/models/get_test_result.py instana_client/models/get_test_result_analytic.py @@ -854,6 +868,7 @@ instana_client/models/get_website_beacon_groups.py instana_client/models/get_website_beacons.py instana_client/models/get_website_metrics.py instana_client/models/get_website_metrics_v2.py +instana_client/models/git_hub_configuration.py instana_client/models/global_application_alert_config_with_metadata.py instana_client/models/global_applications_alert_config.py instana_client/models/google_chat_integration.py @@ -998,6 +1013,7 @@ instana_client/models/release.py instana_client/models/release_scope.py instana_client/models/release_with_metadata.py instana_client/models/retention_period.py +instana_client/models/role_mapping_overview.py instana_client/models/rolling_time_window.py instana_client/models/rule_input.py instana_client/models/rule_with_threshold_application_alert_rule.py @@ -1037,6 +1053,8 @@ instana_client/models/service_scope_with_metadata.py instana_client/models/service_scoped_to.py instana_client/models/service_scoped_to_with_metadata.py instana_client/models/service_simple.py +instana_client/models/session_replay_metadata.py +instana_client/models/session_replay_timestamps.py instana_client/models/session_settings.py instana_client/models/simple_metric_configuration.py instana_client/models/slack_integration.py @@ -1214,16 +1232,4 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_agent_mode_update.py -test/test_bulk_alert_config_request.py -test/test_icmp_configuration.py -test/test_icmp_configuration_update.py -test/test_icmp_validation.py -test/test_ip_filtering.py -test/test_ip_filtering_api.py -test/test_ip_filtering_rule_dto.py -test/test_ip_filtering_upsert.py -test/test_metric_field.py -test/test_metric_field_value.py -test/test_synthetic_resource_update_list_icmp_validation_list_icmp_validation.py tox.ini diff --git a/README.md b/README.md index e4037331..819c8272 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Documentation for INSTANA REST API This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.319.1109 -- Package version: 1.0.7 +- API version: 1.320.1414 +- Package version: 1.0.9 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://instana.com](http://instana.com) @@ -409,9 +409,12 @@ Class | Method | HTTP request | Description *MaintenanceConfigurationApi* | [**resume_recurrent_maintenance_configuration**](docs/MaintenanceConfigurationApi.md#resume_recurrent_maintenance_configuration) | **PUT** /api/settings/v2/maintenance/{id}/resume | Resume maintenance configuration *MobileAppAnalyzeApi* | [**get_mobile_app_beacon_groups**](docs/MobileAppAnalyzeApi.md#get_mobile_app_beacon_groups) | **POST** /api/mobile-app-monitoring/analyze/beacon-groups | Get grouped beacon metrics *MobileAppAnalyzeApi* | [**get_mobile_app_beacons**](docs/MobileAppAnalyzeApi.md#get_mobile_app_beacons) | **POST** /api/mobile-app-monitoring/analyze/beacons | Get all beacons +*MobileAppCatalogApi* | [**get_action_beacons**](docs/MobileAppCatalogApi.md#get_action_beacons) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons | Get action beacons for a session *MobileAppCatalogApi* | [**get_all_mobile_app_catalog_tags**](docs/MobileAppCatalogApi.md#get_all_mobile_app_catalog_tags) | **GET** /api/mobile-app-monitoring/catalog/tags | Get all existing mobile app tags *MobileAppCatalogApi* | [**get_mobile_app_metric_catalog**](docs/MobileAppCatalogApi.md#get_mobile_app_metric_catalog) | **GET** /api/mobile-app-monitoring/catalog/metrics | Metric catalog *MobileAppCatalogApi* | [**get_mobile_app_tag_catalog**](docs/MobileAppCatalogApi.md#get_mobile_app_tag_catalog) | **GET** /api/mobile-app-monitoring/catalog | Get mobile app tag catalog +*MobileAppCatalogApi* | [**get_session_replay_metadata**](docs/MobileAppCatalogApi.md#get_session_replay_metadata) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-metadata | Get session replay metadata +*MobileAppCatalogApi* | [**get_session_replay_timestamps**](docs/MobileAppCatalogApi.md#get_session_replay_timestamps) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps | Get session replay timestamps *MobileAppConfigurationApi* | [**clear_mobile_app_source_map_upload_configuration**](docs/MobileAppConfigurationApi.md#clear_mobile_app_source_map_upload_configuration) | **PUT** /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/clear | Clear sourcemap files for sourcemap upload configuration *MobileAppConfigurationApi* | [**commit_mobile_app_source_map_file**](docs/MobileAppConfigurationApi.md#commit_mobile_app_source_map_file) | **PUT** /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/commit | Commit sourcemap file upload for mobile app *MobileAppConfigurationApi* | [**delete_mobile_app_config**](docs/MobileAppConfigurationApi.md#delete_mobile_app_config) | **DELETE** /api/mobile-app-monitoring/config/{mobileAppId} | Remove mobile app @@ -448,6 +451,7 @@ Class | Method | HTTP request | Description *RolesApi* | [**create_role**](docs/RolesApi.md#create_role) | **POST** /api/settings/rbac/roles | Create role *RolesApi* | [**delete_role**](docs/RolesApi.md#delete_role) | **DELETE** /api/settings/rbac/roles/{id} | Delete role *RolesApi* | [**get_role**](docs/RolesApi.md#get_role) | **GET** /api/settings/rbac/roles/{id} | Get role by ID +*RolesApi* | [**get_role_mappings**](docs/RolesApi.md#get_role_mappings) | **GET** /api/settings/rbac/roles/{roleId}/mappings | Get role mappings *RolesApi* | [**get_roles**](docs/RolesApi.md#get_roles) | **GET** /api/settings/rbac/roles | Get all roles *RolesApi* | [**update_role**](docs/RolesApi.md#update_role) | **PUT** /api/settings/rbac/roles/{id} | Update role *SLIReportApi* | [**get_sli**](docs/SLIReportApi.md#get_sli) | **GET** /api/sli/report/{sliId} | Generate SLI report (Limitation: the Classic Edition API report can be available one hour after the SLI configuration created; other editions are around one minute.) @@ -461,6 +465,8 @@ Class | Method | HTTP request | Description *SLISettingsApi* | [**get_sli_config_v2**](docs/SLISettingsApi.md#get_sli_config_v2) | **GET** /api/settings/v2/sli/{id} | Get SLI Config *SLISettingsApi* | [**get_sli_configs_for_entity_type_and_id_v2**](docs/SLISettingsApi.md#get_sli_configs_for_entity_type_and_id_v2) | **GET** /api/settings/v2/sli/{entityType}/{entityId} | Get all SLI configs for entity type and entity id *SLISettingsApi* | [**update_sli_config**](docs/SLISettingsApi.md#update_sli_config) | **PUT** /api/settings/sli/{id} | Update SLI Config +*SLOCatalogForMobileAppApi* | [**get_mobile_app_sli_metric_catalog**](docs/SLOCatalogForMobileAppApi.md#get_mobile_app_sli_metric_catalog) | **GET** /api/slo/catalog/metrics/mobile | Mobile app SLI metric catalog +*SLOCatalogForMobileAppApi* | [**get_mobile_app_slo_tag_catalog**](docs/SLOCatalogForMobileAppApi.md#get_mobile_app_slo_tag_catalog) | **GET** /api/slo/catalog/tags/mobile | Get mobile app monitoring tag catalog for Mobile App SLOs *SLOConfigurationsApi* | [**create_slo_config**](docs/SLOConfigurationsApi.md#create_slo_config) | **POST** /api/settings/slo | Create a new SLO Config *SLOConfigurationsApi* | [**delete_slo_config**](docs/SLOConfigurationsApi.md#delete_slo_config) | **DELETE** /api/settings/slo/{id} | Delete an existing SLO Config *SLOConfigurationsApi* | [**get_all_slo_config_tags**](docs/SLOConfigurationsApi.md#get_all_slo_config_tags) | **GET** /api/settings/slo/tags | Get All SLO Config tags @@ -544,6 +550,7 @@ Class | Method | HTTP request | Description *TeamsApi* | [**create_team**](docs/TeamsApi.md#create_team) | **POST** /api/settings/rbac/teams | Create team *TeamsApi* | [**delete_team**](docs/TeamsApi.md#delete_team) | **DELETE** /api/settings/rbac/teams/{id} | Delete team *TeamsApi* | [**get_team**](docs/TeamsApi.md#get_team) | **GET** /api/settings/rbac/teams/{id} | Get team by ID +*TeamsApi* | [**get_team_role_mappings**](docs/TeamsApi.md#get_team_role_mappings) | **GET** /api/settings/rbac/teams/{teamId}/mappings | Get team role mappings *TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /api/settings/rbac/teams | Get all teams *TeamsApi* | [**update_team**](docs/TeamsApi.md#update_team) | **PUT** /api/settings/rbac/teams/{id} | Update team *UsageApi* | [**get_all_usage**](docs/UsageApi.md#get_all_usage) | **GET** /api/instana/usage/api | API usage by customer @@ -596,6 +603,7 @@ Class | Method | HTTP request | Description - [AbstractRule](docs/AbstractRule.md) - [AccessRule](docs/AccessRule.md) - [Action](docs/Action.md) + - [ActionBeacon](docs/ActionBeacon.md) - [ActionConfiguration](docs/ActionConfiguration.md) - [ActionInstance](docs/ActionInstance.md) - [ActionInstanceMetadataEntry](docs/ActionInstanceMetadataEntry.md) @@ -612,6 +620,7 @@ Class | Method | HTTP request | Description - [AlertingConfiguration](docs/AlertingConfiguration.md) - [AlertingConfigurationWithLastUpdated](docs/AlertingConfigurationWithLastUpdated.md) - [AlertingTimeWindow](docs/AlertingTimeWindow.md) + - [ApdexAlertRule](docs/ApdexAlertRule.md) - [ApdexConfiguration](docs/ApdexConfiguration.md) - [ApdexConfigurationInput](docs/ApdexConfigurationInput.md) - [ApdexEntity](docs/ApdexEntity.md) @@ -741,6 +750,7 @@ Class | Method | HTTP request | Description - [GeoLocationConfiguration](docs/GeoLocationConfiguration.md) - [GeoMappingRule](docs/GeoMappingRule.md) - [GeoSubdivision](docs/GeoSubdivision.md) + - [GetActionBeaconsResult](docs/GetActionBeaconsResult.md) - [GetActivities](docs/GetActivities.md) - [GetApplicationMetrics](docs/GetApplicationMetrics.md) - [GetApplications](docs/GetApplications.md) @@ -759,6 +769,7 @@ Class | Method | HTTP request | Description - [GetMobileAppMetricsV2](docs/GetMobileAppMetricsV2.md) - [GetPayloadKeysResult](docs/GetPayloadKeysResult.md) - [GetServices](docs/GetServices.md) + - [GetSessionReplayMetadataResult](docs/GetSessionReplayMetadataResult.md) - [GetSnapshotsQuery](docs/GetSnapshotsQuery.md) - [GetTestResult](docs/GetTestResult.md) - [GetTestResultAnalytic](docs/GetTestResultAnalytic.md) @@ -772,6 +783,7 @@ Class | Method | HTTP request | Description - [GetWebsiteBeacons](docs/GetWebsiteBeacons.md) - [GetWebsiteMetrics](docs/GetWebsiteMetrics.md) - [GetWebsiteMetricsV2](docs/GetWebsiteMetricsV2.md) + - [GitHubConfiguration](docs/GitHubConfiguration.md) - [GlobalApplicationAlertConfigWithMetadata](docs/GlobalApplicationAlertConfigWithMetadata.md) - [GlobalApplicationsAlertConfig](docs/GlobalApplicationsAlertConfig.md) - [GoogleChatIntegration](docs/GoogleChatIntegration.md) @@ -916,6 +928,7 @@ Class | Method | HTTP request | Description - [ReleaseScope](docs/ReleaseScope.md) - [ReleaseWithMetadata](docs/ReleaseWithMetadata.md) - [RetentionPeriod](docs/RetentionPeriod.md) + - [RoleMappingOverview](docs/RoleMappingOverview.md) - [RollingTimeWindow](docs/RollingTimeWindow.md) - [RuleInput](docs/RuleInput.md) - [RuleWithThresholdApplicationAlertRule](docs/RuleWithThresholdApplicationAlertRule.md) @@ -959,6 +972,8 @@ Class | Method | HTTP request | Description - [ServiceScopedTo](docs/ServiceScopedTo.md) - [ServiceScopedToWithMetadata](docs/ServiceScopedToWithMetadata.md) - [ServiceSimple](docs/ServiceSimple.md) + - [SessionReplayMetadata](docs/SessionReplayMetadata.md) + - [SessionReplayTimestamps](docs/SessionReplayTimestamps.md) - [SessionSettings](docs/SessionSettings.md) - [SimpleMetricConfiguration](docs/SimpleMetricConfiguration.md) - [SlackIntegration](docs/SlackIntegration.md) diff --git a/docs/ActionBeacon.md b/docs/ActionBeacon.md index 4f586aac..88d7f96e 100644 --- a/docs/ActionBeacon.md +++ b/docs/ActionBeacon.md @@ -6,6 +6,9 @@ List of action beacons for the current page Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**app_state** | **str** | Application state (e.g., foreground, background) | [optional] +**beacon_clockskew** | **int** | Clock skew in milliseconds between client and server | [optional] +**beacon_id** | **str** | Beacon identifier | **beacon_type** | **str** | Type of beacon | **bytes_ingested_metadata** | **int** | Bytes ingested for metadata | [optional] **event_type** | **str** | Event type (e.g., st=start, fs=frustration signal, oc=orientation change) | [optional] diff --git a/docs/ApdexAlertRule.md b/docs/ApdexAlertRule.md new file mode 100644 index 00000000..de45758b --- /dev/null +++ b/docs/ApdexAlertRule.md @@ -0,0 +1,29 @@ +# ApdexAlertRule + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**metric** | **str** | This is the Apdex metric type. Apdex alert uses <b>SCORE</b> metric. | + +## Example + +```python +from instana_client.models.apdex_alert_rule import ApdexAlertRule + +# TODO update the JSON string below +json = "{}" +# create an instance of ApdexAlertRule from a JSON string +apdex_alert_rule_instance = ApdexAlertRule.from_json(json) +# print the JSON string representation of the object +print(ApdexAlertRule.to_json()) + +# convert the object into a dict +apdex_alert_rule_dict = apdex_alert_rule_instance.to_dict() +# create an instance of ApdexAlertRule from a dict +apdex_alert_rule_from_dict = ApdexAlertRule.from_dict(apdex_alert_rule_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApdexSettingsApi.md b/docs/ApdexSettingsApi.md index 43e71f83..4d617951 100644 --- a/docs/ApdexSettingsApi.md +++ b/docs/ApdexSettingsApi.md @@ -553,7 +553,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_all_apdex_configurations_v2** -> List[ApdexConfiguration] get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id) +> List[ApdexConfiguration] get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id, apdex_ids=apdex_ids) Get All Apdex Configurations @@ -601,10 +601,11 @@ with instana_client.ApiClient(configuration) as api_client: to = 1705414800000 # int | (optional) entity_type = 'APPLICATION' # str | (optional) entity_id = 'XIZGGVT1TX2O-0OFeT2Yig' # str | (optional) + apdex_ids = ['APDWMaA2yKuSS6z50LR0-cGZA'] # List[str] | (optional) try: # Get All Apdex Configurations - api_response = api_instance.get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id) + api_response = api_instance.get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id, apdex_ids=apdex_ids) print("The response of ApdexSettingsApi->get_all_apdex_configurations_v2:\n") pprint(api_response) except Exception as e: @@ -629,6 +630,7 @@ Name | Type | Description | Notes **to** | **int**| | [optional] **entity_type** | **str**| | [optional] **entity_id** | **str**| | [optional] + **apdex_ids** | [**List[str]**](str.md)| | [optional] ### Return type diff --git a/docs/BrowserScriptConfiguration.md b/docs/BrowserScriptConfiguration.md index 0cee3428..31a89dfa 100644 --- a/docs/BrowserScriptConfiguration.md +++ b/docs/BrowserScriptConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **browser** | **str** | | [optional] **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **record_video** | **bool** | | [optional] **script** | **str** | | [optional] **script_type** | **str** | | [optional] diff --git a/docs/BrowserScriptConfigurationUpdate.md b/docs/BrowserScriptConfigurationUpdate.md index ab4fa985..5235ba3e 100644 --- a/docs/BrowserScriptConfigurationUpdate.md +++ b/docs/BrowserScriptConfigurationUpdate.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **browser** | **str** | | [optional] **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **record_video** | **bool** | | [optional] **script** | **str** | | [optional] **script_type** | **str** | | [optional] diff --git a/docs/EventResult.md b/docs/EventResult.md index d878d029..96d05a89 100644 --- a/docs/EventResult.md +++ b/docs/EventResult.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **event_id** | **str** | ID of this Event. | [optional] **event_specification_id** | **str** | ID of the configuration that created this event. | [optional] **fix_suggestion** | **str** | Details of the event. | [optional] +**metadata** | **Dict[str, object]** | Additional event meta data. | [optional] **metrics** | **List[Dict[str, object]]** | List of metrics associated with the Event. | [optional] **probable_cause** | **Dict[str, object]** | Metadata of the probable root cause for this event. Only present in case of specific \"Incident\" type events. | [optional] **problem** | **str** | Main problem title of the Event. | [optional] @@ -22,6 +23,7 @@ Name | Type | Description | Notes **snapshot_id** | **str** | The snapshot ID of the affected entity of this event. | [optional] **start** | **int** | A Unix timestamp representing the start time of the Event. | [optional] **state** | **str** | The state of the Event, \"open\" or \"close\". | [optional] +**triggering_event_id** | **str** | The triggering event ID in case of an incident. | [optional] **type** | **str** | The type of Event. | [optional] ## Example diff --git a/docs/GitHubConfiguration.md b/docs/GitHubConfiguration.md new file mode 100644 index 00000000..12f12bee --- /dev/null +++ b/docs/GitHubConfiguration.md @@ -0,0 +1,32 @@ +# GitHubConfiguration + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**branch_name** | **str** | | +**credential_name** | **str** | | [optional] +**script_file** | **str** | | [optional] +**url** | **str** | | + +## Example + +```python +from instana_client.models.git_hub_configuration import GitHubConfiguration + +# TODO update the JSON string below +json = "{}" +# create an instance of GitHubConfiguration from a JSON string +git_hub_configuration_instance = GitHubConfiguration.from_json(json) +# print the JSON string representation of the object +print(GitHubConfiguration.to_json()) + +# convert the object into a dict +git_hub_configuration_dict = git_hub_configuration_instance.to_dict() +# create an instance of GitHubConfiguration from a dict +git_hub_configuration_from_dict = GitHubConfiguration.from_dict(git_hub_configuration_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/HttpScriptConfiguration.md b/docs/HttpScriptConfiguration.md index fd074b49..a16b0706 100644 --- a/docs/HttpScriptConfiguration.md +++ b/docs/HttpScriptConfiguration.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **script** | **str** | | [optional] **script_type** | **str** | | [optional] **scripts** | [**MultipleScriptsConfiguration**](MultipleScriptsConfiguration.md) | | [optional] diff --git a/docs/HttpScriptConfigurationUpdate.md b/docs/HttpScriptConfigurationUpdate.md index a466cd40..c1ac2c16 100644 --- a/docs/HttpScriptConfigurationUpdate.md +++ b/docs/HttpScriptConfigurationUpdate.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **script** | **str** | | [optional] **script_type** | **str** | | [optional] **scripts** | [**MultipleScriptsConfiguration**](MultipleScriptsConfiguration.md) | | [optional] diff --git a/docs/InfrastructureGroup.md b/docs/InfrastructureGroup.md index c174dddc..631fac4c 100644 --- a/docs/InfrastructureGroup.md +++ b/docs/InfrastructureGroup.md @@ -6,6 +6,7 @@ group of infrastructure entities Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**adjusted_granularities** | **Dict[str, int]** | map of metric keys to their adjusted granularity (in milliseconds) | [optional] **count** | **int** | number of entities in this group | [optional] **metrics** | **Dict[str, List[List[float]]]** | map of metric keys to array of timestamp,value pairs | [optional] **poll_rate** | **int** | max poll rate across this group | [optional] diff --git a/docs/InfrastructureItem.md b/docs/InfrastructureItem.md index 8577c494..5ccfc00e 100644 --- a/docs/InfrastructureItem.md +++ b/docs/InfrastructureItem.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**adjusted_granularities** | **Dict[str, int]** | map of metric keys to their adjusted granularity (in milliseconds) | [optional] **entity_health_info** | [**EntityHealthInfo**](EntityHealthInfo.md) | | [optional] **label** | **str** | | [optional] **metrics** | **Dict[str, List[List[float]]]** | | [optional] diff --git a/docs/MetricField.md b/docs/MetricField.md index 0ce74d25..9f01e0f9 100644 --- a/docs/MetricField.md +++ b/docs/MetricField.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **aggregation** | **str** | | [optional] **entity_type** | **str** | | [optional] **metric_id** | **str** | | [optional] +**source** | **str** | | [optional] **time_window** | **object** | | [optional] **value** | [**MetricFieldValue**](MetricFieldValue.md) | | [optional] diff --git a/docs/MetricFieldValue.md b/docs/MetricFieldValue.md index 6f6b5a90..a99234b8 100644 --- a/docs/MetricFieldValue.md +++ b/docs/MetricFieldValue.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **aggregation** | **str** | The aggregation type to apply to the metric | **entity_type** | **str** | The entity type for the metric query | [optional] **metric_id** | **str** | The metric ID to retrieve | +**source** | **str** | The source catalog the metric was selected from | [optional] **time_window** | **object** | The time window in milliseconds for metric aggregation | [optional] ## Example diff --git a/docs/MobileAppCatalogApi.md b/docs/MobileAppCatalogApi.md index b2d03f3c..fcc7e0a7 100644 --- a/docs/MobileAppCatalogApi.md +++ b/docs/MobileAppCatalogApi.md @@ -4,11 +4,93 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**get_action_beacons**](MobileAppCatalogApi.md#get_action_beacons) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons | Get action beacons for a session [**get_all_mobile_app_catalog_tags**](MobileAppCatalogApi.md#get_all_mobile_app_catalog_tags) | **GET** /api/mobile-app-monitoring/catalog/tags | Get all existing mobile app tags [**get_mobile_app_metric_catalog**](MobileAppCatalogApi.md#get_mobile_app_metric_catalog) | **GET** /api/mobile-app-monitoring/catalog/metrics | Metric catalog [**get_mobile_app_tag_catalog**](MobileAppCatalogApi.md#get_mobile_app_tag_catalog) | **GET** /api/mobile-app-monitoring/catalog | Get mobile app tag catalog +[**get_session_replay_metadata**](MobileAppCatalogApi.md#get_session_replay_metadata) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-metadata | Get session replay metadata +[**get_session_replay_timestamps**](MobileAppCatalogApi.md#get_session_replay_timestamps) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps | Get session replay timestamps +# **get_action_beacons** +> GetActionBeaconsResult get_action_beacons(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + +Get action beacons for a session + +Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + +### Example + + +```python +import instana_client +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.MobileAppCatalogApi(api_client) + mobile_app_id = 'app-456' # str | Mobile app identifier + session_id = 'session-123' # str | Session identifier + cursor = 100 # int | Offset cursor for pagination (number of items already retrieved). Omit for first page. (optional) + page_size = 100 # int | Number of items per page (default: 100, max: 1000) (optional) (default to 100) + + try: + # Get action beacons for a session + api_response = api_instance.get_action_beacons(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + print("The response of MobileAppCatalogApi->get_action_beacons:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling MobileAppCatalogApi->get_action_beacons: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mobile_app_id** | **str**| Mobile app identifier | + **session_id** | **str**| Session identifier | + **cursor** | **int**| Offset cursor for pagination (number of items already retrieved). Omit for first page. | [optional] + **page_size** | **int**| Number of items per page (default: 100, max: 1000) | [optional] [default to 100] + +### Return type + +[**GetActionBeaconsResult**](GetActionBeaconsResult.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request - Invalid mobile app ID, session ID, or pagination parameters | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Forbidden - User doesn't have access to this mobile app | - | +**404** | Not Found - Mobile app or session not found | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_all_mobile_app_catalog_tags** > List[Tag] get_all_mobile_app_catalog_tags() @@ -245,3 +327,157 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_session_replay_metadata** +> GetSessionReplayMetadataResult get_session_replay_metadata(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + +Get session replay metadata + +Retrieves detailed metadata for session replay captured during a mobile app session. Uses cursor-based pagination with timestamp cursors. Returns metadata within the time window from cursor to cursor + pageSize. The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes all metadata fields such as event type, view components, orientation changes, etc. + +### Example + + +```python +import instana_client +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.MobileAppCatalogApi(api_client) + mobile_app_id = 'app-456' # str | Mobile app identifier + session_id = 'session-123' # str | Session identifier + cursor = 1234567890 # int | Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. (optional) + page_size = 20000 # int | Time window size in milliseconds (default: 20000ms = 20 seconds) (optional) (default to 20000) + + try: + # Get session replay metadata + api_response = api_instance.get_session_replay_metadata(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + print("The response of MobileAppCatalogApi->get_session_replay_metadata:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling MobileAppCatalogApi->get_session_replay_metadata: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mobile_app_id** | **str**| Mobile app identifier | + **session_id** | **str**| Session identifier | + **cursor** | **int**| Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. | [optional] + **page_size** | **int**| Time window size in milliseconds (default: 20000ms = 20 seconds) | [optional] [default to 20000] + +### Return type + +[**GetSessionReplayMetadataResult**](GetSessionReplayMetadataResult.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request - Invalid mobile app ID, session ID, or pagination parameters | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Forbidden - User doesn't have access to this mobile app | - | +**404** | Not Found - Mobile app or session not found | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_session_replay_timestamps** +> SessionReplayTimestamps get_session_replay_timestamps(mobile_app_id, session_id) + +Get session replay timestamps + +Retrieves the first and last image timestamps for a mobile app session. Returns null values if the session has no images. + +### Example + + +```python +import instana_client +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.MobileAppCatalogApi(api_client) + mobile_app_id = 'app-456' # str | Mobile app identifier + session_id = 'session-123' # str | Session identifier + + try: + # Get session replay timestamps + api_response = api_instance.get_session_replay_timestamps(mobile_app_id, session_id) + print("The response of MobileAppCatalogApi->get_session_replay_timestamps:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling MobileAppCatalogApi->get_session_replay_timestamps: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mobile_app_id** | **str**| Mobile app identifier | + **session_id** | **str**| Session identifier | + +### Return type + +[**SessionReplayTimestamps**](SessionReplayTimestamps.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request - Invalid mobile app ID or session ID | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Forbidden - User doesn't have access to this mobile app | - | +**404** | Not Found - Mobile app or session not found | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/MobileAppMonitoringBeacon.md b/docs/MobileAppMonitoringBeacon.md index 02d13539..0e283d3a 100644 --- a/docs/MobileAppMonitoringBeacon.md +++ b/docs/MobileAppMonitoringBeacon.md @@ -72,6 +72,7 @@ Name | Type | Description | Notes **region** | **str** | | [optional] **rooted** | **bool** | | [optional] **session_id** | **str** | | [optional] +**session_replay_status** | **int** | | [optional] **stack_trace** | **str** | | [optional] **stack_trace_key_checksum** | **str** | | [optional] **stack_trace_key_information** | **str** | | [optional] diff --git a/docs/RoleMappingOverview.md b/docs/RoleMappingOverview.md new file mode 100644 index 00000000..1df5ba6e --- /dev/null +++ b/docs/RoleMappingOverview.md @@ -0,0 +1,35 @@ +# RoleMappingOverview + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | +**key** | **str** | | +**role** | **str** | | +**role_id** | **str** | | +**team** | **str** | | [optional] +**team_id** | **str** | | [optional] +**value** | **str** | | + +## Example + +```python +from instana_client.models.role_mapping_overview import RoleMappingOverview + +# TODO update the JSON string below +json = "{}" +# create an instance of RoleMappingOverview from a JSON string +role_mapping_overview_instance = RoleMappingOverview.from_json(json) +# print the JSON string representation of the object +print(RoleMappingOverview.to_json()) + +# convert the object into a dict +role_mapping_overview_dict = role_mapping_overview_instance.to_dict() +# create an instance of RoleMappingOverview from a dict +role_mapping_overview_from_dict = RoleMappingOverview.from_dict(role_mapping_overview_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RolesApi.md b/docs/RolesApi.md index 6079ed0f..38d5b122 100644 --- a/docs/RolesApi.md +++ b/docs/RolesApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**create_role**](RolesApi.md#create_role) | **POST** /api/settings/rbac/roles | Create role [**delete_role**](RolesApi.md#delete_role) | **DELETE** /api/settings/rbac/roles/{id} | Delete role [**get_role**](RolesApi.md#get_role) | **GET** /api/settings/rbac/roles/{id} | Get role by ID +[**get_role_mappings**](RolesApi.md#get_role_mappings) | **GET** /api/settings/rbac/roles/{roleId}/mappings | Get role mappings [**get_roles**](RolesApi.md#get_roles) | **GET** /api/settings/rbac/roles | Get all roles [**update_role**](RolesApi.md#update_role) | **PUT** /api/settings/rbac/roles/{id} | Update role @@ -252,6 +253,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_role_mappings** +> List[RoleMappingOverview] get_role_mappings(role_id) + +Get role mappings + +Retrieve IdP role mappings applicable to a specific role + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.role_mapping_overview import RoleMappingOverview +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + role_id = 'role_id_example' # str | + + try: + # Get role mappings + api_response = api_instance.get_role_mappings(role_id) + print("The response of RolesApi->get_role_mappings:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_role_mappings: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **role_id** | **str**| | + +### Return type + +[**List[RoleMappingOverview]**](RoleMappingOverview.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | role mapping not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_roles** > List[ApiRole] get_roles() diff --git a/docs/SLOCatalogForMobileAppApi.md b/docs/SLOCatalogForMobileAppApi.md new file mode 100644 index 00000000..9fe6daaf --- /dev/null +++ b/docs/SLOCatalogForMobileAppApi.md @@ -0,0 +1,173 @@ +# instana_client.SLOCatalogForMobileAppApi + +All URIs are relative to *https://unit-tenant.instana.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_mobile_app_sli_metric_catalog**](SLOCatalogForMobileAppApi.md#get_mobile_app_sli_metric_catalog) | **GET** /api/slo/catalog/metrics/mobile | Mobile app SLI metric catalog +[**get_mobile_app_slo_tag_catalog**](SLOCatalogForMobileAppApi.md#get_mobile_app_slo_tag_catalog) | **GET** /api/slo/catalog/tags/mobile | Get mobile app monitoring tag catalog for Mobile App SLOs + + +# **get_mobile_app_sli_metric_catalog** +> List[object] get_mobile_app_sli_metric_catalog(slo_blueprint=slo_blueprint, beacon_type=beacon_type) + +Mobile app SLI metric catalog + +API request to get mobile app SLI metric catalog filtered by golden signal and beacon type. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.SLOCatalogForMobileAppApi(api_client) + slo_blueprint = 'slo_blueprint_example' # str | (optional) + beacon_type = 'beacon_type_example' # str | (optional) + + try: + # Mobile app SLI metric catalog + api_response = api_instance.get_mobile_app_sli_metric_catalog(slo_blueprint=slo_blueprint, beacon_type=beacon_type) + print("The response of SLOCatalogForMobileAppApi->get_mobile_app_sli_metric_catalog:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SLOCatalogForMobileAppApi->get_mobile_app_sli_metric_catalog: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **slo_blueprint** | **str**| | [optional] + **beacon_type** | **str**| | [optional] + +### Return type + +**List[object]** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | When the sloGoldenSignal/beaconType combination is unsupported. | - | +**401** | Unauthorized access - requires user authentication. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mobile_app_slo_tag_catalog** +> TagCatalog get_mobile_app_slo_tag_catalog(beacon_type=beacon_type) + +Get mobile app monitoring tag catalog for Mobile App SLOs + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.tag_catalog import TagCatalog +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.SLOCatalogForMobileAppApi(api_client) + beacon_type = 'beacon_type_example' # str | (optional) + + try: + # Get mobile app monitoring tag catalog for Mobile App SLOs + api_response = api_instance.get_mobile_app_slo_tag_catalog(beacon_type=beacon_type) + print("The response of SLOCatalogForMobileAppApi->get_mobile_app_slo_tag_catalog:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SLOCatalogForMobileAppApi->get_mobile_app_slo_tag_catalog: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **beacon_type** | **str**| | [optional] + +### Return type + +[**TagCatalog**](TagCatalog.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | When the beaconType unsupported/unknown. | - | +**401** | Unauthorized access - requires user authentication. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ServiceLevelsAlertConfig.md b/docs/ServiceLevelsAlertConfig.md index b14e8a4b..f3e11d9f 100644 --- a/docs/ServiceLevelsAlertConfig.md +++ b/docs/ServiceLevelsAlertConfig.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **alert_channel_ids** | **List[str]** | This is the list of channel IDs when alert triggered and sent to. | +**apdex_ids** | **List[str]** | This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds). | **burn_rate_config** | [**List[ServiceLevelsBurnRateConfig]**](ServiceLevelsBurnRateConfig.md) | This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts. | [optional] **burn_rate_time_windows** | [**ServiceLevelsBurnRateTimeWindows**](ServiceLevelsBurnRateTimeWindows.md) | | [optional] **custom_payload_fields** | [**List[CustomPayloadField]**](CustomPayloadField.md) | This is the custom name and value pairs to be sent along with the alert to the alert channels. | diff --git a/docs/ServiceLevelsAlertConfigWithRBACTag.md b/docs/ServiceLevelsAlertConfigWithRBACTag.md index 3a568ac3..d01ed95b 100644 --- a/docs/ServiceLevelsAlertConfigWithRBACTag.md +++ b/docs/ServiceLevelsAlertConfigWithRBACTag.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **alert_channel_ids** | **List[str]** | This is the list of channel IDs when alert triggered and sent to. | +**apdex_ids** | **List[str]** | This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds). | **burn_rate_config** | [**List[ServiceLevelsBurnRateConfig]**](ServiceLevelsBurnRateConfig.md) | This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts. | [optional] **burn_rate_time_windows** | [**ServiceLevelsBurnRateTimeWindows**](ServiceLevelsBurnRateTimeWindows.md) | | [optional] **created** | **int** | Created Date of the version of Service Levels Smart Alerts Configuration. | [optional] diff --git a/docs/ServiceLevelsAlertConfigurationApi.md b/docs/ServiceLevelsAlertConfigurationApi.md index 42bfc7d0..d338ba51 100644 --- a/docs/ServiceLevelsAlertConfigurationApi.md +++ b/docs/ServiceLevelsAlertConfigurationApi.md @@ -561,7 +561,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **find_active_service_levels_alert_configs** -> List[ServiceLevelseAlertConfigWithMetadata] find_active_service_levels_alert_configs(slo_id=slo_id, alert_ids=alert_ids) +> List[ServiceLevelseAlertConfigWithMetadata] find_active_service_levels_alert_configs(slo_id=slo_id, apdex_id=apdex_id, alert_type=alert_type, alert_ids=alert_ids) All Service levels Alert Configs @@ -599,11 +599,13 @@ with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.ServiceLevelsAlertConfigurationApi(api_client) slo_id = 'SLOEANnWh9tQOa2h88kGxK6wQ' # str | SLO Configuration ID (optional) + apdex_id = 'APDXEANnWh9tQOa2h88kGxK6wQ' # str | Apdex Configuration ID (optional) + alert_type = 'SLO' # str | Alert Type filter - either 'SLO' or 'APDEX' (optional) alert_ids = ['ln3IGogYS-S7CPqcOQYTNA'] # List[str] | List of Service Levels Alert Configuration IDs (optional) try: # All Service levels Alert Configs - api_response = api_instance.find_active_service_levels_alert_configs(slo_id=slo_id, alert_ids=alert_ids) + api_response = api_instance.find_active_service_levels_alert_configs(slo_id=slo_id, apdex_id=apdex_id, alert_type=alert_type, alert_ids=alert_ids) print("The response of ServiceLevelsAlertConfigurationApi->find_active_service_levels_alert_configs:\n") pprint(api_response) except Exception as e: @@ -618,6 +620,8 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **slo_id** | **str**| SLO Configuration ID | [optional] + **apdex_id** | **str**| Apdex Configuration ID | [optional] + **alert_type** | **str**| Alert Type filter - either 'SLO' or 'APDEX' | [optional] **alert_ids** | [**List[str]**](str.md)| List of Service Levels Alert Configuration IDs | [optional] ### Return type diff --git a/docs/ServiceLevelsAlertRule.md b/docs/ServiceLevelsAlertRule.md index c9c5297b..09652289 100644 --- a/docs/ServiceLevelsAlertRule.md +++ b/docs/ServiceLevelsAlertRule.md @@ -1,6 +1,6 @@ # ServiceLevelsAlertRule -This is the service levels alert type. It could be error budget alert or service levels object alert. +This is the service levels alert type. It could be error budget alert, service levels object alert, or Apdex alert. ## Properties diff --git a/docs/ServiceLevelseAlertConfigWithMetadata.md b/docs/ServiceLevelseAlertConfigWithMetadata.md index 3dc7730c..cc1571fe 100644 --- a/docs/ServiceLevelseAlertConfigWithMetadata.md +++ b/docs/ServiceLevelseAlertConfigWithMetadata.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **alert_channel_ids** | **List[str]** | This is the list of channel IDs when alert triggered and sent to. | +**apdex_ids** | **List[str]** | This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds). | **burn_rate_config** | [**List[ServiceLevelsBurnRateConfig]**](ServiceLevelsBurnRateConfig.md) | This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts. | [optional] **burn_rate_time_windows** | [**ServiceLevelsBurnRateTimeWindows**](ServiceLevelsBurnRateTimeWindows.md) | | [optional] **created** | **int** | Created Date of the version of Service Levels Smart Alerts Configuration. | [optional] diff --git a/docs/TeamsApi.md b/docs/TeamsApi.md index eabc1bc0..0111e2c6 100644 --- a/docs/TeamsApi.md +++ b/docs/TeamsApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**create_team**](TeamsApi.md#create_team) | **POST** /api/settings/rbac/teams | Create team [**delete_team**](TeamsApi.md#delete_team) | **DELETE** /api/settings/rbac/teams/{id} | Delete team [**get_team**](TeamsApi.md#get_team) | **GET** /api/settings/rbac/teams/{id} | Get team by ID +[**get_team_role_mappings**](TeamsApi.md#get_team_role_mappings) | **GET** /api/settings/rbac/teams/{teamId}/mappings | Get team role mappings [**get_teams**](TeamsApi.md#get_teams) | **GET** /api/settings/rbac/teams | Get all teams [**update_team**](TeamsApi.md#update_team) | **PUT** /api/settings/rbac/teams/{id} | Update team @@ -246,6 +247,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_team_role_mappings** +> List[RoleMappingOverview] get_team_role_mappings(team_id) + +Get team role mappings + +Retrieve IdP role mappings applicable to a specific team + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.role_mapping_overview import RoleMappingOverview +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + team_id = 'team_id_example' # str | + + try: + # Get team role mappings + api_response = api_instance.get_team_role_mappings(team_id) + print("The response of TeamsApi->get_team_role_mappings:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_team_role_mappings: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **team_id** | **str**| | + +### Return type + +[**List[RoleMappingOverview]**](RoleMappingOverview.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | role mapping not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_teams** > List[ApiTeam] get_teams() diff --git a/docs/TestResultCommonProperties.md b/docs/TestResultCommonProperties.md index 709f1f5e..52b00cbc 100644 --- a/docs/TestResultCommonProperties.md +++ b/docs/TestResultCommonProperties.md @@ -7,8 +7,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **client_id** | **str** | | **custom_tags** | **Dict[str, str]** | | [optional] +**dns_lookup** | **str** | | [optional] **dns_query_type** | **str** | | [optional] **dns_server_name** | **str** | | [optional] +**dns_transport** | **str** | | [optional] **errors** | **List[str]** | | [optional] **id** | **str** | | [optional] **ism_details** | **Dict[str, str]** | | [optional] diff --git a/docs/WebpageScriptConfiguration.md b/docs/WebpageScriptConfiguration.md index 89cb875c..de9dff6f 100644 --- a/docs/WebpageScriptConfiguration.md +++ b/docs/WebpageScriptConfiguration.md @@ -7,8 +7,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **browser** | **str** | | [optional] **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **record_video** | **bool** | | [optional] -**script** | **str** | | +**script** | **str** | | [optional] ## Example diff --git a/docs/WebpageScriptConfigurationUpdate.md b/docs/WebpageScriptConfigurationUpdate.md index 749cac90..b7b57fe7 100644 --- a/docs/WebpageScriptConfigurationUpdate.md +++ b/docs/WebpageScriptConfigurationUpdate.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **browser** | **str** | | [optional] **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **record_video** | **bool** | | [optional] **script** | **str** | | [optional] diff --git a/instana_client/__init__.py b/instana_client/__init__.py index 37972c7d..27816e23 100644 --- a/instana_client/__init__.py +++ b/instana_client/__init__.py @@ -7,7 +7,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "1.0.8" +__version__ = "1.0.9" # import apis into sdk package from instana_client.api.ai_management_api import AIManagementApi @@ -63,6 +63,7 @@ from instana_client.api.roles_api import RolesApi from instana_client.api.sli_report_api import SLIReportApi from instana_client.api.sli_settings_api import SLISettingsApi +from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi from instana_client.api.slo_configurations_api import SLOConfigurationsApi from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi @@ -100,6 +101,7 @@ from instana_client.models.abstract_rule import AbstractRule from instana_client.models.access_rule import AccessRule from instana_client.models.action import Action +from instana_client.models.action_beacon import ActionBeacon from instana_client.models.action_configuration import ActionConfiguration from instana_client.models.action_instance import ActionInstance from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry @@ -116,6 +118,7 @@ from instana_client.models.alerting_configuration import AlertingConfiguration from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated from instana_client.models.alerting_time_window import AlertingTimeWindow +from instana_client.models.apdex_alert_rule import ApdexAlertRule from instana_client.models.apdex_configuration import ApdexConfiguration from instana_client.models.apdex_configuration_input import ApdexConfigurationInput from instana_client.models.apdex_entity import ApdexEntity @@ -245,6 +248,7 @@ from instana_client.models.geo_location_configuration import GeoLocationConfiguration from instana_client.models.geo_mapping_rule import GeoMappingRule from instana_client.models.geo_subdivision import GeoSubdivision +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult from instana_client.models.get_activities import GetActivities from instana_client.models.get_application_metrics import GetApplicationMetrics from instana_client.models.get_applications import GetApplications @@ -263,6 +267,7 @@ from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 from instana_client.models.get_payload_keys_result import GetPayloadKeysResult from instana_client.models.get_services import GetServices +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult from instana_client.models.get_snapshots_query import GetSnapshotsQuery from instana_client.models.get_test_result import GetTestResult from instana_client.models.get_test_result_analytic import GetTestResultAnalytic @@ -276,6 +281,7 @@ from instana_client.models.get_website_beacons import GetWebsiteBeacons from instana_client.models.get_website_metrics import GetWebsiteMetrics from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig from instana_client.models.google_chat_integration import GoogleChatIntegration @@ -420,6 +426,7 @@ from instana_client.models.release_scope import ReleaseScope from instana_client.models.release_with_metadata import ReleaseWithMetadata from instana_client.models.retention_period import RetentionPeriod +from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.models.rolling_time_window import RollingTimeWindow from instana_client.models.rule_input import RuleInput from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule @@ -463,6 +470,8 @@ from instana_client.models.service_scoped_to import ServiceScopedTo from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata from instana_client.models.service_simple import ServiceSimple +from instana_client.models.session_replay_metadata import SessionReplayMetadata +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps from instana_client.models.session_settings import SessionSettings from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration from instana_client.models.slack_integration import SlackIntegration diff --git a/instana_client/api/__init__.py b/instana_client/api/__init__.py index ea4749ed..d626738c 100644 --- a/instana_client/api/__init__.py +++ b/instana_client/api/__init__.py @@ -46,6 +46,7 @@ from instana_client.api.roles_api import RolesApi from instana_client.api.sli_report_api import SLIReportApi from instana_client.api.sli_settings_api import SLISettingsApi +from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi from instana_client.api.slo_configurations_api import SLOConfigurationsApi from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi diff --git a/instana_client/api/action_catalog_api.py b/instana_client/api/action_catalog_api.py index a8ab05e4..c7bc3a06 100644 --- a/instana_client/api/action_catalog_api.py +++ b/instana_client/api/action_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/action_history_api.py b/instana_client/api/action_history_api.py index 3d2bb14d..bae09dee 100644 --- a/instana_client/api/action_history_api.py +++ b/instana_client/api/action_history_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/ai_management_api.py b/instana_client/api/ai_management_api.py index e0d6a363..6f66c550 100644 --- a/instana_client/api/ai_management_api.py +++ b/instana_client/api/ai_management_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/apdex_report_api.py b/instana_client/api/apdex_report_api.py index 7ed6fb0c..46eb39c3 100644 --- a/instana_client/api/apdex_report_api.py +++ b/instana_client/api/apdex_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/apdex_settings_api.py b/instana_client/api/apdex_settings_api.py index 8a737c10..00ae5577 100644 --- a/instana_client/api/apdex_settings_api.py +++ b/instana_client/api/apdex_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -1888,6 +1888,7 @@ def get_all_apdex_configurations_v2( to: Optional[StrictInt] = None, entity_type: Optional[StrictStr] = None, entity_id: Optional[StrictStr] = None, + apdex_ids: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1927,6 +1928,8 @@ def get_all_apdex_configurations_v2( :type entity_type: str :param entity_id: :type entity_id: str + :param apdex_ids: + :type apdex_ids: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1961,6 +1964,7 @@ def get_all_apdex_configurations_v2( to=to, entity_type=entity_type, entity_id=entity_id, + apdex_ids=apdex_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1995,6 +1999,7 @@ def get_all_apdex_configurations_v2_with_http_info( to: Optional[StrictInt] = None, entity_type: Optional[StrictStr] = None, entity_id: Optional[StrictStr] = None, + apdex_ids: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2034,6 +2039,8 @@ def get_all_apdex_configurations_v2_with_http_info( :type entity_type: str :param entity_id: :type entity_id: str + :param apdex_ids: + :type apdex_ids: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2068,6 +2075,7 @@ def get_all_apdex_configurations_v2_with_http_info( to=to, entity_type=entity_type, entity_id=entity_id, + apdex_ids=apdex_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2102,6 +2110,7 @@ def get_all_apdex_configurations_v2_without_preload_content( to: Optional[StrictInt] = None, entity_type: Optional[StrictStr] = None, entity_id: Optional[StrictStr] = None, + apdex_ids: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2141,6 +2150,8 @@ def get_all_apdex_configurations_v2_without_preload_content( :type entity_type: str :param entity_id: :type entity_id: str + :param apdex_ids: + :type apdex_ids: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2175,6 +2186,7 @@ def get_all_apdex_configurations_v2_without_preload_content( to=to, entity_type=entity_type, entity_id=entity_id, + apdex_ids=apdex_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2204,6 +2216,7 @@ def _get_all_apdex_configurations_v2_serialize( to, entity_type, entity_id, + apdex_ids, _request_auth, _content_type, _headers, @@ -2213,6 +2226,7 @@ def _get_all_apdex_configurations_v2_serialize( _host = None _collection_formats: Dict[str, str] = { + 'apdexIds': 'multi', } _path_params: Dict[str, str] = {} @@ -2270,6 +2284,10 @@ def _get_all_apdex_configurations_v2_serialize( _query_params.append(('entityId', entity_id)) + if apdex_ids is not None: + + _query_params.append(('apdexIds', apdex_ids)) + # process the header parameters # process the form parameters # process the body parameter diff --git a/instana_client/api/api_token_api.py b/instana_client/api/api_token_api.py index 77f69421..ab6242b3 100644 --- a/instana_client/api/api_token_api.py +++ b/instana_client/api/api_token_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_alert_configuration_api.py b/instana_client/api/application_alert_configuration_api.py index dc437736..2f8eb3a4 100644 --- a/instana_client/api/application_alert_configuration_api.py +++ b/instana_client/api/application_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_analyze_api.py b/instana_client/api/application_analyze_api.py index 274d96b4..05a06ec3 100644 --- a/instana_client/api/application_analyze_api.py +++ b/instana_client/api/application_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_catalog_api.py b/instana_client/api/application_catalog_api.py index 7f4623ed..61ea8e72 100644 --- a/instana_client/api/application_catalog_api.py +++ b/instana_client/api/application_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_metrics_api.py b/instana_client/api/application_metrics_api.py index 64b7857f..e3fe990c 100644 --- a/instana_client/api/application_metrics_api.py +++ b/instana_client/api/application_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_resources_api.py b/instana_client/api/application_resources_api.py index 4f278e22..65519af1 100644 --- a/instana_client/api/application_resources_api.py +++ b/instana_client/api/application_resources_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_settings_api.py b/instana_client/api/application_settings_api.py index ffe0d529..d9e2e849 100644 --- a/instana_client/api/application_settings_api.py +++ b/instana_client/api/application_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_topology_api.py b/instana_client/api/application_topology_api.py index 3a3d968f..ecf5fd43 100644 --- a/instana_client/api/application_topology_api.py +++ b/instana_client/api/application_topology_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/audit_log_api.py b/instana_client/api/audit_log_api.py index c541570d..85493d83 100644 --- a/instana_client/api/audit_log_api.py +++ b/instana_client/api/audit_log_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/authentication_api.py b/instana_client/api/authentication_api.py index 6b6103cf..a5b7feec 100644 --- a/instana_client/api/authentication_api.py +++ b/instana_client/api/authentication_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/business_monitoring_api.py b/instana_client/api/business_monitoring_api.py index b6678d70..7c305743 100644 --- a/instana_client/api/business_monitoring_api.py +++ b/instana_client/api/business_monitoring_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/custom_dashboards_api.py b/instana_client/api/custom_dashboards_api.py index 792295c0..603951da 100644 --- a/instana_client/api/custom_dashboards_api.py +++ b/instana_client/api/custom_dashboards_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/custom_entities_api.py b/instana_client/api/custom_entities_api.py index 4b4e22ff..479b122a 100644 --- a/instana_client/api/custom_entities_api.py +++ b/instana_client/api/custom_entities_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/default_api.py b/instana_client/api/default_api.py index 3f0fa7b8..c4aacbd6 100644 --- a/instana_client/api/default_api.py +++ b/instana_client/api/default_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/end_user_monitoring_api.py b/instana_client/api/end_user_monitoring_api.py index 5dec5517..ec69b9ea 100644 --- a/instana_client/api/end_user_monitoring_api.py +++ b/instana_client/api/end_user_monitoring_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/event_settings_api.py b/instana_client/api/event_settings_api.py index d059190c..9d7d23b6 100644 --- a/instana_client/api/event_settings_api.py +++ b/instana_client/api/event_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/events_api.py b/instana_client/api/events_api.py index 04493574..c82e3e7f 100644 --- a/instana_client/api/events_api.py +++ b/instana_client/api/events_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/global_application_alert_configuration_api.py b/instana_client/api/global_application_alert_configuration_api.py index 410d5cf4..d3355052 100644 --- a/instana_client/api/global_application_alert_configuration_api.py +++ b/instana_client/api/global_application_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/groups_api.py b/instana_client/api/groups_api.py index a95d9dc6..724e5039 100644 --- a/instana_client/api/groups_api.py +++ b/instana_client/api/groups_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/health_api.py b/instana_client/api/health_api.py index 66761dce..f28bf845 100644 --- a/instana_client/api/health_api.py +++ b/instana_client/api/health_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/host_agent_api.py b/instana_client/api/host_agent_api.py index 9386e5a0..a2114936 100644 --- a/instana_client/api/host_agent_api.py +++ b/instana_client/api/host_agent_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_alert_configuration_api.py b/instana_client/api/infrastructure_alert_configuration_api.py index 2862ed27..8a7fedc1 100644 --- a/instana_client/api/infrastructure_alert_configuration_api.py +++ b/instana_client/api/infrastructure_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_analyze_api.py b/instana_client/api/infrastructure_analyze_api.py index 935b9dde..62cc780f 100644 --- a/instana_client/api/infrastructure_analyze_api.py +++ b/instana_client/api/infrastructure_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_catalog_api.py b/instana_client/api/infrastructure_catalog_api.py index 4ba162a3..1b436430 100644 --- a/instana_client/api/infrastructure_catalog_api.py +++ b/instana_client/api/infrastructure_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_metrics_api.py b/instana_client/api/infrastructure_metrics_api.py index 8bfb9857..2ea798b6 100644 --- a/instana_client/api/infrastructure_metrics_api.py +++ b/instana_client/api/infrastructure_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_resources_api.py b/instana_client/api/infrastructure_resources_api.py index 8ada9060..94bd5d1d 100644 --- a/instana_client/api/infrastructure_resources_api.py +++ b/instana_client/api/infrastructure_resources_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_topology_api.py b/instana_client/api/infrastructure_topology_api.py index 1c3b5de8..997da31e 100644 --- a/instana_client/api/infrastructure_topology_api.py +++ b/instana_client/api/infrastructure_topology_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/ip_filtering_api.py b/instana_client/api/ip_filtering_api.py index eade135a..3779b9b5 100644 --- a/instana_client/api/ip_filtering_api.py +++ b/instana_client/api/ip_filtering_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/llm_price_configuration_api.py b/instana_client/api/llm_price_configuration_api.py index af1fc7cf..a0c448c5 100644 --- a/instana_client/api/llm_price_configuration_api.py +++ b/instana_client/api/llm_price_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/log_alert_configuration_api.py b/instana_client/api/log_alert_configuration_api.py index ded7f645..737bdaff 100644 --- a/instana_client/api/log_alert_configuration_api.py +++ b/instana_client/api/log_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/logging_analyze_api.py b/instana_client/api/logging_analyze_api.py index c3385c54..b1e29e5a 100644 --- a/instana_client/api/logging_analyze_api.py +++ b/instana_client/api/logging_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/maintenance_configuration_api.py b/instana_client/api/maintenance_configuration_api.py index 6399f8a5..4c67a9a7 100644 --- a/instana_client/api/maintenance_configuration_api.py +++ b/instana_client/api/maintenance_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_analyze_api.py b/instana_client/api/mobile_app_analyze_api.py index 3fe61f54..79732d9f 100644 --- a/instana_client/api/mobile_app_analyze_api.py +++ b/instana_client/api/mobile_app_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_catalog_api.py b/instana_client/api/mobile_app_catalog_api.py index 364f3d76..88d037ab 100644 --- a/instana_client/api/mobile_app_catalog_api.py +++ b/instana_client/api/mobile_app_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,10 +17,13 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr, field_validator -from typing import List +from pydantic import Field, StrictInt, StrictStr, field_validator +from typing import List, Optional from typing_extensions import Annotated +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps from instana_client.models.tag import Tag from instana_client.models.tag_catalog import TagCatalog @@ -42,6 +45,330 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def get_action_beacons( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GetActionBeaconsResult: + """Get action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_action_beacons_with_http_info( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GetActionBeaconsResult]: + """Get action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_action_beacons_without_preload_content( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_action_beacons_serialize( + self, + mobile_app_id, + session_id, + cursor, + page_size, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if mobile_app_id is not None: + _path_params['mobileAppId'] = mobile_app_id + if session_id is not None: + _path_params['sessionId'] = session_id + # process the query parameters + if cursor is not None: + + _query_params.append(('cursor', cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_all_mobile_app_catalog_tags( self, @@ -830,3 +1157,617 @@ def _get_mobile_app_tag_catalog_serialize( ) + + + @validate_call + def get_session_replay_metadata( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Time window size in milliseconds (default: 20000ms = 20 seconds)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GetSessionReplayMetadataResult: + """Get session replay metadata + + Retrieves detailed metadata for session replay captured during a mobile app session. Uses cursor-based pagination with timestamp cursors. Returns metadata within the time window from cursor to cursor + pageSize. The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes all metadata fields such as event type, view components, orientation changes, etc. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. + :type cursor: int + :param page_size: Time window size in milliseconds (default: 20000ms = 20 seconds) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_metadata_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetSessionReplayMetadataResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_session_replay_metadata_with_http_info( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Time window size in milliseconds (default: 20000ms = 20 seconds)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GetSessionReplayMetadataResult]: + """Get session replay metadata + + Retrieves detailed metadata for session replay captured during a mobile app session. Uses cursor-based pagination with timestamp cursors. Returns metadata within the time window from cursor to cursor + pageSize. The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes all metadata fields such as event type, view components, orientation changes, etc. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. + :type cursor: int + :param page_size: Time window size in milliseconds (default: 20000ms = 20 seconds) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_metadata_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetSessionReplayMetadataResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_session_replay_metadata_without_preload_content( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Time window size in milliseconds (default: 20000ms = 20 seconds)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get session replay metadata + + Retrieves detailed metadata for session replay captured during a mobile app session. Uses cursor-based pagination with timestamp cursors. Returns metadata within the time window from cursor to cursor + pageSize. The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes all metadata fields such as event type, view components, orientation changes, etc. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. + :type cursor: int + :param page_size: Time window size in milliseconds (default: 20000ms = 20 seconds) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_metadata_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetSessionReplayMetadataResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_session_replay_metadata_serialize( + self, + mobile_app_id, + session_id, + cursor, + page_size, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if mobile_app_id is not None: + _path_params['mobileAppId'] = mobile_app_id + if session_id is not None: + _path_params['sessionId'] = session_id + # process the query parameters + if cursor is not None: + + _query_params.append(('cursor', cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-metadata', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_session_replay_timestamps( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SessionReplayTimestamps: + """Get session replay timestamps + + Retrieves the first and last image timestamps for a mobile app session. Returns null values if the session has no images. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_timestamps_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SessionReplayTimestamps", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_session_replay_timestamps_with_http_info( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SessionReplayTimestamps]: + """Get session replay timestamps + + Retrieves the first and last image timestamps for a mobile app session. Returns null values if the session has no images. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_timestamps_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SessionReplayTimestamps", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_session_replay_timestamps_without_preload_content( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get session replay timestamps + + Retrieves the first and last image timestamps for a mobile app session. Returns null values if the session has no images. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_timestamps_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SessionReplayTimestamps", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_session_replay_timestamps_serialize( + self, + mobile_app_id, + session_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if mobile_app_id is not None: + _path_params['mobileAppId'] = mobile_app_id + if session_id is not None: + _path_params['sessionId'] = session_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/instana_client/api/mobile_app_configuration_api.py b/instana_client/api/mobile_app_configuration_api.py index a81010dc..ccad29dd 100644 --- a/instana_client/api/mobile_app_configuration_api.py +++ b/instana_client/api/mobile_app_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_metrics_api.py b/instana_client/api/mobile_app_metrics_api.py index 7c52650a..a2e73bcc 100644 --- a/instana_client/api/mobile_app_metrics_api.py +++ b/instana_client/api/mobile_app_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/policies_api.py b/instana_client/api/policies_api.py index 2bad5645..10cf3ce9 100644 --- a/instana_client/api/policies_api.py +++ b/instana_client/api/policies_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/releases_api.py b/instana_client/api/releases_api.py index 8162bf9b..63d6536d 100644 --- a/instana_client/api/releases_api.py +++ b/instana_client/api/releases_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/roles_api.py b/instana_client/api/roles_api.py index 33a754f9..1dd2bbe1 100644 --- a/instana_client/api/roles_api.py +++ b/instana_client/api/roles_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,6 +22,7 @@ from typing_extensions import Annotated from instana_client.models.api_create_role import ApiCreateRole from instana_client.models.api_role import ApiRole +from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -866,6 +867,270 @@ def _get_role_serialize( + @validate_call + def get_role_mappings( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[RoleMappingOverview]: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_role_mappings_with_http_info( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[RoleMappingOverview]]: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_role_mappings_without_preload_content( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_role_mappings_serialize( + self, + role_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if role_id is not None: + _path_params['roleId'] = role_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/roles/{roleId}/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_roles( self, diff --git a/instana_client/api/service_levels_alert_configuration_api.py b/instana_client/api/service_levels_alert_configuration_api.py index 3ae05c9b..dcd13906 100644 --- a/instana_client/api/service_levels_alert_configuration_api.py +++ b/instana_client/api/service_levels_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -1982,6 +1982,8 @@ def _enable_service_levels_alert_config_serialize( def find_active_service_levels_alert_configs( self, slo_id: Annotated[Optional[StrictStr], Field(description="SLO Configuration ID")] = None, + apdex_id: Annotated[Optional[StrictStr], Field(description="Apdex Configuration ID")] = None, + alert_type: Annotated[Optional[StrictStr], Field(description="Alert Type filter - either 'SLO' or 'APDEX'")] = None, alert_ids: Annotated[Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=1000)]], Field(description="List of Service Levels Alert Configuration IDs")] = None, _request_timeout: Union[ None, @@ -2002,6 +2004,10 @@ def find_active_service_levels_alert_configs( :param slo_id: SLO Configuration ID :type slo_id: str + :param apdex_id: Apdex Configuration ID + :type apdex_id: str + :param alert_type: Alert Type filter - either 'SLO' or 'APDEX' + :type alert_type: str :param alert_ids: List of Service Levels Alert Configuration IDs :type alert_ids: List[str] :param _request_timeout: timeout setting for this request. If one @@ -2028,6 +2034,8 @@ def find_active_service_levels_alert_configs( _param = self._find_active_service_levels_alert_configs_serialize( slo_id=slo_id, + apdex_id=apdex_id, + alert_type=alert_type, alert_ids=alert_ids, _request_auth=_request_auth, _content_type=_content_type, @@ -2053,6 +2061,8 @@ def find_active_service_levels_alert_configs( def find_active_service_levels_alert_configs_with_http_info( self, slo_id: Annotated[Optional[StrictStr], Field(description="SLO Configuration ID")] = None, + apdex_id: Annotated[Optional[StrictStr], Field(description="Apdex Configuration ID")] = None, + alert_type: Annotated[Optional[StrictStr], Field(description="Alert Type filter - either 'SLO' or 'APDEX'")] = None, alert_ids: Annotated[Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=1000)]], Field(description="List of Service Levels Alert Configuration IDs")] = None, _request_timeout: Union[ None, @@ -2073,6 +2083,10 @@ def find_active_service_levels_alert_configs_with_http_info( :param slo_id: SLO Configuration ID :type slo_id: str + :param apdex_id: Apdex Configuration ID + :type apdex_id: str + :param alert_type: Alert Type filter - either 'SLO' or 'APDEX' + :type alert_type: str :param alert_ids: List of Service Levels Alert Configuration IDs :type alert_ids: List[str] :param _request_timeout: timeout setting for this request. If one @@ -2099,6 +2113,8 @@ def find_active_service_levels_alert_configs_with_http_info( _param = self._find_active_service_levels_alert_configs_serialize( slo_id=slo_id, + apdex_id=apdex_id, + alert_type=alert_type, alert_ids=alert_ids, _request_auth=_request_auth, _content_type=_content_type, @@ -2124,6 +2140,8 @@ def find_active_service_levels_alert_configs_with_http_info( def find_active_service_levels_alert_configs_without_preload_content( self, slo_id: Annotated[Optional[StrictStr], Field(description="SLO Configuration ID")] = None, + apdex_id: Annotated[Optional[StrictStr], Field(description="Apdex Configuration ID")] = None, + alert_type: Annotated[Optional[StrictStr], Field(description="Alert Type filter - either 'SLO' or 'APDEX'")] = None, alert_ids: Annotated[Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=1000)]], Field(description="List of Service Levels Alert Configuration IDs")] = None, _request_timeout: Union[ None, @@ -2144,6 +2162,10 @@ def find_active_service_levels_alert_configs_without_preload_content( :param slo_id: SLO Configuration ID :type slo_id: str + :param apdex_id: Apdex Configuration ID + :type apdex_id: str + :param alert_type: Alert Type filter - either 'SLO' or 'APDEX' + :type alert_type: str :param alert_ids: List of Service Levels Alert Configuration IDs :type alert_ids: List[str] :param _request_timeout: timeout setting for this request. If one @@ -2170,6 +2192,8 @@ def find_active_service_levels_alert_configs_without_preload_content( _param = self._find_active_service_levels_alert_configs_serialize( slo_id=slo_id, + apdex_id=apdex_id, + alert_type=alert_type, alert_ids=alert_ids, _request_auth=_request_auth, _content_type=_content_type, @@ -2190,6 +2214,8 @@ def find_active_service_levels_alert_configs_without_preload_content( def _find_active_service_levels_alert_configs_serialize( self, slo_id, + apdex_id, + alert_type, alert_ids, _request_auth, _content_type, @@ -2218,6 +2244,14 @@ def _find_active_service_levels_alert_configs_serialize( _query_params.append(('sloId', slo_id)) + if apdex_id is not None: + + _query_params.append(('apdexId', apdex_id)) + + if alert_type is not None: + + _query_params.append(('alertType', alert_type)) + if alert_ids is not None: _query_params.append(('alertIds', alert_ids)) diff --git a/instana_client/api/service_levels_objective_slo_report_api.py b/instana_client/api/service_levels_objective_slo_report_api.py index 41ed6cea..fe58060c 100644 --- a/instana_client/api/service_levels_objective_slo_report_api.py +++ b/instana_client/api/service_levels_objective_slo_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/session_settings_api.py b/instana_client/api/session_settings_api.py index df35a3f0..02455cce 100644 --- a/instana_client/api/session_settings_api.py +++ b/instana_client/api/session_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/sli_report_api.py b/instana_client/api/sli_report_api.py index a6951b43..63fe70e9 100644 --- a/instana_client/api/sli_report_api.py +++ b/instana_client/api/sli_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/sli_settings_api.py b/instana_client/api/sli_settings_api.py index c91d7c84..ce475e0c 100644 --- a/instana_client/api/sli_settings_api.py +++ b/instana_client/api/sli_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_catalog_for_mobile_app_api.py b/instana_client/api/slo_catalog_for_mobile_app_api.py new file mode 100644 index 00000000..836127bb --- /dev/null +++ b/instana_client/api/slo_catalog_for_mobile_app_api.py @@ -0,0 +1,597 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import StrictStr +from typing import Any, Dict, List, Optional +from instana_client.models.tag_catalog import TagCatalog + +from instana_client.api_client import ApiClient, RequestSerialized +from instana_client.api_response import ApiResponse +from instana_client.rest import RESTResponseType + + +class SLOCatalogForMobileAppApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def get_mobile_app_sli_metric_catalog( + self, + slo_blueprint: Optional[StrictStr] = None, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[object]: + """Mobile app SLI metric catalog + + API request to get mobile app SLI metric catalog filtered by golden signal and beacon type. + + :param slo_blueprint: + :type slo_blueprint: str + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_sli_metric_catalog_serialize( + slo_blueprint=slo_blueprint, + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[object]", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mobile_app_sli_metric_catalog_with_http_info( + self, + slo_blueprint: Optional[StrictStr] = None, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[object]]: + """Mobile app SLI metric catalog + + API request to get mobile app SLI metric catalog filtered by golden signal and beacon type. + + :param slo_blueprint: + :type slo_blueprint: str + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_sli_metric_catalog_serialize( + slo_blueprint=slo_blueprint, + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[object]", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mobile_app_sli_metric_catalog_without_preload_content( + self, + slo_blueprint: Optional[StrictStr] = None, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Mobile app SLI metric catalog + + API request to get mobile app SLI metric catalog filtered by golden signal and beacon type. + + :param slo_blueprint: + :type slo_blueprint: str + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_sli_metric_catalog_serialize( + slo_blueprint=slo_blueprint, + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[object]", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mobile_app_sli_metric_catalog_serialize( + self, + slo_blueprint, + beacon_type, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if slo_blueprint is not None: + + _query_params.append(('sloBlueprint', slo_blueprint)) + + if beacon_type is not None: + + _query_params.append(('beaconType', beacon_type)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/slo/catalog/metrics/mobile', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mobile_app_slo_tag_catalog( + self, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> TagCatalog: + """Get mobile app monitoring tag catalog for Mobile App SLOs + + + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_slo_tag_catalog_serialize( + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TagCatalog", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mobile_app_slo_tag_catalog_with_http_info( + self, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[TagCatalog]: + """Get mobile app monitoring tag catalog for Mobile App SLOs + + + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_slo_tag_catalog_serialize( + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TagCatalog", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mobile_app_slo_tag_catalog_without_preload_content( + self, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get mobile app monitoring tag catalog for Mobile App SLOs + + + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_slo_tag_catalog_serialize( + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TagCatalog", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mobile_app_slo_tag_catalog_serialize( + self, + beacon_type, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if beacon_type is not None: + + _query_params.append(('beaconType', beacon_type)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/slo/catalog/tags/mobile', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/instana_client/api/slo_configurations_api.py b/instana_client/api/slo_configurations_api.py index a14befd9..428e7fd7 100644 --- a/instana_client/api/slo_configurations_api.py +++ b/instana_client/api/slo_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_correction_configurations_api.py b/instana_client/api/slo_correction_configurations_api.py index 9dc467f9..3c21c055 100644 --- a/instana_client/api/slo_correction_configurations_api.py +++ b/instana_client/api/slo_correction_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_correction_windows_api.py b/instana_client/api/slo_correction_windows_api.py index 1030aaf3..8981d6cc 100644 --- a/instana_client/api/slo_correction_windows_api.py +++ b/instana_client/api/slo_correction_windows_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_alert_configuration_api.py b/instana_client/api/synthetic_alert_configuration_api.py index f76ad7bb..7e9066cc 100644 --- a/instana_client/api/synthetic_alert_configuration_api.py +++ b/instana_client/api/synthetic_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_calls_api.py b/instana_client/api/synthetic_calls_api.py index 8dc68a56..9cbd0624 100644 --- a/instana_client/api/synthetic_calls_api.py +++ b/instana_client/api/synthetic_calls_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_catalog_api.py b/instana_client/api/synthetic_catalog_api.py index e97e6e39..ae41703e 100644 --- a/instana_client/api/synthetic_catalog_api.py +++ b/instana_client/api/synthetic_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_metrics_api.py b/instana_client/api/synthetic_metrics_api.py index be74644e..cbd0a0f6 100644 --- a/instana_client/api/synthetic_metrics_api.py +++ b/instana_client/api/synthetic_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_settings_api.py b/instana_client/api/synthetic_settings_api.py index c22d48b8..1c061587 100644 --- a/instana_client/api/synthetic_settings_api.py +++ b/instana_client/api/synthetic_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_test_playback_results_api.py b/instana_client/api/synthetic_test_playback_results_api.py index 064820a3..eb717719 100644 --- a/instana_client/api/synthetic_test_playback_results_api.py +++ b/instana_client/api/synthetic_test_playback_results_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/teams_api.py b/instana_client/api/teams_api.py index 425ab1e9..5a05582e 100644 --- a/instana_client/api/teams_api.py +++ b/instana_client/api/teams_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from typing import List, Optional from typing_extensions import Annotated from instana_client.models.api_team import ApiTeam +from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -846,6 +847,270 @@ def _get_team_serialize( + @validate_call + def get_team_role_mappings( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[RoleMappingOverview]: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_team_role_mappings_with_http_info( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[RoleMappingOverview]]: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_team_role_mappings_without_preload_content( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_team_role_mappings_serialize( + self, + team_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if team_id is not None: + _path_params['teamId'] = team_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/teams/{teamId}/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_teams( self, diff --git a/instana_client/api/usage_api.py b/instana_client/api/usage_api.py index 56974189..3d26a586 100644 --- a/instana_client/api/usage_api.py +++ b/instana_client/api/usage_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/user_api.py b/instana_client/api/user_api.py index ba671840..d81e3791 100644 --- a/instana_client/api/user_api.py +++ b/instana_client/api/user_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_analyze_api.py b/instana_client/api/website_analyze_api.py index dfc21ead..1b212d75 100644 --- a/instana_client/api/website_analyze_api.py +++ b/instana_client/api/website_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_catalog_api.py b/instana_client/api/website_catalog_api.py index 29588b84..9534402a 100644 --- a/instana_client/api/website_catalog_api.py +++ b/instana_client/api/website_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_configuration_api.py b/instana_client/api/website_configuration_api.py index 5cfa1621..04d714d1 100644 --- a/instana_client/api/website_configuration_api.py +++ b/instana_client/api/website_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_metrics_api.py b/instana_client/api/website_metrics_api.py index 6927c7e7..e0aad75f 100644 --- a/instana_client/api/website_metrics_api.py +++ b/instana_client/api/website_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api_client.py b/instana_client/api_client.py index 07062f98..e08e2b2e 100644 --- a/instana_client/api_client.py +++ b/instana_client/api_client.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -91,7 +91,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.7/python' + self.user_agent = 'OpenAPI-Generator/1.0.8/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/instana_client/configuration.py b/instana_client/configuration.py index a4e3c7c8..468cbd9d 100644 --- a/instana_client/configuration.py +++ b/instana_client/configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -531,8 +531,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.319.1109\n"\ - "SDK Package Version: 1.0.7".\ + "Version of the API: 1.320.1414\n"\ + "SDK Package Version: 1.0.9".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/instana_client/exceptions.py b/instana_client/exceptions.py index 74717d7b..eef663c9 100644 --- a/instana_client/exceptions.py +++ b/instana_client/exceptions.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/__init__.py b/instana_client/models/__init__.py index cbf058a1..6cd27192 100644 --- a/instana_client/models/__init__.py +++ b/instana_client/models/__init__.py @@ -6,7 +6,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,6 +19,7 @@ from instana_client.models.abstract_rule import AbstractRule from instana_client.models.access_rule import AccessRule from instana_client.models.action import Action +from instana_client.models.action_beacon import ActionBeacon from instana_client.models.action_configuration import ActionConfiguration from instana_client.models.action_instance import ActionInstance from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry @@ -35,6 +36,7 @@ from instana_client.models.alerting_configuration import AlertingConfiguration from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated from instana_client.models.alerting_time_window import AlertingTimeWindow +from instana_client.models.apdex_alert_rule import ApdexAlertRule from instana_client.models.apdex_configuration import ApdexConfiguration from instana_client.models.apdex_configuration_input import ApdexConfigurationInput from instana_client.models.apdex_entity import ApdexEntity @@ -164,6 +166,7 @@ from instana_client.models.geo_location_configuration import GeoLocationConfiguration from instana_client.models.geo_mapping_rule import GeoMappingRule from instana_client.models.geo_subdivision import GeoSubdivision +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult from instana_client.models.get_activities import GetActivities from instana_client.models.get_application_metrics import GetApplicationMetrics from instana_client.models.get_applications import GetApplications @@ -182,6 +185,7 @@ from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 from instana_client.models.get_payload_keys_result import GetPayloadKeysResult from instana_client.models.get_services import GetServices +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult from instana_client.models.get_snapshots_query import GetSnapshotsQuery from instana_client.models.get_test_result import GetTestResult from instana_client.models.get_test_result_analytic import GetTestResultAnalytic @@ -195,6 +199,7 @@ from instana_client.models.get_website_beacons import GetWebsiteBeacons from instana_client.models.get_website_metrics import GetWebsiteMetrics from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig from instana_client.models.google_chat_integration import GoogleChatIntegration @@ -339,6 +344,7 @@ from instana_client.models.release_scope import ReleaseScope from instana_client.models.release_with_metadata import ReleaseWithMetadata from instana_client.models.retention_period import RetentionPeriod +from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.models.rolling_time_window import RollingTimeWindow from instana_client.models.rule_input import RuleInput from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule @@ -382,6 +388,8 @@ from instana_client.models.service_scoped_to import ServiceScopedTo from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata from instana_client.models.service_simple import ServiceSimple +from instana_client.models.session_replay_metadata import SessionReplayMetadata +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps from instana_client.models.session_settings import SessionSettings from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration from instana_client.models.slack_integration import SlackIntegration diff --git a/instana_client/models/abstract_integration.py b/instana_client/models/abstract_integration.py index deaa6ba6..c81d7b3d 100644 --- a/instana_client/models/abstract_integration.py +++ b/instana_client/models/abstract_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/abstract_rule.py b/instana_client/models/abstract_rule.py index d4f81489..948f8ba0 100644 --- a/instana_client/models/abstract_rule.py +++ b/instana_client/models/abstract_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/access_rule.py b/instana_client/models/access_rule.py index 755c49ee..af57c26f 100644 --- a/instana_client/models/access_rule.py +++ b/instana_client/models/access_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action.py b/instana_client/models/action.py index eb9e7750..6c9a6467 100644 --- a/instana_client/models/action.py +++ b/instana_client/models/action.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_beacon.py b/instana_client/models/action_beacon.py index d9d19782..7be91499 100644 --- a/instana_client/models/action_beacon.py +++ b/instana_client/models/action_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,6 +27,9 @@ class ActionBeacon(BaseModel): """ List of action beacons for the current page """ # noqa: E501 + app_state: Optional[StrictStr] = Field(default=None, description="Application state (e.g., foreground, background)", alias="appState") + beacon_clockskew: Optional[StrictInt] = Field(default=None, description="Clock skew in milliseconds between client and server", alias="beaconClockskew") + beacon_id: StrictStr = Field(description="Beacon identifier", alias="beaconId") beacon_type: StrictStr = Field(description="Type of beacon", alias="beaconType") bytes_ingested_metadata: Optional[StrictInt] = Field(default=None, description="Bytes ingested for metadata", alias="bytesIngestedMetadata") event_type: Optional[StrictStr] = Field(default=None, description="Event type (e.g., st=start, fs=frustration signal, oc=orientation change)", alias="eventType") @@ -41,7 +44,7 @@ class ActionBeacon(BaseModel): timestamp: StrictInt = Field(description="Timestamp when the action was captured (epoch milliseconds)") view_component_class_name: Optional[StrictStr] = Field(default=None, description="View component class name", alias="viewComponentClassName") view_component_id: Optional[StrictStr] = Field(default=None, description="View component identifier", alias="viewComponentId") - __properties: ClassVar[List[str]] = ["beaconType", "bytesIngestedMetadata", "eventType", "frustrationSignal", "keyboardOperation", "mobileAppId", "orientationChange", "scrollDirection", "scrollDuration", "sessionId", "sessionReplayVersion", "timestamp", "viewComponentClassName", "viewComponentId"] + __properties: ClassVar[List[str]] = ["appState", "beaconClockskew", "beaconId", "beaconType", "bytesIngestedMetadata", "eventType", "frustrationSignal", "keyboardOperation", "mobileAppId", "orientationChange", "scrollDirection", "scrollDuration", "sessionId", "sessionReplayVersion", "timestamp", "viewComponentClassName", "viewComponentId"] model_config = ConfigDict( populate_by_name=True, @@ -82,6 +85,16 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # set to None if app_state (nullable) is None + # and model_fields_set contains the field + if self.app_state is None and "app_state" in self.model_fields_set: + _dict['appState'] = None + + # set to None if beacon_clockskew (nullable) is None + # and model_fields_set contains the field + if self.beacon_clockskew is None and "beacon_clockskew" in self.model_fields_set: + _dict['beaconClockskew'] = None + # set to None if bytes_ingested_metadata (nullable) is None # and model_fields_set contains the field if self.bytes_ingested_metadata is None and "bytes_ingested_metadata" in self.model_fields_set: @@ -144,6 +157,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "appState": obj.get("appState"), + "beaconClockskew": obj.get("beaconClockskew"), + "beaconId": obj.get("beaconId"), "beaconType": obj.get("beaconType"), "bytesIngestedMetadata": obj.get("bytesIngestedMetadata"), "eventType": obj.get("eventType"), diff --git a/instana_client/models/action_configuration.py b/instana_client/models/action_configuration.py index 32143aa9..b64cc7b9 100644 --- a/instana_client/models/action_configuration.py +++ b/instana_client/models/action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance.py b/instana_client/models/action_instance.py index d9d8ca76..8f2e0e00 100644 --- a/instana_client/models/action_instance.py +++ b/instana_client/models/action_instance.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_metadata_entry.py b/instana_client/models/action_instance_metadata_entry.py index da56a868..4b3d51ab 100644 --- a/instana_client/models/action_instance_metadata_entry.py +++ b/instana_client/models/action_instance_metadata_entry.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_parameter.py b/instana_client/models/action_instance_parameter.py index e4e803f5..04a5282b 100644 --- a/instana_client/models/action_instance_parameter.py +++ b/instana_client/models/action_instance_parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_request.py b/instana_client/models/action_instance_request.py index 4e6de149..14d40840 100644 --- a/instana_client/models/action_instance_request.py +++ b/instana_client/models/action_instance_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_request_parameters.py b/instana_client/models/action_instance_request_parameters.py index 83edd10a..655e942b 100644 --- a/instana_client/models/action_instance_request_parameters.py +++ b/instana_client/models/action_instance_request_parameters.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_match.py b/instana_client/models/action_match.py index 58fddf70..2601a00b 100644 --- a/instana_client/models/action_match.py +++ b/instana_client/models/action_match.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_search_space.py b/instana_client/models/action_search_space.py index 875ccb28..9986c76d 100644 --- a/instana_client/models/action_search_space.py +++ b/instana_client/models/action_search_space.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adaptive_baseline.py b/instana_client/models/adaptive_baseline.py index 08100c44..f7966046 100644 --- a/instana_client/models/adaptive_baseline.py +++ b/instana_client/models/adaptive_baseline.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adaptive_threshold_rule.py b/instana_client/models/adaptive_threshold_rule.py index cc03b2ff..84fe9ee7 100644 --- a/instana_client/models/adaptive_threshold_rule.py +++ b/instana_client/models/adaptive_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adjusted_timeframe.py b/instana_client/models/adjusted_timeframe.py index 6a2f14d7..6aeb99e0 100644 --- a/instana_client/models/adjusted_timeframe.py +++ b/instana_client/models/adjusted_timeframe.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/agent_configuration_update.py b/instana_client/models/agent_configuration_update.py index acf4cfb2..a24367a9 100644 --- a/instana_client/models/agent_configuration_update.py +++ b/instana_client/models/agent_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/agent_mode_update.py b/instana_client/models/agent_mode_update.py index 87df612e..309df998 100644 --- a/instana_client/models/agent_mode_update.py +++ b/instana_client/models/agent_mode_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_configuration.py b/instana_client/models/alerting_configuration.py index 5017aeff..9e9f5e05 100644 --- a/instana_client/models/alerting_configuration.py +++ b/instana_client/models/alerting_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_configuration_with_last_updated.py b/instana_client/models/alerting_configuration_with_last_updated.py index 20910496..01c6cbe6 100644 --- a/instana_client/models/alerting_configuration_with_last_updated.py +++ b/instana_client/models/alerting_configuration_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_time_window.py b/instana_client/models/alerting_time_window.py index a4efad89..eb624559 100644 --- a/instana_client/models/alerting_time_window.py +++ b/instana_client/models/alerting_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_alert_rule.py b/instana_client/models/apdex_alert_rule.py new file mode 100644 index 00000000..25e1e03b --- /dev/null +++ b/instana_client/models/apdex_alert_rule.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List +from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule +from typing import Optional, Set +from typing_extensions import Self + +class ApdexAlertRule(ServiceLevelsAlertRule): + """ + ApdexAlertRule + """ # noqa: E501 + metric: StrictStr = Field(description="This is the Apdex metric type. Apdex alert uses SCORE metric.") + __properties: ClassVar[List[str]] = ["alertType", "metric"] + + @field_validator('metric') + def metric_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['SCORE']): + raise ValueError("must be one of enum values ('SCORE')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApdexAlertRule from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApdexAlertRule from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "alertType": obj.get("alertType"), + "metric": obj.get("metric") + }) + return _obj + + diff --git a/instana_client/models/apdex_configuration.py b/instana_client/models/apdex_configuration.py index 0eb620a5..8d74b0f0 100644 --- a/instana_client/models/apdex_configuration.py +++ b/instana_client/models/apdex_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_configuration_input.py b/instana_client/models/apdex_configuration_input.py index 16403901..cd82f1ee 100644 --- a/instana_client/models/apdex_configuration_input.py +++ b/instana_client/models/apdex_configuration_input.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_entity.py b/instana_client/models/apdex_entity.py index 7669b8de..8d60332a 100644 --- a/instana_client/models/apdex_entity.py +++ b/instana_client/models/apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_level.py b/instana_client/models/apdex_level.py index eda3f2b1..f21e4a1b 100644 --- a/instana_client/models/apdex_level.py +++ b/instana_client/models/apdex_level.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_report.py b/instana_client/models/apdex_report.py index ddea6232..43ebc7d7 100644 --- a/instana_client/models/apdex_report.py +++ b/instana_client/models/apdex_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_create_group.py b/instana_client/models/api_create_group.py index b546b2ab..d7d55b50 100644 --- a/instana_client/models/api_create_group.py +++ b/instana_client/models/api_create_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_create_role.py b/instana_client/models/api_create_role.py index 3e4907b7..7b5f4f8c 100644 --- a/instana_client/models/api_create_role.py +++ b/instana_client/models/api_create_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_group.py b/instana_client/models/api_group.py index 96809417..b9c0f4eb 100644 --- a/instana_client/models/api_group.py +++ b/instana_client/models/api_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_member.py b/instana_client/models/api_member.py index 8db53aed..7f4fae98 100644 --- a/instana_client/models/api_member.py +++ b/instana_client/models/api_member.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_permission_set.py b/instana_client/models/api_permission_set.py index afa30a44..24f51b43 100644 --- a/instana_client/models/api_permission_set.py +++ b/instana_client/models/api_permission_set.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_restricted_application_filter.py b/instana_client/models/api_restricted_application_filter.py index 55ea9b3a..56cfaa4d 100644 --- a/instana_client/models/api_restricted_application_filter.py +++ b/instana_client/models/api_restricted_application_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_role.py b/instana_client/models/api_role.py index 6ac22175..9c57c19a 100644 --- a/instana_client/models/api_role.py +++ b/instana_client/models/api_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_tag.py b/instana_client/models/api_tag.py index 8912864d..a0d34544 100644 --- a/instana_client/models/api_tag.py +++ b/instana_client/models/api_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team.py b/instana_client/models/api_team.py index d88629ac..72766f85 100644 --- a/instana_client/models/api_team.py +++ b/instana_client/models/api_team.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_info.py b/instana_client/models/api_team_info.py index 274eed16..e8067cf0 100644 --- a/instana_client/models/api_team_info.py +++ b/instana_client/models/api_team_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_member.py b/instana_client/models/api_team_member.py index f263baf4..f3d89032 100644 --- a/instana_client/models/api_team_member.py +++ b/instana_client/models/api_team_member.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_role.py b/instana_client/models/api_team_role.py index 42eff56e..e4eb5931 100644 --- a/instana_client/models/api_team_role.py +++ b/instana_client/models/api_team_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_scope.py b/instana_client/models/api_team_scope.py index 4d38598d..2d0e7220 100644 --- a/instana_client/models/api_team_scope.py +++ b/instana_client/models/api_team_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_token.py b/instana_client/models/api_token.py index 9d458a6a..e98b5716 100644 --- a/instana_client/models/api_token.py +++ b/instana_client/models/api_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/app_data_metric_configuration.py b/instana_client/models/app_data_metric_configuration.py index ddc70971..0bb5c83a 100644 --- a/instana_client/models/app_data_metric_configuration.py +++ b/instana_client/models/app_data_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application.py b/instana_client/models/application.py index 6c806714..67806b43 100644 --- a/instana_client/models/application.py +++ b/instana_client/models/application.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_config.py b/instana_client/models/application_alert_config.py index c28fce0f..69acf953 100644 --- a/instana_client/models/application_alert_config.py +++ b/instana_client/models/application_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_config_with_metadata.py b/instana_client/models/application_alert_config_with_metadata.py index ac8131ac..48ac47b3 100644 --- a/instana_client/models/application_alert_config_with_metadata.py +++ b/instana_client/models/application_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_rule.py b/instana_client/models/application_alert_rule.py index d8d99eb2..2b017ea2 100644 --- a/instana_client/models/application_alert_rule.py +++ b/instana_client/models/application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_apdex_entity.py b/instana_client/models/application_apdex_entity.py index 4d90fcd9..c4592eda 100644 --- a/instana_client/models/application_apdex_entity.py +++ b/instana_client/models/application_apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_config.py b/instana_client/models/application_config.py index 0cc83548..3d2c76f0 100644 --- a/instana_client/models/application_config.py +++ b/instana_client/models/application_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_event_result.py b/instana_client/models/application_event_result.py index a3a9fbec..77050a68 100644 --- a/instana_client/models/application_event_result.py +++ b/instana_client/models/application_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class ApplicationEventResult(EventResult): ApplicationEventResult """ # noqa: E501 application_id: Optional[StrictStr] = Field(default=None, description="ID of the application.", alias="applicationId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "applicationId"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "applicationId": obj.get("applicationId") }) diff --git a/instana_client/models/application_item.py b/instana_client/models/application_item.py index 2b01d969..51281d5d 100644 --- a/instana_client/models/application_item.py +++ b/instana_client/models/application_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_metric_result.py b/instana_client/models/application_metric_result.py index 2d56aa10..6091fa4e 100644 --- a/instana_client/models/application_metric_result.py +++ b/instana_client/models/application_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_node.py b/instana_client/models/application_node.py index 67d10af2..b3ae9c73 100644 --- a/instana_client/models/application_node.py +++ b/instana_client/models/application_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_result.py b/instana_client/models/application_result.py index b7152a15..efc433bb 100644 --- a/instana_client/models/application_result.py +++ b/instana_client/models/application_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_scope.py b/instana_client/models/application_scope.py index 8d832ec6..b1ef5e03 100644 --- a/instana_client/models/application_scope.py +++ b/instana_client/models/application_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_scope_with_metadata.py b/instana_client/models/application_scope_with_metadata.py index 39077583..2e591ffe 100644 --- a/instana_client/models/application_scope_with_metadata.py +++ b/instana_client/models/application_scope_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_sli_entity.py b/instana_client/models/application_sli_entity.py index 5423d93b..62a6707c 100644 --- a/instana_client/models/application_sli_entity.py +++ b/instana_client/models/application_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_slo_entity.py b/instana_client/models/application_slo_entity.py index 1c76aad8..840e6fa9 100644 --- a/instana_client/models/application_slo_entity.py +++ b/instana_client/models/application_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_time_threshold.py b/instana_client/models/application_time_threshold.py index 2ef8aae0..e42510e7 100644 --- a/instana_client/models/application_time_threshold.py +++ b/instana_client/models/application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/audit_log_ui_response.py b/instana_client/models/audit_log_ui_response.py index c60b2150..b64ae411 100644 --- a/instana_client/models/audit_log_ui_response.py +++ b/instana_client/models/audit_log_ui_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/author.py b/instana_client/models/author.py index 815fc5bd..916e9dd2 100644 --- a/instana_client/models/author.py +++ b/instana_client/models/author.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/availability_blueprint_indicator.py b/instana_client/models/availability_blueprint_indicator.py index 4bd4182b..7d2d313c 100644 --- a/instana_client/models/availability_blueprint_indicator.py +++ b/instana_client/models/availability_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/availability_sli_entity.py b/instana_client/models/availability_sli_entity.py index cc637a94..d06c4ab7 100644 --- a/instana_client/models/availability_sli_entity.py +++ b/instana_client/models/availability_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/available_metrics.py b/instana_client/models/available_metrics.py index 95737b67..b2e235b9 100644 --- a/instana_client/models/available_metrics.py +++ b/instana_client/models/available_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/available_plugins.py b/instana_client/models/available_plugins.py index 93614fca..1e9f5a9c 100644 --- a/instana_client/models/available_plugins.py +++ b/instana_client/models/available_plugins.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/backend_trace_reference.py b/instana_client/models/backend_trace_reference.py index 5cb6459c..2ff26a66 100644 --- a/instana_client/models/backend_trace_reference.py +++ b/instana_client/models/backend_trace_reference.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bidirectional_ms_teams_app_integration.py b/instana_client/models/bidirectional_ms_teams_app_integration.py index a5b23cb9..ec8dde92 100644 --- a/instana_client/models/bidirectional_ms_teams_app_integration.py +++ b/instana_client/models/bidirectional_ms_teams_app_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bidirectional_slack_app_integration.py b/instana_client/models/bidirectional_slack_app_integration.py index 374cf1a5..d670aaf2 100644 --- a/instana_client/models/bidirectional_slack_app_integration.py +++ b/instana_client/models/bidirectional_slack_app_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/binary_operator_dto.py b/instana_client/models/binary_operator_dto.py index 482dd23f..3b7e160f 100644 --- a/instana_client/models/binary_operator_dto.py +++ b/instana_client/models/binary_operator_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/browser_script_configuration.py b/instana_client/models/browser_script_configuration.py index 25f4f047..67ed49f9 100644 --- a/instana_client/models/browser_script_configuration.py +++ b/instana_client/models/browser_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration from typing import Optional, Set @@ -32,11 +33,12 @@ class BrowserScriptConfiguration(SyntheticTypeConfiguration): """ # noqa: E501 browser: Optional[StrictStr] = None file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") script: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=1048576)]] = None script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") scripts: Optional[MultipleScriptsConfiguration] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script", "scriptType", "scripts"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "browser", "fileName", "github", "recordVideo", "script", "scriptType", "scripts"] @field_validator('browser') def browser_validate_enum(cls, value): @@ -97,6 +99,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() # override the default output from pydantic by calling `to_dict()` of scripts if self.scripts: _dict['scripts'] = self.scripts.to_dict() @@ -119,6 +124,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "timeout": obj.get("timeout"), "browser": obj.get("browser"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "recordVideo": obj.get("recordVideo"), "script": obj.get("script"), "scriptType": obj.get("scriptType"), diff --git a/instana_client/models/browser_script_configuration_update.py b/instana_client/models/browser_script_configuration_update.py index da9bed6a..106e60ef 100644 --- a/instana_client/models/browser_script_configuration_update.py +++ b/instana_client/models/browser_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate from typing import Optional, Set @@ -31,11 +32,12 @@ class BrowserScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): """ # noqa: E501 browser: Optional[StrictStr] = None file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") script: Optional[StrictStr] = None script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") scripts: Optional[MultipleScriptsConfiguration] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script", "scriptType", "scripts"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "github", "recordVideo", "script", "scriptType", "scripts"] @field_validator('browser') def browser_validate_enum(cls, value): @@ -96,6 +98,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() # override the default output from pydantic by calling `to_dict()` of scripts if self.scripts: _dict['scripts'] = self.scripts.to_dict() @@ -119,6 +124,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "timeout": obj.get("timeout"), "browser": obj.get("browser"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "recordVideo": obj.get("recordVideo"), "script": obj.get("script"), "scriptType": obj.get("scriptType"), diff --git a/instana_client/models/built_in_event_specification.py b/instana_client/models/built_in_event_specification.py index 56050aae..63094562 100644 --- a/instana_client/models/built_in_event_specification.py +++ b/instana_client/models/built_in_event_specification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/built_in_event_specification_with_last_updated.py b/instana_client/models/built_in_event_specification_with_last_updated.py index 2cb138c7..0423de59 100644 --- a/instana_client/models/built_in_event_specification_with_last_updated.py +++ b/instana_client/models/built_in_event_specification_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bulk_alert_config_request.py b/instana_client/models/bulk_alert_config_request.py index 6312e2c1..372859f7 100644 --- a/instana_client/models/bulk_alert_config_request.py +++ b/instana_client/models/bulk_alert_config_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/business_activity.py b/instana_client/models/business_activity.py index 1765743b..ae184936 100644 --- a/instana_client/models/business_activity.py +++ b/instana_client/models/business_activity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/business_perspective_config.py b/instana_client/models/business_perspective_config.py index 9f326636..1eebfbb6 100644 --- a/instana_client/models/business_perspective_config.py +++ b/instana_client/models/business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_groups_item.py b/instana_client/models/call_groups_item.py index c9b10687..2ff1882d 100644 --- a/instana_client/models/call_groups_item.py +++ b/instana_client/models/call_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_groups_result.py b/instana_client/models/call_groups_result.py index d98e4172..8b8faa73 100644 --- a/instana_client/models/call_groups_result.py +++ b/instana_client/models/call_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_relation.py b/instana_client/models/call_relation.py index 9fde79f4..727b5e71 100644 --- a/instana_client/models/call_relation.py +++ b/instana_client/models/call_relation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/change_summary.py b/instana_client/models/change_summary.py index 8306007e..6f44b023 100644 --- a/instana_client/models/change_summary.py +++ b/instana_client/models/change_summary.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cloudfoundry_physical_context.py b/instana_client/models/cloudfoundry_physical_context.py index 3af347be..d15d21c6 100644 --- a/instana_client/models/cloudfoundry_physical_context.py +++ b/instana_client/models/cloudfoundry_physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/condition.py b/instana_client/models/condition.py index adfa8a8f..5081d7a2 100644 --- a/instana_client/models/condition.py +++ b/instana_client/models/condition.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/config_version.py b/instana_client/models/config_version.py index 967a02c3..8c91f405 100644 --- a/instana_client/models/config_version.py +++ b/instana_client/models/config_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction.py b/instana_client/models/correction.py index b5868c47..c36def00 100644 --- a/instana_client/models/correction.py +++ b/instana_client/models/correction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_configuration.py b/instana_client/models/correction_configuration.py index 0f1ab684..3665c2fd 100644 --- a/instana_client/models/correction_configuration.py +++ b/instana_client/models/correction_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_scheduling.py b/instana_client/models/correction_scheduling.py index 63277603..07a15f08 100644 --- a/instana_client/models/correction_scheduling.py +++ b/instana_client/models/correction_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_window.py b/instana_client/models/correction_window.py index 4fae6576..bc4ddead 100644 --- a/instana_client/models/correction_window.py +++ b/instana_client/models/correction_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/crash_mobile_app_alert_rule.py b/instana_client/models/crash_mobile_app_alert_rule.py index f4f4d9f4..6a00bf92 100644 --- a/instana_client/models/crash_mobile_app_alert_rule.py +++ b/instana_client/models/crash_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/create_website_request_inner.py b/instana_client/models/create_website_request_inner.py index 29a05478..8b5537a1 100644 --- a/instana_client/models/create_website_request_inner.py +++ b/instana_client/models/create_website_request_inner.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_paginated_business_activity_item.py b/instana_client/models/cursor_paginated_business_activity_item.py index 28db88bb..7948b325 100644 --- a/instana_client/models/cursor_paginated_business_activity_item.py +++ b/instana_client/models/cursor_paginated_business_activity_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination.py b/instana_client/models/cursor_pagination.py index de64cd80..a6e55fb5 100644 --- a/instana_client/models/cursor_pagination.py +++ b/instana_client/models/cursor_pagination.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py index 67f6ecfc..6b6637d5 100644 --- a/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py +++ b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_blueprint_indicator.py b/instana_client/models/custom_blueprint_indicator.py index a1af3c67..cabb7837 100644 --- a/instana_client/models/custom_blueprint_indicator.py +++ b/instana_client/models/custom_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard.py b/instana_client/models/custom_dashboard.py index fca8ed71..cb01dbf7 100644 --- a/instana_client/models/custom_dashboard.py +++ b/instana_client/models/custom_dashboard.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard_preview.py b/instana_client/models/custom_dashboard_preview.py index ee6431e4..5770bffa 100644 --- a/instana_client/models/custom_dashboard_preview.py +++ b/instana_client/models/custom_dashboard_preview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard_with_user_specific_information.py b/instana_client/models/custom_dashboard_with_user_specific_information.py index 21654bd2..965142d9 100644 --- a/instana_client/models/custom_dashboard_with_user_specific_information.py +++ b/instana_client/models/custom_dashboard_with_user_specific_information.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dependency.py b/instana_client/models/custom_dependency.py index 696db547..c1708b49 100644 --- a/instana_client/models/custom_dependency.py +++ b/instana_client/models/custom_dependency.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_email_subject_prefix.py b/instana_client/models/custom_email_subject_prefix.py index 42756f32..471b3269 100644 --- a/instana_client/models/custom_email_subject_prefix.py +++ b/instana_client/models/custom_email_subject_prefix.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_entity_model.py b/instana_client/models/custom_entity_model.py index a0f6b383..f0890e91 100644 --- a/instana_client/models/custom_entity_model.py +++ b/instana_client/models/custom_entity_model.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_entity_with_metadata.py b/instana_client/models/custom_entity_with_metadata.py index ade1676c..ce8d45bf 100644 --- a/instana_client/models/custom_entity_with_metadata.py +++ b/instana_client/models/custom_entity_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_mobile_app_alert_rule.py b/instana_client/models/custom_event_mobile_app_alert_rule.py index 4f5e5c57..eb5de620 100644 --- a/instana_client/models/custom_event_mobile_app_alert_rule.py +++ b/instana_client/models/custom_event_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_specification.py b/instana_client/models/custom_event_specification.py index a5e02215..90c04cc9 100644 --- a/instana_client/models/custom_event_specification.py +++ b/instana_client/models/custom_event_specification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_specification_with_last_updated.py b/instana_client/models/custom_event_specification_with_last_updated.py index 7433a57f..ba546475 100644 --- a/instana_client/models/custom_event_specification_with_last_updated.py +++ b/instana_client/models/custom_event_specification_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_website_alert_rule.py b/instana_client/models/custom_event_website_alert_rule.py index 1f63e434..0018f475 100644 --- a/instana_client/models/custom_event_website_alert_rule.py +++ b/instana_client/models/custom_event_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_metric.py b/instana_client/models/custom_metric.py index 0651a34c..81c2db67 100644 --- a/instana_client/models/custom_metric.py +++ b/instana_client/models/custom_metric.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_configuration.py b/instana_client/models/custom_payload_configuration.py index d87322cd..cd5aaa7b 100644 --- a/instana_client/models/custom_payload_configuration.py +++ b/instana_client/models/custom_payload_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_field.py b/instana_client/models/custom_payload_field.py index d2b810da..78006256 100644 --- a/instana_client/models/custom_payload_field.py +++ b/instana_client/models/custom_payload_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_with_last_updated.py b/instana_client/models/custom_payload_with_last_updated.py index 7759e48f..e607fe70 100644 --- a/instana_client/models/custom_payload_with_last_updated.py +++ b/instana_client/models/custom_payload_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_with_version.py b/instana_client/models/custom_payload_with_version.py index 2fb3a28d..64e24a8d 100644 --- a/instana_client/models/custom_payload_with_version.py +++ b/instana_client/models/custom_payload_with_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_tag.py b/instana_client/models/custom_tag.py index c4056e8b..2032c934 100644 --- a/instana_client/models/custom_tag.py +++ b/instana_client/models/custom_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dashboard_api_token.py b/instana_client/models/dashboard_api_token.py index 38c36e34..76d3bfa8 100644 --- a/instana_client/models/dashboard_api_token.py +++ b/instana_client/models/dashboard_api_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/database_integration.py b/instana_client/models/database_integration.py index 965dcb9a..b954fdf9 100644 --- a/instana_client/models/database_integration.py +++ b/instana_client/models/database_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/deprecated_tag_filter.py b/instana_client/models/deprecated_tag_filter.py index 76e852a5..a09ed765 100644 --- a/instana_client/models/deprecated_tag_filter.py +++ b/instana_client/models/deprecated_tag_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_configuration.py b/instana_client/models/dns_configuration.py index 8cc51887..353c3e9e 100644 --- a/instana_client/models/dns_configuration.py +++ b/instana_client/models/dns_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_configuration_update.py b/instana_client/models/dns_configuration_update.py index 1e60cf41..08af340f 100644 --- a/instana_client/models/dns_configuration_update.py +++ b/instana_client/models/dns_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_filter_query_time.py b/instana_client/models/dns_filter_query_time.py index 83d94efa..9c1533d7 100644 --- a/instana_client/models/dns_filter_query_time.py +++ b/instana_client/models/dns_filter_query_time.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_filter_target_value.py b/instana_client/models/dns_filter_target_value.py index 0d9e6b76..1e550e78 100644 --- a/instana_client/models/dns_filter_target_value.py +++ b/instana_client/models/dns_filter_target_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/duration.py b/instana_client/models/duration.py index 429e2fbc..79411214 100644 --- a/instana_client/models/duration.py +++ b/instana_client/models/duration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_field.py b/instana_client/models/dynamic_field.py index b5021871..00dd00b4 100644 --- a/instana_client/models/dynamic_field.py +++ b/instana_client/models/dynamic_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_field_value.py b/instana_client/models/dynamic_field_value.py index f52bb2cb..ab6349d1 100644 --- a/instana_client/models/dynamic_field_value.py +++ b/instana_client/models/dynamic_field_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_parameter.py b/instana_client/models/dynamic_parameter.py index 09c38f97..9782f085 100644 --- a/instana_client/models/dynamic_parameter.py +++ b/instana_client/models/dynamic_parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_tag.py b/instana_client/models/dynamic_tag.py index fbb771a2..ecf72eef 100644 --- a/instana_client/models/dynamic_tag.py +++ b/instana_client/models/dynamic_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/edit_user.py b/instana_client/models/edit_user.py index a2a723e4..0e5657a1 100644 --- a/instana_client/models/edit_user.py +++ b/instana_client/models/edit_user.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/email_integration.py b/instana_client/models/email_integration.py index f230057d..7021e762 100644 --- a/instana_client/models/email_integration.py +++ b/instana_client/models/email_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/empty_configuration.py b/instana_client/models/empty_configuration.py index c3859dba..c6895630 100644 --- a/instana_client/models/empty_configuration.py +++ b/instana_client/models/empty_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint.py b/instana_client/models/endpoint.py index 8adb747d..244af15e 100644 --- a/instana_client/models/endpoint.py +++ b/instana_client/models/endpoint.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_config.py b/instana_client/models/endpoint_config.py index 43218fec..327fff08 100644 --- a/instana_client/models/endpoint_config.py +++ b/instana_client/models/endpoint_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_event_result.py b/instana_client/models/endpoint_event_result.py index ae91978a..2673eb18 100644 --- a/instana_client/models/endpoint_event_result.py +++ b/instana_client/models/endpoint_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class EndpointEventResult(EventResult): application_id: Optional[StrictStr] = Field(default=None, description="ID of the application this endpoint is in scope of.", alias="applicationId") endpoint_id: Optional[StrictStr] = Field(default=None, description="ID of the endpoint.", alias="endpointId") endpoint_service_id: Optional[StrictStr] = Field(default=None, description="ID service related to this endpoint.", alias="endpointServiceId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId", "endpointId", "endpointServiceId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "applicationId", "endpointId", "endpointServiceId"] model_config = ConfigDict( populate_by_name=True, @@ -92,6 +92,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -101,6 +102,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "applicationId": obj.get("applicationId"), "endpointId": obj.get("endpointId"), diff --git a/instana_client/models/endpoint_item.py b/instana_client/models/endpoint_item.py index defcee2e..d1e39fe9 100644 --- a/instana_client/models/endpoint_item.py +++ b/instana_client/models/endpoint_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_metric_result.py b/instana_client/models/endpoint_metric_result.py index fda35c5e..40ccba59 100644 --- a/instana_client/models/endpoint_metric_result.py +++ b/instana_client/models/endpoint_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_node.py b/instana_client/models/endpoint_node.py index 7940bbd7..5c819b15 100644 --- a/instana_client/models/endpoint_node.py +++ b/instana_client/models/endpoint_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_result.py b/instana_client/models/endpoint_result.py index bfce305d..4f3a3eaa 100644 --- a/instana_client/models/endpoint_result.py +++ b/instana_client/models/endpoint_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_simple.py b/instana_client/models/endpoint_simple.py index 0a7ba0e2..a622b2cb 100644 --- a/instana_client/models/endpoint_simple.py +++ b/instana_client/models/endpoint_simple.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_count_rule.py b/instana_client/models/entity_count_rule.py index b2b42c6c..e4ba0f57 100644 --- a/instana_client/models/entity_count_rule.py +++ b/instana_client/models/entity_count_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_count_verification_rule.py b/instana_client/models/entity_count_verification_rule.py index d6d6eb93..987fdfb3 100644 --- a/instana_client/models/entity_count_verification_rule.py +++ b/instana_client/models/entity_count_verification_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_health_info.py b/instana_client/models/entity_health_info.py index 2e8419b9..fb839d8e 100644 --- a/instana_client/models/entity_health_info.py +++ b/instana_client/models/entity_health_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_id.py b/instana_client/models/entity_id.py index 65feefaa..bbdf14e0 100644 --- a/instana_client/models/entity_id.py +++ b/instana_client/models/entity_id.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_verification_rule.py b/instana_client/models/entity_verification_rule.py index 9c94f0f5..d06048ad 100644 --- a/instana_client/models/entity_verification_rule.py +++ b/instana_client/models/entity_verification_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/error_budget_alert_rule.py b/instana_client/models/error_budget_alert_rule.py index 85420080..15b4f4ea 100644 --- a/instana_client/models/error_budget_alert_rule.py +++ b/instana_client/models/error_budget_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/errors_application_alert_rule.py b/instana_client/models/errors_application_alert_rule.py index d288a53c..c5a2122f 100644 --- a/instana_client/models/errors_application_alert_rule.py +++ b/instana_client/models/errors_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event.py b/instana_client/models/event.py index 091f490e..19324ed1 100644 --- a/instana_client/models/event.py +++ b/instana_client/models/event.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event_filtering_configuration.py b/instana_client/models/event_filtering_configuration.py index bb1c5e61..b0501b93 100644 --- a/instana_client/models/event_filtering_configuration.py +++ b/instana_client/models/event_filtering_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event_result.py b/instana_client/models/event_result.py index bd09ffce..fa7035cf 100644 --- a/instana_client/models/event_result.py +++ b/instana_client/models/event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -47,6 +47,7 @@ class EventResult(BaseModel): event_id: Optional[StrictStr] = Field(default=None, description="ID of this Event.", alias="eventId") event_specification_id: Optional[StrictStr] = Field(default=None, description="ID of the configuration that created this event.", alias="eventSpecificationId") fix_suggestion: Optional[StrictStr] = Field(default=None, description="Details of the event.", alias="fixSuggestion") + metadata: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, description="Additional event meta data.") metrics: Optional[List[Dict[str, Dict[str, Any]]]] = Field(default=None, description="List of metrics associated with the Event.") probable_cause: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, description="Metadata of the probable root cause for this event. Only present in case of specific \"Incident\" type events.", alias="probableCause") problem: Optional[StrictStr] = Field(default=None, description="Main problem title of the Event.") @@ -56,8 +57,9 @@ class EventResult(BaseModel): snapshot_id: Optional[StrictStr] = Field(default=None, description="The snapshot ID of the affected entity of this event.", alias="snapshotId") start: Optional[StrictInt] = Field(default=None, description="A Unix timestamp representing the start time of the Event.") state: Optional[StrictStr] = Field(default=None, description="The state of the Event, \"open\" or \"close\". ") + triggering_event_id: Optional[StrictStr] = Field(default=None, description="The triggering event ID in case of an incident.", alias="triggeringEventId") type: Optional[StrictStr] = Field(default=None, description="The type of Event.") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type"] model_config = ConfigDict( populate_by_name=True, diff --git a/instana_client/models/event_specification_info.py b/instana_client/models/event_specification_info.py index 5e3d19bc..a9130a1a 100644 --- a/instana_client/models/event_specification_info.py +++ b/instana_client/models/event_specification_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/extended_service.py b/instana_client/models/extended_service.py index eb10419b..090750cf 100644 --- a/instana_client/models/extended_service.py +++ b/instana_client/models/extended_service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/failure_synthetic_alert_rule.py b/instana_client/models/failure_synthetic_alert_rule.py index d569c5d3..3ad3a79e 100644 --- a/instana_client/models/failure_synthetic_alert_rule.py +++ b/instana_client/models/failure_synthetic_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/fixed_http_path_segment_matching_rule.py b/instana_client/models/fixed_http_path_segment_matching_rule.py index baf61f6f..811d9066 100644 --- a/instana_client/models/fixed_http_path_segment_matching_rule.py +++ b/instana_client/models/fixed_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/fixed_time_window.py b/instana_client/models/fixed_time_window.py index 6bbf58ac..9e820b2a 100644 --- a/instana_client/models/fixed_time_window.py +++ b/instana_client/models/fixed_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/generic_infra_alert_rule.py b/instana_client/models/generic_infra_alert_rule.py index 9937357c..2b2ee642 100644 --- a/instana_client/models/generic_infra_alert_rule.py +++ b/instana_client/models/generic_infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_location_configuration.py b/instana_client/models/geo_location_configuration.py index c54effb2..63768bc1 100644 --- a/instana_client/models/geo_location_configuration.py +++ b/instana_client/models/geo_location_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_mapping_rule.py b/instana_client/models/geo_mapping_rule.py index a3deea2d..8cda3dcb 100644 --- a/instana_client/models/geo_mapping_rule.py +++ b/instana_client/models/geo_mapping_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_subdivision.py b/instana_client/models/geo_subdivision.py index 0652a23f..531a44ef 100644 --- a/instana_client/models/geo_subdivision.py +++ b/instana_client/models/geo_subdivision.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_action_beacons_result.py b/instana_client/models/get_action_beacons_result.py index 8860919a..7a7e16ff 100644 --- a/instana_client/models/get_action_beacons_result.py +++ b/instana_client/models/get_action_beacons_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_activities.py b/instana_client/models/get_activities.py index 4141d409..bfece559 100644 --- a/instana_client/models/get_activities.py +++ b/instana_client/models/get_activities.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_application_metrics.py b/instana_client/models/get_application_metrics.py index 8254f91f..7c2ea43d 100644 --- a/instana_client/models/get_application_metrics.py +++ b/instana_client/models/get_application_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_applications.py b/instana_client/models/get_applications.py index 334a9bcf..699078d4 100644 --- a/instana_client/models/get_applications.py +++ b/instana_client/models/get_applications.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_available_metrics_query.py b/instana_client/models/get_available_metrics_query.py index eb68cf71..764d2a06 100644 --- a/instana_client/models/get_available_metrics_query.py +++ b/instana_client/models/get_available_metrics_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_available_plugins_query.py b/instana_client/models/get_available_plugins_query.py index 48d9458e..01f0d4b9 100644 --- a/instana_client/models/get_available_plugins_query.py +++ b/instana_client/models/get_available_plugins_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_call_groups.py b/instana_client/models/get_call_groups.py index 3ec7fa61..cccdbdfd 100644 --- a/instana_client/models/get_call_groups.py +++ b/instana_client/models/get_call_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_combined_metrics.py b/instana_client/models/get_combined_metrics.py index a4daac13..92538680 100644 --- a/instana_client/models/get_combined_metrics.py +++ b/instana_client/models/get_combined_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_dynamic_parameter_values.py b/instana_client/models/get_dynamic_parameter_values.py index 943cae0c..7dccc3c6 100644 --- a/instana_client/models/get_dynamic_parameter_values.py +++ b/instana_client/models/get_dynamic_parameter_values.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_endpoints.py b/instana_client/models/get_endpoints.py index 989dd98d..b850e199 100644 --- a/instana_client/models/get_endpoints.py +++ b/instana_client/models/get_endpoints.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_infrastructure_groups_query.py b/instana_client/models/get_infrastructure_groups_query.py index 3ffa8362..75845da1 100644 --- a/instana_client/models/get_infrastructure_groups_query.py +++ b/instana_client/models/get_infrastructure_groups_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_infrastructure_query.py b/instana_client/models/get_infrastructure_query.py index bc9d8700..5a68e13e 100644 --- a/instana_client/models/get_infrastructure_query.py +++ b/instana_client/models/get_infrastructure_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_metrics_result.py b/instana_client/models/get_metrics_result.py index 4b05fef6..4a331c5e 100644 --- a/instana_client/models/get_metrics_result.py +++ b/instana_client/models/get_metrics_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_beacon_groups.py b/instana_client/models/get_mobile_app_beacon_groups.py index a00dfe18..8cef992d 100644 --- a/instana_client/models/get_mobile_app_beacon_groups.py +++ b/instana_client/models/get_mobile_app_beacon_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_beacons.py b/instana_client/models/get_mobile_app_beacons.py index c8cfa755..49dc446a 100644 --- a/instana_client/models/get_mobile_app_beacons.py +++ b/instana_client/models/get_mobile_app_beacons.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_metrics.py b/instana_client/models/get_mobile_app_metrics.py index e3118adb..62436ba7 100644 --- a/instana_client/models/get_mobile_app_metrics.py +++ b/instana_client/models/get_mobile_app_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_metrics_v2.py b/instana_client/models/get_mobile_app_metrics_v2.py index dec779df..eacfc711 100644 --- a/instana_client/models/get_mobile_app_metrics_v2.py +++ b/instana_client/models/get_mobile_app_metrics_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_payload_keys_result.py b/instana_client/models/get_payload_keys_result.py index 6271375e..67267d26 100644 --- a/instana_client/models/get_payload_keys_result.py +++ b/instana_client/models/get_payload_keys_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_services.py b/instana_client/models/get_services.py index d32fbc1e..38115df0 100644 --- a/instana_client/models/get_services.py +++ b/instana_client/models/get_services.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_session_replay_metadata_result.py b/instana_client/models/get_session_replay_metadata_result.py index b9c3440b..8df5eb75 100644 --- a/instana_client/models/get_session_replay_metadata_result.py +++ b/instana_client/models/get_session_replay_metadata_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_snapshots_query.py b/instana_client/models/get_snapshots_query.py index 06c4a71a..b60cde39 100644 --- a/instana_client/models/get_snapshots_query.py +++ b/instana_client/models/get_snapshots_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result.py b/instana_client/models/get_test_result.py index 4875189c..d27642c2 100644 --- a/instana_client/models/get_test_result.py +++ b/instana_client/models/get_test_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_analytic.py b/instana_client/models/get_test_result_analytic.py index 977ac151..ad875f09 100644 --- a/instana_client/models/get_test_result_analytic.py +++ b/instana_client/models/get_test_result_analytic.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_base.py b/instana_client/models/get_test_result_base.py index 6ec924e4..51b79bed 100644 --- a/instana_client/models/get_test_result_base.py +++ b/instana_client/models/get_test_result_base.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_list.py b/instana_client/models/get_test_result_list.py index f4835a8d..a89a3bf5 100644 --- a/instana_client/models/get_test_result_list.py +++ b/instana_client/models/get_test_result_list.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_summary_result.py b/instana_client/models/get_test_summary_result.py index e9080e6b..5d7ed5c4 100644 --- a/instana_client/models/get_test_summary_result.py +++ b/instana_client/models/get_test_summary_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_trace_download_result_item.py b/instana_client/models/get_trace_download_result_item.py index bfca1639..2532654c 100644 --- a/instana_client/models/get_trace_download_result_item.py +++ b/instana_client/models/get_trace_download_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_trace_groups.py b/instana_client/models/get_trace_groups.py index edf152d9..e9b62019 100644 --- a/instana_client/models/get_trace_groups.py +++ b/instana_client/models/get_trace_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_traces.py b/instana_client/models/get_traces.py index 3514b4a8..a23a7299 100644 --- a/instana_client/models/get_traces.py +++ b/instana_client/models/get_traces.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_beacon_groups.py b/instana_client/models/get_website_beacon_groups.py index f589da51..cf443a76 100644 --- a/instana_client/models/get_website_beacon_groups.py +++ b/instana_client/models/get_website_beacon_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_beacons.py b/instana_client/models/get_website_beacons.py index ed733c2e..11cb4ef6 100644 --- a/instana_client/models/get_website_beacons.py +++ b/instana_client/models/get_website_beacons.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_metrics.py b/instana_client/models/get_website_metrics.py index 4c6015c1..49b24159 100644 --- a/instana_client/models/get_website_metrics.py +++ b/instana_client/models/get_website_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_metrics_v2.py b/instana_client/models/get_website_metrics_v2.py index f01cdbc5..c26dbc72 100644 --- a/instana_client/models/get_website_metrics_v2.py +++ b/instana_client/models/get_website_metrics_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/git_hub_configuration.py b/instana_client/models/git_hub_configuration.py new file mode 100644 index 00000000..a61c8525 --- /dev/null +++ b/instana_client/models/git_hub_configuration.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GitHubConfiguration(BaseModel): + """ + GitHubConfiguration + """ # noqa: E501 + branch_name: StrictStr = Field(alias="branchName") + credential_name: Optional[StrictStr] = Field(default=None, alias="credentialName") + script_file: Optional[StrictStr] = Field(default=None, alias="scriptFile") + url: StrictStr + __properties: ClassVar[List[str]] = ["branchName", "credentialName", "scriptFile", "url"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GitHubConfiguration from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GitHubConfiguration from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "branchName": obj.get("branchName"), + "credentialName": obj.get("credentialName"), + "scriptFile": obj.get("scriptFile"), + "url": obj.get("url") + }) + return _obj + + diff --git a/instana_client/models/global_application_alert_config_with_metadata.py b/instana_client/models/global_application_alert_config_with_metadata.py index d010bc73..f7335b2d 100644 --- a/instana_client/models/global_application_alert_config_with_metadata.py +++ b/instana_client/models/global_application_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/global_applications_alert_config.py b/instana_client/models/global_applications_alert_config.py index 007e68b5..5f5100d3 100644 --- a/instana_client/models/global_applications_alert_config.py +++ b/instana_client/models/global_applications_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/google_chat_integration.py b/instana_client/models/google_chat_integration.py index 4622fdf3..4a2705f6 100644 --- a/instana_client/models/google_chat_integration.py +++ b/instana_client/models/google_chat_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/graph_edge.py b/instana_client/models/graph_edge.py index a5f27657..a3d81a2b 100644 --- a/instana_client/models/graph_edge.py +++ b/instana_client/models/graph_edge.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/graph_node.py b/instana_client/models/graph_node.py index db7d838c..8f62d8a5 100644 --- a/instana_client/models/graph_node.py +++ b/instana_client/models/graph_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group.py b/instana_client/models/group.py index 9bc4b9c3..7f55ea22 100644 --- a/instana_client/models/group.py +++ b/instana_client/models/group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_by_tag.py b/instana_client/models/group_by_tag.py index 1efa5c88..25fcd431 100644 --- a/instana_client/models/group_by_tag.py +++ b/instana_client/models/group_by_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_mapping.py b/instana_client/models/group_mapping.py index eec82238..8b35e340 100644 --- a/instana_client/models/group_mapping.py +++ b/instana_client/models/group_mapping.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_mapping_overview.py b/instana_client/models/group_mapping_overview.py index bdcaf95d..3c8685b3 100644 --- a/instana_client/models/group_mapping_overview.py +++ b/instana_client/models/group_mapping_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/health_state.py b/instana_client/models/health_state.py index 07fb24c5..1f1f69d6 100644 --- a/instana_client/models/health_state.py +++ b/instana_client/models/health_state.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/historic_baseline.py b/instana_client/models/historic_baseline.py index e3197619..74337ea0 100644 --- a/instana_client/models/historic_baseline.py +++ b/instana_client/models/historic_baseline.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/host_availability_rule.py b/instana_client/models/host_availability_rule.py index 66bf02b6..dc14d600 100644 --- a/instana_client/models/host_availability_rule.py +++ b/instana_client/models/host_availability_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_action_configuration.py b/instana_client/models/http_action_configuration.py index 7d0d1508..d5f96662 100644 --- a/instana_client/models/http_action_configuration.py +++ b/instana_client/models/http_action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_action_configuration_update.py b/instana_client/models/http_action_configuration_update.py index a5ae39f8..5eaa9308 100644 --- a/instana_client/models/http_action_configuration_update.py +++ b/instana_client/models/http_action_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_endpoint_config.py b/instana_client/models/http_endpoint_config.py index c0fbc0c4..b777dbce 100644 --- a/instana_client/models/http_endpoint_config.py +++ b/instana_client/models/http_endpoint_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_endpoint_rule.py b/instana_client/models/http_endpoint_rule.py index b639d9d8..801c9c3b 100644 --- a/instana_client/models/http_endpoint_rule.py +++ b/instana_client/models/http_endpoint_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_path_segment_matching_rule.py b/instana_client/models/http_path_segment_matching_rule.py index 26890558..f6176185 100644 --- a/instana_client/models/http_path_segment_matching_rule.py +++ b/instana_client/models/http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_script_configuration.py b/instana_client/models/http_script_configuration.py index bd91f488..c73609c5 100644 --- a/instana_client/models/http_script_configuration.py +++ b/instana_client/models/http_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from pydantic import ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration from typing import Optional, Set @@ -31,10 +32,11 @@ class HttpScriptConfiguration(SyntheticTypeConfiguration): HttpScriptConfiguration """ # noqa: E501 file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None script: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=1048576)]] = None script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") scripts: Optional[MultipleScriptsConfiguration] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "fileName", "script", "scriptType", "scripts"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "fileName", "github", "script", "scriptType", "scripts"] @field_validator('script_type') def script_type_validate_enum(cls, value): @@ -85,6 +87,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() # override the default output from pydantic by calling `to_dict()` of scripts if self.scripts: _dict['scripts'] = self.scripts.to_dict() @@ -106,6 +111,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "syntheticType": obj.get("syntheticType"), "timeout": obj.get("timeout"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "script": obj.get("script"), "scriptType": obj.get("scriptType"), "scripts": MultipleScriptsConfiguration.from_dict(obj["scripts"]) if obj.get("scripts") is not None else None diff --git a/instana_client/models/http_script_configuration_update.py b/instana_client/models/http_script_configuration_update.py index e26be578..a1c68295 100644 --- a/instana_client/models/http_script_configuration_update.py +++ b/instana_client/models/http_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate from typing import Optional, Set @@ -30,10 +31,11 @@ class HttpScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): HttpScriptConfigurationUpdate """ # noqa: E501 file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None script: Optional[StrictStr] = None script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") scripts: Optional[MultipleScriptsConfiguration] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "fileName", "script", "scriptType", "scripts"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "fileName", "github", "script", "scriptType", "scripts"] @field_validator('script_type') def script_type_validate_enum(cls, value): @@ -84,6 +86,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() # override the default output from pydantic by calling `to_dict()` of scripts if self.scripts: _dict['scripts'] = self.scripts.to_dict() @@ -106,6 +111,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "syntheticType": obj.get("syntheticType"), "timeout": obj.get("timeout"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "script": obj.get("script"), "scriptType": obj.get("scriptType"), "scripts": MultipleScriptsConfiguration.from_dict(obj["scripts"]) if obj.get("scripts") is not None else None diff --git a/instana_client/models/hyper_param.py b/instana_client/models/hyper_param.py index 2134d149..c2694751 100644 --- a/instana_client/models/hyper_param.py +++ b/instana_client/models/hyper_param.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_configuration.py b/instana_client/models/icmp_configuration.py index e2bb04c1..c25d5465 100644 --- a/instana_client/models/icmp_configuration.py +++ b/instana_client/models/icmp_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_configuration_update.py b/instana_client/models/icmp_configuration_update.py index 7c7ba011..eba18b1e 100644 --- a/instana_client/models/icmp_configuration_update.py +++ b/instana_client/models/icmp_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_validation.py b/instana_client/models/icmp_validation.py index 39f6dcc7..14f9df61 100644 --- a/instana_client/models/icmp_validation.py +++ b/instana_client/models/icmp_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/identity_provider_patch.py b/instana_client/models/identity_provider_patch.py index 88b04081..c081fced 100644 --- a/instana_client/models/identity_provider_patch.py +++ b/instana_client/models/identity_provider_patch.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/idp_status_update.py b/instana_client/models/idp_status_update.py index 37c8be2e..cb2ed697 100644 --- a/instana_client/models/idp_status_update.py +++ b/instana_client/models/idp_status_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/impacted_beacon_info.py b/instana_client/models/impacted_beacon_info.py index b81316e4..77037152 100644 --- a/instana_client/models/impacted_beacon_info.py +++ b/instana_client/models/impacted_beacon_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_config.py b/instana_client/models/infra_alert_config.py index b9939c18..ccf600da 100644 --- a/instana_client/models/infra_alert_config.py +++ b/instana_client/models/infra_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_config_with_metadata.py b/instana_client/models/infra_alert_config_with_metadata.py index 2d710d30..a0892466 100644 --- a/instana_client/models/infra_alert_config_with_metadata.py +++ b/instana_client/models/infra_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_rule.py b/instana_client/models/infra_alert_rule.py index 2275baa4..ad12b617 100644 --- a/instana_client/models/infra_alert_rule.py +++ b/instana_client/models/infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_event_result.py b/instana_client/models/infra_event_result.py index e2f9d58a..0422b05b 100644 --- a/instana_client/models/infra_event_result.py +++ b/instana_client/models/infra_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class InfraEventResult(EventResult): """ # noqa: E501 ibm_mq_file_transfer: Optional[List[Dict[str, Dict[str, Any]]]] = Field(default=None, description="IBM MQ file transfer information, if relevant for this entity and event.", alias="ibmMqFileTransfer") snapshot_id: Optional[StrictStr] = Field(default=None, description="ID of the snapshot.", alias="snapshotId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "ibmMqFileTransfer"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "ibmMqFileTransfer"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -100,6 +101,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "ibmMqFileTransfer": obj.get("ibmMqFileTransfer") }) diff --git a/instana_client/models/infra_slo_entity.py b/instana_client/models/infra_slo_entity.py index ccae0af1..73fac9fd 100644 --- a/instana_client/models/infra_slo_entity.py +++ b/instana_client/models/infra_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_time_threshold.py b/instana_client/models/infra_time_threshold.py index 1418841e..6f0779ca 100644 --- a/instana_client/models/infra_time_threshold.py +++ b/instana_client/models/infra_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_entities_result.py b/instana_client/models/infrastructure_entities_result.py index a025dbf5..e5330e7d 100644 --- a/instana_client/models/infrastructure_entities_result.py +++ b/instana_client/models/infrastructure_entities_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_group.py b/instana_client/models/infrastructure_group.py index 6be32344..1e45134a 100644 --- a/instana_client/models/infrastructure_group.py +++ b/instana_client/models/infrastructure_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,11 +27,12 @@ class InfrastructureGroup(BaseModel): """ group of infrastructure entities """ # noqa: E501 + adjusted_granularities: Optional[Dict[str, StrictInt]] = Field(default=None, description="map of metric keys to their adjusted granularity (in milliseconds)", alias="adjustedGranularities") count: Optional[StrictInt] = Field(default=None, description="number of entities in this group") metrics: Optional[Dict[str, List[List[Union[StrictFloat, StrictInt]]]]] = Field(default=None, description="map of metric keys to array of timestamp,value pairs") poll_rate: Optional[StrictInt] = Field(default=None, description="max poll rate across this group", alias="pollRate") tags: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, description="tag keys and values for this group") - __properties: ClassVar[List[str]] = ["count", "metrics", "pollRate", "tags"] + __properties: ClassVar[List[str]] = ["adjustedGranularities", "count", "metrics", "pollRate", "tags"] model_config = ConfigDict( populate_by_name=True, @@ -84,6 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "adjustedGranularities": obj.get("adjustedGranularities"), "count": obj.get("count"), "metrics": obj.get("metrics"), "pollRate": obj.get("pollRate"), diff --git a/instana_client/models/infrastructure_groups_result.py b/instana_client/models/infrastructure_groups_result.py index f4f62cd7..c9f0f23c 100644 --- a/instana_client/models/infrastructure_groups_result.py +++ b/instana_client/models/infrastructure_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_item.py b/instana_client/models/infrastructure_item.py index 30484e06..759b1003 100644 --- a/instana_client/models/infrastructure_item.py +++ b/instana_client/models/infrastructure_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -28,6 +28,7 @@ class InfrastructureItem(BaseModel): """ InfrastructureItem """ # noqa: E501 + adjusted_granularities: Optional[Dict[str, StrictInt]] = Field(default=None, description="map of metric keys to their adjusted granularity (in milliseconds)", alias="adjustedGranularities") entity_health_info: Optional[EntityHealthInfo] = Field(default=None, alias="entityHealthInfo") label: Optional[StrictStr] = None metrics: Optional[Dict[str, List[List[Union[StrictFloat, StrictInt]]]]] = None @@ -35,7 +36,7 @@ class InfrastructureItem(BaseModel): snapshot_id: Optional[StrictStr] = Field(default=None, alias="snapshotId") tags: Optional[Dict[str, StrictStr]] = None time: Optional[StrictInt] = Field(default=None, description="Epoch time in milliseconds if the snapshot is offline. Set to 9223372036854775807 if the snapshot is online.") - __properties: ClassVar[List[str]] = ["entityHealthInfo", "label", "metrics", "plugin", "snapshotId", "tags", "time"] + __properties: ClassVar[List[str]] = ["adjustedGranularities", "entityHealthInfo", "label", "metrics", "plugin", "snapshotId", "tags", "time"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +92,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "adjustedGranularities": obj.get("adjustedGranularities"), "entityHealthInfo": EntityHealthInfo.from_dict(obj["entityHealthInfo"]) if obj.get("entityHealthInfo") is not None else None, "label": obj.get("label"), "metrics": obj.get("metrics"), diff --git a/instana_client/models/infrastructure_metric_result.py b/instana_client/models/infrastructure_metric_result.py index 83b6b461..22637ddb 100644 --- a/instana_client/models/infrastructure_metric_result.py +++ b/instana_client/models/infrastructure_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/instana_version_info.py b/instana_client/models/instana_version_info.py index 11c2fb42..405298f2 100644 --- a/instana_client/models/instana_version_info.py +++ b/instana_client/models/instana_version_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/integration_overview.py b/instana_client/models/integration_overview.py index 4a673f58..b5539d70 100644 --- a/instana_client/models/integration_overview.py +++ b/instana_client/models/integration_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation.py b/instana_client/models/invitation.py index 660e1600..f136335d 100644 --- a/instana_client/models/invitation.py +++ b/instana_client/models/invitation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation_response.py b/instana_client/models/invitation_response.py index 458e6269..18b5f185 100644 --- a/instana_client/models/invitation_response.py +++ b/instana_client/models/invitation_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation_result.py b/instana_client/models/invitation_result.py index db474505..d66b5285 100644 --- a/instana_client/models/invitation_result.py +++ b/instana_client/models/invitation_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering.py b/instana_client/models/ip_filtering.py index 68c6bb6b..87b354f8 100644 --- a/instana_client/models/ip_filtering.py +++ b/instana_client/models/ip_filtering.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering_rule_dto.py b/instana_client/models/ip_filtering_rule_dto.py index 2abab73d..147dcf25 100644 --- a/instana_client/models/ip_filtering_rule_dto.py +++ b/instana_client/models/ip_filtering_rule_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering_upsert.py b/instana_client/models/ip_filtering_upsert.py index f8321975..d3b0a9b4 100644 --- a/instana_client/models/ip_filtering_upsert.py +++ b/instana_client/models/ip_filtering_upsert.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_masking_configuration.py b/instana_client/models/ip_masking_configuration.py index e36c8e63..2cb842a4 100644 --- a/instana_client/models/ip_masking_configuration.py +++ b/instana_client/models/ip_masking_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/js_stack_trace_line.py b/instana_client/models/js_stack_trace_line.py index 87b40ea2..9983711f 100644 --- a/instana_client/models/js_stack_trace_line.py +++ b/instana_client/models/js_stack_trace_line.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/kubernetes_physical_context.py b/instana_client/models/kubernetes_physical_context.py index 5853d97f..7504b7cd 100644 --- a/instana_client/models/kubernetes_physical_context.py +++ b/instana_client/models/kubernetes_physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/latency_blueprint_indicator.py b/instana_client/models/latency_blueprint_indicator.py index ea1aa5c3..511ad0b7 100644 --- a/instana_client/models/latency_blueprint_indicator.py +++ b/instana_client/models/latency_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_egress_gateway.py b/instana_client/models/llm_egress_gateway.py index 292e9f5d..abf8ded8 100644 --- a/instana_client/models/llm_egress_gateway.py +++ b/instana_client/models/llm_egress_gateway.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_capability.py b/instana_client/models/llm_gateway_capability.py index 048ea33d..0ff38cb4 100644 --- a/instana_client/models/llm_gateway_capability.py +++ b/instana_client/models/llm_gateway_capability.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_model.py b/instana_client/models/llm_gateway_model.py index 58e63bda..93480eb2 100644 --- a/instana_client/models/llm_gateway_model.py +++ b/instana_client/models/llm_gateway_model.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_service.py b/instana_client/models/llm_gateway_service.py index 816cabcb..5923abc6 100644 --- a/instana_client/models/llm_gateway_service.py +++ b/instana_client/models/llm_gateway_service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_test_connection_request.py b/instana_client/models/llm_gateway_test_connection_request.py index cedb86ce..c17eb998 100644 --- a/instana_client/models/llm_gateway_test_connection_request.py +++ b/instana_client/models/llm_gateway_test_connection_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_model_price.py b/instana_client/models/llm_model_price.py index 91483255..8040a271 100644 --- a/instana_client/models/llm_model_price.py +++ b/instana_client/models/llm_model_price.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_model_price_metadata.py b/instana_client/models/llm_model_price_metadata.py index 0b82243f..5c235ff3 100644 --- a/instana_client/models/llm_model_price_metadata.py +++ b/instana_client/models/llm_model_price_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/location_status.py b/instana_client/models/location_status.py index a3f62434..d4ac0423 100644 --- a/instana_client/models/location_status.py +++ b/instana_client/models/location_status.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_config.py b/instana_client/models/log_alert_config.py index 99db6e08..6b2298d3 100644 --- a/instana_client/models/log_alert_config.py +++ b/instana_client/models/log_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_config_with_metadata.py b/instana_client/models/log_alert_config_with_metadata.py index fd7ce6ad..aadcae09 100644 --- a/instana_client/models/log_alert_config_with_metadata.py +++ b/instana_client/models/log_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_rule.py b/instana_client/models/log_alert_rule.py index e99eac68..aa2097c4 100644 --- a/instana_client/models/log_alert_rule.py +++ b/instana_client/models/log_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_count_alert_rule.py b/instana_client/models/log_count_alert_rule.py index b0e4e5b3..827b6ecd 100644 --- a/instana_client/models/log_count_alert_rule.py +++ b/instana_client/models/log_count_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_event_result.py b/instana_client/models/log_event_result.py index 6a1829d6..1e84c6f9 100644 --- a/instana_client/models/log_event_result.py +++ b/instana_client/models/log_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class LogEventResult(EventResult): LogEventResult """ # noqa: E501 snapshot_id: Optional[StrictStr] = Field(default=None, description="ID of the snapshot.", alias="snapshotId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type") }) return _obj diff --git a/instana_client/models/log_time_threshold.py b/instana_client/models/log_time_threshold.py index bb5540b8..f77f7626 100644 --- a/instana_client/models/log_time_threshold.py +++ b/instana_client/models/log_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_group.py b/instana_client/models/log_volume_group.py index 334a7460..6386fd35 100644 --- a/instana_client/models/log_volume_group.py +++ b/instana_client/models/log_volume_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_usage_item.py b/instana_client/models/log_volume_usage_item.py index 5dcf16cd..70a8ac4b 100644 --- a/instana_client/models/log_volume_usage_item.py +++ b/instana_client/models/log_volume_usage_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_usage_result.py b/instana_client/models/log_volume_usage_result.py index 20d130da..f7b50dcd 100644 --- a/instana_client/models/log_volume_usage_result.py +++ b/instana_client/models/log_volume_usage_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/logs_application_alert_rule.py b/instana_client/models/logs_application_alert_rule.py index e4bf3c5c..bcb2e785 100644 --- a/instana_client/models/logs_application_alert_rule.py +++ b/instana_client/models/logs_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config.py b/instana_client/models/maintenance_config.py index 8a45ce12..86417b9e 100644 --- a/instana_client/models/maintenance_config.py +++ b/instana_client/models/maintenance_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_scheduling.py b/instana_client/models/maintenance_config_scheduling.py index f7a52cb7..f527e61d 100644 --- a/instana_client/models/maintenance_config_scheduling.py +++ b/instana_client/models/maintenance_config_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_v2.py b/instana_client/models/maintenance_config_v2.py index 84b6d87c..c42ab57c 100644 --- a/instana_client/models/maintenance_config_v2.py +++ b/instana_client/models/maintenance_config_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py b/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py index f1650fef..e2cfba5e 100644 --- a/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +++ b/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_with_last_updated.py b/instana_client/models/maintenance_config_with_last_updated.py index a8da0557..43182402 100644 --- a/instana_client/models/maintenance_config_with_last_updated.py +++ b/instana_client/models/maintenance_config_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_window.py b/instana_client/models/maintenance_window.py index 32e24699..5455c9e6 100644 --- a/instana_client/models/maintenance_window.py +++ b/instana_client/models/maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_alerting_channel_configuration.py b/instana_client/models/manual_alerting_channel_configuration.py index 721f8497..9c078c35 100644 --- a/instana_client/models/manual_alerting_channel_configuration.py +++ b/instana_client/models/manual_alerting_channel_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_close_info.py b/instana_client/models/manual_close_info.py index 7d7a48bb..f6677252 100644 --- a/instana_client/models/manual_close_info.py +++ b/instana_client/models/manual_close_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_service_config.py b/instana_client/models/manual_service_config.py index 3e6b2e66..0e48347d 100644 --- a/instana_client/models/manual_service_config.py +++ b/instana_client/models/manual_service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/match_all_http_path_segment_matching_rule.py b/instana_client/models/match_all_http_path_segment_matching_rule.py index 9ce10a99..e4451abf 100644 --- a/instana_client/models/match_all_http_path_segment_matching_rule.py +++ b/instana_client/models/match_all_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/match_expression_dto.py b/instana_client/models/match_expression_dto.py index b1b69816..cb7c822c 100644 --- a/instana_client/models/match_expression_dto.py +++ b/instana_client/models/match_expression_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/meta_data.py b/instana_client/models/meta_data.py index 2dcd2c60..02635b52 100644 --- a/instana_client/models/meta_data.py +++ b/instana_client/models/meta_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_api_result.py b/instana_client/models/metric_api_result.py index b89616cb..64154681 100644 --- a/instana_client/models/metric_api_result.py +++ b/instana_client/models/metric_api_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_config.py b/instana_client/models/metric_config.py index f433db92..8bbd64d2 100644 --- a/instana_client/models/metric_config.py +++ b/instana_client/models/metric_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_configuration.py b/instana_client/models/metric_configuration.py index 5584a48f..f1181cd5 100644 --- a/instana_client/models/metric_configuration.py +++ b/instana_client/models/metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_description.py b/instana_client/models/metric_description.py index ff578855..e8e19c6f 100644 --- a/instana_client/models/metric_description.py +++ b/instana_client/models/metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_field.py b/instana_client/models/metric_field.py index 10d9a7b4..7887b51c 100644 --- a/instana_client/models/metric_field.py +++ b/instana_client/models/metric_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,9 +32,10 @@ class MetricField(CustomPayloadField): aggregation: Optional[StrictStr] = None entity_type: Optional[StrictStr] = Field(default=None, alias="entityType") metric_id: Optional[StrictStr] = Field(default=None, alias="metricId") + source: Optional[StrictStr] = None time_window: Optional[Dict[str, Any]] = Field(default=None, alias="timeWindow") value: Optional[MetricFieldValue] = None - __properties: ClassVar[List[str]] = ["key", "type", "aggregation", "entityType", "metricId", "timeWindow", "value"] + __properties: ClassVar[List[str]] = ["key", "type", "aggregation", "entityType", "metricId", "source", "timeWindow", "value"] @field_validator('aggregation') def aggregation_validate_enum(cls, value): @@ -46,6 +47,16 @@ def aggregation_validate_enum(cls, value): raise ValueError("must be one of enum values ('SUM', 'MEAN', 'MIN', 'MAX')") return value + @field_validator('source') + def source_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['INFRA', 'APPLICATION']): + raise ValueError("must be one of enum values ('INFRA', 'APPLICATION')") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -105,6 +116,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "aggregation": obj.get("aggregation"), "entityType": obj.get("entityType"), "metricId": obj.get("metricId"), + "source": obj.get("source"), "timeWindow": obj.get("timeWindow"), "value": MetricFieldValue.from_dict(obj["value"]) if obj.get("value") is not None else None }) diff --git a/instana_client/models/metric_field_value.py b/instana_client/models/metric_field_value.py index 51cc6fb6..f74bc733 100644 --- a/instana_client/models/metric_field_value.py +++ b/instana_client/models/metric_field_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,8 +30,9 @@ class MetricFieldValue(BaseModel): aggregation: StrictStr = Field(description="The aggregation type to apply to the metric") entity_type: Optional[StrictStr] = Field(default=None, description="The entity type for the metric query", alias="entityType") metric_id: StrictStr = Field(description="The metric ID to retrieve", alias="metricId") + source: Optional[StrictStr] = Field(default=None, description="The source catalog the metric was selected from") time_window: Optional[Dict[str, Any]] = Field(default=None, description="The time window in milliseconds for metric aggregation", alias="timeWindow") - __properties: ClassVar[List[str]] = ["aggregation", "entityType", "metricId", "timeWindow"] + __properties: ClassVar[List[str]] = ["aggregation", "entityType", "metricId", "source", "timeWindow"] @field_validator('aggregation') def aggregation_validate_enum(cls, value): @@ -40,6 +41,16 @@ def aggregation_validate_enum(cls, value): raise ValueError("must be one of enum values ('SUM', 'MEAN', 'MIN', 'MAX')") return value + @field_validator('source') + def source_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['INFRA', 'APPLICATION']): + raise ValueError("must be one of enum values ('INFRA', 'APPLICATION')") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -94,6 +105,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "aggregation": obj.get("aggregation"), "entityType": obj.get("entityType"), "metricId": obj.get("metricId"), + "source": obj.get("source"), "timeWindow": obj.get("timeWindow") }) return _obj diff --git a/instana_client/models/metric_instance.py b/instana_client/models/metric_instance.py index 29c6ad2f..81e2660d 100644 --- a/instana_client/models/metric_instance.py +++ b/instana_client/models/metric_instance.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_item.py b/instana_client/models/metric_item.py index a8420f54..e7159737 100644 --- a/instana_client/models/metric_item.py +++ b/instana_client/models/metric_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_metadata.py b/instana_client/models/metric_metadata.py index 47fcbe42..c3cb70fd 100644 --- a/instana_client/models/metric_metadata.py +++ b/instana_client/models/metric_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_pattern.py b/instana_client/models/metric_pattern.py index 1a3c8b87..e2e6ccc7 100644 --- a/instana_client/models/metric_pattern.py +++ b/instana_client/models/metric_pattern.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_result.py b/instana_client/models/metrics_result.py index 980b0f86..c8b28d58 100644 --- a/instana_client/models/metrics_result.py +++ b/instana_client/models/metrics_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_result_item.py b/instana_client/models/metrics_result_item.py index 2f124a94..c8c99463 100644 --- a/instana_client/models/metrics_result_item.py +++ b/instana_client/models/metrics_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_test_result_item.py b/instana_client/models/metrics_test_result_item.py index bb0ab30a..2b1000ce 100644 --- a/instana_client/models/metrics_test_result_item.py +++ b/instana_client/models/metrics_test_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app.py b/instana_client/models/mobile_app.py index 0cfa90d4..eaa9c482 100644 --- a/instana_client/models/mobile_app.py +++ b/instana_client/models/mobile_app.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_config.py b/instana_client/models/mobile_app_alert_config.py index 16a11d69..dfe582c7 100644 --- a/instana_client/models/mobile_app_alert_config.py +++ b/instana_client/models/mobile_app_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_config_with_rbac_tag.py b/instana_client/models/mobile_app_alert_config_with_rbac_tag.py index 62a4b29d..fe71a5df 100644 --- a/instana_client/models/mobile_app_alert_config_with_rbac_tag.py +++ b/instana_client/models/mobile_app_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_rule.py b/instana_client/models/mobile_app_alert_rule.py index 8a8bb234..de180c0b 100644 --- a/instana_client/models/mobile_app_alert_rule.py +++ b/instana_client/models/mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_groups_item.py b/instana_client/models/mobile_app_beacon_groups_item.py index 5faed3e1..9a39a7af 100644 --- a/instana_client/models/mobile_app_beacon_groups_item.py +++ b/instana_client/models/mobile_app_beacon_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_groups_result.py b/instana_client/models/mobile_app_beacon_groups_result.py index c17995eb..8c027904 100644 --- a/instana_client/models/mobile_app_beacon_groups_result.py +++ b/instana_client/models/mobile_app_beacon_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_result.py b/instana_client/models/mobile_app_beacon_result.py index 2fed81d6..f466358d 100644 --- a/instana_client/models/mobile_app_beacon_result.py +++ b/instana_client/models/mobile_app_beacon_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_tag_group.py b/instana_client/models/mobile_app_beacon_tag_group.py index 5c52af46..c617db8d 100644 --- a/instana_client/models/mobile_app_beacon_tag_group.py +++ b/instana_client/models/mobile_app_beacon_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacons_item.py b/instana_client/models/mobile_app_beacons_item.py index 8b13b0e3..6138b4e1 100644 --- a/instana_client/models/mobile_app_beacons_item.py +++ b/instana_client/models/mobile_app_beacons_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_event_result.py b/instana_client/models/mobile_app_event_result.py index 4fc913e0..fd2e6f86 100644 --- a/instana_client/models/mobile_app_event_result.py +++ b/instana_client/models/mobile_app_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class MobileAppEventResult(EventResult): MobileAppEventResult """ # noqa: E501 mobile_app_id: Optional[StrictStr] = Field(default=None, description="ID of the mobile app.", alias="mobileAppId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "mobileAppId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "mobileAppId"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "mobileAppId": obj.get("mobileAppId") }) diff --git a/instana_client/models/mobile_app_metric_result.py b/instana_client/models/mobile_app_metric_result.py index 21d67399..54739ed6 100644 --- a/instana_client/models/mobile_app_metric_result.py +++ b/instana_client/models/mobile_app_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_beacon.py b/instana_client/models/mobile_app_monitoring_beacon.py index 1286fc21..3a25d620 100644 --- a/instana_client/models/mobile_app_monitoring_beacon.py +++ b/instana_client/models/mobile_app_monitoring_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -96,6 +96,7 @@ class MobileAppMonitoringBeacon(BaseModel): region: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=256)]] = None rooted: Optional[StrictBool] = None session_id: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=128)]] = Field(default=None, alias="sessionId") + session_replay_status: Optional[StrictInt] = Field(default=None, alias="sessionReplayStatus") stack_trace: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=16384)]] = Field(default=None, alias="stackTrace") stack_trace_key_checksum: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=128)]] = Field(default=None, alias="stackTraceKeyChecksum") stack_trace_key_information: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=1024)]] = Field(default=None, alias="stackTraceKeyInformation") @@ -120,7 +121,7 @@ class MobileAppMonitoringBeacon(BaseModel): viewport_height: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="viewportHeight") viewport_width: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="viewportWidth") warm_start_time_ms: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="warmStartTimeMs") - __properties: ClassVar[List[str]] = ["accuracyRadius", "agentVersion", "appBuild", "appVersion", "appVersionNumber", "availableMb", "backendTraceId", "batchSize", "beaconId", "bundleIdentifier", "bytesIngested", "carrier", "city", "clockSkew", "coldStartTimeMs", "connectionType", "continent", "continentCode", "country", "countryCode", "currentAppState", "customEventName", "customMetric", "decodedBodySize", "deviceHardware", "deviceManufacturer", "deviceModel", "dropView", "duration", "effectiveConnectionType", "encodedBodySize", "environment", "errorCount", "errorId", "errorMessage", "errorType", "googlePlayServicesMissing", "hotStartTimeMs", "httpCallHeaders", "httpCallMethod", "httpCallOrigin", "httpCallPath", "httpCallStatus", "httpCallUrl", "ingestionTime", "internalMeta", "label", "latitude", "longitude", "maxMb", "meta", "mobileAppId", "mobileAppLabel", "osName", "osVersion", "parentBeaconId", "parsedStackTrace", "performanceSubtype", "platform", "rateLimitBeaconType", "rateLimitCount", "rateLimitCustomMetricVal", "rateLimitTimeMax", "rateLimitTimeMin", "region", "rooted", "sessionId", "stackTrace", "stackTraceKeyChecksum", "stackTraceKeyInformation", "stackTraceLine", "stackTraceParsingStatus", "subdivision", "subdivisionCode", "tenant", "timestamp", "transferSize", "type", "unit", "useFeatures", "usedMb", "userEmail", "userId", "userIp", "userLanguages", "userName", "userSessionId", "view", "viewportHeight", "viewportWidth", "warmStartTimeMs"] + __properties: ClassVar[List[str]] = ["accuracyRadius", "agentVersion", "appBuild", "appVersion", "appVersionNumber", "availableMb", "backendTraceId", "batchSize", "beaconId", "bundleIdentifier", "bytesIngested", "carrier", "city", "clockSkew", "coldStartTimeMs", "connectionType", "continent", "continentCode", "country", "countryCode", "currentAppState", "customEventName", "customMetric", "decodedBodySize", "deviceHardware", "deviceManufacturer", "deviceModel", "dropView", "duration", "effectiveConnectionType", "encodedBodySize", "environment", "errorCount", "errorId", "errorMessage", "errorType", "googlePlayServicesMissing", "hotStartTimeMs", "httpCallHeaders", "httpCallMethod", "httpCallOrigin", "httpCallPath", "httpCallStatus", "httpCallUrl", "ingestionTime", "internalMeta", "label", "latitude", "longitude", "maxMb", "meta", "mobileAppId", "mobileAppLabel", "osName", "osVersion", "parentBeaconId", "parsedStackTrace", "performanceSubtype", "platform", "rateLimitBeaconType", "rateLimitCount", "rateLimitCustomMetricVal", "rateLimitTimeMax", "rateLimitTimeMin", "region", "rooted", "sessionId", "sessionReplayStatus", "stackTrace", "stackTraceKeyChecksum", "stackTraceKeyInformation", "stackTraceLine", "stackTraceParsingStatus", "subdivision", "subdivisionCode", "tenant", "timestamp", "transferSize", "type", "unit", "useFeatures", "usedMb", "userEmail", "userId", "userIp", "userLanguages", "userName", "userSessionId", "view", "viewportHeight", "viewportWidth", "warmStartTimeMs"] model_config = ConfigDict( populate_by_name=True, @@ -247,6 +248,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "region": obj.get("region"), "rooted": obj.get("rooted"), "sessionId": obj.get("sessionId"), + "sessionReplayStatus": obj.get("sessionReplayStatus"), "stackTrace": obj.get("stackTrace"), "stackTraceKeyChecksum": obj.get("stackTraceKeyChecksum"), "stackTraceKeyInformation": obj.get("stackTraceKeyInformation"), diff --git a/instana_client/models/mobile_app_monitoring_metric_description.py b/instana_client/models/mobile_app_monitoring_metric_description.py index 2cb5b1a8..30a11a72 100644 --- a/instana_client/models/mobile_app_monitoring_metric_description.py +++ b/instana_client/models/mobile_app_monitoring_metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_metrics_configuration.py b/instana_client/models/mobile_app_monitoring_metrics_configuration.py index 412a8e88..b61c57d8 100644 --- a/instana_client/models/mobile_app_monitoring_metrics_configuration.py +++ b/instana_client/models/mobile_app_monitoring_metrics_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_time_threshold.py b/instana_client/models/mobile_app_time_threshold.py index e8d67f63..63599f58 100644 --- a/instana_client/models/mobile_app_time_threshold.py +++ b/instana_client/models/mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/model_field.py b/instana_client/models/model_field.py index 13863be2..cc2b94ff 100644 --- a/instana_client/models/model_field.py +++ b/instana_client/models/model_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/monitored_entities_stats.py b/instana_client/models/monitored_entities_stats.py index 290d7ad4..83c426d0 100644 --- a/instana_client/models/monitored_entities_stats.py +++ b/instana_client/models/monitored_entities_stats.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/monitoring_state.py b/instana_client/models/monitoring_state.py index b45ea754..d3b4d852 100644 --- a/instana_client/models/monitoring_state.py +++ b/instana_client/models/monitoring_state.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/multiple_scripts_configuration.py b/instana_client/models/multiple_scripts_configuration.py index 4cb01203..d70f200e 100644 --- a/instana_client/models/multiple_scripts_configuration.py +++ b/instana_client/models/multiple_scripts_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_application_config.py b/instana_client/models/new_application_config.py index 88a32e86..0d6b0608 100644 --- a/instana_client/models/new_application_config.py +++ b/instana_client/models/new_application_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_business_perspective_config.py b/instana_client/models/new_business_perspective_config.py index 842f2775..c8e834c8 100644 --- a/instana_client/models/new_business_perspective_config.py +++ b/instana_client/models/new_business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_manual_service_config.py b/instana_client/models/new_manual_service_config.py index f9023ad2..c021c86b 100644 --- a/instana_client/models/new_manual_service_config.py +++ b/instana_client/models/new_manual_service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ns1_integration.py b/instana_client/models/ns1_integration.py index 4fb570e9..4212ba94 100644 --- a/instana_client/models/ns1_integration.py +++ b/instana_client/models/ns1_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_config.py b/instana_client/models/o_auth_config.py index 65d48370..8dfef178 100644 --- a/instana_client/models/o_auth_config.py +++ b/instana_client/models/o_auth_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_integration.py b/instana_client/models/o_auth_integration.py index 52c3e9e5..92af6123 100644 --- a/instana_client/models/o_auth_integration.py +++ b/instana_client/models/o_auth_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_token.py b/instana_client/models/o_auth_token.py index 58a0cf99..56e7bd16 100644 --- a/instana_client/models/o_auth_token.py +++ b/instana_client/models/o_auth_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/occurrence.py b/instana_client/models/occurrence.py index 211479c5..58342756 100644 --- a/instana_client/models/occurrence.py +++ b/instana_client/models/occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/office365_integration.py b/instana_client/models/office365_integration.py index 86b7b2b5..6846e28e 100644 --- a/instana_client/models/office365_integration.py +++ b/instana_client/models/office365_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/one_time_maintenance_window.py b/instana_client/models/one_time_maintenance_window.py index ed9e12c1..4efe4b00 100644 --- a/instana_client/models/one_time_maintenance_window.py +++ b/instana_client/models/one_time_maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/opsgenie_integration.py b/instana_client/models/opsgenie_integration.py index 34be971d..8d87edba 100644 --- a/instana_client/models/opsgenie_integration.py +++ b/instana_client/models/opsgenie_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/order.py b/instana_client/models/order.py index 4522b9a9..35467e74 100644 --- a/instana_client/models/order.py +++ b/instana_client/models/order.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/pagerduty_integration.py b/instana_client/models/pagerduty_integration.py index 285cd8c6..84be9875 100644 --- a/instana_client/models/pagerduty_integration.py +++ b/instana_client/models/pagerduty_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/paginated_result.py b/instana_client/models/paginated_result.py index a7a9b8ed..b0240278 100644 --- a/instana_client/models/paginated_result.py +++ b/instana_client/models/paginated_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/pagination.py b/instana_client/models/pagination.py index 97eae067..388f199f 100644 --- a/instana_client/models/pagination.py +++ b/instana_client/models/pagination.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/parameter.py b/instana_client/models/parameter.py index 855c0b4f..751a867e 100644 --- a/instana_client/models/parameter.py +++ b/instana_client/models/parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/parameter_value.py b/instana_client/models/parameter_value.py index 7e491caf..b6773fe5 100644 --- a/instana_client/models/parameter_value.py +++ b/instana_client/models/parameter_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/path_parameter_http_path_segment_matching_rule.py b/instana_client/models/path_parameter_http_path_segment_matching_rule.py index 37def153..84dbfc21 100644 --- a/instana_client/models/path_parameter_http_path_segment_matching_rule.py +++ b/instana_client/models/path_parameter_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/physical_context.py b/instana_client/models/physical_context.py index a8bd27b2..c8992e0b 100644 --- a/instana_client/models/physical_context.py +++ b/instana_client/models/physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/plugin_result.py b/instana_client/models/plugin_result.py index 2cedd249..9daad588 100644 --- a/instana_client/models/plugin_result.py +++ b/instana_client/models/plugin_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy.py b/instana_client/models/policy.py index b19ff63b..65e64a9b 100644 --- a/instana_client/models/policy.py +++ b/instana_client/models/policy.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy_runnable.py b/instana_client/models/policy_runnable.py index 36672c93..faa737bd 100644 --- a/instana_client/models/policy_runnable.py +++ b/instana_client/models/policy_runnable.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy_scheduling.py b/instana_client/models/policy_scheduling.py index d1597196..fdd25499 100644 --- a/instana_client/models/policy_scheduling.py +++ b/instana_client/models/policy_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/post_mobile_app_source_map_config_request.py b/instana_client/models/post_mobile_app_source_map_config_request.py index 6b0f654d..0efa36fc 100644 --- a/instana_client/models/post_mobile_app_source_map_config_request.py +++ b/instana_client/models/post_mobile_app_source_map_config_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/post_snapshots_result.py b/instana_client/models/post_snapshots_result.py index d28d29d6..a22ed5f4 100644 --- a/instana_client/models/post_snapshots_result.py +++ b/instana_client/models/post_snapshots_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/prefix_object.py b/instana_client/models/prefix_object.py index 94fd0819..3b06bde1 100644 --- a/instana_client/models/prefix_object.py +++ b/instana_client/models/prefix_object.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/problem.py b/instana_client/models/problem.py index 4ac613c1..33519ee1 100644 --- a/instana_client/models/problem.py +++ b/instana_client/models/problem.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/prometheus_webhook_integration.py b/instana_client/models/prometheus_webhook_integration.py index f4382715..86505b79 100644 --- a/instana_client/models/prometheus_webhook_integration.py +++ b/instana_client/models/prometheus_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/recurrent_maintenance_window.py b/instana_client/models/recurrent_maintenance_window.py index 02e9eba2..2c7faf65 100644 --- a/instana_client/models/recurrent_maintenance_window.py +++ b/instana_client/models/recurrent_maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release.py b/instana_client/models/release.py index b913484a..5fe23f8d 100644 --- a/instana_client/models/release.py +++ b/instana_client/models/release.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release_scope.py b/instana_client/models/release_scope.py index f30e1c96..035d8aba 100644 --- a/instana_client/models/release_scope.py +++ b/instana_client/models/release_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release_with_metadata.py b/instana_client/models/release_with_metadata.py index 5260f41b..79e54c21 100644 --- a/instana_client/models/release_with_metadata.py +++ b/instana_client/models/release_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/retention_period.py b/instana_client/models/retention_period.py index c0a045b9..67f61dd7 100644 --- a/instana_client/models/retention_period.py +++ b/instana_client/models/retention_period.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/role_mapping_overview.py b/instana_client/models/role_mapping_overview.py new file mode 100644 index 00000000..e2301fb9 --- /dev/null +++ b/instana_client/models/role_mapping_overview.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RoleMappingOverview(BaseModel): + """ + RoleMappingOverview + """ # noqa: E501 + id: StrictStr + key: StrictStr + role: StrictStr + role_id: StrictStr = Field(alias="roleId") + team: Optional[StrictStr] = None + team_id: Optional[StrictStr] = Field(default=None, alias="teamId") + value: StrictStr + __properties: ClassVar[List[str]] = ["id", "key", "role", "roleId", "team", "teamId", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RoleMappingOverview from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RoleMappingOverview from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "key": obj.get("key"), + "role": obj.get("role"), + "roleId": obj.get("roleId"), + "team": obj.get("team"), + "teamId": obj.get("teamId"), + "value": obj.get("value") + }) + return _obj + + diff --git a/instana_client/models/rolling_time_window.py b/instana_client/models/rolling_time_window.py index 6428cf78..93dc0295 100644 --- a/instana_client/models/rolling_time_window.py +++ b/instana_client/models/rolling_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_input.py b/instana_client/models/rule_input.py index b9d62d22..d3f7c906 100644 --- a/instana_client/models/rule_input.py +++ b/instana_client/models/rule_input.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_application_alert_rule.py b/instana_client/models/rule_with_threshold_application_alert_rule.py index e4195965..028f9bab 100644 --- a/instana_client/models/rule_with_threshold_application_alert_rule.py +++ b/instana_client/models/rule_with_threshold_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_infra_alert_rule.py b/instana_client/models/rule_with_threshold_infra_alert_rule.py index 162e914b..ae90bef7 100644 --- a/instana_client/models/rule_with_threshold_infra_alert_rule.py +++ b/instana_client/models/rule_with_threshold_infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_log_alert_rule.py b/instana_client/models/rule_with_threshold_log_alert_rule.py index 35f055d8..a762e20b 100644 --- a/instana_client/models/rule_with_threshold_log_alert_rule.py +++ b/instana_client/models/rule_with_threshold_log_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py b/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py index a1a08d49..ade7e856 100644 --- a/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +++ b/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_website_alert_rule.py b/instana_client/models/rule_with_threshold_website_alert_rule.py index 92dde169..6441a111 100644 --- a/instana_client/models/rule_with_threshold_website_alert_rule.py +++ b/instana_client/models/rule_with_threshold_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/run_configuration.py b/instana_client/models/run_configuration.py index f4f70868..67551a36 100644 --- a/instana_client/models/run_configuration.py +++ b/instana_client/models/run_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/salesforce_integration.py b/instana_client/models/salesforce_integration.py index 302a5f0d..e9f017a5 100644 --- a/instana_client/models/salesforce_integration.py +++ b/instana_client/models/salesforce_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/saturation_blueprint_indicator.py b/instana_client/models/saturation_blueprint_indicator.py index 8e576964..a6616243 100644 --- a/instana_client/models/saturation_blueprint_indicator.py +++ b/instana_client/models/saturation_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/scope_binding.py b/instana_client/models/scope_binding.py index be172da5..0bee9f32 100644 --- a/instana_client/models/scope_binding.py +++ b/instana_client/models/scope_binding.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/search_field_result.py b/instana_client/models/search_field_result.py index c8d3754b..96952331 100644 --- a/instana_client/models/search_field_result.py +++ b/instana_client/models/search_field_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service.py b/instana_client/models/service.py index 4cd56721..ec76416e 100644 --- a/instana_client/models/service.py +++ b/instana_client/models/service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_config.py b/instana_client/models/service_config.py index 2c891ee6..fe968376 100644 --- a/instana_client/models/service_config.py +++ b/instana_client/models/service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_event_result.py b/instana_client/models/service_event_result.py index 5a70ee39..507b40ac 100644 --- a/instana_client/models/service_event_result.py +++ b/instana_client/models/service_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class ServiceEventResult(EventResult): """ # noqa: E501 application_id: Optional[StrictStr] = Field(default=None, description="ID of the application this service is in scope of.", alias="applicationId") service_id: Optional[StrictStr] = Field(default=None, description="ID of the service.", alias="serviceId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId", "serviceId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "applicationId", "serviceId"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -100,6 +101,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "applicationId": obj.get("applicationId"), "serviceId": obj.get("serviceId") diff --git a/instana_client/models/service_item.py b/instana_client/models/service_item.py index 778b6a9d..96e9b8e0 100644 --- a/instana_client/models/service_item.py +++ b/instana_client/models/service_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_level_indicator.py b/instana_client/models/service_level_indicator.py index 2f67518b..a9eca193 100644 --- a/instana_client/models/service_level_indicator.py +++ b/instana_client/models/service_level_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_level_objective_alert_rule.py b/instana_client/models/service_level_objective_alert_rule.py index 5555c090..f70edfc0 100644 --- a/instana_client/models/service_level_objective_alert_rule.py +++ b/instana_client/models/service_level_objective_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_alert_config.py b/instana_client/models/service_levels_alert_config.py index ad78a1ed..42f8ebd4 100644 --- a/instana_client/models/service_levels_alert_config.py +++ b/instana_client/models/service_levels_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,6 +35,7 @@ class ServiceLevelsAlertConfig(BaseModel): ServiceLevelsAlertConfig """ # noqa: E501 alert_channel_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of channel IDs when alert triggered and sent to.", alias="alertChannelIds") + apdex_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds).", alias="apdexIds") burn_rate_config: Optional[List[ServiceLevelsBurnRateConfig]] = Field(default=None, description="This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts.", alias="burnRateConfig") burn_rate_time_windows: Optional[ServiceLevelsBurnRateTimeWindows] = Field(default=None, alias="burnRateTimeWindows") custom_payload_fields: Annotated[List[CustomPayloadField], Field(min_length=0, max_length=20)] = Field(description="This is the custom name and value pairs to be sent along with the alert to the alert channels.", alias="customPayloadFields") @@ -46,7 +47,7 @@ class ServiceLevelsAlertConfig(BaseModel): threshold: Optional[StaticThreshold] = None time_threshold: ServiceLevelsTimeThreshold = Field(alias="timeThreshold") triggering: Optional[StrictBool] = Field(default=None, description="Incident flag. If value is true, this alert will become an accident.") - __properties: ClassVar[List[str]] = ["alertChannelIds", "burnRateConfig", "burnRateTimeWindows", "customPayloadFields", "description", "name", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] + __properties: ClassVar[List[str]] = ["alertChannelIds", "apdexIds", "burnRateConfig", "burnRateTimeWindows", "customPayloadFields", "description", "name", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] model_config = ConfigDict( populate_by_name=True, @@ -126,6 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "alertChannelIds": obj.get("alertChannelIds"), + "apdexIds": obj.get("apdexIds"), "burnRateConfig": [ServiceLevelsBurnRateConfig.from_dict(_item) for _item in obj["burnRateConfig"]] if obj.get("burnRateConfig") is not None else None, "burnRateTimeWindows": ServiceLevelsBurnRateTimeWindows.from_dict(obj["burnRateTimeWindows"]) if obj.get("burnRateTimeWindows") is not None else None, "customPayloadFields": [CustomPayloadField.from_dict(_item) for _item in obj["customPayloadFields"]] if obj.get("customPayloadFields") is not None else None, diff --git a/instana_client/models/service_levels_alert_config_with_rbac_tag.py b/instana_client/models/service_levels_alert_config_with_rbac_tag.py index d97d2cc0..ef4a3c98 100644 --- a/instana_client/models/service_levels_alert_config_with_rbac_tag.py +++ b/instana_client/models/service_levels_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,6 +36,7 @@ class ServiceLevelsAlertConfigWithRBACTag(BaseModel): ServiceLevelsAlertConfigWithRBACTag """ # noqa: E501 alert_channel_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of channel IDs when alert triggered and sent to.", alias="alertChannelIds") + apdex_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds).", alias="apdexIds") burn_rate_config: Optional[List[ServiceLevelsBurnRateConfig]] = Field(default=None, description="This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts.", alias="burnRateConfig") burn_rate_time_windows: Optional[ServiceLevelsBurnRateTimeWindows] = Field(default=None, alias="burnRateTimeWindows") created: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Created Date of the version of Service Levels Smart Alerts Configuration.") @@ -53,7 +54,7 @@ class ServiceLevelsAlertConfigWithRBACTag(BaseModel): threshold: Optional[StaticThreshold] = None time_threshold: ServiceLevelsTimeThreshold = Field(alias="timeThreshold") triggering: Optional[StrictBool] = Field(default=None, description="Incident flag. If value is true, this alert will become an accident.") - __properties: ClassVar[List[str]] = ["alertChannelIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "rbacTags", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] + __properties: ClassVar[List[str]] = ["alertChannelIds", "apdexIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "rbacTags", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] model_config = ConfigDict( populate_by_name=True, @@ -140,6 +141,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "alertChannelIds": obj.get("alertChannelIds"), + "apdexIds": obj.get("apdexIds"), "burnRateConfig": [ServiceLevelsBurnRateConfig.from_dict(_item) for _item in obj["burnRateConfig"]] if obj.get("burnRateConfig") is not None else None, "burnRateTimeWindows": ServiceLevelsBurnRateTimeWindows.from_dict(obj["burnRateTimeWindows"]) if obj.get("burnRateTimeWindows") is not None else None, "created": obj.get("created"), diff --git a/instana_client/models/service_levels_alert_rule.py b/instana_client/models/service_levels_alert_rule.py index 8a690336..e3fd96e2 100644 --- a/instana_client/models/service_levels_alert_rule.py +++ b/instana_client/models/service_levels_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -26,12 +26,13 @@ from typing import TYPE_CHECKING if TYPE_CHECKING: + from instana_client.models.apdex_alert_rule import ApdexAlertRule from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule class ServiceLevelsAlertRule(BaseModel): """ - This is the service levels alert type. It could be error budget alert or service levels object alert. + This is the service levels alert type. It could be error budget alert, service levels object alert, or Apdex alert. """ # noqa: E501 alert_type: StrictStr = Field(alias="alertType") __properties: ClassVar[List[str]] = ["alertType"] @@ -48,7 +49,7 @@ class ServiceLevelsAlertRule(BaseModel): # discriminator mappings __discriminator_value_class_map: ClassVar[Dict[str, str]] = { - 'ERROR_BUDGET': 'ErrorBudgetAlertRule','SERVICE_LEVELS_OBJECTIVE': 'ServiceLevelObjectiveAlertRule' + 'APDEX': 'ApdexAlertRule','ERROR_BUDGET': 'ErrorBudgetAlertRule','SERVICE_LEVELS_OBJECTIVE': 'ServiceLevelObjectiveAlertRule' } @classmethod @@ -70,7 +71,7 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> Optional[Union[ErrorBudgetAlertRule, ServiceLevelObjectiveAlertRule]]: + def from_json(cls, json_str: str) -> Optional[Union[ApdexAlertRule, ErrorBudgetAlertRule, ServiceLevelObjectiveAlertRule]]: """Create an instance of ServiceLevelsAlertRule from a JSON string""" return cls.from_dict(json.loads(json_str)) @@ -95,10 +96,12 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[ErrorBudgetAlertRule, ServiceLevelObjectiveAlertRule]]: + def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[ApdexAlertRule, ErrorBudgetAlertRule, ServiceLevelObjectiveAlertRule]]: """Create an instance of ServiceLevelsAlertRule from a dict""" # look up the object type based on discriminator mapping object_type = cls.get_discriminator_value(obj) + if object_type == 'ApdexAlertRule': + return import_module("instana_client.models.apdex_alert_rule").ApdexAlertRule.from_dict(obj) if object_type == 'ErrorBudgetAlertRule': return import_module("instana_client.models.error_budget_alert_rule").ErrorBudgetAlertRule.from_dict(obj) if object_type == 'ServiceLevelObjectiveAlertRule': diff --git a/instana_client/models/service_levels_burn_rate_config.py b/instana_client/models/service_levels_burn_rate_config.py index 2315354a..9ec18e6a 100644 --- a/instana_client/models/service_levels_burn_rate_config.py +++ b/instana_client/models/service_levels_burn_rate_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_burn_rate_time_windows.py b/instana_client/models/service_levels_burn_rate_time_windows.py index 4f90f0ab..70e8f745 100644 --- a/instana_client/models/service_levels_burn_rate_time_windows.py +++ b/instana_client/models/service_levels_burn_rate_time_windows.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_static_threshold_config.py b/instana_client/models/service_levels_static_threshold_config.py index afd15413..a95677d5 100644 --- a/instana_client/models/service_levels_static_threshold_config.py +++ b/instana_client/models/service_levels_static_threshold_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_time_threshold.py b/instana_client/models/service_levels_time_threshold.py index 207cb796..fc665894 100644 --- a/instana_client/models/service_levels_time_threshold.py +++ b/instana_client/models/service_levels_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levelse_alert_config_with_metadata.py b/instana_client/models/service_levelse_alert_config_with_metadata.py index d23d2ef4..18b2c55b 100644 --- a/instana_client/models/service_levelse_alert_config_with_metadata.py +++ b/instana_client/models/service_levelse_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,6 +35,7 @@ class ServiceLevelseAlertConfigWithMetadata(BaseModel): ServiceLevelseAlertConfigWithMetadata """ # noqa: E501 alert_channel_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of channel IDs when alert triggered and sent to.", alias="alertChannelIds") + apdex_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds).", alias="apdexIds") burn_rate_config: Optional[List[ServiceLevelsBurnRateConfig]] = Field(default=None, description="This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts.", alias="burnRateConfig") burn_rate_time_windows: Optional[ServiceLevelsBurnRateTimeWindows] = Field(default=None, alias="burnRateTimeWindows") created: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Created Date of the version of Service Levels Smart Alerts Configuration.") @@ -51,7 +52,7 @@ class ServiceLevelseAlertConfigWithMetadata(BaseModel): threshold: Optional[StaticThreshold] = None time_threshold: ServiceLevelsTimeThreshold = Field(alias="timeThreshold") triggering: Optional[StrictBool] = Field(default=None, description="Incident flag. If value is true, this alert will become an accident.") - __properties: ClassVar[List[str]] = ["alertChannelIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] + __properties: ClassVar[List[str]] = ["alertChannelIds", "apdexIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] model_config = ConfigDict( populate_by_name=True, @@ -131,6 +132,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "alertChannelIds": obj.get("alertChannelIds"), + "apdexIds": obj.get("apdexIds"), "burnRateConfig": [ServiceLevelsBurnRateConfig.from_dict(_item) for _item in obj["burnRateConfig"]] if obj.get("burnRateConfig") is not None else None, "burnRateTimeWindows": ServiceLevelsBurnRateTimeWindows.from_dict(obj["burnRateTimeWindows"]) if obj.get("burnRateTimeWindows") is not None else None, "created": obj.get("created"), diff --git a/instana_client/models/service_map.py b/instana_client/models/service_map.py index e9cadee4..0d41471f 100644 --- a/instana_client/models/service_map.py +++ b/instana_client/models/service_map.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_map_connection.py b/instana_client/models/service_map_connection.py index e6e0374e..cedafb03 100644 --- a/instana_client/models/service_map_connection.py +++ b/instana_client/models/service_map_connection.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_matching_rule.py b/instana_client/models/service_matching_rule.py index 961b0be4..1b145778 100644 --- a/instana_client/models/service_matching_rule.py +++ b/instana_client/models/service_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_metric_result.py b/instana_client/models/service_metric_result.py index e5afdddb..1e3861b9 100644 --- a/instana_client/models/service_metric_result.py +++ b/instana_client/models/service_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_node.py b/instana_client/models/service_node.py index 1185daae..f839aeee 100644 --- a/instana_client/models/service_node.py +++ b/instana_client/models/service_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_now_enhanced_integration.py b/instana_client/models/service_now_enhanced_integration.py index ce60a367..f736a033 100644 --- a/instana_client/models/service_now_enhanced_integration.py +++ b/instana_client/models/service_now_enhanced_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_now_integration.py b/instana_client/models/service_now_integration.py index 0201ed4f..aa39d534 100644 --- a/instana_client/models/service_now_integration.py +++ b/instana_client/models/service_now_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_result.py b/instana_client/models/service_result.py index c906b57e..37e940f0 100644 --- a/instana_client/models/service_result.py +++ b/instana_client/models/service_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scope.py b/instana_client/models/service_scope.py index 819cf6e5..e5900918 100644 --- a/instana_client/models/service_scope.py +++ b/instana_client/models/service_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scope_with_metadata.py b/instana_client/models/service_scope_with_metadata.py index d733c80e..c4fd120a 100644 --- a/instana_client/models/service_scope_with_metadata.py +++ b/instana_client/models/service_scope_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scoped_to.py b/instana_client/models/service_scoped_to.py index 12bb83eb..67b49670 100644 --- a/instana_client/models/service_scoped_to.py +++ b/instana_client/models/service_scoped_to.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scoped_to_with_metadata.py b/instana_client/models/service_scoped_to_with_metadata.py index f3640bb4..2c08a748 100644 --- a/instana_client/models/service_scoped_to_with_metadata.py +++ b/instana_client/models/service_scoped_to_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_simple.py b/instana_client/models/service_simple.py index b0e494cd..782a1638 100644 --- a/instana_client/models/service_simple.py +++ b/instana_client/models/service_simple.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_replay_metadata.py b/instana_client/models/session_replay_metadata.py index 5ee19579..22dd8cbf 100644 --- a/instana_client/models/session_replay_metadata.py +++ b/instana_client/models/session_replay_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_replay_timestamps.py b/instana_client/models/session_replay_timestamps.py index c5d29a01..9fac6323 100644 --- a/instana_client/models/session_replay_timestamps.py +++ b/instana_client/models/session_replay_timestamps.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_settings.py b/instana_client/models/session_settings.py index 23609d8e..90af67bf 100644 --- a/instana_client/models/session_settings.py +++ b/instana_client/models/session_settings.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/simple_metric_configuration.py b/instana_client/models/simple_metric_configuration.py index 491da089..ccea1ebd 100644 --- a/instana_client/models/simple_metric_configuration.py +++ b/instana_client/models/simple_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slack_integration.py b/instana_client/models/slack_integration.py index b60e44a9..d8bffca9 100644 --- a/instana_client/models/slack_integration.py +++ b/instana_client/models/slack_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_configuration.py b/instana_client/models/sli_configuration.py index d1679d94..f136405b 100644 --- a/instana_client/models/sli_configuration.py +++ b/instana_client/models/sli_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_configuration_with_last_updated.py b/instana_client/models/sli_configuration_with_last_updated.py index c0e98fff..6dab807f 100644 --- a/instana_client/models/sli_configuration_with_last_updated.py +++ b/instana_client/models/sli_configuration_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_entity.py b/instana_client/models/sli_entity.py index 5eecfe82..ad0ec458 100644 --- a/instana_client/models/sli_entity.py +++ b/instana_client/models/sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_report.py b/instana_client/models/sli_report.py index f39d79ce..f297ab7d 100644 --- a/instana_client/models/sli_report.py +++ b/instana_client/models/sli_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_config_with_rbac_tag.py b/instana_client/models/slo_config_with_rbac_tag.py index a9bb51a1..a08d97b9 100644 --- a/instana_client/models/slo_config_with_rbac_tag.py +++ b/instana_client/models/slo_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_entity.py b/instana_client/models/slo_entity.py index 950e3555..c4d389d0 100644 --- a/instana_client/models/slo_entity.py +++ b/instana_client/models/slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_report.py b/instana_client/models/slo_report.py index dde842c7..cb627561 100644 --- a/instana_client/models/slo_report.py +++ b/instana_client/models/slo_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_application_alert_rule.py b/instana_client/models/slowness_application_alert_rule.py index 9648168e..ded0561c 100644 --- a/instana_client/models/slowness_application_alert_rule.py +++ b/instana_client/models/slowness_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_mobile_app_alert_rule.py b/instana_client/models/slowness_mobile_app_alert_rule.py index 01f2c017..7215e96b 100644 --- a/instana_client/models/slowness_mobile_app_alert_rule.py +++ b/instana_client/models/slowness_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_website_alert_rule.py b/instana_client/models/slowness_website_alert_rule.py index 0f3b3811..fa879e52 100644 --- a/instana_client/models/slowness_website_alert_rule.py +++ b/instana_client/models/slowness_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_item.py b/instana_client/models/snapshot_item.py index eb7329d7..3953001b 100644 --- a/instana_client/models/snapshot_item.py +++ b/instana_client/models/snapshot_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_preview.py b/instana_client/models/snapshot_preview.py index 7837dc51..c0369329 100644 --- a/instana_client/models/snapshot_preview.py +++ b/instana_client/models/snapshot_preview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_result.py b/instana_client/models/snapshot_result.py index 2d690947..0f57cc6f 100644 --- a/instana_client/models/snapshot_result.py +++ b/instana_client/models/snapshot_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/software_user.py b/instana_client/models/software_user.py index 9952013f..8767b448 100644 --- a/instana_client/models/software_user.py +++ b/instana_client/models/software_user.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/software_version.py b/instana_client/models/software_version.py index 79c2cb8d..828a1d2f 100644 --- a/instana_client/models/software_version.py +++ b/instana_client/models/software_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_file_blob.py b/instana_client/models/source_map_file_blob.py index ce623c1e..cd8611b8 100644 --- a/instana_client/models/source_map_file_blob.py +++ b/instana_client/models/source_map_file_blob.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_file_meta.py b/instana_client/models/source_map_file_meta.py index 722a3b22..0fabba76 100644 --- a/instana_client/models/source_map_file_meta.py +++ b/instana_client/models/source_map_file_meta.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_upload_config.py b/instana_client/models/source_map_upload_config.py index ec2655d1..b8b82042 100644 --- a/instana_client/models/source_map_upload_config.py +++ b/instana_client/models/source_map_upload_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_upload_configs.py b/instana_client/models/source_map_upload_configs.py index 3dab8962..551d1848 100644 --- a/instana_client/models/source_map_upload_configs.py +++ b/instana_client/models/source_map_upload_configs.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/span_excerpt.py b/instana_client/models/span_excerpt.py index df7ebde9..6658aed8 100644 --- a/instana_client/models/span_excerpt.py +++ b/instana_client/models/span_excerpt.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/span_relation.py b/instana_client/models/span_relation.py index 6ce3317b..a10c874e 100644 --- a/instana_client/models/span_relation.py +++ b/instana_client/models/span_relation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/specific_js_errors_website_alert_rule.py b/instana_client/models/specific_js_errors_website_alert_rule.py index e278d4e9..18556c5a 100644 --- a/instana_client/models/specific_js_errors_website_alert_rule.py +++ b/instana_client/models/specific_js_errors_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/splunk_integration.py b/instana_client/models/splunk_integration.py index ed6fcbae..b1792f35 100644 --- a/instana_client/models/splunk_integration.py +++ b/instana_client/models/splunk_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_configuration.py b/instana_client/models/ssl_certificate_configuration.py index 7161ac6b..bab7845f 100644 --- a/instana_client/models/ssl_certificate_configuration.py +++ b/instana_client/models/ssl_certificate_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_configuration_update.py b/instana_client/models/ssl_certificate_configuration_update.py index 3fd5cb88..87b75a00 100644 --- a/instana_client/models/ssl_certificate_configuration_update.py +++ b/instana_client/models/ssl_certificate_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_validation.py b/instana_client/models/ssl_certificate_validation.py index 4500eaab..b0a5acdb 100644 --- a/instana_client/models/ssl_certificate_validation.py +++ b/instana_client/models/ssl_certificate_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/stack_trace_item.py b/instana_client/models/stack_trace_item.py index facfd8c2..fe24ec47 100644 --- a/instana_client/models/stack_trace_item.py +++ b/instana_client/models/stack_trace_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/stack_trace_line.py b/instana_client/models/stack_trace_line.py index a4f860c0..cd3cca38 100644 --- a/instana_client/models/stack_trace_line.py +++ b/instana_client/models/stack_trace_line.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_baseline_threshold_rule.py b/instana_client/models/static_baseline_threshold_rule.py index 825d8677..22d51f28 100644 --- a/instana_client/models/static_baseline_threshold_rule.py +++ b/instana_client/models/static_baseline_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_string_field.py b/instana_client/models/static_string_field.py index 3bf38da0..2304f8aa 100644 --- a/instana_client/models/static_string_field.py +++ b/instana_client/models/static_string_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_threshold.py b/instana_client/models/static_threshold.py index 3c90d1d2..5f404216 100644 --- a/instana_client/models/static_threshold.py +++ b/instana_client/models/static_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_threshold_rule.py b/instana_client/models/static_threshold_rule.py index 42c700ad..97a27bd3 100644 --- a/instana_client/models/static_threshold_rule.py +++ b/instana_client/models/static_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_application_alert_rule.py b/instana_client/models/status_code_application_alert_rule.py index 1fad9059..f4473864 100644 --- a/instana_client/models/status_code_application_alert_rule.py +++ b/instana_client/models/status_code_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_mobile_app_alert_rule.py b/instana_client/models/status_code_mobile_app_alert_rule.py index a9d494b1..f12432f6 100644 --- a/instana_client/models/status_code_mobile_app_alert_rule.py +++ b/instana_client/models/status_code_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_website_alert_rule.py b/instana_client/models/status_code_website_alert_rule.py index 918824d0..764e44a9 100644 --- a/instana_client/models/status_code_website_alert_rule.py +++ b/instana_client/models/status_code_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config.py b/instana_client/models/synthetic_alert_config.py index 9ea158bf..be82b923 100644 --- a/instana_client/models/synthetic_alert_config.py +++ b/instana_client/models/synthetic_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config_with_metadata.py b/instana_client/models/synthetic_alert_config_with_metadata.py index 966baaa5..94914d0f 100644 --- a/instana_client/models/synthetic_alert_config_with_metadata.py +++ b/instana_client/models/synthetic_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config_with_rbac_tag.py b/instana_client/models/synthetic_alert_config_with_rbac_tag.py index 649e5af3..b0362626 100644 --- a/instana_client/models/synthetic_alert_config_with_rbac_tag.py +++ b/instana_client/models/synthetic_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_rule.py b/instana_client/models/synthetic_alert_rule.py index 18233c2d..79bb5af1 100644 --- a/instana_client/models/synthetic_alert_rule.py +++ b/instana_client/models/synthetic_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_bulk_response.py b/instana_client/models/synthetic_bulk_response.py index 11ea8223..01d6ca65 100644 --- a/instana_client/models/synthetic_bulk_response.py +++ b/instana_client/models/synthetic_bulk_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_config.py b/instana_client/models/synthetic_call_config.py index 0bb0c602..a16e3706 100644 --- a/instana_client/models/synthetic_call_config.py +++ b/instana_client/models/synthetic_call_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_rule.py b/instana_client/models/synthetic_call_rule.py index 72687074..7a24b28b 100644 --- a/instana_client/models/synthetic_call_rule.py +++ b/instana_client/models/synthetic_call_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_with_defaults_config.py b/instana_client/models/synthetic_call_with_defaults_config.py index 77294f04..7bb18624 100644 --- a/instana_client/models/synthetic_call_with_defaults_config.py +++ b/instana_client/models/synthetic_call_with_defaults_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_configuration.py b/instana_client/models/synthetic_configuration.py index 8ec9ea38..d91cc104 100644 --- a/instana_client/models/synthetic_configuration.py +++ b/instana_client/models/synthetic_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_configuration_update.py b/instana_client/models/synthetic_configuration_update.py index 3057d7ac..4c74c900 100644 --- a/instana_client/models/synthetic_configuration_update.py +++ b/instana_client/models/synthetic_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_credential.py b/instana_client/models/synthetic_credential.py index 558960d2..643a639d 100644 --- a/instana_client/models/synthetic_credential.py +++ b/instana_client/models/synthetic_credential.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_datacenter.py b/instana_client/models/synthetic_datacenter.py index 1b642b62..591131e9 100644 --- a/instana_client/models/synthetic_datacenter.py +++ b/instana_client/models/synthetic_datacenter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_datacenter_configuration.py b/instana_client/models/synthetic_datacenter_configuration.py index 5dc35748..d12e1ad0 100644 --- a/instana_client/models/synthetic_datacenter_configuration.py +++ b/instana_client/models/synthetic_datacenter_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_geo_point.py b/instana_client/models/synthetic_geo_point.py index b31d2e80..5372f77c 100644 --- a/instana_client/models/synthetic_geo_point.py +++ b/instana_client/models/synthetic_geo_point.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_location.py b/instana_client/models/synthetic_location.py index 1f5b4d32..b52b646c 100644 --- a/instana_client/models/synthetic_location.py +++ b/instana_client/models/synthetic_location.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_location_configuration.py b/instana_client/models/synthetic_location_configuration.py index f376666b..460c2b93 100644 --- a/instana_client/models/synthetic_location_configuration.py +++ b/instana_client/models/synthetic_location_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_metric_configuration.py b/instana_client/models/synthetic_metric_configuration.py index c595d105..44471e4a 100644 --- a/instana_client/models/synthetic_metric_configuration.py +++ b/instana_client/models/synthetic_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_metric_tag_group.py b/instana_client/models/synthetic_metric_tag_group.py index 802da32f..2a89a669 100644 --- a/instana_client/models/synthetic_metric_tag_group.py +++ b/instana_client/models/synthetic_metric_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_playback_capabilities.py b/instana_client/models/synthetic_playback_capabilities.py index 4b4f94bb..32dd99f7 100644 --- a/instana_client/models/synthetic_playback_capabilities.py +++ b/instana_client/models/synthetic_playback_capabilities.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py index 06647efc..3464de47 100644 --- a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +++ b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py b/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py index 30fc5179..330593ae 100644 --- a/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py +++ b/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py index cb931fb4..59955c45 100644 --- a/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +++ b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_string_list_string.py b/instana_client/models/synthetic_resource_update_list_string_list_string.py index 95ab369e..5db72723 100644 --- a/instana_client/models/synthetic_resource_update_list_string_list_string.py +++ b/instana_client/models/synthetic_resource_update_list_string_list_string.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_map_string_string_list_string.py b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py index 573ba067..0b19a946 100644 --- a/instana_client/models/synthetic_resource_update_map_string_string_list_string.py +++ b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_slo_entity.py b/instana_client/models/synthetic_slo_entity.py index 1519bde4..d4f99453 100644 --- a/instana_client/models/synthetic_slo_entity.py +++ b/instana_client/models/synthetic_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test.py b/instana_client/models/synthetic_test.py index 6999f788..636dd521 100644 --- a/instana_client/models/synthetic_test.py +++ b/instana_client/models/synthetic_test.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd.py b/instana_client/models/synthetic_test_cicd.py index 58f5208d..3828b293 100644 --- a/instana_client/models/synthetic_test_cicd.py +++ b/instana_client/models/synthetic_test_cicd.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_customization.py b/instana_client/models/synthetic_test_cicd_customization.py index a832e553..e759bcfa 100644 --- a/instana_client/models/synthetic_test_cicd_customization.py +++ b/instana_client/models/synthetic_test_cicd_customization.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_item.py b/instana_client/models/synthetic_test_cicd_item.py index 3f3c2ec7..497a445f 100644 --- a/instana_client/models/synthetic_test_cicd_item.py +++ b/instana_client/models/synthetic_test_cicd_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_response.py b/instana_client/models/synthetic_test_cicd_response.py index a7855adf..1566f1f9 100644 --- a/instana_client/models/synthetic_test_cicd_response.py +++ b/instana_client/models/synthetic_test_cicd_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_deep_update.py b/instana_client/models/synthetic_test_deep_update.py index 8a70606a..11652f8a 100644 --- a/instana_client/models/synthetic_test_deep_update.py +++ b/instana_client/models/synthetic_test_deep_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_shallow_update.py b/instana_client/models/synthetic_test_shallow_update.py index d7c8da76..9c15df8d 100644 --- a/instana_client/models/synthetic_test_shallow_update.py +++ b/instana_client/models/synthetic_test_shallow_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_update.py b/instana_client/models/synthetic_test_update.py index 1c0f0d02..a20ef862 100644 --- a/instana_client/models/synthetic_test_update.py +++ b/instana_client/models/synthetic_test_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_time_threshold.py b/instana_client/models/synthetic_time_threshold.py index ba1039d0..272d6523 100644 --- a/instana_client/models/synthetic_time_threshold.py +++ b/instana_client/models/synthetic_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_type_configuration.py b/instana_client/models/synthetic_type_configuration.py index 9c239233..d7f78425 100644 --- a/instana_client/models/synthetic_type_configuration.py +++ b/instana_client/models/synthetic_type_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_type_configuration_update.py b/instana_client/models/synthetic_type_configuration_update.py index 7d2c2a05..59c9e0f3 100644 --- a/instana_client/models/synthetic_type_configuration_update.py +++ b/instana_client/models/synthetic_type_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetics_event_result.py b/instana_client/models/synthetics_event_result.py index ea8bad2a..b7bccd0c 100644 --- a/instana_client/models/synthetics_event_result.py +++ b/instana_client/models/synthetics_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class SyntheticsEventResult(EventResult): """ # noqa: E501 location_ids: Optional[List[StrictStr]] = Field(default=None, description="IDs of the locations.", alias="locationIds") synthetic_test_id: Optional[StrictStr] = Field(default=None, description="ID of the synthetic test.", alias="syntheticTestId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "locationIds", "syntheticTestId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "locationIds", "syntheticTestId"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -100,6 +101,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "locationIds": obj.get("locationIds"), "syntheticTestId": obj.get("syntheticTestId") diff --git a/instana_client/models/system_rule.py b/instana_client/models/system_rule.py index c65b8f96..a6119cad 100644 --- a/instana_client/models/system_rule.py +++ b/instana_client/models/system_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/system_rule_label.py b/instana_client/models/system_rule_label.py index ccb12c26..9d073f18 100644 --- a/instana_client/models/system_rule_label.py +++ b/instana_client/models/system_rule_label.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag.py b/instana_client/models/tag.py index e728773a..6419e83e 100644 --- a/instana_client/models/tag.py +++ b/instana_client/models/tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_catalog.py b/instana_client/models/tag_catalog.py index 57b250d6..37e54dc7 100644 --- a/instana_client/models/tag_catalog.py +++ b/instana_client/models/tag_catalog.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_expression.py b/instana_client/models/tag_filter_expression.py index ee604ea3..8f7f59df 100644 --- a/instana_client/models/tag_filter_expression.py +++ b/instana_client/models/tag_filter_expression.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_expression_element.py b/instana_client/models/tag_filter_expression_element.py index c7085780..a1b3eac6 100644 --- a/instana_client/models/tag_filter_expression_element.py +++ b/instana_client/models/tag_filter_expression_element.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_matcher_dto.py b/instana_client/models/tag_matcher_dto.py index 1a03528d..d9561b94 100644 --- a/instana_client/models/tag_matcher_dto.py +++ b/instana_client/models/tag_matcher_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_level.py b/instana_client/models/tag_tree_level.py index 49613d9c..b34854ab 100644 --- a/instana_client/models/tag_tree_level.py +++ b/instana_client/models/tag_tree_level.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_node.py b/instana_client/models/tag_tree_node.py index 53e7e513..3ddadd04 100644 --- a/instana_client/models/tag_tree_node.py +++ b/instana_client/models/tag_tree_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_tag.py b/instana_client/models/tag_tree_tag.py index 002120bf..edea2fb6 100644 --- a/instana_client/models/tag_tree_tag.py +++ b/instana_client/models/tag_tree_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_common_properties.py b/instana_client/models/test_common_properties.py index 14d029f4..b87bac23 100644 --- a/instana_client/models/test_common_properties.py +++ b/instana_client/models/test_common_properties.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_connection_response.py b/instana_client/models/test_connection_response.py index f584856d..a39034cd 100644 --- a/instana_client/models/test_connection_response.py +++ b/instana_client/models/test_connection_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_last_error.py b/instana_client/models/test_last_error.py index 3b8fe5fe..7426cc8d 100644 --- a/instana_client/models/test_last_error.py +++ b/instana_client/models/test_last_error.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result.py b/instana_client/models/test_result.py index b477956f..f339a10e 100644 --- a/instana_client/models/test_result.py +++ b/instana_client/models/test_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_common_properties.py b/instana_client/models/test_result_common_properties.py index 13c37ee0..4e59619f 100644 --- a/instana_client/models/test_result_common_properties.py +++ b/instana_client/models/test_result_common_properties.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,8 +32,10 @@ class TestResultCommonProperties(BaseModel): """ # noqa: E501 client_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="clientId") custom_tags: Optional[Dict[str, StrictStr]] = Field(default=None, alias="customTags") + dns_lookup: Optional[StrictStr] = Field(default=None, alias="dnsLookup") dns_query_type: Optional[StrictStr] = Field(default=None, alias="dnsQueryType") dns_server_name: Optional[StrictStr] = Field(default=None, alias="dnsServerName") + dns_transport: Optional[StrictStr] = Field(default=None, alias="dnsTransport") errors: Optional[List[StrictStr]] = None id: Optional[StrictStr] = None ism_details: Optional[Dict[str, StrictStr]] = Field(default=None, alias="ismDetails") @@ -46,7 +48,7 @@ class TestResultCommonProperties(BaseModel): test_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="testId") test_last_error: Optional[TestLastError] = Field(default=None, alias="testLastError") test_name: Optional[StrictStr] = Field(default=None, alias="testName") - __properties: ClassVar[List[str]] = ["clientId", "customTags", "dnsQueryType", "dnsServerName", "errors", "id", "ismDetails", "lastErrors", "locationDisplayLabel", "locationId", "runType", "sslDaysRemaining", "testCommonProperties", "testId", "testLastError", "testName"] + __properties: ClassVar[List[str]] = ["clientId", "customTags", "dnsLookup", "dnsQueryType", "dnsServerName", "dnsTransport", "errors", "id", "ismDetails", "lastErrors", "locationDisplayLabel", "locationId", "runType", "sslDaysRemaining", "testCommonProperties", "testId", "testLastError", "testName"] model_config = ConfigDict( populate_by_name=True, @@ -110,8 +112,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "clientId": obj.get("clientId"), "customTags": obj.get("customTags"), + "dnsLookup": obj.get("dnsLookup"), "dnsQueryType": obj.get("dnsQueryType"), "dnsServerName": obj.get("dnsServerName"), + "dnsTransport": obj.get("dnsTransport"), "errors": obj.get("errors"), "id": obj.get("id"), "ismDetails": obj.get("ismDetails"), diff --git a/instana_client/models/test_result_detail_data.py b/instana_client/models/test_result_detail_data.py index bd201783..86d5da8a 100644 --- a/instana_client/models/test_result_detail_data.py +++ b/instana_client/models/test_result_detail_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_item.py b/instana_client/models/test_result_item.py index 1762a34a..4a69f99c 100644 --- a/instana_client/models/test_result_item.py +++ b/instana_client/models/test_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_list_item.py b/instana_client/models/test_result_list_item.py index 5a0ed961..9e29c7da 100644 --- a/instana_client/models/test_result_list_item.py +++ b/instana_client/models/test_result_list_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_list_result.py b/instana_client/models/test_result_list_result.py index 3061489a..ca3e2499 100644 --- a/instana_client/models/test_result_list_result.py +++ b/instana_client/models/test_result_list_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_metadata.py b/instana_client/models/test_result_metadata.py index 73115986..55400367 100644 --- a/instana_client/models/test_result_metadata.py +++ b/instana_client/models/test_result_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_subtransaction.py b/instana_client/models/test_result_subtransaction.py index 2f943920..346ca30f 100644 --- a/instana_client/models/test_result_subtransaction.py +++ b/instana_client/models/test_result_subtransaction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold.py b/instana_client/models/threshold.py index 8383632e..3be75e9f 100644 --- a/instana_client/models/threshold.py +++ b/instana_client/models/threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold_config_rule.py b/instana_client/models/threshold_config_rule.py index 6c8afa48..e5387c47 100644 --- a/instana_client/models/threshold_config_rule.py +++ b/instana_client/models/threshold_config_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold_rule.py b/instana_client/models/threshold_rule.py index 255caf7a..e579613c 100644 --- a/instana_client/models/threshold_rule.py +++ b/instana_client/models/threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_application_alert_rule.py b/instana_client/models/throughput_application_alert_rule.py index 7d1b5eed..dd1634f8 100644 --- a/instana_client/models/throughput_application_alert_rule.py +++ b/instana_client/models/throughput_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_mobile_app_alert_rule.py b/instana_client/models/throughput_mobile_app_alert_rule.py index 7c405aa7..4fbe1b23 100644 --- a/instana_client/models/throughput_mobile_app_alert_rule.py +++ b/instana_client/models/throughput_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_website_alert_rule.py b/instana_client/models/throughput_website_alert_rule.py index 1bfce54f..84b87020 100644 --- a/instana_client/models/throughput_website_alert_rule.py +++ b/instana_client/models/throughput_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_frame.py b/instana_client/models/time_frame.py index 8f0e7bd1..c7d6db24 100644 --- a/instana_client/models/time_frame.py +++ b/instana_client/models/time_frame.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_window.py b/instana_client/models/time_window.py index 1d6ed62f..46207741 100644 --- a/instana_client/models/time_window.py +++ b/instana_client/models/time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/topology.py b/instana_client/models/topology.py index 639fff98..a285e83b 100644 --- a/instana_client/models/topology.py +++ b/instana_client/models/topology.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace.py b/instana_client/models/trace.py index 1024a9d6..bca2f797 100644 --- a/instana_client/models/trace.py +++ b/instana_client/models/trace.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_activity_tree_node_details.py b/instana_client/models/trace_activity_tree_node_details.py index 308c67ea..8655935e 100644 --- a/instana_client/models/trace_activity_tree_node_details.py +++ b/instana_client/models/trace_activity_tree_node_details.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_download_result.py b/instana_client/models/trace_download_result.py index 7984fb34..b28d65b2 100644 --- a/instana_client/models/trace_download_result.py +++ b/instana_client/models/trace_download_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_groups_item.py b/instana_client/models/trace_groups_item.py index 221468ee..3faa5eb6 100644 --- a/instana_client/models/trace_groups_item.py +++ b/instana_client/models/trace_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_groups_result.py b/instana_client/models/trace_groups_result.py index 3cade71d..b301236f 100644 --- a/instana_client/models/trace_groups_result.py +++ b/instana_client/models/trace_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_impact_application_time_threshold.py b/instana_client/models/trace_impact_application_time_threshold.py index 1b9c3d3b..a079758e 100644 --- a/instana_client/models/trace_impact_application_time_threshold.py +++ b/instana_client/models/trace_impact_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_item.py b/instana_client/models/trace_item.py index 68d15395..58189729 100644 --- a/instana_client/models/trace_item.py +++ b/instana_client/models/trace_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_result.py b/instana_client/models/trace_result.py index f4d6d00f..a0dff252 100644 --- a/instana_client/models/trace_result.py +++ b/instana_client/models/trace_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/traffic_blueprint_indicator.py b/instana_client/models/traffic_blueprint_indicator.py index a96fe30e..66323765 100644 --- a/instana_client/models/traffic_blueprint_indicator.py +++ b/instana_client/models/traffic_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trigger.py b/instana_client/models/trigger.py index 55cf260c..4c65f17e 100644 --- a/instana_client/models/trigger.py +++ b/instana_client/models/trigger.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/type_configuration.py b/instana_client/models/type_configuration.py index 883de794..4bba4eb8 100644 --- a/instana_client/models/type_configuration.py +++ b/instana_client/models/type_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/unsupported_http_path_segment_matching_rule.py b/instana_client/models/unsupported_http_path_segment_matching_rule.py index 0b2237db..6824162f 100644 --- a/instana_client/models/unsupported_http_path_segment_matching_rule.py +++ b/instana_client/models/unsupported_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/updated_business_perspective_config.py b/instana_client/models/updated_business_perspective_config.py index d38701ed..04a998c4 100644 --- a/instana_client/models/updated_business_perspective_config.py +++ b/instana_client/models/updated_business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/usage_result.py b/instana_client/models/usage_result.py index c58f66ad..e91ed826 100644 --- a/instana_client/models/usage_result.py +++ b/instana_client/models/usage_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/usage_result_items.py b/instana_client/models/usage_result_items.py index b51f3060..4587594c 100644 --- a/instana_client/models/usage_result_items.py +++ b/instana_client/models/usage_result_items.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_basic_result.py b/instana_client/models/user_basic_result.py index 4e0dd215..4e105757 100644 --- a/instana_client/models/user_basic_result.py +++ b/instana_client/models/user_basic_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_impact_mobile_app_time_threshold.py b/instana_client/models/user_impact_mobile_app_time_threshold.py index 078985d6..a338842f 100644 --- a/instana_client/models/user_impact_mobile_app_time_threshold.py +++ b/instana_client/models/user_impact_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_impact_website_time_threshold.py b/instana_client/models/user_impact_website_time_threshold.py index 609e7cfa..756b5264 100644 --- a/instana_client/models/user_impact_website_time_threshold.py +++ b/instana_client/models/user_impact_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_result.py b/instana_client/models/user_result.py index c9b613c5..48c12580 100644 --- a/instana_client/models/user_result.py +++ b/instana_client/models/user_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/users_result.py b/instana_client/models/users_result.py index e088b7bd..86ba067e 100644 --- a/instana_client/models/users_result.py +++ b/instana_client/models/users_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_alerting_channel_input_info.py b/instana_client/models/validated_alerting_channel_input_info.py index b8595e9a..9dc806f8 100644 --- a/instana_client/models/validated_alerting_channel_input_info.py +++ b/instana_client/models/validated_alerting_channel_input_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -53,8 +53,8 @@ def event_types_validate_enum(cls, value): @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'LogSmartAlert']): - raise ValueError("must be one of enum values ('Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'LogSmartAlert')") + if value not in set(['Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert']): + raise ValueError("must be one of enum values ('Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert')") return value model_config = ConfigDict( diff --git a/instana_client/models/validated_alerting_configuration.py b/instana_client/models/validated_alerting_configuration.py index bfbd5506..010488e6 100644 --- a/instana_client/models/validated_alerting_configuration.py +++ b/instana_client/models/validated_alerting_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py b/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py index bb6864ef..32be9cc1 100644 --- a/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +++ b/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_maintenance_config_with_status.py b/instana_client/models/validated_maintenance_config_with_status.py index 0da299ab..c90e1354 100644 --- a/instana_client/models/validated_maintenance_config_with_status.py +++ b/instana_client/models/validated_maintenance_config_with_status.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/victor_ops_integration.py b/instana_client/models/victor_ops_integration.py index aaa40485..59c21d9a 100644 --- a/instana_client/models/victor_ops_integration.py +++ b/instana_client/models/victor_ops_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_application_time_threshold.py b/instana_client/models/violations_in_period_application_time_threshold.py index 73323d10..8deee472 100644 --- a/instana_client/models/violations_in_period_application_time_threshold.py +++ b/instana_client/models/violations_in_period_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_mobile_app_time_threshold.py b/instana_client/models/violations_in_period_mobile_app_time_threshold.py index b65421a7..eeb6fc20 100644 --- a/instana_client/models/violations_in_period_mobile_app_time_threshold.py +++ b/instana_client/models/violations_in_period_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_website_time_threshold.py b/instana_client/models/violations_in_period_website_time_threshold.py index 3bfef371..578f8a11 100644 --- a/instana_client/models/violations_in_period_website_time_threshold.py +++ b/instana_client/models/violations_in_period_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_application_time_threshold.py b/instana_client/models/violations_in_sequence_application_time_threshold.py index 8f96e4c4..d1fcc5b7 100644 --- a/instana_client/models/violations_in_sequence_application_time_threshold.py +++ b/instana_client/models/violations_in_sequence_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_infra_time_threshold.py b/instana_client/models/violations_in_sequence_infra_time_threshold.py index a96e1749..0519839e 100644 --- a/instana_client/models/violations_in_sequence_infra_time_threshold.py +++ b/instana_client/models/violations_in_sequence_infra_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_log_time_threshold.py b/instana_client/models/violations_in_sequence_log_time_threshold.py index 4fa63a0f..b0d17707 100644 --- a/instana_client/models/violations_in_sequence_log_time_threshold.py +++ b/instana_client/models/violations_in_sequence_log_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py b/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py index 1a72c790..c894dfc0 100644 --- a/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +++ b/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_synthetic_time_threshold.py b/instana_client/models/violations_in_sequence_synthetic_time_threshold.py index 167177ac..e86da0ce 100644 --- a/instana_client/models/violations_in_sequence_synthetic_time_threshold.py +++ b/instana_client/models/violations_in_sequence_synthetic_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_website_time_threshold.py b/instana_client/models/violations_in_sequence_website_time_threshold.py index ca297581..c5ea28e7 100644 --- a/instana_client/models/violations_in_sequence_website_time_threshold.py +++ b/instana_client/models/violations_in_sequence_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/watson_ai_ops_webhook_integration.py b/instana_client/models/watson_ai_ops_webhook_integration.py index b857c880..ae952dd7 100644 --- a/instana_client/models/watson_ai_ops_webhook_integration.py +++ b/instana_client/models/watson_ai_ops_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webex_teams_webhook_integration.py b/instana_client/models/webex_teams_webhook_integration.py index f89f7e47..f7366cc8 100644 --- a/instana_client/models/webex_teams_webhook_integration.py +++ b/instana_client/models/webex_teams_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webhook_integration.py b/instana_client/models/webhook_integration.py index 7ca8ebc0..e736e788 100644 --- a/instana_client/models/webhook_integration.py +++ b/instana_client/models/webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_action_configuration.py b/instana_client/models/webpage_action_configuration.py index be1dd6ee..bc4fa3fd 100644 --- a/instana_client/models/webpage_action_configuration.py +++ b/instana_client/models/webpage_action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_action_configuration_update.py b/instana_client/models/webpage_action_configuration_update.py index dac4e2e5..d7e3f599 100644 --- a/instana_client/models/webpage_action_configuration_update.py +++ b/instana_client/models/webpage_action_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_script_configuration.py b/instana_client/models/webpage_script_configuration.py index 4c466c58..4214a7c7 100644 --- a/instana_client/models/webpage_script_configuration.py +++ b/instana_client/models/webpage_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration from typing import Optional, Set from typing_extensions import Self @@ -31,9 +32,10 @@ class WebpageScriptConfiguration(SyntheticTypeConfiguration): """ # noqa: E501 browser: Optional[StrictStr] = None file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") - script: Annotated[str, Field(min_length=0, strict=True, max_length=1048576)] - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script"] + script: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=1048576)]] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "browser", "fileName", "github", "recordVideo", "script"] @field_validator('browser') def browser_validate_enum(cls, value): @@ -84,6 +86,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() return _dict @classmethod @@ -103,6 +108,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "timeout": obj.get("timeout"), "browser": obj.get("browser"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "recordVideo": obj.get("recordVideo"), "script": obj.get("script") }) diff --git a/instana_client/models/webpage_script_configuration_update.py b/instana_client/models/webpage_script_configuration_update.py index e441c24b..ee9596b0 100644 --- a/instana_client/models/webpage_script_configuration_update.py +++ b/instana_client/models/webpage_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate from typing import Optional, Set from typing_extensions import Self @@ -30,9 +31,10 @@ class WebpageScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): """ # noqa: E501 browser: Optional[StrictStr] = None file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") script: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "github", "recordVideo", "script"] @field_validator('browser') def browser_validate_enum(cls, value): @@ -83,6 +85,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() return _dict @classmethod @@ -103,6 +108,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "timeout": obj.get("timeout"), "browser": obj.get("browser"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "recordVideo": obj.get("recordVideo"), "script": obj.get("script") }) diff --git a/instana_client/models/website.py b/instana_client/models/website.py index c0fa4f60..2866079f 100644 --- a/instana_client/models/website.py +++ b/instana_client/models/website.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config.py b/instana_client/models/website_alert_config.py index 3bd6e643..6567d598 100644 --- a/instana_client/models/website_alert_config.py +++ b/instana_client/models/website_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config_with_metadata.py b/instana_client/models/website_alert_config_with_metadata.py index 616dc72c..600a3c39 100644 --- a/instana_client/models/website_alert_config_with_metadata.py +++ b/instana_client/models/website_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config_with_rbac_tag.py b/instana_client/models/website_alert_config_with_rbac_tag.py index 2586af7f..a1459ee8 100644 --- a/instana_client/models/website_alert_config_with_rbac_tag.py +++ b/instana_client/models/website_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_rule.py b/instana_client/models/website_alert_rule.py index ca9aea8d..7c4d7e37 100644 --- a/instana_client/models/website_alert_rule.py +++ b/instana_client/models/website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_apdex_entity.py b/instana_client/models/website_apdex_entity.py index 938d8334..42395c3b 100644 --- a/instana_client/models/website_apdex_entity.py +++ b/instana_client/models/website_apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_groups_item.py b/instana_client/models/website_beacon_groups_item.py index 687d4ee9..d607c545 100644 --- a/instana_client/models/website_beacon_groups_item.py +++ b/instana_client/models/website_beacon_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_groups_result.py b/instana_client/models/website_beacon_groups_result.py index 6c30e6f2..dae07a13 100644 --- a/instana_client/models/website_beacon_groups_result.py +++ b/instana_client/models/website_beacon_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_result.py b/instana_client/models/website_beacon_result.py index 8b6ff00b..a71ee0a1 100644 --- a/instana_client/models/website_beacon_result.py +++ b/instana_client/models/website_beacon_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_tag_group.py b/instana_client/models/website_beacon_tag_group.py index 60da1bac..ffd41b63 100644 --- a/instana_client/models/website_beacon_tag_group.py +++ b/instana_client/models/website_beacon_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacons_item.py b/instana_client/models/website_beacons_item.py index 1ece5af3..487edcea 100644 --- a/instana_client/models/website_beacons_item.py +++ b/instana_client/models/website_beacons_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_event_based_sli_entity.py b/instana_client/models/website_event_based_sli_entity.py index 5541db03..5f356ba0 100644 --- a/instana_client/models/website_event_based_sli_entity.py +++ b/instana_client/models/website_event_based_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_event_result.py b/instana_client/models/website_event_result.py index bea31b3d..e3f39a26 100644 --- a/instana_client/models/website_event_result.py +++ b/instana_client/models/website_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class WebsiteEventResult(EventResult): WebsiteEventResult """ # noqa: E501 website_id: Optional[StrictStr] = Field(default=None, description="ID of the website.", alias="websiteId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "websiteId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "websiteId"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "websiteId": obj.get("websiteId") }) diff --git a/instana_client/models/website_metric_result.py b/instana_client/models/website_metric_result.py index 862e9bfc..9dd43a2b 100644 --- a/instana_client/models/website_metric_result.py +++ b/instana_client/models/website_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_beacon.py b/instana_client/models/website_monitoring_beacon.py index e29a8040..88347bf9 100644 --- a/instana_client/models/website_monitoring_beacon.py +++ b/instana_client/models/website_monitoring_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_metric_description.py b/instana_client/models/website_monitoring_metric_description.py index 20aee307..127cffe6 100644 --- a/instana_client/models/website_monitoring_metric_description.py +++ b/instana_client/models/website_monitoring_metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_metrics_configuration.py b/instana_client/models/website_monitoring_metrics_configuration.py index 276c7d7c..e42980f6 100644 --- a/instana_client/models/website_monitoring_metrics_configuration.py +++ b/instana_client/models/website_monitoring_metrics_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_slo_entity.py b/instana_client/models/website_slo_entity.py index ac71584c..6d579db9 100644 --- a/instana_client/models/website_slo_entity.py +++ b/instana_client/models/website_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_time_based_sli_entity.py b/instana_client/models/website_time_based_sli_entity.py index 47a7d381..11ef2484 100644 --- a/instana_client/models/website_time_based_sli_entity.py +++ b/instana_client/models/website_time_based_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_time_threshold.py b/instana_client/models/website_time_threshold.py index 9e872250..ad2fdd69 100644 --- a/instana_client/models/website_time_threshold.py +++ b/instana_client/models/website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/widget.py b/instana_client/models/widget.py index 815a60db..f2f843c5 100644 --- a/instana_client/models/widget.py +++ b/instana_client/models/widget.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_meta_data.py b/instana_client/models/with_meta_data.py index cfbcddcd..4f048644 100644 --- a/instana_client/models/with_meta_data.py +++ b/instana_client/models/with_meta_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_resolved_name.py b/instana_client/models/with_resolved_name.py index 3e0bf6c0..b46e2fde 100644 --- a/instana_client/models/with_resolved_name.py +++ b/instana_client/models/with_resolved_name.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/z_chat_ops_integration.py b/instana_client/models/z_chat_ops_integration.py index 1988741b..788471e0 100644 --- a/instana_client/models/z_chat_ops_integration.py +++ b/instana_client/models/z_chat_ops_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/rest.py b/instana_client/rest.py index c4d89e69..053b51f6 100644 --- a/instana_client/rest.py +++ b/instana_client/rest.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/openapi-generator-config.json b/openapi-generator-config.json index 3e23ca30..25b94602 100644 --- a/openapi-generator-config.json +++ b/openapi-generator-config.json @@ -1,6 +1,6 @@ { "packageName": "instana_client", "projectName": "instana-client", - "packageVersion": "1.0.8", + "packageVersion": "1.0.9", "packageUrl": "https://github.com/instana/client-python" } diff --git a/openapi.yaml b/openapi.yaml index fb86881d..315d1e06 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7,7 +7,7 @@ info: description: Documentation for INSTANA REST API termsOfService: https://www.instana.com/terms-of-use/ title: Instana REST API documentation - version: 1.319.1109 + version: 1.320.1414 x-description: info x-ibm-ahub-try: true x-logo: @@ -9055,6 +9055,18 @@ paths: name: sloId schema: type: string + - description: Apdex Configuration ID + example: APDXEANnWh9tQOa2h88kGxK6wQ + in: query + name: apdexId + schema: + type: string + - description: Alert Type filter - either 'SLO' or 'APDEX' + example: SLO + in: query + name: alertType + schema: + type: string - description: List of Service Levels Alert Configuration IDs example: ln3IGogYS-S7CPqcOQYTNA in: query @@ -16148,6 +16160,227 @@ paths: tags: - Mobile App Metrics x-ibm-ahub-byok: true + /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons: + get: + description: Retrieves action beacons (user interactions and events) for a mobile + app session. Uses cursor-based pagination with offset cursors. Returns beacons + starting from the cursor offset. The pageSize parameter controls the number + of items returned (default 100, max 1000). Includes event types, view components, + frustration signals, orientation changes, and more. + operationId: getActionBeacons + parameters: + - description: Mobile app identifier + example: app-456 + in: path + name: mobileAppId + required: true + schema: + type: string + minLength: 1 + - description: Session identifier + example: session-123 + in: path + name: sessionId + required: true + schema: + type: string + minLength: 1 + - description: Offset cursor for pagination (number of items already retrieved). + Omit for first page. + example: 100 + in: query + name: cursor + schema: + type: integer + format: int64 + - description: 'Number of items per page (default: 100, max: 1000)' + example: 100 + in: query + name: pageSize + schema: + type: integer + format: int32 + default: 100 + responses: + '200': + content: + application/json: + example: + beacons: + - timestamp: 1757339999715 + beaconType: ued + sessionId: 24c6c1d4-161f-4243-85eb-3d0f46edbcbf + sessionReplayVersion: 0.0.1 + eventType: st + orientationChange: null + viewComponentId: resetDirectory + viewComponentClassName: MaterialButton + mobileAppId: KVJIyIPsTUGfvNORN_07uQ + keyboardOperation: null + frustrationSignal: null + scrollDirection: null + scrollDuration: null + beaconId: ab3d7d1251f75ac5 + beaconClockskew: 1234 + appState: foreground + nextCursor: 100 + hasMore: true + schema: + $ref: '#/components/schemas/GetActionBeaconsResult' + description: OK + '400': + description: Bad Request - Invalid mobile app ID, session ID, or pagination + parameters + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Forbidden - User doesn't have access to this mobile app + '404': + description: Not Found - Mobile app or session not found + '500': + description: Internal server error. + summary: Get action beacons for a session + tags: + - Mobile App Catalog + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-metadata: + get: + description: Retrieves detailed metadata for session replay captured during + a mobile app session. Uses cursor-based pagination with timestamp cursors. + Returns metadata within the time window from cursor to cursor + pageSize. + The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes + all metadata fields such as event type, view components, orientation changes, + etc. + operationId: getSessionReplayMetadata + parameters: + - description: Mobile app identifier + example: app-456 + in: path + name: mobileAppId + required: true + schema: + type: string + minLength: 1 + - description: Session identifier + example: session-123 + in: path + name: sessionId + required: true + schema: + type: string + minLength: 1 + - description: Timestamp cursor for pagination (epoch milliseconds). Retrieves + metadata from this timestamp onwards. + example: 1234567890 + in: query + name: cursor + schema: + type: integer + format: int64 + - description: 'Time window size in milliseconds (default: 20000ms = 20 seconds)' + example: 20000 + in: query + name: pageSize + schema: + type: integer + format: int32 + default: 20000 + responses: + '200': + content: + application/json: + example: + metadata: + - id: abc-123 + sessionId: session-xyz + timestamp: 1234567890 + type: screenshot + imageFormat: png + bytesIngestedImage: 50000 + bytesIngestedMetadata: 1024 + eventType: click + viewComponentId: button-submit + viewComponentClassName: android.widget.Button + sessionReplayVersion: '2.0' + orientationChange: false + keyboardOperation: true + frustrationSignal: false + scrollDirection: down + scrollDuration: 500 + nextCursor: 1234567895 + hasMore: true + schema: + $ref: '#/components/schemas/GetSessionReplayMetadataResult' + description: OK + '400': + description: Bad Request - Invalid mobile app ID, session ID, or pagination + parameters + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Forbidden - User doesn't have access to this mobile app + '404': + description: Not Found - Mobile app or session not found + '500': + description: Internal server error. + summary: Get session replay metadata + tags: + - Mobile App Catalog + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps: + get: + description: Retrieves the first and last image timestamps for a mobile app + session. Returns null values if the session has no images. + operationId: getSessionReplayTimestamps + parameters: + - description: Mobile app identifier + example: app-456 + in: path + name: mobileAppId + required: true + schema: + type: string + minLength: 1 + - description: Session identifier + example: session-123 + in: path + name: sessionId + required: true + schema: + type: string + minLength: 1 + responses: + '200': + content: + application/json: + examples: + No images: + description: No images + value: + firstImageTimestamp: null + lastImageTimestamp: null + With images: + description: With images + value: + firstImageTimestamp: 1234567890 + lastImageTimestamp: 1234567990 + schema: + $ref: '#/components/schemas/SessionReplayTimestamps' + description: OK + '400': + description: Bad Request - Invalid mobile app ID or session ID + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Forbidden - User doesn't have access to this mobile app + '404': + description: Not Found - Mobile app or session not found + '500': + description: Internal server error. + summary: Get session replay timestamps + tags: + - Mobile App Catalog + x-ibm-ahub-byok: true /api/mobile-app-monitoring/session{id}{timestamp}: get: description: API request to get a mobile app monitoring session. @@ -16693,6 +16926,16 @@ paths: type: string description: Application or Website ID example: XIZGGVT1TX2O-0OFeT2Yig + - in: query + name: apdexIds + schema: + type: array + description: List of APDEX IDs for which details need to be fetched + example: APDWMaA2yKuSS6z50LR0-cGZA + items: + type: string + description: List of APDEX IDs for which details need to be fetched + example: APDWMaA2yKuSS6z50LR0-cGZA responses: '200': content: @@ -20254,6 +20497,34 @@ paths: tags: - Roles x-ibm-ahub-byok: true + /api/settings/rbac/roles/{roleId}/mappings: + get: + description: Retrieve IdP role mappings applicable to a specific role + operationId: getRoleMappings + parameters: + - in: path + name: roleId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RoleMappingOverview' + description: OK + '404': + description: role mapping not found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get role mappings + tags: + - Roles + x-ibm-ahub-byok: true /api/settings/rbac/teams: get: description: Retrieve all user teams for the current tenant unit. @@ -20555,6 +20826,34 @@ paths: tags: - Teams x-ibm-ahub-byok: true + /api/settings/rbac/teams/{teamId}/mappings: + get: + description: Retrieve IdP role mappings applicable to a specific team + operationId: getTeamRoleMappings + parameters: + - in: path + name: teamId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RoleMappingOverview' + description: OK + '404': + description: role mapping not found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get team role mappings + tags: + - Teams + x-ibm-ahub-byok: true /api/settings/session: delete: description: Delete tenant unit session settings. @@ -22334,6 +22633,574 @@ paths: tags: - SLI Report x-ibm-ahub-byok: true + /api/slo/catalog/metrics/mobile: + get: + description: API request to get mobile app SLI metric catalog filtered by golden + signal and beacon type. + operationId: getMobileAppSliMetricCatalog + parameters: + - in: query + name: sloBlueprint + schema: + type: string + - in: query + name: beaconType + schema: + type: string + responses: + '200': + content: + application/json: + example: |2 + [ + { + "metricId": "bytesIngestedSum", + "label": "Bytes ingested", + "formatter": "NUMBER", + "description": "Sum of bytes ingested", + "aggregations": [ + "SUM" + ], + "defaultAggregation": null, + "beaconTypes": [ + "crash", + "dropBeacon", + "viewChange", + "custom", + "perf", + "sessionStart", + "httpRequest" + ], + "pathToValueInBeacon": [ + "bytesIngested" + ], + "tagName": "mobileBeacon.bytesIngested", + "secondaryBeaconTypes": [], + "sliDescription": "Monitor data ingestion volume for capacity planning and cost management. Set thresholds to detect unusual data growth." + }, + { + "metricId": "androidEnuCount", + "label": "Excessive network usage: Android Occurences", + "formatter": "NUMBER", + "description": "When the mobile OS has detected that there has been excessive network usage in the past 24 hours", + "aggregatio[ + { + "metricId": "beaconErrorCount", + "label": "Beacon error count", + "formatter": "NUMBER", + "description": "The number of beacons resulting in error response.", + "aggregations": [ + "SUM" + ], + "sliDescription": "Track absolute number of failed requests. Useful for setting error budgets and alerting on error spikes.", + "supportedSliTypes": [ + "timeBased", + "eventBased" + ] + }, + { + "metricId": "beaconErrorRate", + "label": "Beacon error rate", + "formatter": "PERCENTAGE", + "description": "The percentage of beacons resulting in error response. A value between 0 and 1.", + "aggregations": [ + "MEAN" + ], + "sliDescription": "Measure API reliability by tracking the proportion of failed requests. Classic SLI for service availability.", + "supportedSliTypes": [ + "timeBased", + "eventBased" + ] + }, + { + "metricId": "http4xx", + "label": "HTTP 4XX", + "formatter": "NUMBER", + "description": "Number of HTTP calls with `400 <= status code <= 499`.", + "aggregations": [ + "SUM" + ], + "sliDescription": "Monitor client-side errors like bad requests or authentication failures. Helps identify integration issues.", + "supportedSliTypes": [ + "timeBased", + "eventBased" + ] + }, + { + "metricId": "http5xx", + "label": "HTTP 5XX", + "formatter": "NUMBER", + "description": "HTTP calls with 500 <= status code <= 599", + "aggregations": [ + "SUM" + ], + "sliDescription": "Track server-side errors indicating backend service issues. Critical for measuring service reliability.", + "supportedSliTypes": [ + "timeBased", + "eventBased" + ] + } + ] + schema: + type: array + items: + $ref: '#/components/schemas/MobileAppSloMetricCatalog' + description: OK + '400': + description: When the sloGoldenSignal/beaconType combination is unsupported. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Mobile app SLI metric catalog + tags: + - SLO Catalog for Mobile App + x-ibm-ahub-byok: true + /api/slo/catalog/tags/mobile: + get: + operationId: getMobileAppSloTagCatalog + parameters: + - in: query + name: beaconType + schema: + type: string + responses: + '200': + content: + application/json: + example: + tagTree: + - label: Commonly Used + description: null + icon: null + children: + - label: HTTP Call URL + description: The fully qualified URL of the executed HTTP request. + tagName: mobileBeacon.http.url + type: TAG + scoreBoost: 10 + type: LEVEL + queryable: false + - label: HTTP + description: null + icon: null + children: + - label: URL + description: The fully qualified URL of the executed HTTP request. + tagName: mobileBeacon.http.url + type: TAG + - label: Origin + description: The URL path of the executed HTTP request, i.e., + the combination of scheme, host and (optionally) port. + tagName: mobileBeacon.http.origin + type: TAG + - label: Path + description: The URL path of the executed HTTP request. + tagName: mobileBeacon.http.path + type: TAG + - label: Method + description: The HTTP method used for the request (e.g., GET, + POST, PUT, DELETE) + tagName: mobileBeacon.http.method + type: TAG + - label: Status Code + description: The HTTP status code returned by the server in response + to the mobile app's request + tagName: mobileBeacon.http.status + type: TAG + - label: Backend Trace ID + description: Unique identifier that connects the mobile app beacon + with backend traces + tagName: mobileBeacon.backend.traceId + type: TAG + - label: HTTP Headers + description: HTTP Headers collected via our Mobile App agent. + tagName: mobileBeacon.http.headers + type: TAG + - label: Cache + description: null + icon: null + children: + - label: Encoded Body Size + description: The size in bytes of a response body, e.g. HTTP + entity or cache retrieval, with any content-encoding, e.g. + gzip, still applied. + tagName: mobileBeacon.http.encodedBodySize + type: TAG + - label: Decoded Body Size + description: The size in bytes of a response body, e.g. HTTP + entity or cache retrieval, after content decoding, e.g. after + decompression. + tagName: mobileBeacon.http.decodedBodySize + type: TAG + - label: Transfer Size + description: The size in bytes of HTTP responses. + tagName: mobileBeacon.http.transferSize + type: TAG + scoreBoost: null + type: LEVEL + queryable: false + scoreBoost: null + type: LEVEL + queryable: false + - label: Error + description: null + icon: null + children: + - label: Error Count + description: The number of errors recorded for a single beacon. + tagName: mobileBeacon.error.count + type: TAG + - label: Erroneous + description: Whether or not a beacon has an error count > 0. + tagName: mobileBeacon.erroneous + type: TAG + - label: ID + description: A hash over a subset of the error properties. + tagName: mobileBeacon.error.id + type: TAG + - label: Error Type + description: The type or classification of the error that occurred + in the mobile app + tagName: mobileBeacon.error.type + type: TAG + - label: Error Message + description: The detailed error message describing what went wrong + in the mobile app + tagName: mobileBeacon.error.message + type: TAG + - label: Stack Trace + description: null + icon: null + children: + - label: Stack Trace + description: The stack trace of errors passed to our reportEvent + API. + tagName: mobileBeacon.stackTrace + type: TAG + scoreBoost: null + type: LEVEL + queryable: false + scoreBoost: null + type: LEVEL + queryable: false + tags: + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.status + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - status + name: mobileBeacon.http.status + type: STRING + aliases: [ + ] + label: Status Code + description: The HTTP status code returned by the server in response + to the mobile app's request + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.error.type + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - error + - type + name: mobileBeacon.error.type + type: STRING + aliases: [ + ] + label: Error Type + description: The type or classification of the error that occurred + in the mobile app + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.origin + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - origin + name: mobileBeacon.http.origin + type: STRING + aliases: [ + ] + label: Origin + description: The URL path of the executed HTTP request, i.e., the + combination of scheme, host and (optionally) port. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.method + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - method + name: mobileBeacon.http.method + type: STRING + aliases: [ + ] + label: Method + description: The HTTP method used for the request (e.g., GET, POST, + PUT, DELETE) + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.error.id + availability: [ + ] + idTag: true + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - error + - id + name: mobileBeacon.error.id + type: STRING + aliases: [ + ] + label: ID + description: A hash over a subset of the error properties. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.path + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - path + name: mobileBeacon.http.path + type: STRING + aliases: [ + ] + label: Path + description: The URL path of the executed HTTP request. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.stackTrace + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - stackTrace + name: mobileBeacon.stackTrace + type: STRING + aliases: [ + ] + label: Stack Trace + description: The stack trace of errors passed to our reportEvent + API. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.transferSize + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - transferSize + name: mobileBeacon.http.transferSize + type: NUMBER + aliases: [ + ] + label: Transfer Size + description: The size in bytes of HTTP responses. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.backend.traceId + availability: [ + ] + idTag: true + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - backend + - traceId + name: mobileBeacon.backend.traceId + type: STRING + aliases: [ + ] + label: Backend Trace ID + description: Unique identifier that connects the mobile app beacon + with backend traces + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.headers + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - http + - headers + name: mobileBeacon.http.headers + type: KEY_VALUE_PAIR + aliases: [ + ] + label: HTTP Headers + description: HTTP Headers collected via our Mobile App agent. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.error.count + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - error + - count + name: mobileBeacon.error.count + type: NUMBER + aliases: [ + ] + label: Error Count + description: The number of errors recorded for a single beacon. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.encodedBodySize + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - encodedBodySize + name: mobileBeacon.http.encodedBodySize + type: NUMBER + aliases: [ + ] + label: Encoded Body Size + description: The size in bytes of a response body, e.g. HTTP entity + or cache retrieval, with any content-encoding, e.g. gzip, still + applied. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.url + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - url + name: mobileBeacon.http.url + type: STRING + aliases: [ + ] + label: URL + description: The fully qualified URL of the executed HTTP request. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.erroneous + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - erroneous + name: mobileBeacon.erroneous + type: BOOLEAN + aliases: [ + ] + label: Erroneous + description: Whether or not a beacon has an error count > 0. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.decodedBodySize + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - decodedBodySize + name: mobileBeacon.http.decodedBodySize + type: NUMBER + aliases: [ + ] + label: Decoded Body Size + description: The size in bytes of a response body, e.g. HTTP entity + or cache retrieval, after content decoding, e.g. after decompression. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.error.message + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - error + - message + name: mobileBeacon.error.message + type: STRING + aliases: [ + ] + label: Error Message + description: The detailed error message describing what went wrong + in the mobile app + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + '400': + description: When the beaconType unsupported/unknown. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get mobile app monitoring tag catalog for Mobile App SLOs + tags: + - SLO Catalog for Mobile App + x-description: getMobileAppSloTagCatalog + x-ibm-ahub-byok: true /api/slo/correction: get: operationId: getSloCorrection @@ -27505,6 +28372,97 @@ components: - modifiedAt - name - type + ActionBeacon: + type: object + description: List of action beacons for the current page + properties: + appState: + type: string + description: Application state (e.g., foreground, background) + example: foreground + nullable: true + beaconClockskew: + type: integer + format: int64 + description: Clock skew in milliseconds between client and server + example: 1234 + nullable: true + beaconId: + type: string + description: Beacon identifier + example: beacon-123 + beaconType: + type: string + description: Type of beacon + example: ued + bytesIngestedMetadata: + type: integer + format: int64 + description: Bytes ingested for metadata + example: 1024 + nullable: true + eventType: + type: string + description: Event type (e.g., st=start, fs=frustration signal, oc=orientation + change) + example: st + nullable: true + frustrationSignal: + type: string + description: Frustration signal type (e.g., rt=rage tap) + example: rt + nullable: true + keyboardOperation: + type: string + description: Keyboard operation indicator + nullable: true + mobileAppId: + type: string + description: Mobile app identifier + example: KVJIyIPsTUGfvNORN_07uQ + orientationChange: + type: string + description: Orientation change indicator (l=landscape, p=portrait) + example: l + nullable: true + scrollDirection: + type: string + description: Scroll direction + nullable: true + scrollDuration: + type: string + description: Scroll duration in milliseconds + nullable: true + sessionId: + type: string + description: Session identifier + example: 24c6c1d4-161f-4243-85eb-3d0f46edbcbf + sessionReplayVersion: + type: string + description: Session replay version + example: 0.0.1 + nullable: true + timestamp: + type: integer + format: int64 + description: Timestamp when the action was captured (epoch milliseconds) + example: 1757339999715 + viewComponentClassName: + type: string + description: View component class name + example: MaterialButton + nullable: true + viewComponentId: + type: string + description: View component identifier + example: resetDirectory + nullable: true + required: + - beaconId + - beaconType + - mobileAppId + - sessionId + - timestamp ActionConfiguration: type: object description: List of action configurations. @@ -27984,6 +28942,20 @@ components: required: - duration - durationType + ApdexAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelsAlertRule' + - type: object + properties: + metric: + type: string + description: This is the Apdex metric type. Apdex alert uses SCORE + metric. + enum: + - SCORE + required: + - metric ApdexConfiguration: type: object properties: @@ -29652,6 +30624,8 @@ components: - firefox fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' recordVideo: type: boolean script: @@ -29681,6 +30655,8 @@ components: - firefox fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' recordVideo: type: boolean script: @@ -31823,6 +32799,12 @@ components: type: string deprecated: true description: Details of the event. + metadata: + type: object + additionalProperties: + type: object + description: Additional event meta data. + description: Additional event meta data. metrics: type: array description: List of metrics associated with the Event. @@ -31873,6 +32855,9 @@ components: state: type: string description: 'The state of the Event, "open" or "close". ' + triggeringEventId: + type: string + description: The triggering event ID in case of an incident. type: type: string description: The type of Event. @@ -32136,6 +33121,29 @@ components: minLength: 0 required: - name + GetActionBeaconsResult: + type: object + properties: + beacons: + type: array + description: List of action beacons for the current page + items: + $ref: '#/components/schemas/ActionBeacon' + hasMore: + type: boolean + description: Indicates whether more beacons are available beyond the current + page + example: true + nextCursor: + type: integer + format: int64 + description: Cursor for the next page (timestamp). Use this value in the + next request to fetch more beacons. + example: 1757340000000 + nullable: true + required: + - beacons + - hasMore GetActivities: type: object properties: @@ -32795,6 +33803,27 @@ components: $ref: '#/components/schemas/TimeFrame' required: - metrics + GetSessionReplayMetadataResult: + type: object + properties: + hasMore: + type: boolean + description: Whether there are more records to fetch beyond this page + example: true + metadata: + type: array + description: List of session replay metadata records + items: + $ref: '#/components/schemas/SessionReplayMetadata' + nextCursor: + type: integer + format: int64 + description: Cursor for the next page (timestamp of last record) + example: 1234587890 + nullable: true + required: + - hasMore + - metadata GetSnapshotsQuery: type: object properties: @@ -33172,6 +34201,20 @@ components: required: - metrics - type + GitHubConfiguration: + type: object + properties: + branchName: + type: string + credentialName: + type: string + scriptFile: + type: string + url: + type: string + required: + - branchName + - url GlobalApplicationAlertConfigWithMetadata: type: object properties: @@ -33905,6 +34948,8 @@ components: properties: fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' script: type: string maxLength: 1048576 @@ -33927,6 +34972,8 @@ components: properties: fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' script: type: string scriptType: @@ -34591,6 +35638,13 @@ components: type: object description: group of infrastructure entities properties: + adjustedGranularities: + type: object + additionalProperties: + type: integer + format: int64 + description: map of metric keys to their adjusted granularity (in milliseconds) + description: map of metric keys to their adjusted granularity (in milliseconds) count: type: integer format: int64 @@ -34640,6 +35694,13 @@ components: InfrastructureItem: type: object properties: + adjustedGranularities: + type: object + additionalProperties: + type: integer + format: int64 + description: map of metric keys to their adjusted granularity (in milliseconds) + description: map of metric keys to their adjusted granularity (in milliseconds) entityHealthInfo: $ref: '#/components/schemas/EntityHealthInfo' label: @@ -35892,6 +36953,11 @@ components: type: string metricId: type: string + source: + type: string + enum: + - INFRA + - APPLICATION timeWindow: type: object value: @@ -35916,6 +36982,12 @@ components: metricId: type: string description: The metric ID to retrieve + source: + type: string + description: The source catalog the metric was selected from + enum: + - INFRA + - APPLICATION timeWindow: type: object description: The time window in milliseconds for metric aggregation @@ -37010,6 +38082,9 @@ components: type: string maxLength: 128 minLength: 0 + sessionReplayStatus: + type: integer + format: int64 stackTrace: type: string maxLength: 16384 @@ -37273,6 +38348,8 @@ components: required: - aggregation - metric + MobileAppSloMetricCatalog: + type: object MobileAppTimeThreshold: type: object description: The type of threshold to define the criteria when the event and @@ -38010,6 +39087,29 @@ components: minimum: 7 required: - logVolume + RoleMappingOverview: + type: object + properties: + id: + type: string + key: + type: string + role: + type: string + roleId: + type: string + team: + type: string + teamId: + type: string + value: + type: string + required: + - id + - key + - role + - roleId + - value RollingTimeWindow: type: object allOf: @@ -38601,6 +39701,18 @@ components: maxItems: 1024 minItems: 0 uniqueItems: true + apdexIds: + type: array + description: This is the list of Apdex configurations related to this alert + (mutually exclusive with sloIds). + items: + type: string + description: This is the list of Apdex configurations related to this + alert (mutually exclusive with sloIds). + minLength: 1 + maxItems: 1024 + minItems: 0 + uniqueItems: true burnRateConfig: type: array description: This is the burn rate alert configuration which defines alerting @@ -38657,6 +39769,7 @@ components: accident. required: - alertChannelIds + - apdexIds - customPayloadFields - description - name @@ -38679,6 +39792,18 @@ components: maxItems: 1024 minItems: 0 uniqueItems: true + apdexIds: + type: array + description: This is the list of Apdex configurations related to this alert + (mutually exclusive with sloIds). + items: + type: string + description: This is the list of Apdex configurations related to this + alert (mutually exclusive with sloIds). + minLength: 1 + maxItems: 1024 + minItems: 0 + uniqueItems: true burnRateConfig: type: array description: This is the burn rate alert configuration which defines alerting @@ -38766,6 +39891,7 @@ components: accident. required: - alertChannelIds + - apdexIds - customPayloadFields - description - id @@ -38777,9 +39903,10 @@ components: ServiceLevelsAlertRule: type: object description: This is the service levels alert type. It could be error budget - alert or service levels object alert. + alert, service levels object alert, or Apdex alert. discriminator: mapping: + APDEX: '#/components/schemas/ApdexAlertRule' ERROR_BUDGET: '#/components/schemas/ErrorBudgetAlertRule' SERVICE_LEVELS_OBJECTIVE: '#/components/schemas/ServiceLevelObjectiveAlertRule' propertyName: alertType @@ -38889,6 +40016,18 @@ components: maxItems: 1024 minItems: 0 uniqueItems: true + apdexIds: + type: array + description: This is the list of Apdex configurations related to this alert + (mutually exclusive with sloIds). + items: + type: string + description: This is the list of Apdex configurations related to this + alert (mutually exclusive with sloIds). + minLength: 1 + maxItems: 1024 + minItems: 0 + uniqueItems: true burnRateConfig: type: array description: This is the burn rate alert configuration which defines alerting @@ -38970,6 +40109,7 @@ components: accident. required: - alertChannelIds + - apdexIds - customPayloadFields - description - id @@ -39265,6 +40405,63 @@ components: label: type: string description: 'Name of the Service. Eg: `payment`.' + SessionReplayMetadata: + type: object + description: List of session replay metadata records + properties: + bytesIngestedImage: + type: integer + format: int64 + description: Size of the image in bytes + example: 50000 + id: + type: string + description: Unique identifier for the metadata record + example: image-123 + imageData: + type: string + description: Base64-encoded image data loaded from external storage + example: iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg== + nullable: true + imageFormat: + type: string + description: Image format + example: png + sessionId: + type: string + description: Session identifier + example: session-xyz + timestamp: + type: integer + format: int64 + description: Timestamp when the record was captured (epoch milliseconds) + example: 1234567890 + type: + type: string + description: Type of record + example: screenshot + required: + - bytesIngestedImage + - id + - imageFormat + - sessionId + - timestamp + - type + SessionReplayTimestamps: + type: object + properties: + firstImageTimestamp: + type: integer + format: int64 + description: Timestamp of the first image in the session (epoch milliseconds). + Null if no images exist. + example: 1234567890 + lastImageTimestamp: + type: integer + format: int64 + description: Timestamp of the last image in the session (epoch milliseconds). + Null if no images exist. + example: 1234567990 SessionSettings: type: object properties: @@ -41865,10 +43062,14 @@ components: type: object additionalProperties: type: string + dnsLookup: + type: string dnsQueryType: type: string dnsServerName: type: string + dnsTransport: + type: string errors: type: array items: @@ -42792,6 +43993,7 @@ components: - SyntheticSmartAlert - InfraSmartAlert - ServiceLevelSmartAlert + - ApdexSmartAlert - LogSmartAlert required: - id @@ -43176,6 +44378,8 @@ components: - firefox fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' recordVideo: type: boolean script: @@ -43184,7 +44388,6 @@ components: minLength: 0 required: - markSyntheticCall - - script - syntheticType WebpageScriptConfigurationUpdate: type: object @@ -43199,6 +44402,8 @@ components: - firefox fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' recordVideo: type: boolean script: @@ -44685,6 +45890,7 @@ x-tagGroups: - Service Levels Alert Configuration - SLO Correction Configurations - SLO Correction Windows + - SLO Catalog for Mobile App - name: AI Management tags: - AI Management diff --git a/pyproject.toml b/pyproject.toml index 06795de1..b43ecf06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "instana_client" -version = "1.0.8" +version = "1.0.9" description = "Instana REST API documentation" authors = [ {name = "© Instana",email = "support@instana.com"}, diff --git a/setup.py b/setup.py index 92ebcab8..5e09762c 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "instana-client" -VERSION = "1.0.8" +VERSION = "1.0.9" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/test/test_apdex_alert_rule.py b/test/test_apdex_alert_rule.py new file mode 100644 index 00000000..6242e4b0 --- /dev/null +++ b/test/test_apdex_alert_rule.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.apdex_alert_rule import ApdexAlertRule + +class TestApdexAlertRule(unittest.TestCase): + """ApdexAlertRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApdexAlertRule: + """Test ApdexAlertRule + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApdexAlertRule` + """ + model = ApdexAlertRule() + if include_optional: + return ApdexAlertRule( + metric = 'SCORE' + ) + else: + return ApdexAlertRule( + metric = 'SCORE', + ) + """ + + def testApdexAlertRule(self): + """Test ApdexAlertRule""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_git_hub_configuration.py b/test/test_git_hub_configuration.py new file mode 100644 index 00000000..99441974 --- /dev/null +++ b/test/test_git_hub_configuration.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.git_hub_configuration import GitHubConfiguration + +class TestGitHubConfiguration(unittest.TestCase): + """GitHubConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GitHubConfiguration: + """Test GitHubConfiguration + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `GitHubConfiguration` + """ + model = GitHubConfiguration() + if include_optional: + return GitHubConfiguration( + branch_name = '', + credential_name = '', + script_file = '', + url = '' + ) + else: + return GitHubConfiguration( + branch_name = '', + url = '', + ) + """ + + def testGitHubConfiguration(self): + """Test GitHubConfiguration""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_role_mapping_overview.py b/test/test_role_mapping_overview.py new file mode 100644 index 00000000..f666b789 --- /dev/null +++ b/test/test_role_mapping_overview.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.role_mapping_overview import RoleMappingOverview + +class TestRoleMappingOverview(unittest.TestCase): + """RoleMappingOverview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RoleMappingOverview: + """Test RoleMappingOverview + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `RoleMappingOverview` + """ + model = RoleMappingOverview() + if include_optional: + return RoleMappingOverview( + id = '', + key = '', + role = '', + role_id = '', + team = '', + team_id = '', + value = '' + ) + else: + return RoleMappingOverview( + id = '', + key = '', + role = '', + role_id = '', + value = '', + ) + """ + + def testRoleMappingOverview(self): + """Test RoleMappingOverview""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_slo_catalog_for_mobile_app_api.py b/test/test_slo_catalog_for_mobile_app_api.py new file mode 100644 index 00000000..4cb4d433 --- /dev/null +++ b/test/test_slo_catalog_for_mobile_app_api.py @@ -0,0 +1,46 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi + + +class TestSLOCatalogForMobileAppApi(unittest.TestCase): + """SLOCatalogForMobileAppApi unit test stubs""" + + def setUp(self) -> None: + self.api = SLOCatalogForMobileAppApi() + + def tearDown(self) -> None: + pass + + def test_get_mobile_app_sli_metric_catalog(self) -> None: + """Test case for get_mobile_app_sli_metric_catalog + + Mobile app SLI metric catalog + """ + pass + + def test_get_mobile_app_slo_tag_catalog(self) -> None: + """Test case for get_mobile_app_slo_tag_catalog + + Get mobile app monitoring tag catalog for Mobile App SLOs + """ + pass + + +if __name__ == '__main__': + unittest.main()