instana-client 1.0.1__py3-none-any.whl → 1.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- instana_client/__init__.py +595 -1753
- instana_client/api/__init__.py +1 -77
- instana_client/api/action_catalog_api.py +1 -1
- instana_client/api/action_history_api.py +1 -1
- instana_client/api/ai_management_api.py +1 -1
- instana_client/api/apdex_report_api.py +1 -1
- instana_client/api/apdex_settings_api.py +1 -1
- instana_client/api/api_token_api.py +7 -8
- instana_client/api/application_alert_configuration_api.py +1 -1
- instana_client/api/application_analyze_api.py +1 -1
- instana_client/api/application_catalog_api.py +1 -1
- instana_client/api/application_metrics_api.py +1 -1
- instana_client/api/application_resources_api.py +152 -25
- instana_client/api/application_settings_api.py +1 -1
- instana_client/api/application_topology_api.py +1 -1
- instana_client/api/audit_log_api.py +1 -1
- instana_client/api/authentication_api.py +13 -29
- instana_client/api/business_monitoring_api.py +1 -1
- instana_client/api/custom_dashboards_api.py +1 -1
- instana_client/api/custom_entities_api.py +1 -276
- instana_client/api/end_user_monitoring_api.py +1 -1
- instana_client/api/event_settings_api.py +130 -21
- instana_client/api/events_api.py +1 -1
- instana_client/api/global_application_alert_configuration_api.py +1 -1
- instana_client/api/groups_api.py +13 -271
- instana_client/api/health_api.py +1 -1
- instana_client/api/host_agent_api.py +1 -1
- instana_client/api/infrastructure_alert_configuration_api.py +49 -29
- instana_client/api/infrastructure_analyze_api.py +1 -1
- instana_client/api/infrastructure_catalog_api.py +1 -1
- instana_client/api/infrastructure_metrics_api.py +1 -1
- instana_client/api/infrastructure_resources_api.py +1 -1
- instana_client/api/infrastructure_topology_api.py +1 -1
- instana_client/api/log_alert_configuration_api.py +7 -1
- instana_client/api/logging_analyze_api.py +1 -1
- instana_client/api/maintenance_configuration_api.py +1 -1
- instana_client/api/mobile_app_analyze_api.py +1 -1
- instana_client/api/mobile_app_catalog_api.py +1 -1
- instana_client/api/mobile_app_configuration_api.py +1 -1
- instana_client/api/mobile_app_metrics_api.py +1 -1
- instana_client/api/policies_api.py +1 -1
- instana_client/api/releases_api.py +1 -1
- instana_client/api/roles_api.py +17 -1
- instana_client/api/service_levels_alert_configuration_api.py +1 -1
- instana_client/api/service_levels_objective_slo_configurations_api.py +54 -1
- instana_client/api/service_levels_objective_slo_report_api.py +1 -1
- instana_client/api/session_settings_api.py +1 -1
- instana_client/api/sli_report_api.py +1 -1
- instana_client/api/sli_settings_api.py +1 -1
- instana_client/api/slo_correction_configurations_api.py +13 -4
- instana_client/api/slo_correction_windows_api.py +1 -1
- instana_client/api/synthetic_alert_configuration_api.py +1 -1
- instana_client/api/synthetic_calls_api.py +1 -1
- instana_client/api/synthetic_catalog_api.py +1 -1
- instana_client/api/synthetic_metrics_api.py +1 -1
- instana_client/api/synthetic_settings_api.py +570 -1
- instana_client/api/synthetic_test_playback_results_api.py +1 -1
- instana_client/api/teams_api.py +1 -1
- instana_client/api/usage_api.py +1 -1
- instana_client/api/user_api.py +1 -262
- instana_client/api/website_analyze_api.py +1 -1
- instana_client/api/website_catalog_api.py +1 -1
- instana_client/api/website_configuration_api.py +1 -1
- instana_client/api/website_metrics_api.py +1 -1
- instana_client/api_client.py +3 -10
- instana_client/configuration.py +3 -3
- instana_client/exceptions.py +1 -1
- instana_client/models/__init__.py +44 -5
- instana_client/models/abstract_integration.py +1 -1
- instana_client/models/abstract_rule.py +1 -1
- instana_client/models/access_log_entry.py +3 -3
- instana_client/models/access_log_response.py +1 -1
- instana_client/models/access_rule.py +1 -1
- instana_client/models/action.py +1 -1
- instana_client/models/action_configuration.py +1 -1
- instana_client/models/action_instance.py +1 -1
- instana_client/models/action_instance_metadata_entry.py +1 -1
- instana_client/models/action_instance_parameter.py +1 -1
- instana_client/models/action_instance_request.py +1 -1
- instana_client/models/action_instance_request_parameters.py +1 -1
- instana_client/models/action_match.py +1 -1
- instana_client/models/action_search_space.py +1 -1
- instana_client/models/adaptive_baseline.py +1 -1
- instana_client/models/adaptive_threshold_rule.py +1 -1
- instana_client/models/addition.py +1 -1
- instana_client/models/adjusted_timeframe.py +1 -1
- instana_client/models/agent_configuration_update.py +1 -1
- instana_client/models/alerting_configuration.py +1 -1
- instana_client/models/alerting_configuration_with_last_updated.py +1 -1
- instana_client/models/alerting_time_window.py +1 -1
- instana_client/models/apdex_configuration.py +1 -1
- instana_client/models/apdex_configuration_input.py +1 -1
- instana_client/models/apdex_entity.py +1 -1
- instana_client/models/apdex_report.py +1 -1
- instana_client/models/api_create_group.py +1 -1
- instana_client/models/api_create_role.py +1 -1
- instana_client/models/api_group.py +1 -1
- instana_client/models/api_member.py +1 -1
- instana_client/models/api_permission_set.py +1 -1
- instana_client/models/api_restricted_application_filter.py +1 -1
- instana_client/models/api_role.py +1 -1
- instana_client/models/api_tag.py +1 -1
- instana_client/models/api_team.py +1 -1
- instana_client/models/api_team_info.py +1 -1
- instana_client/models/api_team_member.py +1 -1
- instana_client/models/api_team_role.py +1 -1
- instana_client/models/api_team_scope.py +1 -1
- instana_client/models/api_token.py +8 -2
- instana_client/models/app_data_metric_configuration.py +1 -1
- instana_client/models/application.py +1 -1
- instana_client/models/application_alert_config.py +1 -1
- instana_client/models/application_alert_config_with_metadata.py +1 -1
- instana_client/models/application_alert_rule.py +1 -1
- instana_client/models/application_apdex_entity.py +1 -1
- instana_client/models/application_config.py +1 -1
- instana_client/models/application_event_result.py +3 -2
- instana_client/models/application_item.py +1 -1
- instana_client/models/application_metric_result.py +1 -1
- instana_client/models/application_node.py +1 -1
- instana_client/models/application_result.py +1 -1
- instana_client/models/application_scope.py +1 -1
- instana_client/models/application_scope_with_metadata.py +1 -1
- instana_client/models/application_sli_entity.py +1 -1
- instana_client/models/application_slo_entity.py +1 -1
- instana_client/models/application_time_threshold.py +1 -1
- instana_client/models/arithmetic_configuration.py +6 -4
- instana_client/models/arithmetic_operand.py +1 -1
- instana_client/models/arithmetic_operation.py +1 -1
- instana_client/models/audit_log_entry.py +1 -1
- instana_client/models/audit_log_ui_response.py +1 -1
- instana_client/models/author.py +1 -1
- instana_client/models/availability_blueprint_indicator.py +1 -1
- instana_client/models/availability_sli_entity.py +1 -1
- instana_client/models/available_metrics.py +1 -1
- instana_client/models/available_plugins.py +1 -1
- instana_client/models/backend_trace_reference.py +1 -1
- instana_client/models/bidirectional_ms_teams_app_integration.py +1 -1
- instana_client/models/bidirectional_slack_app_integration.py +4 -2
- instana_client/models/binary_operator_dto.py +1 -1
- instana_client/models/browser_script_configuration.py +1 -1
- instana_client/models/browser_script_configuration_update.py +129 -0
- instana_client/models/built_in_event_specification.py +1 -1
- instana_client/models/built_in_event_specification_with_last_updated.py +1 -1
- instana_client/models/business_activity.py +1 -1
- instana_client/models/business_perspective_config.py +1 -1
- instana_client/models/call_groups_item.py +1 -1
- instana_client/models/call_groups_result.py +1 -1
- instana_client/models/call_relation.py +1 -1
- instana_client/models/change_summary.py +1 -1
- instana_client/models/cloudfoundry_physical_context.py +1 -1
- instana_client/models/condition.py +1 -1
- instana_client/models/config_version.py +1 -1
- instana_client/models/correction.py +1 -1
- instana_client/models/correction_configuration.py +5 -4
- instana_client/models/correction_scheduling.py +4 -3
- instana_client/models/correction_window.py +1 -1
- instana_client/models/crash_mobile_app_alert_rule.py +1 -1
- instana_client/models/create_website_request_inner.py +1 -1
- instana_client/models/cursor_paginated_business_activity_item.py +1 -1
- instana_client/models/cursor_pagination.py +1 -1
- instana_client/models/cursor_pagination_infra_explore_cursor.py +1 -1
- instana_client/models/custom_blueprint_indicator.py +1 -1
- instana_client/models/custom_dashboard.py +1 -1
- instana_client/models/custom_dashboard_preview.py +1 -1
- instana_client/models/custom_dashboard_with_user_specific_information.py +1 -1
- instana_client/models/custom_dependency.py +10 -7
- instana_client/models/custom_email_subject_prefix.py +1 -1
- instana_client/models/custom_entity_model.py +1 -1
- instana_client/models/custom_entity_with_metadata.py +1 -1
- instana_client/models/custom_event_mobile_app_alert_rule.py +1 -1
- instana_client/models/custom_event_specification.py +1 -1
- instana_client/models/custom_event_specification_with_last_updated.py +1 -1
- instana_client/models/custom_event_website_alert_rule.py +1 -1
- instana_client/models/custom_metric.py +1 -1
- instana_client/models/custom_payload_configuration.py +1 -1
- instana_client/models/custom_payload_field.py +1 -1
- instana_client/models/custom_payload_with_last_updated.py +1 -1
- instana_client/models/custom_payload_with_version.py +1 -1
- instana_client/models/dashboard_api_token.py +1 -1
- instana_client/models/database_integration.py +1 -1
- instana_client/models/deprecated_tag_filter.py +1 -1
- instana_client/models/division.py +1 -1
- instana_client/models/dns_configuration.py +1 -1
- instana_client/models/dns_configuration_update.py +143 -0
- instana_client/models/dns_filter_query_time.py +1 -1
- instana_client/models/dns_filter_target_value.py +1 -1
- instana_client/models/duration.py +1 -1
- instana_client/models/dynamic_field.py +1 -1
- instana_client/models/dynamic_field_value.py +1 -1
- instana_client/models/dynamic_parameter.py +1 -1
- instana_client/models/edit_user.py +1 -1
- instana_client/models/email_integration.py +1 -1
- instana_client/models/empty_configuration.py +1 -1
- instana_client/models/endpoint.py +1 -1
- instana_client/models/endpoint_config.py +1 -1
- instana_client/models/endpoint_event_result.py +3 -2
- instana_client/models/endpoint_item.py +1 -1
- instana_client/models/endpoint_metric_result.py +1 -1
- instana_client/models/endpoint_node.py +1 -1
- instana_client/models/endpoint_result.py +1 -1
- instana_client/models/endpoint_simple.py +1 -1
- instana_client/models/entity_count_rule.py +1 -1
- instana_client/models/entity_count_verification_rule.py +1 -1
- instana_client/models/entity_health_info.py +1 -1
- instana_client/models/entity_id.py +1 -1
- instana_client/models/entity_verification_rule.py +1 -1
- instana_client/models/error_budget_alert_rule.py +1 -1
- instana_client/models/errors_application_alert_rule.py +1 -1
- instana_client/models/event.py +6 -2
- instana_client/models/event_filtering_configuration.py +1 -1
- instana_client/models/event_result.py +3 -2
- instana_client/models/event_specification_info.py +1 -1
- instana_client/models/extended_service.py +1 -1
- instana_client/models/failure_synthetic_alert_rule.py +1 -1
- instana_client/models/fixed_http_path_segment_matching_rule.py +1 -1
- instana_client/models/fixed_time_window.py +1 -1
- instana_client/models/generic_infra_alert_rule.py +1 -1
- instana_client/models/geo_location_configuration.py +1 -1
- instana_client/models/geo_mapping_rule.py +1 -1
- instana_client/models/geo_subdivision.py +1 -1
- instana_client/models/get_activities.py +1 -1
- instana_client/models/get_application_metrics.py +1 -1
- instana_client/models/get_applications.py +1 -1
- instana_client/models/get_available_metrics_query.py +1 -1
- instana_client/models/get_available_plugins_query.py +1 -1
- instana_client/models/get_call_groups.py +1 -1
- instana_client/models/get_combined_metrics.py +1 -1
- instana_client/models/get_dynamic_parameter_values.py +1 -1
- instana_client/models/get_endpoints.py +1 -1
- instana_client/models/get_infrastructure_groups_query.py +1 -1
- instana_client/models/get_infrastructure_query.py +1 -1
- instana_client/models/get_metrics_result.py +1 -1
- instana_client/models/get_mobile_app_beacon_groups.py +1 -1
- instana_client/models/get_mobile_app_beacons.py +1 -1
- instana_client/models/get_mobile_app_metrics.py +1 -1
- instana_client/models/get_mobile_app_metrics_v2.py +1 -1
- instana_client/models/get_payload_keys_result.py +1 -1
- instana_client/models/get_services.py +1 -1
- instana_client/models/get_snapshots_query.py +1 -1
- instana_client/models/get_test_result.py +1 -1
- instana_client/models/get_test_result_analytic.py +1 -1
- instana_client/models/get_test_result_base.py +1 -1
- instana_client/models/get_test_result_list.py +1 -1
- instana_client/models/get_test_summary_result.py +1 -1
- instana_client/models/get_trace_download_result_item.py +1 -1
- instana_client/models/get_trace_groups.py +1 -1
- instana_client/models/get_traces.py +1 -1
- instana_client/models/get_website_beacon_groups.py +1 -1
- instana_client/models/get_website_beacons.py +1 -1
- instana_client/models/get_website_metrics.py +1 -1
- instana_client/models/get_website_metrics_v2.py +1 -1
- instana_client/models/global_application_alert_config_with_metadata.py +1 -1
- instana_client/models/global_applications_alert_config.py +1 -1
- instana_client/models/google_chat_integration.py +1 -1
- instana_client/models/graph_edge.py +1 -1
- instana_client/models/graph_node.py +1 -1
- instana_client/models/group.py +1 -1
- instana_client/models/group_by_tag.py +1 -1
- instana_client/models/group_mapping.py +1 -1
- instana_client/models/group_mapping_overview.py +1 -1
- instana_client/models/health_state.py +1 -1
- instana_client/models/historic_baseline.py +1 -1
- instana_client/models/host_availability_rule.py +1 -1
- instana_client/models/http_action_configuration.py +1 -1
- instana_client/models/http_action_configuration_update.py +138 -0
- instana_client/models/http_endpoint_config.py +1 -1
- instana_client/models/http_endpoint_rule.py +1 -1
- instana_client/models/http_path_segment_matching_rule.py +1 -1
- instana_client/models/http_script_configuration.py +1 -1
- instana_client/models/http_script_configuration_update.py +115 -0
- instana_client/models/hyper_param.py +1 -1
- instana_client/models/identity_provider_patch.py +1 -1
- instana_client/models/impacted_beacon_info.py +1 -1
- instana_client/models/infra_alert_config.py +1 -1
- instana_client/models/infra_alert_config_with_metadata.py +1 -1
- instana_client/models/infra_alert_rule.py +1 -1
- instana_client/models/infra_event_result.py +3 -2
- instana_client/models/infra_metric_configuration.py +1 -1
- instana_client/models/infra_slo_entity.py +1 -1
- instana_client/models/infra_time_threshold.py +1 -1
- instana_client/models/infrastructure_entities_result.py +1 -1
- instana_client/models/infrastructure_group.py +1 -1
- instana_client/models/infrastructure_groups_result.py +1 -1
- instana_client/models/infrastructure_item.py +1 -1
- instana_client/models/infrastructure_metric_result.py +1 -1
- instana_client/models/instana_version_info.py +1 -1
- instana_client/models/integration_overview.py +1 -1
- instana_client/models/invitation.py +5 -3
- instana_client/models/invitation_response.py +1 -1
- instana_client/models/invitation_result.py +1 -1
- instana_client/models/ip_masking_configuration.py +1 -1
- instana_client/models/js_stack_trace_line.py +1 -1
- instana_client/models/kubernetes_physical_context.py +1 -1
- instana_client/models/latency_blueprint_indicator.py +1 -1
- instana_client/models/llm_egress_gateway.py +2 -3
- instana_client/models/location_status.py +1 -1
- instana_client/models/log_alert_config.py +1 -1
- instana_client/models/log_alert_config_with_metadata.py +1 -1
- instana_client/models/log_alert_rule.py +1 -1
- instana_client/models/log_count_alert_rule.py +1 -1
- instana_client/models/log_entry_actor.py +1 -1
- instana_client/models/log_event_result.py +3 -2
- instana_client/models/log_time_threshold.py +1 -1
- instana_client/models/log_volume_group.py +1 -1
- instana_client/models/log_volume_usage_item.py +1 -1
- instana_client/models/log_volume_usage_result.py +1 -1
- instana_client/models/logs_application_alert_rule.py +1 -1
- instana_client/models/maintenance_config.py +1 -1
- instana_client/models/maintenance_config_scheduling.py +1 -1
- instana_client/models/maintenance_config_v2.py +1 -1
- instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +1 -1
- instana_client/models/maintenance_config_with_last_updated.py +1 -1
- instana_client/models/maintenance_window.py +1 -1
- instana_client/models/manual_alerting_channel_configuration.py +1 -1
- instana_client/models/manual_close_info.py +1 -1
- instana_client/models/manual_service_config.py +1 -1
- instana_client/models/match_all_http_path_segment_matching_rule.py +1 -1
- instana_client/models/match_expression_dto.py +1 -1
- instana_client/models/meta_data.py +1 -1
- instana_client/models/metric_api_result.py +1 -1
- instana_client/models/metric_config.py +1 -1
- instana_client/models/metric_configuration.py +1 -1
- instana_client/models/metric_description.py +1 -1
- instana_client/models/metric_instance.py +1 -1
- instana_client/models/metric_item.py +1 -1
- instana_client/models/metric_metadata.py +1 -1
- instana_client/models/metric_pattern.py +1 -1
- instana_client/models/metric_query.py +1 -1
- instana_client/models/metrics_result.py +1 -1
- instana_client/models/metrics_result_item.py +1 -1
- instana_client/models/metrics_test_result_item.py +1 -1
- instana_client/models/mobile_app.py +1 -1
- instana_client/models/mobile_app_alert_config.py +1 -1
- instana_client/models/mobile_app_alert_rule.py +1 -1
- instana_client/models/mobile_app_beacon_groups_item.py +1 -1
- instana_client/models/mobile_app_beacon_groups_result.py +1 -1
- instana_client/models/mobile_app_beacon_result.py +1 -1
- instana_client/models/mobile_app_beacon_tag_group.py +1 -1
- instana_client/models/mobile_app_beacons_item.py +1 -1
- instana_client/models/mobile_app_event_result.py +3 -2
- instana_client/models/mobile_app_metric_result.py +1 -1
- instana_client/models/mobile_app_monitoring_beacon.py +1 -1
- instana_client/models/mobile_app_monitoring_metric_description.py +1 -1
- instana_client/models/mobile_app_monitoring_metrics_configuration.py +1 -1
- instana_client/models/mobile_app_time_threshold.py +1 -1
- instana_client/models/model_field.py +1 -1
- instana_client/models/monitored_entities_stats.py +1 -1
- instana_client/models/monitoring_state.py +1 -1
- instana_client/models/multiple_scripts_configuration.py +1 -1
- instana_client/models/multiplication.py +1 -1
- instana_client/models/nested_operation.py +1 -1
- instana_client/models/new_application_config.py +1 -1
- instana_client/models/new_business_perspective_config.py +1 -1
- instana_client/models/new_manual_service_config.py +1 -1
- instana_client/models/o_auth_config.py +5 -2
- instana_client/models/o_auth_integration.py +1 -1
- instana_client/models/o_auth_token.py +5 -15
- instana_client/models/occurrence.py +1 -1
- instana_client/models/office365_integration.py +1 -1
- instana_client/models/one_time_maintenance_window.py +1 -1
- instana_client/models/opsgenie_integration.py +1 -1
- instana_client/models/order.py +1 -1
- instana_client/models/pagerduty_integration.py +1 -1
- instana_client/models/paginated_result.py +1 -1
- instana_client/models/pagination.py +1 -1
- instana_client/models/parameter.py +1 -1
- instana_client/models/parameter_value.py +1 -1
- instana_client/models/path_parameter_http_path_segment_matching_rule.py +1 -1
- instana_client/models/physical_context.py +1 -1
- instana_client/models/plugin_result.py +1 -1
- instana_client/models/policy.py +1 -1
- instana_client/models/policy_runnable.py +1 -1
- instana_client/models/policy_scheduling.py +1 -1
- instana_client/models/post_mobile_app_source_map_config_request.py +1 -1
- instana_client/models/post_snapshots_result.py +1 -1
- instana_client/models/problem.py +1 -1
- instana_client/models/prometheus_webhook_integration.py +1 -1
- instana_client/models/recurrent_maintenance_window.py +1 -1
- instana_client/models/release.py +1 -1
- instana_client/models/release_scope.py +1 -1
- instana_client/models/release_with_metadata.py +1 -1
- instana_client/models/retention_period.py +1 -1
- instana_client/models/rolling_time_window.py +1 -1
- instana_client/models/rule_input.py +1 -1
- instana_client/models/rule_with_threshold_application_alert_rule.py +1 -1
- instana_client/models/rule_with_threshold_infra_alert_rule.py +1 -1
- instana_client/models/rule_with_threshold_log_alert_rule.py +1 -1
- instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +1 -1
- instana_client/models/rule_with_threshold_website_alert_rule.py +1 -1
- instana_client/models/run_configuration.py +1 -1
- instana_client/models/salesforce_integration.py +1 -1
- instana_client/models/saturation_blueprint_indicator.py +1 -1
- instana_client/models/scope_binding.py +1 -1
- instana_client/models/search_field_result.py +1 -1
- instana_client/models/service.py +1 -1
- instana_client/models/service_config.py +1 -1
- instana_client/models/service_event_result.py +3 -2
- instana_client/models/service_item.py +1 -1
- instana_client/models/service_level_indicator.py +1 -1
- instana_client/models/service_level_objective_alert_rule.py +1 -1
- instana_client/models/service_levels_alert_config.py +1 -1
- instana_client/models/service_levels_alert_rule.py +1 -1
- instana_client/models/service_levels_burn_rate_config.py +1 -1
- instana_client/models/service_levels_burn_rate_time_windows.py +1 -1
- instana_client/models/service_levels_static_threshold_config.py +1 -1
- instana_client/models/service_levels_time_threshold.py +1 -1
- instana_client/models/service_levelse_alert_config_with_metadata.py +1 -1
- instana_client/models/service_map.py +1 -1
- instana_client/models/service_map_connection.py +1 -1
- instana_client/models/service_matching_rule.py +1 -1
- instana_client/models/service_metric_result.py +1 -1
- instana_client/models/service_node.py +1 -1
- instana_client/models/service_now_enhanced_integration.py +1 -1
- instana_client/models/service_now_integration.py +1 -1
- instana_client/models/service_result.py +1 -1
- instana_client/models/service_scope.py +1 -1
- instana_client/models/service_scope_with_metadata.py +1 -1
- instana_client/models/service_scoped_to.py +1 -1
- instana_client/models/service_scoped_to_with_metadata.py +1 -1
- instana_client/models/service_simple.py +1 -1
- instana_client/models/session_settings.py +1 -1
- instana_client/models/simple_metric_configuration.py +6 -4
- instana_client/models/single_value.py +1 -1
- instana_client/models/slack_integration.py +1 -1
- instana_client/models/sli_configuration.py +1 -1
- instana_client/models/sli_configuration_with_last_updated.py +1 -1
- instana_client/models/sli_entity.py +1 -1
- instana_client/models/sli_report.py +1 -1
- instana_client/models/slo_config_with_rbac_tag.py +1 -1
- instana_client/models/slo_entity.py +1 -1
- instana_client/models/slo_report.py +1 -1
- instana_client/models/slowness_application_alert_rule.py +1 -1
- instana_client/models/slowness_mobile_app_alert_rule.py +1 -1
- instana_client/models/slowness_website_alert_rule.py +1 -1
- instana_client/models/snapshot_item.py +1 -1
- instana_client/models/snapshot_preview.py +1 -1
- instana_client/models/snapshot_result.py +1 -1
- instana_client/models/software_user.py +1 -1
- instana_client/models/software_version.py +1 -1
- instana_client/models/source_map_file_blob.py +1 -1
- instana_client/models/source_map_file_meta.py +1 -1
- instana_client/models/source_map_upload_config.py +1 -1
- instana_client/models/source_map_upload_configs.py +1 -1
- instana_client/models/span_excerpt.py +1 -1
- instana_client/models/span_relation.py +1 -1
- instana_client/models/specific_js_errors_website_alert_rule.py +1 -1
- instana_client/models/splunk_integration.py +1 -1
- instana_client/models/ssl_certificate_configuration.py +1 -1
- instana_client/models/ssl_certificate_configuration_update.py +107 -0
- instana_client/models/ssl_certificate_validation.py +1 -1
- instana_client/models/stack_trace_item.py +1 -1
- instana_client/models/stack_trace_line.py +1 -1
- instana_client/models/static_baseline_threshold_rule.py +1 -1
- instana_client/models/static_string_field.py +1 -1
- instana_client/models/static_threshold.py +1 -1
- instana_client/models/static_threshold_rule.py +1 -1
- instana_client/models/status_code_application_alert_rule.py +1 -1
- instana_client/models/status_code_mobile_app_alert_rule.py +1 -1
- instana_client/models/status_code_website_alert_rule.py +1 -1
- instana_client/models/subtraction.py +1 -1
- instana_client/models/synthetic_alert_config.py +1 -1
- instana_client/models/synthetic_alert_config_with_metadata.py +1 -1
- instana_client/models/synthetic_alert_rule.py +1 -1
- instana_client/models/synthetic_bulk_response.py +92 -0
- instana_client/models/synthetic_call_config.py +1 -1
- instana_client/models/synthetic_call_rule.py +1 -1
- instana_client/models/synthetic_call_with_defaults_config.py +1 -1
- instana_client/models/synthetic_configuration.py +1 -1
- instana_client/models/synthetic_configuration_update.py +95 -0
- instana_client/models/synthetic_credential.py +1 -1
- instana_client/models/synthetic_datacenter.py +1 -1
- instana_client/models/synthetic_datacenter_configuration.py +1 -1
- instana_client/models/synthetic_geo_point.py +1 -1
- instana_client/models/synthetic_location.py +1 -1
- instana_client/models/synthetic_location_configuration.py +1 -1
- instana_client/models/synthetic_metric_configuration.py +1 -1
- instana_client/models/synthetic_metric_tag_group.py +17 -4
- instana_client/models/synthetic_playback_capabilities.py +1 -1
- instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +105 -0
- instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +105 -0
- instana_client/models/synthetic_resource_update_list_string_list_string.py +90 -0
- instana_client/models/synthetic_resource_update_map_string_string_list_string.py +90 -0
- instana_client/models/synthetic_slo_entity.py +1 -1
- instana_client/models/synthetic_test.py +1 -1
- instana_client/models/synthetic_test_cicd.py +1 -1
- instana_client/models/synthetic_test_cicd_customization.py +1 -1
- instana_client/models/synthetic_test_cicd_item.py +1 -1
- instana_client/models/synthetic_test_cicd_response.py +1 -1
- instana_client/models/synthetic_test_deep_update.py +122 -0
- instana_client/models/synthetic_test_shallow_update.py +122 -0
- instana_client/models/synthetic_test_update.py +147 -0
- instana_client/models/synthetic_time_threshold.py +1 -1
- instana_client/models/synthetic_type_configuration.py +1 -1
- instana_client/models/synthetic_type_configuration_update.py +152 -0
- instana_client/models/synthetics_event_result.py +3 -2
- instana_client/models/system_rule.py +1 -1
- instana_client/models/system_rule_label.py +1 -1
- instana_client/models/tag.py +1 -1
- instana_client/models/tag_catalog.py +1 -1
- instana_client/models/tag_filter.py +19 -7
- instana_client/models/tag_filter_all_of_value.py +195 -0
- instana_client/models/tag_filter_expression.py +1 -1
- instana_client/models/tag_filter_expression_element.py +1 -1
- instana_client/models/tag_matcher_dto.py +1 -1
- instana_client/models/tag_tree_level.py +1 -1
- instana_client/models/tag_tree_node.py +1 -1
- instana_client/models/tag_tree_tag.py +1 -1
- instana_client/models/test_common_properties.py +1 -1
- instana_client/models/test_last_error.py +1 -1
- instana_client/models/test_result.py +1 -1
- instana_client/models/test_result_common_properties.py +1 -1
- instana_client/models/test_result_detail_data.py +1 -1
- instana_client/models/test_result_item.py +1 -1
- instana_client/models/test_result_list_item.py +1 -1
- instana_client/models/test_result_list_result.py +1 -1
- instana_client/models/test_result_metadata.py +1 -1
- instana_client/models/test_result_subtransaction.py +1 -1
- instana_client/models/threshold.py +1 -1
- instana_client/models/threshold_config_rule.py +1 -1
- instana_client/models/threshold_rule.py +1 -1
- instana_client/models/throughput_application_alert_rule.py +1 -1
- instana_client/models/throughput_mobile_app_alert_rule.py +1 -1
- instana_client/models/throughput_website_alert_rule.py +1 -1
- instana_client/models/time_frame.py +1 -1
- instana_client/models/time_window.py +1 -1
- instana_client/models/topology.py +1 -1
- instana_client/models/trace.py +1 -1
- instana_client/models/trace_activity_tree_node_details.py +15 -3
- instana_client/models/trace_download_result.py +1 -1
- instana_client/models/trace_groups_item.py +1 -1
- instana_client/models/trace_groups_result.py +1 -1
- instana_client/models/trace_impact_application_time_threshold.py +1 -1
- instana_client/models/trace_item.py +1 -1
- instana_client/models/trace_result.py +1 -1
- instana_client/models/traffic_blueprint_indicator.py +1 -1
- instana_client/models/trigger.py +1 -1
- instana_client/models/type_configuration.py +1 -1
- instana_client/models/unsupported_http_path_segment_matching_rule.py +1 -1
- instana_client/models/updated_business_perspective_config.py +1 -1
- instana_client/models/usage_result.py +1 -1
- instana_client/models/usage_result_items.py +1 -1
- instana_client/models/user_basic_result.py +1 -1
- instana_client/models/user_impact_mobile_app_time_threshold.py +1 -1
- instana_client/models/user_impact_website_time_threshold.py +1 -1
- instana_client/models/user_result.py +1 -1
- instana_client/models/users_result.py +1 -1
- instana_client/models/validated_alerting_channel_input_info.py +1 -1
- instana_client/models/validated_alerting_configuration.py +1 -1
- instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +1 -1
- instana_client/models/validated_maintenance_config_with_status.py +1 -1
- instana_client/models/victor_ops_integration.py +1 -1
- instana_client/models/violations_in_period_application_time_threshold.py +1 -1
- instana_client/models/violations_in_period_mobile_app_time_threshold.py +1 -1
- instana_client/models/violations_in_period_website_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_application_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_infra_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_log_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_synthetic_time_threshold.py +1 -1
- instana_client/models/violations_in_sequence_website_time_threshold.py +1 -1
- instana_client/models/watson_ai_ops_webhook_integration.py +1 -1
- instana_client/models/webex_teams_webhook_integration.py +1 -1
- instana_client/models/webhook_integration.py +1 -1
- instana_client/models/webpage_action_configuration.py +1 -1
- instana_client/models/webpage_action_configuration_update.py +109 -0
- instana_client/models/webpage_script_configuration.py +1 -1
- instana_client/models/webpage_script_configuration_update.py +111 -0
- instana_client/models/website.py +1 -1
- instana_client/models/website_alert_config.py +1 -1
- instana_client/models/website_alert_config_with_metadata.py +1 -1
- instana_client/models/website_alert_rule.py +1 -1
- instana_client/models/website_apdex_entity.py +1 -1
- instana_client/models/website_beacon_groups_item.py +1 -1
- instana_client/models/website_beacon_groups_result.py +1 -1
- instana_client/models/website_beacon_result.py +1 -1
- instana_client/models/website_beacon_tag_group.py +1 -1
- instana_client/models/website_beacons_item.py +1 -1
- instana_client/models/website_event_based_sli_entity.py +1 -1
- instana_client/models/website_event_result.py +3 -2
- instana_client/models/website_metric_result.py +1 -1
- instana_client/models/website_monitoring_beacon.py +1 -1
- instana_client/models/website_monitoring_metric_description.py +1 -1
- instana_client/models/website_monitoring_metrics_configuration.py +1 -1
- instana_client/models/website_slo_entity.py +1 -1
- instana_client/models/website_time_based_sli_entity.py +1 -1
- instana_client/models/website_time_threshold.py +1 -1
- instana_client/models/widget.py +1 -1
- instana_client/models/with_metadata.py +1 -1
- instana_client/models/with_resolved_name.py +1 -1
- instana_client/models/z_chat_ops_integration.py +1 -1
- instana_client/rest.py +1 -1
- {instana_client-1.0.1.dist-info → instana_client-1.0.3.dist-info}/METADATA +47 -18
- instana_client-1.0.3.dist-info/RECORD +599 -0
- {instana_client-1.0.1.dist-info → instana_client-1.0.3.dist-info}/WHEEL +1 -1
- instana_client-1.0.1.dist-info/RECORD +0 -581
- {instana_client-1.0.1.dist-info → instana_client-1.0.3.dist-info}/licenses/LICENSE +0 -0
- {instana_client-1.0.1.dist-info → instana_client-1.0.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Instana REST API documentation
|
|
5
|
+
|
|
6
|
+
Documentation for INSTANA REST API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.309.1268
|
|
9
|
+
Contact: support@instana.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class SyntheticResourceUpdateMapStringStringListString(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
SyntheticResourceUpdateMapStringStringListString
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
add: Optional[Dict[str, StrictStr]] = None
|
|
31
|
+
remove: Optional[List[StrictStr]] = None
|
|
32
|
+
__properties: ClassVar[List[str]] = ["add", "remove"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_str(self) -> str:
|
|
42
|
+
"""Returns the string representation of the model using alias"""
|
|
43
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
+
|
|
45
|
+
def to_json(self) -> str:
|
|
46
|
+
"""Returns the JSON representation of the model using alias"""
|
|
47
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
+
return json.dumps(self.to_dict())
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
+
"""Create an instance of SyntheticResourceUpdateMapStringStringListString from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
+
"""Return the dictionary representation of the model using alias.
|
|
57
|
+
|
|
58
|
+
This has the following differences from calling pydantic's
|
|
59
|
+
`self.model_dump(by_alias=True)`:
|
|
60
|
+
|
|
61
|
+
* `None` is only added to the output dict for nullable fields that
|
|
62
|
+
were set at model initialization. Other fields with value `None`
|
|
63
|
+
are ignored.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([
|
|
66
|
+
])
|
|
67
|
+
|
|
68
|
+
_dict = self.model_dump(
|
|
69
|
+
by_alias=True,
|
|
70
|
+
exclude=excluded_fields,
|
|
71
|
+
exclude_none=True,
|
|
72
|
+
)
|
|
73
|
+
return _dict
|
|
74
|
+
|
|
75
|
+
@classmethod
|
|
76
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
77
|
+
"""Create an instance of SyntheticResourceUpdateMapStringStringListString from a dict"""
|
|
78
|
+
if obj is None:
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
if not isinstance(obj, dict):
|
|
82
|
+
return cls.model_validate(obj)
|
|
83
|
+
|
|
84
|
+
_obj = cls.model_validate({
|
|
85
|
+
"add": obj.get("add"),
|
|
86
|
+
"remove": obj.get("remove")
|
|
87
|
+
})
|
|
88
|
+
return _obj
|
|
89
|
+
|
|
90
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Instana REST API documentation
|
|
5
|
+
|
|
6
|
+
Documentation for INSTANA REST API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.309.1268
|
|
9
|
+
Contact: support@instana.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from pydantic import ConfigDict
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString
|
|
24
|
+
from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString
|
|
25
|
+
from instana_client.models.synthetic_test_update import SyntheticTestUpdate
|
|
26
|
+
from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate
|
|
27
|
+
from typing import Optional, Set
|
|
28
|
+
from typing_extensions import Self
|
|
29
|
+
|
|
30
|
+
class SyntheticTestDeepUpdate(SyntheticTestUpdate):
|
|
31
|
+
"""
|
|
32
|
+
SyntheticTestDeepUpdate
|
|
33
|
+
""" # noqa: E501
|
|
34
|
+
configuration: Optional[SyntheticTypeConfigurationUpdate] = None
|
|
35
|
+
__properties: ClassVar[List[str]] = ["active", "applications", "customProperties", "ids", "lastModifiedAt", "locations", "mobileApps", "modifiedBy", "shallowUpdate", "syntheticUpdateType", "testFrequency", "websites", "configuration"]
|
|
36
|
+
|
|
37
|
+
model_config = ConfigDict(
|
|
38
|
+
populate_by_name=True,
|
|
39
|
+
validate_assignment=True,
|
|
40
|
+
protected_namespaces=(),
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def to_str(self) -> str:
|
|
45
|
+
"""Returns the string representation of the model using alias"""
|
|
46
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
47
|
+
|
|
48
|
+
def to_json(self) -> str:
|
|
49
|
+
"""Returns the JSON representation of the model using alias"""
|
|
50
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
51
|
+
return json.dumps(self.to_dict())
|
|
52
|
+
|
|
53
|
+
@classmethod
|
|
54
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
55
|
+
"""Create an instance of SyntheticTestDeepUpdate from a JSON string"""
|
|
56
|
+
return cls.from_dict(json.loads(json_str))
|
|
57
|
+
|
|
58
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
59
|
+
"""Return the dictionary representation of the model using alias.
|
|
60
|
+
|
|
61
|
+
This has the following differences from calling pydantic's
|
|
62
|
+
`self.model_dump(by_alias=True)`:
|
|
63
|
+
|
|
64
|
+
* `None` is only added to the output dict for nullable fields that
|
|
65
|
+
were set at model initialization. Other fields with value `None`
|
|
66
|
+
are ignored.
|
|
67
|
+
"""
|
|
68
|
+
excluded_fields: Set[str] = set([
|
|
69
|
+
])
|
|
70
|
+
|
|
71
|
+
_dict = self.model_dump(
|
|
72
|
+
by_alias=True,
|
|
73
|
+
exclude=excluded_fields,
|
|
74
|
+
exclude_none=True,
|
|
75
|
+
)
|
|
76
|
+
# override the default output from pydantic by calling `to_dict()` of applications
|
|
77
|
+
if self.applications:
|
|
78
|
+
_dict['applications'] = self.applications.to_dict()
|
|
79
|
+
# override the default output from pydantic by calling `to_dict()` of custom_properties
|
|
80
|
+
if self.custom_properties:
|
|
81
|
+
_dict['customProperties'] = self.custom_properties.to_dict()
|
|
82
|
+
# override the default output from pydantic by calling `to_dict()` of locations
|
|
83
|
+
if self.locations:
|
|
84
|
+
_dict['locations'] = self.locations.to_dict()
|
|
85
|
+
# override the default output from pydantic by calling `to_dict()` of mobile_apps
|
|
86
|
+
if self.mobile_apps:
|
|
87
|
+
_dict['mobileApps'] = self.mobile_apps.to_dict()
|
|
88
|
+
# override the default output from pydantic by calling `to_dict()` of websites
|
|
89
|
+
if self.websites:
|
|
90
|
+
_dict['websites'] = self.websites.to_dict()
|
|
91
|
+
# override the default output from pydantic by calling `to_dict()` of configuration
|
|
92
|
+
if self.configuration:
|
|
93
|
+
_dict['configuration'] = self.configuration.to_dict()
|
|
94
|
+
return _dict
|
|
95
|
+
|
|
96
|
+
@classmethod
|
|
97
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
98
|
+
"""Create an instance of SyntheticTestDeepUpdate from a dict"""
|
|
99
|
+
if obj is None:
|
|
100
|
+
return None
|
|
101
|
+
|
|
102
|
+
if not isinstance(obj, dict):
|
|
103
|
+
return cls.model_validate(obj)
|
|
104
|
+
|
|
105
|
+
_obj = cls.model_validate({
|
|
106
|
+
"active": obj.get("active"),
|
|
107
|
+
"applications": SyntheticResourceUpdateListStringListString.from_dict(obj["applications"]) if obj.get("applications") is not None else None,
|
|
108
|
+
"customProperties": SyntheticResourceUpdateMapStringStringListString.from_dict(obj["customProperties"]) if obj.get("customProperties") is not None else None,
|
|
109
|
+
"ids": obj.get("ids"),
|
|
110
|
+
"lastModifiedAt": obj.get("lastModifiedAt"),
|
|
111
|
+
"locations": SyntheticResourceUpdateListStringListString.from_dict(obj["locations"]) if obj.get("locations") is not None else None,
|
|
112
|
+
"mobileApps": SyntheticResourceUpdateListStringListString.from_dict(obj["mobileApps"]) if obj.get("mobileApps") is not None else None,
|
|
113
|
+
"modifiedBy": obj.get("modifiedBy"),
|
|
114
|
+
"shallowUpdate": obj.get("shallowUpdate"),
|
|
115
|
+
"syntheticUpdateType": obj.get("syntheticUpdateType"),
|
|
116
|
+
"testFrequency": obj.get("testFrequency"),
|
|
117
|
+
"websites": SyntheticResourceUpdateListStringListString.from_dict(obj["websites"]) if obj.get("websites") is not None else None,
|
|
118
|
+
"configuration": SyntheticTypeConfigurationUpdate.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None
|
|
119
|
+
})
|
|
120
|
+
return _obj
|
|
121
|
+
|
|
122
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Instana REST API documentation
|
|
5
|
+
|
|
6
|
+
Documentation for INSTANA REST API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.309.1268
|
|
9
|
+
Contact: support@instana.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from pydantic import ConfigDict
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from instana_client.models.synthetic_configuration_update import SyntheticConfigurationUpdate
|
|
24
|
+
from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString
|
|
25
|
+
from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString
|
|
26
|
+
from instana_client.models.synthetic_test_update import SyntheticTestUpdate
|
|
27
|
+
from typing import Optional, Set
|
|
28
|
+
from typing_extensions import Self
|
|
29
|
+
|
|
30
|
+
class SyntheticTestShallowUpdate(SyntheticTestUpdate):
|
|
31
|
+
"""
|
|
32
|
+
SyntheticTestShallowUpdate
|
|
33
|
+
""" # noqa: E501
|
|
34
|
+
configuration: Optional[SyntheticConfigurationUpdate] = None
|
|
35
|
+
__properties: ClassVar[List[str]] = ["active", "applications", "customProperties", "ids", "lastModifiedAt", "locations", "mobileApps", "modifiedBy", "shallowUpdate", "syntheticUpdateType", "testFrequency", "websites", "configuration"]
|
|
36
|
+
|
|
37
|
+
model_config = ConfigDict(
|
|
38
|
+
populate_by_name=True,
|
|
39
|
+
validate_assignment=True,
|
|
40
|
+
protected_namespaces=(),
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def to_str(self) -> str:
|
|
45
|
+
"""Returns the string representation of the model using alias"""
|
|
46
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
47
|
+
|
|
48
|
+
def to_json(self) -> str:
|
|
49
|
+
"""Returns the JSON representation of the model using alias"""
|
|
50
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
51
|
+
return json.dumps(self.to_dict())
|
|
52
|
+
|
|
53
|
+
@classmethod
|
|
54
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
55
|
+
"""Create an instance of SyntheticTestShallowUpdate from a JSON string"""
|
|
56
|
+
return cls.from_dict(json.loads(json_str))
|
|
57
|
+
|
|
58
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
59
|
+
"""Return the dictionary representation of the model using alias.
|
|
60
|
+
|
|
61
|
+
This has the following differences from calling pydantic's
|
|
62
|
+
`self.model_dump(by_alias=True)`:
|
|
63
|
+
|
|
64
|
+
* `None` is only added to the output dict for nullable fields that
|
|
65
|
+
were set at model initialization. Other fields with value `None`
|
|
66
|
+
are ignored.
|
|
67
|
+
"""
|
|
68
|
+
excluded_fields: Set[str] = set([
|
|
69
|
+
])
|
|
70
|
+
|
|
71
|
+
_dict = self.model_dump(
|
|
72
|
+
by_alias=True,
|
|
73
|
+
exclude=excluded_fields,
|
|
74
|
+
exclude_none=True,
|
|
75
|
+
)
|
|
76
|
+
# override the default output from pydantic by calling `to_dict()` of applications
|
|
77
|
+
if self.applications:
|
|
78
|
+
_dict['applications'] = self.applications.to_dict()
|
|
79
|
+
# override the default output from pydantic by calling `to_dict()` of custom_properties
|
|
80
|
+
if self.custom_properties:
|
|
81
|
+
_dict['customProperties'] = self.custom_properties.to_dict()
|
|
82
|
+
# override the default output from pydantic by calling `to_dict()` of locations
|
|
83
|
+
if self.locations:
|
|
84
|
+
_dict['locations'] = self.locations.to_dict()
|
|
85
|
+
# override the default output from pydantic by calling `to_dict()` of mobile_apps
|
|
86
|
+
if self.mobile_apps:
|
|
87
|
+
_dict['mobileApps'] = self.mobile_apps.to_dict()
|
|
88
|
+
# override the default output from pydantic by calling `to_dict()` of websites
|
|
89
|
+
if self.websites:
|
|
90
|
+
_dict['websites'] = self.websites.to_dict()
|
|
91
|
+
# override the default output from pydantic by calling `to_dict()` of configuration
|
|
92
|
+
if self.configuration:
|
|
93
|
+
_dict['configuration'] = self.configuration.to_dict()
|
|
94
|
+
return _dict
|
|
95
|
+
|
|
96
|
+
@classmethod
|
|
97
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
98
|
+
"""Create an instance of SyntheticTestShallowUpdate from a dict"""
|
|
99
|
+
if obj is None:
|
|
100
|
+
return None
|
|
101
|
+
|
|
102
|
+
if not isinstance(obj, dict):
|
|
103
|
+
return cls.model_validate(obj)
|
|
104
|
+
|
|
105
|
+
_obj = cls.model_validate({
|
|
106
|
+
"active": obj.get("active"),
|
|
107
|
+
"applications": SyntheticResourceUpdateListStringListString.from_dict(obj["applications"]) if obj.get("applications") is not None else None,
|
|
108
|
+
"customProperties": SyntheticResourceUpdateMapStringStringListString.from_dict(obj["customProperties"]) if obj.get("customProperties") is not None else None,
|
|
109
|
+
"ids": obj.get("ids"),
|
|
110
|
+
"lastModifiedAt": obj.get("lastModifiedAt"),
|
|
111
|
+
"locations": SyntheticResourceUpdateListStringListString.from_dict(obj["locations"]) if obj.get("locations") is not None else None,
|
|
112
|
+
"mobileApps": SyntheticResourceUpdateListStringListString.from_dict(obj["mobileApps"]) if obj.get("mobileApps") is not None else None,
|
|
113
|
+
"modifiedBy": obj.get("modifiedBy"),
|
|
114
|
+
"shallowUpdate": obj.get("shallowUpdate"),
|
|
115
|
+
"syntheticUpdateType": obj.get("syntheticUpdateType"),
|
|
116
|
+
"testFrequency": obj.get("testFrequency"),
|
|
117
|
+
"websites": SyntheticResourceUpdateListStringListString.from_dict(obj["websites"]) if obj.get("websites") is not None else None,
|
|
118
|
+
"configuration": SyntheticConfigurationUpdate.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None
|
|
119
|
+
})
|
|
120
|
+
return _obj
|
|
121
|
+
|
|
122
|
+
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Instana REST API documentation
|
|
5
|
+
|
|
6
|
+
Documentation for INSTANA REST API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.309.1268
|
|
9
|
+
Contact: support@instana.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from importlib import import_module
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
23
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
24
|
+
from typing_extensions import Annotated
|
|
25
|
+
from instana_client.models.synthetic_resource_update_list_string_list_string import SyntheticResourceUpdateListStringListString
|
|
26
|
+
from instana_client.models.synthetic_resource_update_map_string_string_list_string import SyntheticResourceUpdateMapStringStringListString
|
|
27
|
+
from typing import Optional, Set
|
|
28
|
+
from typing_extensions import Self
|
|
29
|
+
|
|
30
|
+
from typing import TYPE_CHECKING
|
|
31
|
+
if TYPE_CHECKING:
|
|
32
|
+
from instana_client.models.synthetic_test_deep_update import SyntheticTestDeepUpdate
|
|
33
|
+
from instana_client.models.synthetic_test_shallow_update import SyntheticTestShallowUpdate
|
|
34
|
+
|
|
35
|
+
class SyntheticTestUpdate(BaseModel):
|
|
36
|
+
"""
|
|
37
|
+
Identifies the type of the synthetic tests updated on this request. Valid types are Deep and Shallow.
|
|
38
|
+
""" # noqa: E501
|
|
39
|
+
active: Optional[StrictBool] = None
|
|
40
|
+
applications: Optional[SyntheticResourceUpdateListStringListString] = None
|
|
41
|
+
custom_properties: Optional[SyntheticResourceUpdateMapStringStringListString] = Field(default=None, alias="customProperties")
|
|
42
|
+
ids: Optional[List[StrictStr]] = None
|
|
43
|
+
last_modified_at: Optional[List[StrictInt]] = Field(default=None, alias="lastModifiedAt")
|
|
44
|
+
locations: Optional[SyntheticResourceUpdateListStringListString] = None
|
|
45
|
+
mobile_apps: Optional[SyntheticResourceUpdateListStringListString] = Field(default=None, alias="mobileApps")
|
|
46
|
+
modified_by: Optional[StrictStr] = Field(default=None, alias="modifiedBy")
|
|
47
|
+
shallow_update: Optional[StrictBool] = Field(default=None, alias="shallowUpdate")
|
|
48
|
+
synthetic_update_type: StrictStr = Field(description="Indicates the type of update to apply to a set of tests of same syntheticType (Deep) or a mix of syntheticType values (Shallow). When Shallow is used, only the configuration properties retries, retryInterval and timeout can be updated ", alias="syntheticUpdateType")
|
|
49
|
+
test_frequency: Optional[Annotated[int, Field(le=1440, strict=True, ge=1)]] = Field(default=None, alias="testFrequency")
|
|
50
|
+
websites: Optional[SyntheticResourceUpdateListStringListString] = None
|
|
51
|
+
__properties: ClassVar[List[str]] = ["active", "applications", "customProperties", "ids", "lastModifiedAt", "locations", "mobileApps", "modifiedBy", "shallowUpdate", "syntheticUpdateType", "testFrequency", "websites"]
|
|
52
|
+
|
|
53
|
+
@field_validator('synthetic_update_type')
|
|
54
|
+
def synthetic_update_type_validate_enum(cls, value):
|
|
55
|
+
"""Validates the enum"""
|
|
56
|
+
if value not in set(['Deep', 'Shallow']):
|
|
57
|
+
raise ValueError("must be one of enum values ('Deep', 'Shallow')")
|
|
58
|
+
return value
|
|
59
|
+
|
|
60
|
+
model_config = ConfigDict(
|
|
61
|
+
populate_by_name=True,
|
|
62
|
+
validate_assignment=True,
|
|
63
|
+
protected_namespaces=(),
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
# JSON field name that stores the object type
|
|
68
|
+
__discriminator_property_name: ClassVar[str] = 'syntheticUpdateType'
|
|
69
|
+
|
|
70
|
+
# discriminator mappings
|
|
71
|
+
__discriminator_value_class_map: ClassVar[Dict[str, str]] = {
|
|
72
|
+
'Deep': 'SyntheticTestDeepUpdate','Shallow': 'SyntheticTestShallowUpdate'
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@classmethod
|
|
76
|
+
def get_discriminator_value(cls, obj: Dict[str, Any]) -> Optional[str]:
|
|
77
|
+
"""Returns the discriminator value (object type) of the data"""
|
|
78
|
+
discriminator_value = obj[cls.__discriminator_property_name]
|
|
79
|
+
if discriminator_value:
|
|
80
|
+
return cls.__discriminator_value_class_map.get(discriminator_value)
|
|
81
|
+
else:
|
|
82
|
+
return None
|
|
83
|
+
|
|
84
|
+
def to_str(self) -> str:
|
|
85
|
+
"""Returns the string representation of the model using alias"""
|
|
86
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
87
|
+
|
|
88
|
+
def to_json(self) -> str:
|
|
89
|
+
"""Returns the JSON representation of the model using alias"""
|
|
90
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
91
|
+
return json.dumps(self.to_dict())
|
|
92
|
+
|
|
93
|
+
@classmethod
|
|
94
|
+
def from_json(cls, json_str: str) -> Optional[Union[SyntheticTestDeepUpdate, SyntheticTestShallowUpdate]]:
|
|
95
|
+
"""Create an instance of SyntheticTestUpdate from a JSON string"""
|
|
96
|
+
return cls.from_dict(json.loads(json_str))
|
|
97
|
+
|
|
98
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
99
|
+
"""Return the dictionary representation of the model using alias.
|
|
100
|
+
|
|
101
|
+
This has the following differences from calling pydantic's
|
|
102
|
+
`self.model_dump(by_alias=True)`:
|
|
103
|
+
|
|
104
|
+
* `None` is only added to the output dict for nullable fields that
|
|
105
|
+
were set at model initialization. Other fields with value `None`
|
|
106
|
+
are ignored.
|
|
107
|
+
"""
|
|
108
|
+
excluded_fields: Set[str] = set([
|
|
109
|
+
])
|
|
110
|
+
|
|
111
|
+
_dict = self.model_dump(
|
|
112
|
+
by_alias=True,
|
|
113
|
+
exclude=excluded_fields,
|
|
114
|
+
exclude_none=True,
|
|
115
|
+
)
|
|
116
|
+
# override the default output from pydantic by calling `to_dict()` of applications
|
|
117
|
+
if self.applications:
|
|
118
|
+
_dict['applications'] = self.applications.to_dict()
|
|
119
|
+
# override the default output from pydantic by calling `to_dict()` of custom_properties
|
|
120
|
+
if self.custom_properties:
|
|
121
|
+
_dict['customProperties'] = self.custom_properties.to_dict()
|
|
122
|
+
# override the default output from pydantic by calling `to_dict()` of locations
|
|
123
|
+
if self.locations:
|
|
124
|
+
_dict['locations'] = self.locations.to_dict()
|
|
125
|
+
# override the default output from pydantic by calling `to_dict()` of mobile_apps
|
|
126
|
+
if self.mobile_apps:
|
|
127
|
+
_dict['mobileApps'] = self.mobile_apps.to_dict()
|
|
128
|
+
# override the default output from pydantic by calling `to_dict()` of websites
|
|
129
|
+
if self.websites:
|
|
130
|
+
_dict['websites'] = self.websites.to_dict()
|
|
131
|
+
return _dict
|
|
132
|
+
|
|
133
|
+
@classmethod
|
|
134
|
+
def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[SyntheticTestDeepUpdate, SyntheticTestShallowUpdate]]:
|
|
135
|
+
"""Create an instance of SyntheticTestUpdate from a dict"""
|
|
136
|
+
# look up the object type based on discriminator mapping
|
|
137
|
+
object_type = cls.get_discriminator_value(obj)
|
|
138
|
+
if object_type == 'SyntheticTestDeepUpdate':
|
|
139
|
+
return import_module("instana_client.models.synthetic_test_deep_update").SyntheticTestDeepUpdate.from_dict(obj)
|
|
140
|
+
if object_type == 'SyntheticTestShallowUpdate':
|
|
141
|
+
return import_module("instana_client.models.synthetic_test_shallow_update").SyntheticTestShallowUpdate.from_dict(obj)
|
|
142
|
+
|
|
143
|
+
raise ValueError("SyntheticTestUpdate failed to lookup discriminator value from " +
|
|
144
|
+
json.dumps(obj) + ". Discriminator property name: " + cls.__discriminator_property_name +
|
|
145
|
+
", mapping: " + json.dumps(cls.__discriminator_value_class_map))
|
|
146
|
+
|
|
147
|
+
|