From 9ef907ab7baa0cfdc2eb89c2670c56f777840192 Mon Sep 17 00:00:00 2001 From: Phellippe Lima <120402907+phpinhei-te@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:59:25 +0100 Subject: [PATCH] CP-2205 - Cleans empty unused model tests (#23) --- .../test/test_account_group.py | 52 ----- thousandeyes-sdk-agents/test/test_agent.py | 62 ------ .../test/test_agent_base.py | 53 ----- .../test/test_agent_cluster_assign_request.py | 51 ----- .../test_agent_cluster_unassign_request.py | 51 ----- .../test/test_agent_details.py | 113 ----------- .../test/test_agent_details_expand.py | 33 ---- .../test/test_agent_ipv6_policy.py | 33 ---- .../test/test_agent_list_expand.py | 33 ---- .../test/test_agent_proxies.py | 74 ------- .../test/test_agent_proxy.py | 61 ------ .../test/test_agent_request.py | 58 ------ .../test/test_alert_email.py | 52 ----- .../test/test_alert_integration_base.py | 58 ------ .../test/test_alert_integration_type.py | 33 ---- .../test/test_cloud_agent_detail.py | 80 -------- .../test/test_cloud_enterprise_agent.py | 91 --------- .../test/test_cloud_enterprise_agent_type.py | 33 ---- .../test/test_cloud_enterprise_agents.py | 63 ------ .../test/test_cluster_member.py | 64 ------ .../test/test_enterprise_agent.py | 91 --------- .../test_enterprise_agent_cluster_detail.py | 113 ----------- .../test/test_enterprise_agent_data.py | 79 -------- .../test/test_enterprise_agent_detail.py | 113 ----------- .../test/test_enterprise_agent_ipv6_policy.py | 33 ---- .../test_enterprise_agent_response_expands.py | 62 ------ .../test/test_enterprise_agent_state.py | 33 ---- thousandeyes-sdk-agents/test/test_error.py | 55 ------ .../test/test_error_detail.py | 52 ----- .../test/test_error_detail_code.py | 33 ---- .../test/test_interface_ip_mapping.py | 52 ----- thousandeyes-sdk-agents/test/test_labels.py | 52 ----- thousandeyes-sdk-agents/test/test_link.py | 59 ------ .../test_list_notification_rules_response.py | 61 ------ .../test/test_notification.py | 75 -------- .../test/test_notification_rule.py | 55 ------ .../test/test_notification_rule_detail.py | 93 --------- .../test/test_notification_rules.py | 51 ----- .../test/test_proxy_auth_type.py | 33 ---- .../test/test_proxy_type.py | 33 ---- .../test/test_self_links.py | 59 ------ .../test/test_simple_agent.py | 60 ------ .../test/test_simple_enterprise_agent.py | 89 --------- .../test/test_simple_test.py | 66 ------- .../test/test_test_interval.py | 33 ---- .../test/test_test_links.py | 52 ----- .../test/test_test_self_link.py | 59 ------ .../test/test_test_type.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- thousandeyes-sdk-alerts/test/test_alert.py | 93 --------- .../test/test_alert_detail.py | 93 --------- .../test/test_alert_direction.py | 33 ---- .../test/test_alert_links.py | 86 --------- .../test/test_alert_meta.py | 51 ----- .../test/test_alert_metric_detail.py | 58 ------ .../test/test_alert_rounds_violation_mode.py | 33 ---- .../test/test_alert_rule.py | 62 ------ .../test/test_alert_suppression_window.py | 77 -------- .../test_alert_suppression_window_detail.py | 80 -------- .../test_alert_suppression_window_request.py | 70 ------- .../test_alert_suppression_window_state.py | 33 ---- .../test/test_alert_suppression_windows.py | 63 ------ .../test/test_alert_type.py | 33 ---- thousandeyes-sdk-alerts/test/test_alerts.py | 73 ------- .../test/test_base_alert.py | 80 -------- .../test_base_alert_suppression_window.py | 67 ------- .../test/test_base_rule.py | 69 ------- .../test/test_base_test.py | 68 ------- .../test/test_days_of_week.py | 33 ---- .../test/test_end_alert_metrics.py | 51 ----- .../test/test_end_repeat.py | 53 ----- .../test/test_end_repeat_type.py | 33 ---- thousandeyes-sdk-alerts/test/test_error.py | 55 ------ thousandeyes-sdk-alerts/test/test_expand.py | 33 ---- .../test/test_interval_type.py | 33 ---- .../test/test_legacy_alert.py | 60 ------ thousandeyes-sdk-alerts/test/test_link.py | 59 ------ .../test/test_notification.py | 63 ------ .../test/test_notification_email.py | 52 ----- .../test/test_notification_third_party.py | 52 ----- .../test/test_notification_webhook.py | 52 ----- .../test/test_pagination_links.py | 77 -------- thousandeyes-sdk-alerts/test/test_repeat.py | 56 ------ .../test/test_repeat_type.py | 33 ---- thousandeyes-sdk-alerts/test/test_rule.py | 93 --------- .../test/test_rule_detail.py | 95 --------- .../test/test_rule_detail_update.py | 83 -------- thousandeyes-sdk-alerts/test/test_rules.py | 77 -------- .../test/test_self_links.py | 59 ------ thousandeyes-sdk-alerts/test/test_severity.py | 33 ---- .../test/test_start_alert_metrics.py | 51 ----- thousandeyes-sdk-alerts/test/test_state.py | 33 ---- .../test/test_test_interval.py | 33 ---- .../test/test_third_party_integration_type.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_unexpanded_test.py | 53 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_webhook_integration_type.py | 33 ---- .../test/test_credential.py | 63 ------ .../test/test_credential_request.py | 52 ----- .../test/test_credential_without_value.py | 62 ------ .../test/test_credentials.py | 63 ------ .../test/test_error.py | 55 ------ .../test/test_link.py | 59 ------ .../test/test_self_links.py | 59 ------ .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_active_within.py | 52 ----- .../test/test_agent_status_datasource.py | 33 ---- .../test/test_alert_list_alert_type.py | 33 ---- .../test/test_alert_list_datasource.py | 33 ---- .../test/test_api_agent_location.py | 53 ----- .../test/test_api_agent_status_agent.py | 62 ------ .../test/test_api_agent_status_ip_info.py | 54 ------ .../test/test_api_agent_status_summary.py | 53 ----- .../test/test_api_agent_status_widget.py | 82 -------- .../test/test_api_agent_widget_show.py | 33 ---- .../test/test_api_agent_widget_type.py | 33 ---- .../test/test_api_aggregate_property.py | 33 ---- .../test/test_api_alert_list_alert.py | 59 ------ .../test/test_api_alert_list_widget.py | 85 -------- .../test/test_api_box_and_whiskers_widget.py | 84 -------- .../test/test_api_color_grid_widget.py | 89 --------- .../test/test_api_context_filter_request.py | 73 ------- .../test/test_api_context_filter_response.py | 95 --------- .../test/test_api_context_filters_response.py | 85 -------- .../test/test_api_dashboard.py | 96 --------- .../test/test_api_dashboard_asw.py | 58 ------ .../test_api_dashboard_filter_user_details.py | 52 ----- .../test/test_api_dashboard_snapshot.py | 91 --------- .../test/test_api_data_point_group.py | 52 ----- .../test/test_api_data_source_filter.py | 56 ------ .../test/test_api_data_source_filters.py | 64 ------ .../test/test_api_default_timespan.py | 53 ----- .../test/test_api_duration.py | 52 ----- .../test/test_api_duration_unit.py | 33 ---- .../test/test_api_geo_map_widget.py | 87 --------- .../test/test_api_graphlet_point.py | 52 ----- .../test/test_api_grouped_barchart_widget.py | 87 --------- .../test/test_api_multi_metric_column.py | 59 ------ .../test/test_api_multi_metric_column_data.py | 75 -------- .../test_api_multi_metric_table_widget.py | 97 ---------- ...search_filter_api_test_table_filter_key.py | 52 ----- .../test/test_api_numbers_card.py | 68 ------- .../test/test_api_numbers_card_data.py | 70 ------- .../test/test_api_numbers_card_widget.py | 83 -------- .../test/test_api_pie_chart_widget.py | 81 -------- ...est_api_report_data_component_label_map.py | 56 ------ ...i_report_data_component_label_map_entry.py | 52 ----- .../test_api_report_snapshot_time_span.py | 53 ----- .../test_api_stacked_area_chart_widget.py | 84 -------- .../test/test_api_stacked_barchart_widget.py | 86 --------- .../test/test_api_table_widget.py | 86 --------- .../test/test_api_test_table_data.py | 66 ------- .../test_api_test_table_graphlets_data.py | 57 ------ .../test/test_api_test_table_widget.py | 94 --------- .../test/test_api_timeseries_widget.py | 86 --------- .../test/test_api_widget.py | 135 ------------- .../test/test_api_widget_data.py | 162 ---------------- .../test/test_api_widget_data_point.py | 58 ------ .../test/test_api_widget_data_response.py | 182 ------------------ .../test_api_widget_data_snapshot_response.py | 172 ----------------- ...widget_filter_api_test_table_filter_key.py | 56 ------ .../test_api_widget_fixed_y_scale_prefix.py | 33 ---- .../test/test_api_widget_measure.py | 52 ----- .../test/test_api_widget_sort_direction.py | 33 ---- .../test/test_api_widget_sort_property.py | 33 ---- .../test/test_api_widgets_data_v2.py | 177 ----------------- .../test/test_app_and_self_links.py | 68 ------- .../test/test_asw_repeat.py | 33 ---- .../test/test_asw_repeat_unit.py | 33 ---- .../test/test_box_and_whiskers_datasource.py | 33 ---- .../test/test_color_grid_datasource.py | 33 ---- .../test/test_dashboard.py | 87 --------- .../test/test_dashboard_global_filter_id.py | 51 ----- .../test/test_dashboard_links.py | 68 ------- .../test/test_dashboard_metric.py | 33 ---- .../test/test_dashboard_metric_direction.py | 33 ---- .../test/test_dashboard_order.py | 33 ---- .../test/test_dashboard_snapshot_response.py | 61 ------ .../test/test_dashboard_snapshots_page.py | 74 ------- .../test/test_default_timespan.py | 56 ------ .../test/test_enterprise_agent_state.py | 33 ---- .../test/test_error.py | 55 ------ ...est_generate_dashboard_snapshot_request.py | 57 ------ .../test/test_geo_map_datasource.py | 33 ---- .../test/test_grouped_bar_chart_datasource.py | 33 ---- .../test/test_legacy_agent_widget_show.py | 33 ---- .../test/test_legacy_agent_widget_type.py | 33 ---- .../test/test_legacy_alert_list_alert_type.py | 33 ---- .../test/test_legacy_api_dashboard.py | 59 ------ .../test/test_legacy_dashboard_snapshot.py | 57 ------ .../test/test_legacy_default_timespan.py | 53 ----- .../test/test_legacy_duration_unit.py | 33 ---- .../test/test_legacy_widget_sort_direction.py | 33 ---- .../test/test_legacy_widget_sort_property.py | 33 ---- thousandeyes-sdk-dashboards/test/test_link.py | 59 ------ .../test/test_metric_group.py | 33 ---- .../test_multi_metrics_table_datasource.py | 33 ---- .../test/test_numbers_card_datasource.py | 33 ---- .../test/test_pagination_links.py | 77 -------- .../test/test_pie_chart_datasource.py | 33 ---- .../test/test_scalable_widget.py | 53 ----- .../test/test_self_links.py | 59 ------ .../test_stacked_area_chart_datasource.py | 33 ---- .../test/test_stacked_bar_chart_datasource.py | 33 ---- .../test/test_table_datasource.py | 33 ---- .../test/test_test_table_datasource.py | 33 ---- .../test/test_test_table_filter_key.py | 33 ---- .../test/test_test_table_filter_type.py | 33 ---- .../test/test_timeseries_datasource.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- ...te_snapshot_expiration_date_api_request.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_visual_mode.py | 33 ---- .../test/test_widget.py | 77 -------- .../test/test_widget_measure_type.py | 33 ---- .../test/test_widget_type.py | 33 ---- .../test/test_address_profile.py | 55 ------ .../test/test_address_type.py | 33 ---- .../test/test_agent_license_type.py | 33 ---- .../test/test_agent_search_filters.py | 78 -------- .../test/test_agent_search_request.py | 92 --------- .../test/test_agent_search_sort.py | 52 ----- .../test/test_agent_search_sort_key.py | 33 ---- .../test/test_agent_threshold_filter.py | 53 ----- .../test/test_agent_threshold_filters.py | 57 ------ .../test/test_agent_transfer.py | 53 ----- .../test/test_agent_transfer_request.py | 51 ----- .../test/test_agent_transfer_status.py | 56 ------ .../test/test_browser_type.py | 33 ---- .../test/test_bulk_agent_transfer_request.py | 53 ----- .../test/test_bulk_agent_transfer_response.py | 51 ----- .../test/test_conditional_operator.py | 33 ---- .../test/test_connection_string.py | 61 ------ .../test/test_endpoint_agent.py | 131 ------------- .../test/test_endpoint_agent_location.py | 53 ----- .../test/test_endpoint_agent_update.py | 52 ----- .../test/test_endpoint_agents.py | 135 ------------- .../test/test_endpoint_asn_details.py | 53 ----- .../test/test_endpoint_browser_extension.py | 56 ------ .../test/test_endpoint_client.py | 61 ------ .../test/test_endpoint_user_profile.py | 52 ----- .../test/test_endpoint_vpn_profile.py | 57 ------ .../test/test_error.py | 55 ------ .../test/test_ethernet_profile.py | 51 ----- .../test/test_expand.py | 33 ---- .../test_filter_endpoint_agents_response.py | 145 -------------- .../test/test_interface_hardware_type.py | 33 ---- .../test/test_interface_profile.py | 68 ------- .../test/test_link.py | 59 ------ .../test_list_endpoint_agents_response.py | 154 --------------- .../test_pagination_next_and_self_link.py | 68 ------- .../test/test_pagination_next_link.py | 59 ------ .../test/test_platform.py | 33 ---- .../test/test_self_links.py | 59 ------ .../test/test_sort_order.py | 33 ---- .../test/test_status.py | 33 ---- .../test/test_threshold_filter_operator.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_vpn_type.py | 33 ---- .../test/test_wireless_profile.py | 55 ------ .../test/test_alert_direction.py | 33 ---- .../test/test_alert_rounds_violation_mode.py | 33 ---- .../test/test_alert_rule.py | 62 ------ .../test/test_alert_type.py | 33 ---- ...t_endpoint_agent_labels_selector_config.py | 54 ------ .../test_endpoint_agent_selector_config.py | 55 ------ ...t_endpoint_agent_to_server_instant_test.py | 63 ------ .../test_endpoint_agent_to_server_test.py | 88 --------- ...est_endpoint_all_agents_selector_config.py | 53 ----- .../test_endpoint_http_server_base_test.py | 59 ------ .../test_endpoint_http_server_instant_test.py | 77 -------- .../test/test_endpoint_http_server_test.py | 102 ---------- .../test/test_endpoint_instant_test.py | 61 ------ .../test/test_endpoint_scheduled_test_type.py | 33 ---- ...ndpoint_specific_agents_selector_config.py | 54 ------ .../test/test_endpoint_test.py | 85 -------- .../test_endpoint_test_agent_selector_type.py | 33 ---- .../test/test_endpoint_test_auth_type.py | 33 ---- .../test/test_endpoint_test_links.py | 52 ----- .../test/test_endpoint_test_protocol.py | 33 ---- .../test/test_endpoint_test_self_link.py | 59 ------ .../test/test_error.py | 55 ------ .../test/test_link.py | 59 ------ .../test/test_severity.py | 33 ---- .../test/test_test_interval.py | 33 ---- .../test/test_test_label.py | 53 ----- .../test/test_test_probe_mode_response.py | 33 ---- .../test/test_test_ssl_version_id.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_error.py | 55 ------ .../test/test_expand.py | 33 ---- .../test/test_filter.py | 53 ----- .../test/test_filter_type.py | 33 ---- .../test/test_label.py | 60 ------ .../test/test_label_filter_mode.py | 33 ---- .../test/test_label_request.py | 68 ------- .../test/test_label_response.py | 70 ------- .../test/test_labels.py | 72 ------- .../test/test_link.py | 59 ------ .../test/test_match_type.py | 33 ---- .../test_pagination_next_and_self_link.py | 68 ------- .../test/test_self_links.py | 59 ------ .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_alert_direction.py | 33 ---- .../test/test_alert_rounds_violation_mode.py | 33 ---- .../test/test_alert_rule.py | 62 ------ .../test/test_alert_type.py | 33 ---- .../test/test_application_score_quality.py | 33 ---- .../test/test_asn_details.py | 52 ----- .../test/test_conditional_operator.py | 33 ---- .../test/test_cpu_utilization.py | 56 ------ .../test/test_dynamic_base_test_result.py | 56 ------ .../test/test_dynamic_test.py | 71 ------- .../test/test_dynamic_test_links.py | 52 ----- .../test/test_dynamic_test_self_link.py | 59 ------ .../test/test_dynamic_test_webex.py | 54 ------ .../test_dynamic_tests_data_round_search.py | 70 ------- .../test_dynamic_tests_data_search_filter.py | 56 ------ ...t_endpoint_agent_labels_selector_config.py | 54 ------ .../test_endpoint_agent_selector_config.py | 55 ------ .../test_endpoint_agent_to_server_test.py | 88 --------- ...est_endpoint_all_agents_selector_config.py | 53 ----- .../test/test_endpoint_browser.py | 52 ----- .../test_endpoint_http_data_point_score.py | 52 ----- .../test_endpoint_http_server_base_test.py | 59 ------ .../test/test_endpoint_http_server_test.py | 102 ---------- ...ndpoint_network_topology_result_request.py | 51 ----- ..._network_topology_result_request_filter.py | 65 ------- .../test_endpoint_ping_data_point_score.py | 52 ----- .../test/test_endpoint_real_user_test.py | 63 ------ .../test/test_endpoint_real_user_test_base.py | 62 ------ .../test_endpoint_real_user_test_detail.py | 108 ----------- ..._endpoint_real_user_test_detail_results.py | 63 ------ ...nt_real_user_test_result_request_filter.py | 68 ------- .../test_endpoint_real_user_test_results.py | 65 ------- ...endpoint_real_user_test_results_request.py | 51 ----- .../test_endpoint_result_request_filter.py | 64 ------ .../test/test_endpoint_scheduled_test.py | 102 ---------- .../test/test_endpoint_scheduled_test_type.py | 33 ---- ...ndpoint_specific_agents_selector_config.py | 54 ------ .../test/test_endpoint_test.py | 85 -------- .../test/test_endpoint_test_auth_type.py | 33 ---- .../test/test_endpoint_test_links.py | 52 ----- .../test/test_endpoint_test_protocol.py | 33 ---- .../test/test_endpoint_test_self_link.py | 59 ------ .../test/test_error.py | 55 ------ .../test/test_ethernet_profile.py | 51 ----- .../test/test_expand.py | 33 ---- .../test/test_gateway_network_ping.py | 58 ------ .../test/test_hop.py | 53 ----- .../test/test_http_error_type.py | 33 ---- .../test/test_http_test_result.py | 125 ------------ .../test/test_http_test_result_headers.py | 77 -------- .../test/test_http_test_results.py | 75 -------- .../test/test_interface_hardware_type.py | 33 ---- .../test/test_link.py | 59 ------ .../test/test_local_network_result.py | 54 ------ .../test/test_local_network_results.py | 67 ------- ...t_local_network_topology_detail_results.py | 63 ------ .../test_local_network_topology_result.py | 113 ----------- ...test_local_network_topology_result_base.py | 90 --------- .../test_local_network_topology_results.py | 105 ---------- ...test_multi_test_id_network_test_results.py | 66 ------- ..._multi_test_id_tests_data_rounds_search.py | 70 ------- ..._multi_test_id_tests_data_search_filter.py | 56 ------ .../test/test_network_dynamic_test_result.py | 97 ---------- .../test/test_network_dynamic_test_results.py | 88 --------- .../test/test_network_interface.py | 58 ------ .../test/test_network_metrics.py | 54 ------ .../test/test_network_ping.py | 58 ------ .../test/test_network_profile.py | 88 --------- .../test/test_network_proxy.py | 52 ----- .../test/test_network_proxy_profile.py | 56 ------ .../test/test_network_test_result.py | 91 --------- .../test/test_network_test_results.py | 67 ------- .../test/test_network_topology_type.py | 33 ---- .../test/test_network_wireless_profile.py | 59 ------ .../test_pagination_next_and_self_link.py | 68 ------- .../test/test_pagination_next_link.py | 59 ------ .../test/test_path_vis_base_test_result.py | 90 --------- ...est_path_vis_detail_dynamic_test_result.py | 110 ----------- ...st_path_vis_detail_dynamic_test_results.py | 85 -------- .../test/test_path_vis_detail_test_result.py | 104 ---------- .../test/test_path_vis_detail_test_results.py | 64 ------ .../test/test_path_vis_dynamic_test_result.py | 104 ---------- .../test_path_vis_dynamic_test_results.py | 96 --------- .../test/test_path_vis_endpoint.py | 54 ------ .../test/test_path_vis_hop.py | 57 ------ .../test/test_path_vis_route.py | 54 ------ .../test/test_path_vis_test_result.py | 98 ---------- .../test/test_path_vis_test_results.py | 75 -------- .../test/test_physical_memory_used_bytes.py | 56 ------ .../test/test_platform.py | 33 ---- .../test/test_real_user_test_coordinates.py | 53 ----- .../test/test_real_user_test_network.py | 77 -------- .../test_real_user_test_network_result.py | 87 --------- .../test_real_user_test_network_results.py | 98 ---------- .../test/test_real_user_test_page.py | 58 ------ .../test_real_user_test_page_detail_result.py | 61 ------ .../test/test_real_user_test_page_result.py | 80 -------- .../test/test_real_user_test_page_results.py | 65 ------- .../test/test_real_user_test_page_timings.py | 52 ----- .../test/test_self_links.py | 59 ------ .../test/test_severity.py | 33 ---- .../test/test_sort_order.py | 33 ---- .../test/test_system_metrics.py | 67 ------- .../test/test_target_network_ping.py | 58 ------ .../test/test_target_profile.py | 53 ----- .../test/test_target_traceroute.py | 57 ------ .../test/test_tcp_connect.py | 54 ------ .../test/test_test_interval.py | 33 ---- .../test/test_test_label.py | 53 ----- .../test/test_test_probe_mode_response.py | 33 ---- .../test/test_test_protocol.py | 33 ---- .../test/test_test_result.py | 84 -------- .../test/test_test_ssl_version_id.py | 33 ---- .../test/test_tests_data_rounds_search.py | 67 ------- .../test/test_tests_data_search_filter.py | 53 ----- .../test/test_tests_data_search_sort.py | 52 ----- .../test/test_tests_data_search_sort_key.py | 33 ---- .../test/test_tests_data_threshold_filter.py | 53 ----- .../test/test_tests_data_threshold_filters.py | 57 ------ .../test/test_threshold_filter_name.py | 33 ---- .../test/test_threshold_filter_operator.py | 33 ---- .../test/test_traceroute.py | 57 ------ .../test/test_traceroute_hop.py | 57 ------ .../test/test_trigger.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_vpn_network_ping.py | 58 ------ .../test/test_vpn_profile.py | 56 ------ .../test/test_vpn_traceroute.py | 57 ------ .../test/test_vpn_type.py | 33 ---- .../test/test_alert_direction.py | 33 ---- .../test/test_alert_rounds_violation_mode.py | 33 ---- .../test/test_alert_rule.py | 62 ------ .../test/test_alert_type.py | 33 ---- .../test/test_dynamic_test.py | 71 ------- .../test/test_dynamic_test_links.py | 52 ----- .../test/test_dynamic_test_request.py | 75 -------- .../test/test_dynamic_test_self_link.py | 59 ------ .../test/test_dynamic_tests.py | 84 -------- ...t_endpoint_agent_labels_selector_config.py | 54 ------ .../test_endpoint_agent_selector_config.py | 55 ------ ...t_endpoint_agent_to_server_instant_test.py | 63 ------ .../test_endpoint_agent_to_server_test.py | 88 --------- ...t_endpoint_agent_to_server_test_request.py | 65 ------- .../test_endpoint_agent_to_server_tests.py | 63 ------ ...est_endpoint_all_agents_selector_config.py | 53 ----- .../test/test_endpoint_dynamic_test_update.py | 56 ------ .../test_endpoint_http_server_base_test.py | 59 ------ .../test_endpoint_http_server_instant_test.py | 77 -------- .../test/test_endpoint_http_server_test.py | 102 ---------- .../test_endpoint_http_server_test_request.py | 79 -------- .../test/test_endpoint_http_server_tests.py | 63 ------ .../test/test_endpoint_http_test_update.py | 56 ------ .../test/test_endpoint_instant_test.py | 61 ------ .../test/test_endpoint_network_test_update.py | 57 ------ .../test/test_endpoint_scheduled_test_type.py | 33 ---- ...ndpoint_specific_agents_selector_config.py | 54 ------ .../test/test_endpoint_test.py | 85 -------- .../test_endpoint_test_agent_selector_type.py | 33 ---- .../test/test_endpoint_test_auth_type.py | 33 ---- .../test/test_endpoint_test_links.py | 52 ----- .../test/test_endpoint_test_protocol.py | 33 ---- .../test/test_endpoint_test_self_link.py | 59 ------ .../test/test_endpoint_tests.py | 97 ---------- .../test/test_error.py | 55 ------ .../test/test_link.py | 59 ------ .../test/test_self_links.py | 59 ------ .../test/test_severity.py | 33 ---- .../test/test_test_interval.py | 33 ---- .../test/test_test_label.py | 53 ----- .../test/test_test_probe_mode.py | 33 ---- .../test/test_test_probe_mode_response.py | 33 ---- .../test/test_test_ssl_version_id.py | 33 ---- .../test/test_test_update.py | 55 ------ .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_agent.py | 62 ------ .../test/test_agent_base.py | 53 ----- .../test/test_agent_to_agent_instant_test.py | 88 --------- ...est_agent_to_agent_instant_test_request.py | 85 -------- .../test/test_agent_to_agent_properties.py | 65 ------- .../test/test_agent_to_agent_test_protocol.py | 33 ---- .../test/test_agent_to_server_instant_test.py | 90 --------- ...st_agent_to_server_instant_test_request.py | 87 --------- .../test/test_agent_to_server_properties.py | 67 ------- .../test/test_api_instant_test.py | 148 -------------- .../test/test_api_instant_test_request.py | 145 -------------- .../test/test_api_predefined_variable.py | 52 ----- .../test/test_api_properties.py | 124 ------------ .../test/test_api_request.py | 78 -------- .../test/test_api_request_assertion.py | 53 ----- .../test/test_api_request_assertion_name.py | 33 ---- .../test_api_request_assertion_operator.py | 33 ---- .../test/test_api_request_auth_type.py | 33 ---- .../test/test_api_request_header.py | 52 ----- .../test/test_api_request_method.py | 33 ---- .../test/test_api_request_variable.py | 52 ----- .../test/test_cloud_enterprise_agent_type.py | 33 ---- .../test/test_dns_query_class.py | 33 ---- .../test/test_dns_sec_instant_test.py | 77 -------- .../test/test_dns_sec_instant_test_request.py | 74 ------- .../test/test_dns_sec_properties.py | 54 ------ .../test/test_dns_server_instant_test.py | 98 ---------- .../test_dns_server_instant_test_request.py | 87 --------- .../test/test_dns_server_properties.py | 75 -------- .../test/test_dns_servers_request.py | 51 ----- .../test/test_dns_trace_instant_test.py | 78 -------- .../test_dns_trace_instant_test_request.py | 75 -------- .../test/test_dns_trace_properties.py | 55 ------ .../test/test_error.py | 55 ------ .../test/test_expand.py | 33 ---- .../test/test_ftp_server_instant_test.py | 96 --------- .../test/test_ftp_server_properties.py | 73 ------- .../test/test_ftp_server_request_type.py | 33 ---- .../test/test_http_server_instant_test.py | 113 ----------- .../test_http_server_instant_test_request.py | 110 ----------- .../test/test_http_server_properties.py | 90 --------- .../test/test_instant_test.py | 71 ------- .../test/test_instant_test_request.py | 58 ------ .../test/test_link.py | 59 ------ .../test/test_page_load_instant_test.py | 117 ----------- .../test_page_load_instant_test_request.py | 114 ----------- .../test/test_page_load_properties.py | 94 --------- .../test/test_server_instant_test_request.py | 93 --------- .../test/test_shared_with_account.py | 52 ----- .../test/test_simple_agent.py | 60 ------ .../test/test_sip_server_instant_test.py | 85 -------- .../test_sip_server_instant_test_request.py | 96 --------- .../test_sip_server_instant_test_request1.py | 99 ---------- .../test_sip_server_instant_test_response.py | 92 --------- .../test/test_sip_server_properties.py | 62 ------ .../test/test_sip_test_protocol.py | 33 ---- .../test/test_test_agent.py | 52 ----- .../test/test_test_auth_type.py | 33 ---- .../test/test_test_custom_headers.py | 61 ------ .../test/test_test_direction.py | 33 ---- .../test/test_test_dns_server.py | 52 ----- .../test/test_test_dns_transport_protocol.py | 33 ---- .../test/test_test_dscp_id.py | 33 ---- .../test/test_test_ipv6_policy.py | 33 ---- .../test/test_test_label.py | 53 ----- .../test/test_test_links.py | 52 ----- .../test/test_test_page_loading_strategy.py | 33 ---- .../test/test_test_path_trace_mode.py | 33 ---- .../test/test_test_probe_mode.py | 33 ---- .../test/test_test_protocol.py | 33 ---- .../test/test_test_self_link.py | 59 ------ .../test/test_test_sip_credentials.py | 57 ------ .../test/test_test_ssl_version_id.py | 33 ---- .../test/test_test_type.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_unexpanded_instant_test.py | 63 ------ .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_voice_instant_test.py | 84 -------- .../test/test_voice_instant_test_request.py | 81 -------- .../test/test_voice_properties.py | 61 ------ .../test/test_web_transaction_instant_test.py | 120 ------------ ...st_web_transaction_instant_test_request.py | 117 ----------- .../test/test_web_transaction_properties.py | 96 --------- .../test/test_api_affected_agent.py | 52 ----- .../test/test_api_affected_test.py | 52 ----- ...pi_application_outage_affected_location.py | 56 ------ ..._api_application_outage_affected_server.py | 52 ----- .../test_api_application_outage_details.py | 94 --------- .../test/test_api_asn.py | 52 ----- .../test/test_api_catalog_provider.py | 70 ------- .../test/test_api_catalog_provider_details.py | 75 -------- .../test/test_api_catalog_provider_filter.py | 56 ------ .../test_api_catalog_provider_response.py | 83 -------- ...st_api_network_outage_affected_location.py | 54 ------ .../test/test_api_network_outage_details.py | 90 --------- .../test/test_api_outage.py | 75 -------- .../test/test_api_outage_filter.py | 59 ------ .../test/test_api_outages_response.py | 88 --------- .../test/test_error.py | 55 ------ .../test/test_link.py | 59 ------ .../test/test_outage_scope.py | 33 ---- .../test/test_provider_location.py | 52 ----- .../test/test_self_links.py | 59 ------ .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- thousandeyes-sdk-labels/test/test_error.py | 55 ------ thousandeyes-sdk-labels/test/test_label.py | 54 ------ .../test/test_label_detail.py | 65 ------- .../test/test_label_request.py | 52 ----- .../test/test_label_type.py | 33 ---- thousandeyes-sdk-labels/test/test_labels.py | 67 ------- thousandeyes-sdk-labels/test/test_link.py | 59 ------ .../test/test_self_links.py | 59 ------ .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_app_and_self_links.py | 68 ------- thousandeyes-sdk-snapshots/test/test_error.py | 55 ------ thousandeyes-sdk-snapshots/test/test_link.py | 59 ------ .../test/test_snapshot_links.py | 68 ------- .../test/test_snapshot_request.py | 57 ------ .../test/test_snapshot_response.py | 62 ------ .../test/test_snapshot_test.py | 66 ------- .../test/test_test_interval.py | 33 ---- .../test/test_test_links.py | 52 ----- .../test/test_test_self_link.py | 59 ------ .../test/test_test_type.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_unexpanded_instant_test.py | 63 ------ .../test/test_unexpanded_test.py | 53 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_api_error.py | 54 ------ .../test/test_api_error_integration_limits.py | 56 ------ .../test/test_audit_operation.py | 52 ----- .../test/test_audit_operation_with_update.py | 54 ------ .../test/test_bad_request_error.py | 56 ------ .../test/test_create_stream_response.py | 63 ------ .../test/test_endpoint_type.py | 33 ---- .../test/test_get_stream_response.py | 61 ------ .../test/test_put_stream.py | 53 ----- .../test/test_stream.py | 56 ------ .../test/test_stream_links.py | 52 ----- .../test/test_stream_response.py | 55 ------ .../test/test_stream_self_link.py | 51 ----- .../test/test_stream_type.py | 33 ---- .../test/test_tag_match.py | 53 ----- .../test/test_tag_match_object_type.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_access_type.py | 33 ---- thousandeyes-sdk-tags/test/test_api_error.py | 54 ------ thousandeyes-sdk-tags/test/test_assignment.py | 52 ----- .../test/test_assignment_type.py | 33 ---- .../test/test_bulk_tag_assignment.py | 56 ------ .../test/test_bulk_tag_assignments.py | 53 ----- .../test/test_bulk_tag_response.py | 76 -------- thousandeyes-sdk-tags/test/test_error.py | 55 ------ thousandeyes-sdk-tags/test/test_expand.py | 33 ---- thousandeyes-sdk-tags/test/test_link.py | 59 ------ .../test/test_object_type.py | 33 ---- thousandeyes-sdk-tags/test/test_self_links.py | 59 ------ thousandeyes-sdk-tags/test/test_tag.py | 75 -------- .../test/test_tag_assignment.py | 55 ------ .../test/test_tag_bulk_create_error.py | 70 ------- thousandeyes-sdk-tags/test/test_tag_info.py | 65 ------- thousandeyes-sdk-tags/test/test_tags.py | 63 ------ .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_agent.py | 54 ------ .../test/test_api_detail_test_result.py | 85 -------- .../test/test_api_detail_test_results.py | 74 ------- .../test/test_api_request_detail.py | 70 ------- .../test/test_api_request_detail_assertion.py | 52 ----- .../test/test_api_test_result.py | 62 ------ .../test/test_api_test_results.py | 76 -------- .../test/test_app_links.py | 59 ------ .../test/test_bgp_basic_test_result.py | 59 ------ .../test/test_bgp_hop.py | 52 ----- .../test/test_bgp_test_result.py | 64 ------ .../test/test_bgp_test_results.py | 76 -------- .../test_bgp_test_route_information_result.py | 65 ------- ...test_bgp_test_route_information_results.py | 64 ------ .../test/test_dns_server_test_result.py | 65 ------- .../test/test_dns_server_test_results.py | 76 -------- .../test/test_dns_trace_test_result.py | 93 --------- .../test/test_dns_trace_test_results.py | 76 -------- .../test/test_dnssec_test_result.py | 62 ------ .../test/test_dnssec_test_results.py | 76 -------- .../test/test_epoch_time_window.py | 52 ----- .../test/test_error.py | 55 ------ .../test/test_expand.py | 33 ---- .../test/test_ftp_server_test_result.py | 73 ------- .../test/test_ftp_server_test_results.py | 76 -------- .../test/test_http_test_result.py | 116 ----------- .../test/test_http_test_result_headers.py | 77 -------- .../test/test_http_test_results.py | 76 -------- .../test/test_link.py | 59 ------ .../test/test_marker.py | 52 ----- .../test/test_monitor.py | 53 ----- .../test/test_network_test_result.py | 72 ------- .../test/test_network_test_results.py | 76 -------- .../test/test_page.py | 55 ------ .../test/test_page_load_detail_test_result.py | 67 ------- .../test_page_load_detail_test_results.py | 74 ------- .../test/test_page_load_test_result.py | 66 ------- .../test/test_page_load_test_results.py | 76 -------- .../test/test_pagination_links.py | 77 -------- .../test/test_path_vis_base_test_result.py | 66 ------- .../test/test_path_vis_detail_test_result.py | 81 -------- .../test/test_path_vis_detail_test_results.py | 64 ------ .../test/test_path_vis_direction.py | 33 ---- .../test/test_path_vis_endpoint.py | 56 ------ .../test/test_path_vis_hop.py | 58 ------ .../test/test_path_vis_route.py | 62 ------ .../test/test_path_vis_test_result.py | 75 -------- .../test/test_path_vis_test_results.py | 76 -------- .../test/test_rtp_stream_test_result.py | 71 ------- .../test/test_rtp_stream_test_results.py | 76 -------- .../test/test_self_links.py | 59 ------ .../test/test_simple_test.py | 66 ------- .../test/test_sip_server_error_type.py | 33 ---- .../test/test_sip_server_test_result.py | 131 ------------- .../test/test_sip_server_test_results.py | 76 -------- .../test/test_ssl_cert.py | 58 ------ .../test/test_test_direction.py | 33 ---- .../test/test_test_interval.py | 33 ---- .../test/test_test_links.py | 52 ----- .../test/test_test_result.py | 53 ----- .../test/test_test_result_app_links.py | 59 ------ .../test/test_test_self_link.py | 59 ------ .../test/test_test_type.py | 33 ---- .../test/test_unauthorized_error.py | 52 ----- .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- ...test_web_transaction_detail_test_result.py | 77 -------- ...est_web_transaction_detail_test_results.py | 74 ------- ...web_transaction_page_detail_test_result.py | 78 -------- ...eb_transaction_page_detail_test_results.py | 74 ------- .../test/test_web_transaction_test_result.py | 64 ------ .../test/test_web_transaction_test_results.py | 76 -------- thousandeyes-sdk-tests/test/test_agent.py | 62 ------ .../test/test_agent_base.py | 53 ----- .../test/test_agent_request.py | 53 ----- .../test/test_agent_to_agent_instant_test.py | 88 --------- .../test/test_agent_to_agent_properties.py | 65 ------- .../test/test_agent_to_agent_test.py | 118 ------------ .../test/test_agent_to_agent_test_protocol.py | 33 ---- .../test/test_agent_to_agent_tests.py | 63 ------ .../test/test_agent_to_server_instant_test.py | 90 --------- .../test/test_agent_to_server_properties.py | 67 ------- .../test/test_agent_to_server_test.py | 120 ------------ .../test/test_agent_to_server_tests.py | 63 ------ .../test/test_alert_direction.py | 33 ---- .../test/test_alert_rounds_violation_mode.py | 33 ---- .../test/test_alert_rule.py | 62 ------ .../test/test_alert_type.py | 33 ---- .../test/test_api_instant_test.py | 148 -------------- .../test/test_api_predefined_variable.py | 52 ----- .../test/test_api_properties.py | 124 ------------ .../test/test_api_request.py | 78 -------- .../test/test_api_request_assertion.py | 53 ----- .../test/test_api_request_assertion_name.py | 33 ---- .../test_api_request_assertion_operator.py | 33 ---- .../test/test_api_request_auth_type.py | 33 ---- .../test/test_api_request_header.py | 52 ----- .../test/test_api_request_method.py | 33 ---- .../test/test_api_request_variable.py | 52 ----- thousandeyes-sdk-tests/test/test_api_test.py | 178 ----------------- thousandeyes-sdk-tests/test/test_api_tests.py | 63 ------ .../test/test_base_bgp_test.py | 99 ---------- .../test/test_base_request.py | 53 ----- thousandeyes-sdk-tests/test/test_base_test.py | 68 ------- thousandeyes-sdk-tests/test/test_bgp_test.py | 101 ---------- thousandeyes-sdk-tests/test/test_bgp_tests.py | 63 ------ .../test/test_cloud_enterprise_agent_type.py | 33 ---- .../test/test_dns_query_class.py | 33 ---- .../test/test_dns_sec_instant_test.py | 77 -------- .../test/test_dns_sec_properties.py | 54 ------ .../test/test_dns_sec_test.py | 96 --------- .../test/test_dns_sec_tests.py | 63 ------ .../test/test_dns_server_instant_test.py | 98 ---------- .../test/test_dns_server_properties.py | 75 -------- .../test/test_dns_server_test.py | 128 ------------ .../test/test_dns_server_tests.py | 63 ------ .../test/test_dns_servers_request.py | 51 ----- .../test/test_dns_trace_instant_test.py | 78 -------- .../test/test_dns_trace_properties.py | 55 ------ .../test/test_dns_trace_test.py | 97 ---------- .../test/test_dns_trace_tests.py | 63 ------ thousandeyes-sdk-tests/test/test_error.py | 55 ------ thousandeyes-sdk-tests/test/test_expand.py | 33 ---- .../test/test_ftp_server_instant_test.py | 96 --------- .../test/test_ftp_server_properties.py | 73 ------- .../test/test_ftp_server_request_type.py | 33 ---- .../test/test_ftp_server_test.py | 126 ------------ .../test/test_ftp_server_tests.py | 63 ------ .../test/test_http_server_instant_test.py | 113 ----------- .../test/test_http_server_properties.py | 90 --------- .../test/test_http_server_test.py | 143 -------------- .../test/test_http_server_tests.py | 63 ------ .../test/test_instant_test.py | 71 ------- .../test/test_interface_group.py | 55 ------ .../test/test_interface_groups.py | 68 ------- thousandeyes-sdk-tests/test/test_link.py | 59 ------ thousandeyes-sdk-tests/test/test_monitor.py | 56 ------ .../test/test_monitor_type.py | 33 ---- .../test/test_monitors_request.py | 51 ----- .../test/test_page_load_instant_test.py | 117 ----------- .../test/test_page_load_properties.py | 94 --------- .../test/test_page_load_test.py | 149 -------------- .../test/test_page_load_tests.py | 63 ------ .../test/test_self_links.py | 59 ------ thousandeyes-sdk-tests/test/test_severity.py | 33 ---- .../test/test_shared_with_account.py | 52 ----- .../test/test_simple_agent.py | 60 ------ .../test/test_simple_test.py | 66 ------- .../test/test_sip_server_instant_test.py | 85 -------- .../test_sip_server_instant_test_request.py | 99 ---------- .../test_sip_server_instant_test_response.py | 92 --------- .../test/test_sip_server_properties.py | 62 ------ .../test/test_sip_server_test.py | 122 ------------ .../test/test_sip_server_tests.py | 63 ------ .../test/test_sip_test_protocol.py | 33 ---- .../test/test_test_auth_type.py | 33 ---- .../test/test_test_custom_headers.py | 61 ------ .../test/test_test_direction.py | 33 ---- .../test/test_test_dns_server.py | 52 ----- .../test/test_test_dns_transport_protocol.py | 33 ---- .../test/test_test_dscp_id.py | 33 ---- .../test/test_test_http_interval.py | 33 ---- .../test/test_test_interval.py | 33 ---- .../test/test_test_ipv6_policy.py | 33 ---- .../test/test_test_label.py | 53 ----- .../test/test_test_links.py | 52 ----- .../test/test_test_monitors_properties.py | 61 ------ .../test/test_test_page_loading_strategy.py | 33 ---- .../test/test_test_path_trace_mode.py | 33 ---- .../test/test_test_probe_mode.py | 33 ---- .../test/test_test_protocol.py | 33 ---- .../test/test_test_request.py | 56 ------ .../test/test_test_self_link.py | 59 ------ .../test/test_test_sip_credentials.py | 57 ------ .../test/test_test_ssl_version_id.py | 33 ---- .../test/test_test_sub_interval.py | 33 ---- thousandeyes-sdk-tests/test/test_test_type.py | 33 ---- thousandeyes-sdk-tests/test/test_tests.py | 63 ------ .../test/test_unauthorized_error.py | 52 ----- .../test_unexpanded_agent_to_agent_test.py | 83 -------- .../test_unexpanded_agent_to_server_test.py | 85 -------- .../test/test_unexpanded_api_test.py | 142 -------------- .../test/test_unexpanded_bgp_test.py | 69 ------- .../test/test_unexpanded_dns_sec_test.py | 70 ------- .../test/test_unexpanded_dns_server_test.py | 93 --------- .../test/test_unexpanded_dns_trace_test.py | 71 ------- .../test/test_unexpanded_ftp_server_test.py | 91 --------- .../test/test_unexpanded_http_server_test.py | 108 ----------- .../test/test_unexpanded_instant_test.py | 63 ------ .../test/test_unexpanded_page_load_test.py | 114 ----------- .../test/test_unexpanded_sip_server_test.py | 87 --------- .../test/test_unexpanded_test.py | 53 ----- .../test/test_unexpanded_voice_test.py | 79 -------- .../test_unexpanded_web_transaction_test.py | 115 ----------- .../test/test_update_agent_to_agent_test.py | 90 --------- .../test/test_update_agent_to_server_test.py | 92 --------- .../test/test_update_api_test.py | 158 --------------- .../test/test_update_bgp_test.py | 73 ------- .../test/test_update_bgp_test_request.py | 71 ------- .../test/test_update_dns_sec_test.py | 76 -------- .../test/test_update_dns_server_test.py | 92 --------- .../test/test_update_dns_trace_test.py | 77 -------- .../test/test_update_ftp_server_test.py | 98 ---------- .../test/test_update_http_server_test.py | 115 ----------- .../test/test_update_page_load_test.py | 121 ------------ .../test/test_update_sip_server_test.py | 109 ----------- .../test/test_update_sip_server_test1.py | 129 ------------- .../test/test_update_voice_test.py | 94 --------- .../test/test_update_web_transaction_test.py | 123 ------------ .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- .../test/test_voice_instant_test.py | 84 -------- .../test/test_voice_properties.py | 61 ------ .../test/test_voice_test.py | 114 ----------- .../test/test_voice_tests.py | 63 ------ .../test/test_web_transaction_instant_test.py | 120 ------------ .../test/test_web_transaction_properties.py | 96 --------- .../test/test_web_transaction_test.py | 151 --------------- .../test/test_web_transaction_tests.py | 63 ------ .../test/test_account_group_quota.py | 52 ----- .../test/test_endpoint_agents.py | 53 ----- .../test/test_endpoint_agents_embedded.py | 53 ----- .../test/test_endpoint_agents_essentials.py | 53 ----- .../test/test_enterprise_agent_units.py | 57 ------ ...agent_units_by_test_owner_account_group.py | 57 ------ .../test/test_enterprise_agents.py | 53 ----- .../test/test_enterprise_agents_usage.py | 71 ------- thousandeyes-sdk-usage/test/test_error.py | 55 ------ thousandeyes-sdk-usage/test/test_expand.py | 33 ---- thousandeyes-sdk-usage/test/test_link.py | 59 ------ .../test/test_organization_quota.py | 53 ----- .../test_organization_quota_assignment.py | 56 ------ .../test_organization_quota_unassignment.py | 52 ----- .../test/test_organizations_quotas_assign.py | 59 ------ .../test_organizations_quotas_unassign.py | 55 ------ .../test/test_pagination_links.py | 77 -------- thousandeyes-sdk-usage/test/test_quota.py | 54 ------ thousandeyes-sdk-usage/test/test_quotas.py | 67 ------- .../test/test_quotas_assign_request.py | 51 ----- .../test/test_quotas_assign_response.py | 51 ----- .../test/test_quotas_unassign.py | 51 ----- .../test/test_self_links.py | 59 ------ thousandeyes-sdk-usage/test/test_tests.py | 57 ------ .../test/test_tests_usage.py | 71 ------- .../test/test_unauthorized_error.py | 52 ----- .../test/test_units_by_tests.py | 60 ------ thousandeyes-sdk-usage/test/test_usage.py | 85 -------- .../test/test_usage_details.py | 74 ------- .../test/test_usage_quota.py | 57 ------ .../test/test_validation_error.py | 61 ------ .../test/test_validation_error_item.py | 53 ----- 916 files changed, 56598 deletions(-) delete mode 100644 thousandeyes-sdk-agents/test/test_account_group.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_base.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_cluster_assign_request.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_cluster_unassign_request.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_details.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_details_expand.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_ipv6_policy.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_list_expand.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_proxies.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_proxy.py delete mode 100644 thousandeyes-sdk-agents/test/test_agent_request.py delete mode 100644 thousandeyes-sdk-agents/test/test_alert_email.py delete mode 100644 thousandeyes-sdk-agents/test/test_alert_integration_base.py delete mode 100644 thousandeyes-sdk-agents/test/test_alert_integration_type.py delete mode 100644 thousandeyes-sdk-agents/test/test_cloud_agent_detail.py delete mode 100644 thousandeyes-sdk-agents/test/test_cloud_enterprise_agent.py delete mode 100644 thousandeyes-sdk-agents/test/test_cloud_enterprise_agent_type.py delete mode 100644 thousandeyes-sdk-agents/test/test_cloud_enterprise_agents.py delete mode 100644 thousandeyes-sdk-agents/test/test_cluster_member.py delete mode 100644 thousandeyes-sdk-agents/test/test_enterprise_agent.py delete mode 100644 thousandeyes-sdk-agents/test/test_enterprise_agent_cluster_detail.py delete mode 100644 thousandeyes-sdk-agents/test/test_enterprise_agent_data.py delete mode 100644 thousandeyes-sdk-agents/test/test_enterprise_agent_detail.py delete mode 100644 thousandeyes-sdk-agents/test/test_enterprise_agent_ipv6_policy.py delete mode 100644 thousandeyes-sdk-agents/test/test_enterprise_agent_response_expands.py delete mode 100644 thousandeyes-sdk-agents/test/test_enterprise_agent_state.py delete mode 100644 thousandeyes-sdk-agents/test/test_error.py delete mode 100644 thousandeyes-sdk-agents/test/test_error_detail.py delete mode 100644 thousandeyes-sdk-agents/test/test_error_detail_code.py delete mode 100644 thousandeyes-sdk-agents/test/test_interface_ip_mapping.py delete mode 100644 thousandeyes-sdk-agents/test/test_labels.py delete mode 100644 thousandeyes-sdk-agents/test/test_link.py delete mode 100644 thousandeyes-sdk-agents/test/test_list_notification_rules_response.py delete mode 100644 thousandeyes-sdk-agents/test/test_notification.py delete mode 100644 thousandeyes-sdk-agents/test/test_notification_rule.py delete mode 100644 thousandeyes-sdk-agents/test/test_notification_rule_detail.py delete mode 100644 thousandeyes-sdk-agents/test/test_notification_rules.py delete mode 100644 thousandeyes-sdk-agents/test/test_proxy_auth_type.py delete mode 100644 thousandeyes-sdk-agents/test/test_proxy_type.py delete mode 100644 thousandeyes-sdk-agents/test/test_self_links.py delete mode 100644 thousandeyes-sdk-agents/test/test_simple_agent.py delete mode 100644 thousandeyes-sdk-agents/test/test_simple_enterprise_agent.py delete mode 100644 thousandeyes-sdk-agents/test/test_simple_test.py delete mode 100644 thousandeyes-sdk-agents/test/test_test_interval.py delete mode 100644 thousandeyes-sdk-agents/test/test_test_links.py delete mode 100644 thousandeyes-sdk-agents/test/test_test_self_link.py delete mode 100644 thousandeyes-sdk-agents/test/test_test_type.py delete mode 100644 thousandeyes-sdk-agents/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-agents/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-agents/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_detail.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_direction.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_links.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_meta.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_metric_detail.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_rounds_violation_mode.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_rule.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_suppression_window.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_suppression_window_detail.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_suppression_window_request.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_suppression_window_state.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_suppression_windows.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alert_type.py delete mode 100644 thousandeyes-sdk-alerts/test/test_alerts.py delete mode 100644 thousandeyes-sdk-alerts/test/test_base_alert.py delete mode 100644 thousandeyes-sdk-alerts/test/test_base_alert_suppression_window.py delete mode 100644 thousandeyes-sdk-alerts/test/test_base_rule.py delete mode 100644 thousandeyes-sdk-alerts/test/test_base_test.py delete mode 100644 thousandeyes-sdk-alerts/test/test_days_of_week.py delete mode 100644 thousandeyes-sdk-alerts/test/test_end_alert_metrics.py delete mode 100644 thousandeyes-sdk-alerts/test/test_end_repeat.py delete mode 100644 thousandeyes-sdk-alerts/test/test_end_repeat_type.py delete mode 100644 thousandeyes-sdk-alerts/test/test_error.py delete mode 100644 thousandeyes-sdk-alerts/test/test_expand.py delete mode 100644 thousandeyes-sdk-alerts/test/test_interval_type.py delete mode 100644 thousandeyes-sdk-alerts/test/test_legacy_alert.py delete mode 100644 thousandeyes-sdk-alerts/test/test_link.py delete mode 100644 thousandeyes-sdk-alerts/test/test_notification.py delete mode 100644 thousandeyes-sdk-alerts/test/test_notification_email.py delete mode 100644 thousandeyes-sdk-alerts/test/test_notification_third_party.py delete mode 100644 thousandeyes-sdk-alerts/test/test_notification_webhook.py delete mode 100644 thousandeyes-sdk-alerts/test/test_pagination_links.py delete mode 100644 thousandeyes-sdk-alerts/test/test_repeat.py delete mode 100644 thousandeyes-sdk-alerts/test/test_repeat_type.py delete mode 100644 thousandeyes-sdk-alerts/test/test_rule.py delete mode 100644 thousandeyes-sdk-alerts/test/test_rule_detail.py delete mode 100644 thousandeyes-sdk-alerts/test/test_rule_detail_update.py delete mode 100644 thousandeyes-sdk-alerts/test/test_rules.py delete mode 100644 thousandeyes-sdk-alerts/test/test_self_links.py delete mode 100644 thousandeyes-sdk-alerts/test/test_severity.py delete mode 100644 thousandeyes-sdk-alerts/test/test_start_alert_metrics.py delete mode 100644 thousandeyes-sdk-alerts/test/test_state.py delete mode 100644 thousandeyes-sdk-alerts/test/test_test_interval.py delete mode 100644 thousandeyes-sdk-alerts/test/test_third_party_integration_type.py delete mode 100644 thousandeyes-sdk-alerts/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-alerts/test/test_unexpanded_test.py delete mode 100644 thousandeyes-sdk-alerts/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-alerts/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-alerts/test/test_webhook_integration_type.py delete mode 100644 thousandeyes-sdk-credentials/test/test_credential.py delete mode 100644 thousandeyes-sdk-credentials/test/test_credential_request.py delete mode 100644 thousandeyes-sdk-credentials/test/test_credential_without_value.py delete mode 100644 thousandeyes-sdk-credentials/test/test_credentials.py delete mode 100644 thousandeyes-sdk-credentials/test/test_error.py delete mode 100644 thousandeyes-sdk-credentials/test/test_link.py delete mode 100644 thousandeyes-sdk-credentials/test/test_self_links.py delete mode 100644 thousandeyes-sdk-credentials/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-credentials/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-credentials/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_active_within.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_agent_status_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_alert_list_alert_type.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_alert_list_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_agent_location.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_agent_status_agent.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_agent_status_ip_info.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_agent_status_summary.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_agent_status_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_agent_widget_show.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_agent_widget_type.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_aggregate_property.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_alert_list_alert.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_alert_list_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_box_and_whiskers_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_color_grid_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_context_filter_request.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_context_filter_response.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_context_filters_response.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_dashboard.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_dashboard_asw.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_dashboard_filter_user_details.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_dashboard_snapshot.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_data_point_group.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_data_source_filter.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_data_source_filters.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_default_timespan.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_duration.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_duration_unit.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_geo_map_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_graphlet_point.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_grouped_barchart_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_multi_metric_column.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_multi_metric_column_data.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_multi_metric_table_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_multi_search_filter_api_test_table_filter_key.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_numbers_card.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_numbers_card_data.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_numbers_card_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_pie_chart_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_report_data_component_label_map.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_report_data_component_label_map_entry.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_report_snapshot_time_span.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_stacked_area_chart_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_stacked_barchart_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_table_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_test_table_data.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_test_table_graphlets_data.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_test_table_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_timeseries_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_data.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_data_point.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_data_response.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_data_snapshot_response.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_filter_api_test_table_filter_key.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_fixed_y_scale_prefix.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_measure.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_sort_direction.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widget_sort_property.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_api_widgets_data_v2.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_app_and_self_links.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_asw_repeat.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_asw_repeat_unit.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_box_and_whiskers_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_color_grid_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_dashboard.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_dashboard_global_filter_id.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_dashboard_links.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_dashboard_metric.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_dashboard_metric_direction.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_dashboard_order.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_dashboard_snapshot_response.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_dashboard_snapshots_page.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_default_timespan.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_enterprise_agent_state.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_error.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_generate_dashboard_snapshot_request.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_geo_map_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_grouped_bar_chart_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_agent_widget_show.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_agent_widget_type.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_alert_list_alert_type.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_api_dashboard.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_dashboard_snapshot.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_default_timespan.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_duration_unit.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_widget_sort_direction.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_legacy_widget_sort_property.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_link.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_metric_group.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_multi_metrics_table_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_numbers_card_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_pagination_links.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_pie_chart_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_scalable_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_self_links.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_stacked_area_chart_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_stacked_bar_chart_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_table_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_test_table_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_test_table_filter_key.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_test_table_filter_type.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_timeseries_datasource.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_update_snapshot_expiration_date_api_request.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_visual_mode.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_widget.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_widget_measure_type.py delete mode 100644 thousandeyes-sdk-dashboards/test/test_widget_type.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_address_profile.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_address_type.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_license_type.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_search_filters.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_search_request.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_search_sort.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_search_sort_key.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_threshold_filter.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_threshold_filters.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_transfer.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_transfer_request.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_agent_transfer_status.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_browser_type.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_bulk_agent_transfer_request.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_bulk_agent_transfer_response.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_conditional_operator.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_connection_string.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent_location.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent_update.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_agents.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_asn_details.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_browser_extension.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_client.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_user_profile.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_endpoint_vpn_profile.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_error.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_ethernet_profile.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_expand.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_filter_endpoint_agents_response.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_interface_hardware_type.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_interface_profile.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_link.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_list_endpoint_agents_response.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_pagination_next_and_self_link.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_pagination_next_link.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_platform.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_self_links.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_sort_order.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_status.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_threshold_filter_operator.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_vpn_type.py delete mode 100644 thousandeyes-sdk-endpoint-agents/test/test_wireless_profile.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_alert_direction.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_alert_rounds_violation_mode.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_alert_rule.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_alert_type.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_labels_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_to_server_instant_test.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_to_server_test.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_all_agents_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_base_test.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_instant_test.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_test.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_instant_test.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_scheduled_test_type.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_specific_agents_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_agent_selector_type.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_auth_type.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_links.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_protocol.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_self_link.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_error.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_link.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_severity.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_test_interval.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_test_label.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_test_probe_mode_response.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_test_ssl_version_id.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-endpoint-instant-tests/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_error.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_expand.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_filter.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_filter_type.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_label.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_label_filter_mode.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_label_request.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_label_response.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_labels.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_link.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_match_type.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_pagination_next_and_self_link.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_self_links.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-endpoint-labels/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_alert_direction.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_alert_rounds_violation_mode.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_alert_rule.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_alert_type.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_application_score_quality.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_asn_details.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_conditional_operator.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_cpu_utilization.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_dynamic_base_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_links.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_self_link.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_webex.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_dynamic_tests_data_round_search.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_dynamic_tests_data_search_filter.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_labels_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_to_server_test.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_all_agents_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_browser.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_data_point_score.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_server_base_test.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_server_test.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_network_topology_result_request.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_network_topology_result_request_filter.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_ping_data_point_score.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_base.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_detail.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_detail_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_result_request_filter.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_results_request.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_result_request_filter.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_scheduled_test.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_scheduled_test_type.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_specific_agents_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_auth_type.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_links.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_protocol.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_self_link.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_error.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_ethernet_profile.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_expand.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_gateway_network_ping.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_hop.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_http_error_type.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_http_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_http_test_result_headers.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_http_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_interface_hardware_type.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_link.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_local_network_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_local_network_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_detail_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_result_base.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_network_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_tests_data_rounds_search.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_tests_data_search_filter.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_interface.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_metrics.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_ping.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_profile.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_proxy.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_proxy_profile.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_topology_type.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_network_wireless_profile.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_pagination_next_and_self_link.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_pagination_next_link.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_base_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_dynamic_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_dynamic_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_dynamic_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_dynamic_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_endpoint.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_hop.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_route.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_path_vis_test_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_physical_memory_used_bytes.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_platform.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_coordinates.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_detail_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_results.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_timings.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_self_links.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_severity.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_sort_order.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_system_metrics.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_target_network_ping.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_target_profile.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_target_traceroute.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_tcp_connect.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_test_interval.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_test_label.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_test_probe_mode_response.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_test_protocol.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_test_result.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_test_ssl_version_id.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_tests_data_rounds_search.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_filter.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_sort.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_sort_key.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_tests_data_threshold_filter.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_tests_data_threshold_filters.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_threshold_filter_name.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_threshold_filter_operator.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_traceroute.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_traceroute_hop.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_trigger.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_vpn_network_ping.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_vpn_profile.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_vpn_traceroute.py delete mode 100644 thousandeyes-sdk-endpoint-test-results/test/test_vpn_type.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_alert_direction.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_alert_rounds_violation_mode.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_alert_rule.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_alert_type.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_dynamic_test.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_links.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_request.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_self_link.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_dynamic_tests.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_labels_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_instant_test.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_test.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_test_request.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_tests.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_all_agents_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_dynamic_test_update.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_base_test.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_instant_test.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_test.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_test_request.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_tests.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_test_update.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_instant_test.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_network_test_update.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_scheduled_test_type.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_specific_agents_selector_config.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_test.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_agent_selector_type.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_auth_type.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_links.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_protocol.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_self_link.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_endpoint_tests.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_error.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_link.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_self_links.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_severity.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_test_interval.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_test_label.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_test_probe_mode.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_test_probe_mode_response.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_test_ssl_version_id.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_test_update.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-endpoint-tests/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent_base.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent_to_agent_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent_to_agent_test_protocol.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_agent_to_server_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_predefined_variable.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_request_assertion.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_request_assertion_name.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_request_assertion_operator.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_request_auth_type.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_request_header.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_request_method.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_api_request_variable.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_cloud_enterprise_agent_type.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_query_class.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_sec_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_sec_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_sec_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_server_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_server_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_server_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_servers_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_dns_trace_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_error.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_expand.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_ftp_server_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_ftp_server_request_type.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_http_server_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_http_server_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_http_server_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_link.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_page_load_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_page_load_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_page_load_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_server_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_shared_with_account.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_simple_agent.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_request1.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_response.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_sip_server_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_sip_test_protocol.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_agent.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_auth_type.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_custom_headers.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_direction.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_dns_server.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_dns_transport_protocol.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_dscp_id.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_ipv6_policy.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_label.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_links.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_page_loading_strategy.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_path_trace_mode.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_probe_mode.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_protocol.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_self_link.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_sip_credentials.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_ssl_version_id.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_test_type.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_unexpanded_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_voice_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_voice_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_voice_properties.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_test.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_test_request.py delete mode 100644 thousandeyes-sdk-instant-tests/test/test_web_transaction_properties.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_affected_agent.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_affected_test.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_application_outage_affected_location.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_application_outage_affected_server.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_application_outage_details.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_asn.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_catalog_provider.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_details.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_filter.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_response.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_network_outage_affected_location.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_network_outage_details.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_outage.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_outage_filter.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_api_outages_response.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_error.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_link.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_outage_scope.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_provider_location.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_self_links.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-internet-insights/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-labels/test/test_error.py delete mode 100644 thousandeyes-sdk-labels/test/test_label.py delete mode 100644 thousandeyes-sdk-labels/test/test_label_detail.py delete mode 100644 thousandeyes-sdk-labels/test/test_label_request.py delete mode 100644 thousandeyes-sdk-labels/test/test_label_type.py delete mode 100644 thousandeyes-sdk-labels/test/test_labels.py delete mode 100644 thousandeyes-sdk-labels/test/test_link.py delete mode 100644 thousandeyes-sdk-labels/test/test_self_links.py delete mode 100644 thousandeyes-sdk-labels/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-labels/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-labels/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_app_and_self_links.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_error.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_link.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_snapshot_links.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_snapshot_request.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_snapshot_response.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_snapshot_test.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_test_interval.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_test_links.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_test_self_link.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_test_type.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_unexpanded_instant_test.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_unexpanded_test.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-snapshots/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-streaming/test/test_api_error.py delete mode 100644 thousandeyes-sdk-streaming/test/test_api_error_integration_limits.py delete mode 100644 thousandeyes-sdk-streaming/test/test_audit_operation.py delete mode 100644 thousandeyes-sdk-streaming/test/test_audit_operation_with_update.py delete mode 100644 thousandeyes-sdk-streaming/test/test_bad_request_error.py delete mode 100644 thousandeyes-sdk-streaming/test/test_create_stream_response.py delete mode 100644 thousandeyes-sdk-streaming/test/test_endpoint_type.py delete mode 100644 thousandeyes-sdk-streaming/test/test_get_stream_response.py delete mode 100644 thousandeyes-sdk-streaming/test/test_put_stream.py delete mode 100644 thousandeyes-sdk-streaming/test/test_stream.py delete mode 100644 thousandeyes-sdk-streaming/test/test_stream_links.py delete mode 100644 thousandeyes-sdk-streaming/test/test_stream_response.py delete mode 100644 thousandeyes-sdk-streaming/test/test_stream_self_link.py delete mode 100644 thousandeyes-sdk-streaming/test/test_stream_type.py delete mode 100644 thousandeyes-sdk-streaming/test/test_tag_match.py delete mode 100644 thousandeyes-sdk-streaming/test/test_tag_match_object_type.py delete mode 100644 thousandeyes-sdk-streaming/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-tags/test/test_access_type.py delete mode 100644 thousandeyes-sdk-tags/test/test_api_error.py delete mode 100644 thousandeyes-sdk-tags/test/test_assignment.py delete mode 100644 thousandeyes-sdk-tags/test/test_assignment_type.py delete mode 100644 thousandeyes-sdk-tags/test/test_bulk_tag_assignment.py delete mode 100644 thousandeyes-sdk-tags/test/test_bulk_tag_assignments.py delete mode 100644 thousandeyes-sdk-tags/test/test_bulk_tag_response.py delete mode 100644 thousandeyes-sdk-tags/test/test_error.py delete mode 100644 thousandeyes-sdk-tags/test/test_expand.py delete mode 100644 thousandeyes-sdk-tags/test/test_link.py delete mode 100644 thousandeyes-sdk-tags/test/test_object_type.py delete mode 100644 thousandeyes-sdk-tags/test/test_self_links.py delete mode 100644 thousandeyes-sdk-tags/test/test_tag.py delete mode 100644 thousandeyes-sdk-tags/test/test_tag_assignment.py delete mode 100644 thousandeyes-sdk-tags/test/test_tag_bulk_create_error.py delete mode 100644 thousandeyes-sdk-tags/test/test_tag_info.py delete mode 100644 thousandeyes-sdk-tags/test/test_tags.py delete mode 100644 thousandeyes-sdk-tags/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-tags/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-tags/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-test-results/test/test_agent.py delete mode 100644 thousandeyes-sdk-test-results/test/test_api_detail_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_api_detail_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_api_request_detail.py delete mode 100644 thousandeyes-sdk-test-results/test/test_api_request_detail_assertion.py delete mode 100644 thousandeyes-sdk-test-results/test/test_api_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_api_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_app_links.py delete mode 100644 thousandeyes-sdk-test-results/test/test_bgp_basic_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_bgp_hop.py delete mode 100644 thousandeyes-sdk-test-results/test/test_bgp_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_bgp_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_bgp_test_route_information_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_bgp_test_route_information_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_dns_server_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_dns_server_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_dns_trace_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_dns_trace_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_dnssec_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_dnssec_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_epoch_time_window.py delete mode 100644 thousandeyes-sdk-test-results/test/test_error.py delete mode 100644 thousandeyes-sdk-test-results/test/test_expand.py delete mode 100644 thousandeyes-sdk-test-results/test/test_ftp_server_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_ftp_server_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_http_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_http_test_result_headers.py delete mode 100644 thousandeyes-sdk-test-results/test/test_http_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_link.py delete mode 100644 thousandeyes-sdk-test-results/test/test_marker.py delete mode 100644 thousandeyes-sdk-test-results/test/test_monitor.py delete mode 100644 thousandeyes-sdk-test-results/test/test_network_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_network_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_page.py delete mode 100644 thousandeyes-sdk-test-results/test/test_page_load_detail_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_page_load_detail_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_page_load_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_page_load_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_pagination_links.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_base_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_detail_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_detail_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_direction.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_endpoint.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_hop.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_route.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_path_vis_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_rtp_stream_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_rtp_stream_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_self_links.py delete mode 100644 thousandeyes-sdk-test-results/test/test_simple_test.py delete mode 100644 thousandeyes-sdk-test-results/test/test_sip_server_error_type.py delete mode 100644 thousandeyes-sdk-test-results/test/test_sip_server_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_sip_server_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_ssl_cert.py delete mode 100644 thousandeyes-sdk-test-results/test/test_test_direction.py delete mode 100644 thousandeyes-sdk-test-results/test/test_test_interval.py delete mode 100644 thousandeyes-sdk-test-results/test/test_test_links.py delete mode 100644 thousandeyes-sdk-test-results/test/test_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_test_result_app_links.py delete mode 100644 thousandeyes-sdk-test-results/test/test_test_self_link.py delete mode 100644 thousandeyes-sdk-test-results/test/test_test_type.py delete mode 100644 thousandeyes-sdk-test-results/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-test-results/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-test-results/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-test-results/test/test_web_transaction_detail_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_web_transaction_detail_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_web_transaction_page_detail_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_web_transaction_page_detail_test_results.py delete mode 100644 thousandeyes-sdk-test-results/test/test_web_transaction_test_result.py delete mode 100644 thousandeyes-sdk-test-results/test/test_web_transaction_test_results.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_base.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_request.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_agent_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_agent_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_agent_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_agent_test_protocol.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_agent_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_server_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_server_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_agent_to_server_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_alert_direction.py delete mode 100644 thousandeyes-sdk-tests/test/test_alert_rounds_violation_mode.py delete mode 100644 thousandeyes-sdk-tests/test/test_alert_rule.py delete mode 100644 thousandeyes-sdk-tests/test/test_alert_type.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_predefined_variable.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_request.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_request_assertion.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_request_assertion_name.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_request_assertion_operator.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_request_auth_type.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_request_header.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_request_method.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_request_variable.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_api_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_base_bgp_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_base_request.py delete mode 100644 thousandeyes-sdk-tests/test/test_base_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_bgp_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_bgp_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_cloud_enterprise_agent_type.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_query_class.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_sec_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_sec_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_sec_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_sec_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_server_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_server_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_server_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_servers_request.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_trace_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_trace_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_trace_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_dns_trace_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_error.py delete mode 100644 thousandeyes-sdk-tests/test/test_expand.py delete mode 100644 thousandeyes-sdk-tests/test/test_ftp_server_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_ftp_server_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_ftp_server_request_type.py delete mode 100644 thousandeyes-sdk-tests/test/test_ftp_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_ftp_server_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_http_server_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_http_server_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_http_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_http_server_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_interface_group.py delete mode 100644 thousandeyes-sdk-tests/test/test_interface_groups.py delete mode 100644 thousandeyes-sdk-tests/test/test_link.py delete mode 100644 thousandeyes-sdk-tests/test/test_monitor.py delete mode 100644 thousandeyes-sdk-tests/test/test_monitor_type.py delete mode 100644 thousandeyes-sdk-tests/test/test_monitors_request.py delete mode 100644 thousandeyes-sdk-tests/test/test_page_load_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_page_load_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_page_load_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_page_load_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_self_links.py delete mode 100644 thousandeyes-sdk-tests/test/test_severity.py delete mode 100644 thousandeyes-sdk-tests/test/test_shared_with_account.py delete mode 100644 thousandeyes-sdk-tests/test/test_simple_agent.py delete mode 100644 thousandeyes-sdk-tests/test/test_simple_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_sip_server_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_sip_server_instant_test_request.py delete mode 100644 thousandeyes-sdk-tests/test/test_sip_server_instant_test_response.py delete mode 100644 thousandeyes-sdk-tests/test/test_sip_server_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_sip_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_sip_server_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_sip_test_protocol.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_auth_type.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_custom_headers.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_direction.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_dns_server.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_dns_transport_protocol.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_dscp_id.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_http_interval.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_interval.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_ipv6_policy.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_label.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_links.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_monitors_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_page_loading_strategy.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_path_trace_mode.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_probe_mode.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_protocol.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_request.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_self_link.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_sip_credentials.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_ssl_version_id.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_sub_interval.py delete mode 100644 thousandeyes-sdk-tests/test/test_test_type.py delete mode 100644 thousandeyes-sdk-tests/test/test_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_agent_to_agent_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_agent_to_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_api_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_bgp_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_dns_sec_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_dns_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_dns_trace_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_ftp_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_http_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_page_load_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_sip_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_voice_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_unexpanded_web_transaction_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_agent_to_agent_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_agent_to_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_api_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_bgp_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_bgp_test_request.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_dns_sec_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_dns_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_dns_trace_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_ftp_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_http_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_page_load_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_sip_server_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_sip_server_test1.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_voice_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_update_web_transaction_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-tests/test/test_validation_error_item.py delete mode 100644 thousandeyes-sdk-tests/test/test_voice_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_voice_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_voice_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_voice_tests.py delete mode 100644 thousandeyes-sdk-tests/test/test_web_transaction_instant_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_web_transaction_properties.py delete mode 100644 thousandeyes-sdk-tests/test/test_web_transaction_test.py delete mode 100644 thousandeyes-sdk-tests/test/test_web_transaction_tests.py delete mode 100644 thousandeyes-sdk-usage/test/test_account_group_quota.py delete mode 100644 thousandeyes-sdk-usage/test/test_endpoint_agents.py delete mode 100644 thousandeyes-sdk-usage/test/test_endpoint_agents_embedded.py delete mode 100644 thousandeyes-sdk-usage/test/test_endpoint_agents_essentials.py delete mode 100644 thousandeyes-sdk-usage/test/test_enterprise_agent_units.py delete mode 100644 thousandeyes-sdk-usage/test/test_enterprise_agent_units_by_test_owner_account_group.py delete mode 100644 thousandeyes-sdk-usage/test/test_enterprise_agents.py delete mode 100644 thousandeyes-sdk-usage/test/test_enterprise_agents_usage.py delete mode 100644 thousandeyes-sdk-usage/test/test_error.py delete mode 100644 thousandeyes-sdk-usage/test/test_expand.py delete mode 100644 thousandeyes-sdk-usage/test/test_link.py delete mode 100644 thousandeyes-sdk-usage/test/test_organization_quota.py delete mode 100644 thousandeyes-sdk-usage/test/test_organization_quota_assignment.py delete mode 100644 thousandeyes-sdk-usage/test/test_organization_quota_unassignment.py delete mode 100644 thousandeyes-sdk-usage/test/test_organizations_quotas_assign.py delete mode 100644 thousandeyes-sdk-usage/test/test_organizations_quotas_unassign.py delete mode 100644 thousandeyes-sdk-usage/test/test_pagination_links.py delete mode 100644 thousandeyes-sdk-usage/test/test_quota.py delete mode 100644 thousandeyes-sdk-usage/test/test_quotas.py delete mode 100644 thousandeyes-sdk-usage/test/test_quotas_assign_request.py delete mode 100644 thousandeyes-sdk-usage/test/test_quotas_assign_response.py delete mode 100644 thousandeyes-sdk-usage/test/test_quotas_unassign.py delete mode 100644 thousandeyes-sdk-usage/test/test_self_links.py delete mode 100644 thousandeyes-sdk-usage/test/test_tests.py delete mode 100644 thousandeyes-sdk-usage/test/test_tests_usage.py delete mode 100644 thousandeyes-sdk-usage/test/test_unauthorized_error.py delete mode 100644 thousandeyes-sdk-usage/test/test_units_by_tests.py delete mode 100644 thousandeyes-sdk-usage/test/test_usage.py delete mode 100644 thousandeyes-sdk-usage/test/test_usage_details.py delete mode 100644 thousandeyes-sdk-usage/test/test_usage_quota.py delete mode 100644 thousandeyes-sdk-usage/test/test_validation_error.py delete mode 100644 thousandeyes-sdk-usage/test/test_validation_error_item.py diff --git a/thousandeyes-sdk-agents/test/test_account_group.py b/thousandeyes-sdk-agents/test/test_account_group.py deleted file mode 100644 index 32ae9bc7..00000000 --- a/thousandeyes-sdk-agents/test/test_account_group.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.account_group import AccountGroup - -class TestAccountGroup(unittest.TestCase): - """AccountGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AccountGroup: - """Test AccountGroup - include_option 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 `AccountGroup` - """ - model = AccountGroup() - if include_optional: - return AccountGroup( - aid = '1234', - account_group_name = 'Account A' - ) - else: - return AccountGroup( - ) - """ - - def testAccountGroup(self): - """Test AccountGroup""" - # 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/thousandeyes-sdk-agents/test/test_agent.py b/thousandeyes-sdk-agents/test/test_agent.py deleted file mode 100644 index a5ce9b98..00000000 --- a/thousandeyes-sdk-agents/test/test_agent.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent import Agent - -class TestAgent(unittest.TestCase): - """Agent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Agent: - """Test Agent - include_option 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 `Agent` - """ - model = Agent() - if include_optional: - return Agent( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - agent_type = 'enterprise-cluster' - ) - else: - return Agent( - agent_type = 'enterprise-cluster', - ) - """ - - def testAgent(self): - """Test Agent""" - # 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/thousandeyes-sdk-agents/test/test_agent_base.py b/thousandeyes-sdk-agents/test/test_agent_base.py deleted file mode 100644 index 95b78683..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_base.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_base import AgentBase - -class TestAgentBase(unittest.TestCase): - """AgentBase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentBase: - """Test AgentBase - include_option 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 `AgentBase` - """ - model = AgentBase() - if include_optional: - return AgentBase( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)' - ) - else: - return AgentBase( - ) - """ - - def testAgentBase(self): - """Test AgentBase""" - # 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/thousandeyes-sdk-agents/test/test_agent_cluster_assign_request.py b/thousandeyes-sdk-agents/test/test_agent_cluster_assign_request.py deleted file mode 100644 index ea7456cf..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_cluster_assign_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_cluster_assign_request import AgentClusterAssignRequest - -class TestAgentClusterAssignRequest(unittest.TestCase): - """AgentClusterAssignRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentClusterAssignRequest: - """Test AgentClusterAssignRequest - include_option 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 `AgentClusterAssignRequest` - """ - model = AgentClusterAssignRequest() - if include_optional: - return AgentClusterAssignRequest( - agents = ["281474976710706"] - ) - else: - return AgentClusterAssignRequest( - ) - """ - - def testAgentClusterAssignRequest(self): - """Test AgentClusterAssignRequest""" - # 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/thousandeyes-sdk-agents/test/test_agent_cluster_unassign_request.py b/thousandeyes-sdk-agents/test/test_agent_cluster_unassign_request.py deleted file mode 100644 index 6f068201..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_cluster_unassign_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_cluster_unassign_request import AgentClusterUnassignRequest - -class TestAgentClusterUnassignRequest(unittest.TestCase): - """AgentClusterUnassignRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentClusterUnassignRequest: - """Test AgentClusterUnassignRequest - include_option 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 `AgentClusterUnassignRequest` - """ - model = AgentClusterUnassignRequest() - if include_optional: - return AgentClusterUnassignRequest( - members = ["281474976710706"] - ) - else: - return AgentClusterUnassignRequest( - ) - """ - - def testAgentClusterUnassignRequest(self): - """Test AgentClusterUnassignRequest""" - # 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/thousandeyes-sdk-agents/test/test_agent_details.py b/thousandeyes-sdk-agents/test/test_agent_details.py deleted file mode 100644 index 08c580f7..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_details.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_details import AgentDetails - -class TestAgentDetails(unittest.TestCase): - """AgentDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentDetails: - """Test AgentDetails - include_option 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 `AgentDetails` - """ - model = AgentDetails() - if include_optional: - return AgentDetails( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - agent_type = 'enterprise-cluster', - tests = [ - { } - ], - labels = [ - thousandeyes_sdk.agents.models.labels.Labels( - label_id = '11', - name = 'Label name', ) - ], - links = thousandeyes_sdk.agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - cluster_members = [ - null - ], - utilization = 25, - account_groups = [ - thousandeyes_sdk.agents.models.account_group.AccountGroup( - aid = '1234', - account_group_name = 'Account A', ) - ], - ipv6_policy = 'force-ipv4', - error_details = [ - thousandeyes_sdk.agents.models.error_detail.ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)', ) - ], - hostname = 'thousandeyes.com', - last_seen = '2022-07-17T22:00:54Z', - agent_state = 'online', - keep_browser_cache = True, - created_date = '2022-07-17T22:00:54Z', - target_for_tests = '1.1.1.1', - local_resolution_prefixes = [ - '10.2.3.3/24' - ], - interface_ip_mappings = [ - thousandeyes_sdk.agents.models.interface_ip_mapping.InterfaceIpMapping( - interface_name = 'wlp4s0', - ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], ) - ], - notification_rules = [ - thousandeyes_sdk.agents.models.notification_rules.NotificationRules( - agent_alert_rules = [{"ruleId":"281474976710706","ruleName":"Default Agent Offline Notification","expression":"((lastContact >= 30 min))","notifyOnClear":true,"isDefault":false},{"ruleId":"281474976710709","ruleName":"Test Rule","expression":"((lastContact >= 40 min))","notifyOnClear":true,"isDefault":true}], ) - ] - ) - else: - return AgentDetails( - agent_type = 'enterprise-cluster', - ) - """ - - def testAgentDetails(self): - """Test AgentDetails""" - # 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/thousandeyes-sdk-agents/test/test_agent_details_expand.py b/thousandeyes-sdk-agents/test/test_agent_details_expand.py deleted file mode 100644 index 273125f4..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_details_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_details_expand import AgentDetailsExpand - -class TestAgentDetailsExpand(unittest.TestCase): - """AgentDetailsExpand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAgentDetailsExpand(self): - """Test AgentDetailsExpand""" - # inst = AgentDetailsExpand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_agent_ipv6_policy.py b/thousandeyes-sdk-agents/test/test_agent_ipv6_policy.py deleted file mode 100644 index 81e42d1f..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_ipv6_policy.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_ipv6_policy import AgentIpv6Policy - -class TestAgentIpv6Policy(unittest.TestCase): - """AgentIpv6Policy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAgentIpv6Policy(self): - """Test AgentIpv6Policy""" - # inst = AgentIpv6Policy() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_agent_list_expand.py b/thousandeyes-sdk-agents/test/test_agent_list_expand.py deleted file mode 100644 index 34922b14..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_list_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_list_expand import AgentListExpand - -class TestAgentListExpand(unittest.TestCase): - """AgentListExpand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAgentListExpand(self): - """Test AgentListExpand""" - # inst = AgentListExpand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_agent_proxies.py b/thousandeyes-sdk-agents/test/test_agent_proxies.py deleted file mode 100644 index 7efc1edc..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_proxies.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_proxies import AgentProxies - -class TestAgentProxies(unittest.TestCase): - """AgentProxies unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentProxies: - """Test AgentProxies - include_option 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 `AgentProxies` - """ - model = AgentProxies() - if include_optional: - return AgentProxies( - agent_proxies = [ - thousandeyes_sdk.agents.models.agent_proxy.AgentProxy( - aid = '1234', - auth_type = 'basic', - bypass_list = ["10.0.0.0/16","*.thousandeyes.com"], - last_modified = '2022-07-17T22:00:54Z', - location = 'proxy.thousandeyes.com:3128', - is_local_configured = True, - name = 'Test Proxy - Auth Type - BASIC', - password = '****', - proxy_id = '281474976710706', - type = 'static', - user = 'user1', ) - ], - links = thousandeyes_sdk.agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return AgentProxies( - ) - """ - - def testAgentProxies(self): - """Test AgentProxies""" - # 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/thousandeyes-sdk-agents/test/test_agent_proxy.py b/thousandeyes-sdk-agents/test/test_agent_proxy.py deleted file mode 100644 index 6b2c4f75..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_proxy.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_proxy import AgentProxy - -class TestAgentProxy(unittest.TestCase): - """AgentProxy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentProxy: - """Test AgentProxy - include_option 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 `AgentProxy` - """ - model = AgentProxy() - if include_optional: - return AgentProxy( - aid = '1234', - auth_type = 'basic', - bypass_list = ["10.0.0.0/16","*.thousandeyes.com"], - last_modified = '2022-07-17T22:00:54Z', - location = 'proxy.thousandeyes.com:3128', - is_local_configured = True, - name = 'Test Proxy - Auth Type - BASIC', - password = '****', - proxy_id = '281474976710706', - type = 'static', - user = 'user1' - ) - else: - return AgentProxy( - ) - """ - - def testAgentProxy(self): - """Test AgentProxy""" - # 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/thousandeyes-sdk-agents/test/test_agent_request.py b/thousandeyes-sdk-agents/test/test_agent_request.py deleted file mode 100644 index 647653f2..00000000 --- a/thousandeyes-sdk-agents/test/test_agent_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.agent_request import AgentRequest - -class TestAgentRequest(unittest.TestCase): - """AgentRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentRequest: - """Test AgentRequest - include_option 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 `AgentRequest` - """ - model = AgentRequest() - if include_optional: - return AgentRequest( - agent_name = 'thousandeyes-stg-va-254', - enabled = True, - account_groups = ["1234","1"], - ipv6_policy = 'force-ipv4', - keep_browser_cache = True, - target_for_tests = '1.1.1.1', - local_resolution_prefixes = ["10.2.3.3/24","10.2.3.3/25"], - tests = ["12313145","12345"] - ) - else: - return AgentRequest( - ) - """ - - def testAgentRequest(self): - """Test AgentRequest""" - # 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/thousandeyes-sdk-agents/test/test_alert_email.py b/thousandeyes-sdk-agents/test/test_alert_email.py deleted file mode 100644 index 54ceb3da..00000000 --- a/thousandeyes-sdk-agents/test/test_alert_email.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.alert_email import AlertEmail - -class TestAlertEmail(unittest.TestCase): - """AlertEmail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertEmail: - """Test AlertEmail - include_option 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 `AlertEmail` - """ - model = AlertEmail() - if include_optional: - return AlertEmail( - message = 'This test is failing, check as soon as possible.', - recipients = ["user1@thousandeyes.com","user2@cisco.com"] - ) - else: - return AlertEmail( - ) - """ - - def testAlertEmail(self): - """Test AlertEmail""" - # 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/thousandeyes-sdk-agents/test/test_alert_integration_base.py b/thousandeyes-sdk-agents/test/test_alert_integration_base.py deleted file mode 100644 index e0314084..00000000 --- a/thousandeyes-sdk-agents/test/test_alert_integration_base.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.alert_integration_base import AlertIntegrationBase - -class TestAlertIntegrationBase(unittest.TestCase): - """AlertIntegrationBase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertIntegrationBase: - """Test AlertIntegrationBase - include_option 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 `AlertIntegrationBase` - """ - model = AlertIntegrationBase() - if include_optional: - return AlertIntegrationBase( - integration_id = 'wb-78', - integration_name = 'integrationSlack1', - integration_type = 'slack', - target = 'https://hooks.slack.com/services/asd/0VqDYEpidpHVAK397x8PBsmZ', - auth_method = 'Basic', - auth_user = 'user123', - auth_token = '0VqDYEpidpHVAK397x8PBsmZ', - channel = '#slackChannel' - ) - else: - return AlertIntegrationBase( - ) - """ - - def testAlertIntegrationBase(self): - """Test AlertIntegrationBase""" - # 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/thousandeyes-sdk-agents/test/test_alert_integration_type.py b/thousandeyes-sdk-agents/test/test_alert_integration_type.py deleted file mode 100644 index dde70958..00000000 --- a/thousandeyes-sdk-agents/test/test_alert_integration_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.alert_integration_type import AlertIntegrationType - -class TestAlertIntegrationType(unittest.TestCase): - """AlertIntegrationType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertIntegrationType(self): - """Test AlertIntegrationType""" - # inst = AlertIntegrationType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_cloud_agent_detail.py b/thousandeyes-sdk-agents/test/test_cloud_agent_detail.py deleted file mode 100644 index 76efe5c1..00000000 --- a/thousandeyes-sdk-agents/test/test_cloud_agent_detail.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.cloud_agent_detail import CloudAgentDetail - -class TestCloudAgentDetail(unittest.TestCase): - """CloudAgentDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CloudAgentDetail: - """Test CloudAgentDetail - include_option 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 `CloudAgentDetail` - """ - model = CloudAgentDetail() - if include_optional: - return CloudAgentDetail( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - agent_type = 'cloud', - tests = [ - { } - ], - labels = [ - thousandeyes_sdk.agents.models.labels.Labels( - label_id = '11', - name = 'Label name', ) - ], - links = thousandeyes_sdk.agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return CloudAgentDetail( - agent_type = 'cloud', - ) - """ - - def testCloudAgentDetail(self): - """Test CloudAgentDetail""" - # 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/thousandeyes-sdk-agents/test/test_cloud_enterprise_agent.py b/thousandeyes-sdk-agents/test/test_cloud_enterprise_agent.py deleted file mode 100644 index 05218400..00000000 --- a/thousandeyes-sdk-agents/test/test_cloud_enterprise_agent.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.cloud_enterprise_agent import CloudEnterpriseAgent - -class TestCloudEnterpriseAgent(unittest.TestCase): - """CloudEnterpriseAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CloudEnterpriseAgent: - """Test CloudEnterpriseAgent - include_option 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 `CloudEnterpriseAgent` - """ - model = CloudEnterpriseAgent() - if include_optional: - return CloudEnterpriseAgent( - agent_type = 'enterprise-cluster', - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - cluster_members = [ - null - ], - utilization = 25, - account_groups = [ - thousandeyes_sdk.agents.models.account_group.AccountGroup( - aid = '1234', - account_group_name = 'Account A', ) - ], - ipv6_policy = 'force-ipv4', - error_details = [ - thousandeyes_sdk.agents.models.error_detail.ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)', ) - ], - hostname = 'thousandeyes.com', - last_seen = '2022-07-17T22:00:54Z', - agent_state = 'online', - keep_browser_cache = True, - created_date = '2022-07-17T22:00:54Z', - target_for_tests = '1.1.1.1', - local_resolution_prefixes = [ - '10.2.3.3/24' - ], - interface_ip_mappings = [ - thousandeyes_sdk.agents.models.interface_ip_mapping.InterfaceIpMapping( - interface_name = 'wlp4s0', - ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], ) - ] - ) - else: - return CloudEnterpriseAgent( - agent_type = 'enterprise-cluster', - ) - """ - - def testCloudEnterpriseAgent(self): - """Test CloudEnterpriseAgent""" - # 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/thousandeyes-sdk-agents/test/test_cloud_enterprise_agent_type.py b/thousandeyes-sdk-agents/test/test_cloud_enterprise_agent_type.py deleted file mode 100644 index 332a1c36..00000000 --- a/thousandeyes-sdk-agents/test/test_cloud_enterprise_agent_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType - -class TestCloudEnterpriseAgentType(unittest.TestCase): - """CloudEnterpriseAgentType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEnterpriseAgentType(self): - """Test CloudEnterpriseAgentType""" - # inst = CloudEnterpriseAgentType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_cloud_enterprise_agents.py b/thousandeyes-sdk-agents/test/test_cloud_enterprise_agents.py deleted file mode 100644 index 9f2ba449..00000000 --- a/thousandeyes-sdk-agents/test/test_cloud_enterprise_agents.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.cloud_enterprise_agents import CloudEnterpriseAgents - -class TestCloudEnterpriseAgents(unittest.TestCase): - """CloudEnterpriseAgents unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CloudEnterpriseAgents: - """Test CloudEnterpriseAgents - include_option 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 `CloudEnterpriseAgents` - """ - model = CloudEnterpriseAgents() - if include_optional: - return CloudEnterpriseAgents( - agents = [ - null - ], - links = thousandeyes_sdk.agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return CloudEnterpriseAgents( - ) - """ - - def testCloudEnterpriseAgents(self): - """Test CloudEnterpriseAgents""" - # 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/thousandeyes-sdk-agents/test/test_cluster_member.py b/thousandeyes-sdk-agents/test/test_cluster_member.py deleted file mode 100644 index 1fa4f3ab..00000000 --- a/thousandeyes-sdk-agents/test/test_cluster_member.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.cluster_member import ClusterMember - -class TestClusterMember(unittest.TestCase): - """ClusterMember unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ClusterMember: - """Test ClusterMember - include_option 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 `ClusterMember` - """ - model = ClusterMember() - if include_optional: - return ClusterMember( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - member_id = '10', - name = 'Cluster member name', - error_details = [ - thousandeyes_sdk.agents.models.error_detail.ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)', ) - ], - last_seen = '2022-07-17T22:00:54Z', - agent_state = 'online', - target_for_tests = '1.1.1.1', - utilization = 25 - ) - else: - return ClusterMember( - ) - """ - - def testClusterMember(self): - """Test ClusterMember""" - # 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/thousandeyes-sdk-agents/test/test_enterprise_agent.py b/thousandeyes-sdk-agents/test/test_enterprise_agent.py deleted file mode 100644 index 1302a928..00000000 --- a/thousandeyes-sdk-agents/test/test_enterprise_agent.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.enterprise_agent import EnterpriseAgent - -class TestEnterpriseAgent(unittest.TestCase): - """EnterpriseAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgent: - """Test EnterpriseAgent - include_option 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 `EnterpriseAgent` - """ - model = EnterpriseAgent() - if include_optional: - return EnterpriseAgent( - agent_type = 'enterprise-cluster', - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - cluster_members = [ - null - ], - utilization = 25, - account_groups = [ - thousandeyes_sdk.agents.models.account_group.AccountGroup( - aid = '1234', - account_group_name = 'Account A', ) - ], - ipv6_policy = 'force-ipv4', - error_details = [ - thousandeyes_sdk.agents.models.error_detail.ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)', ) - ], - hostname = 'thousandeyes.com', - last_seen = '2022-07-17T22:00:54Z', - agent_state = 'online', - keep_browser_cache = True, - created_date = '2022-07-17T22:00:54Z', - target_for_tests = '1.1.1.1', - local_resolution_prefixes = [ - '10.2.3.3/24' - ], - interface_ip_mappings = [ - thousandeyes_sdk.agents.models.interface_ip_mapping.InterfaceIpMapping( - interface_name = 'wlp4s0', - ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], ) - ] - ) - else: - return EnterpriseAgent( - agent_type = 'enterprise-cluster', - ) - """ - - def testEnterpriseAgent(self): - """Test EnterpriseAgent""" - # 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/thousandeyes-sdk-agents/test/test_enterprise_agent_cluster_detail.py b/thousandeyes-sdk-agents/test/test_enterprise_agent_cluster_detail.py deleted file mode 100644 index 539816f5..00000000 --- a/thousandeyes-sdk-agents/test/test_enterprise_agent_cluster_detail.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.enterprise_agent_cluster_detail import EnterpriseAgentClusterDetail - -class TestEnterpriseAgentClusterDetail(unittest.TestCase): - """EnterpriseAgentClusterDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgentClusterDetail: - """Test EnterpriseAgentClusterDetail - include_option 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 `EnterpriseAgentClusterDetail` - """ - model = EnterpriseAgentClusterDetail() - if include_optional: - return EnterpriseAgentClusterDetail( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - cluster_members = [ - null - ], - utilization = 25, - account_groups = [ - thousandeyes_sdk.agents.models.account_group.AccountGroup( - aid = '1234', - account_group_name = 'Account A', ) - ], - ipv6_policy = 'force-ipv4', - error_details = [ - thousandeyes_sdk.agents.models.error_detail.ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)', ) - ], - hostname = 'thousandeyes.com', - last_seen = '2022-07-17T22:00:54Z', - agent_state = 'online', - keep_browser_cache = True, - created_date = '2022-07-17T22:00:54Z', - target_for_tests = '1.1.1.1', - local_resolution_prefixes = [ - '10.2.3.3/24' - ], - interface_ip_mappings = [ - thousandeyes_sdk.agents.models.interface_ip_mapping.InterfaceIpMapping( - interface_name = 'wlp4s0', - ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], ) - ], - tests = [ - { } - ], - notification_rules = [ - thousandeyes_sdk.agents.models.notification_rules.NotificationRules( - agent_alert_rules = [{"ruleId":"281474976710706","ruleName":"Default Agent Offline Notification","expression":"((lastContact >= 30 min))","notifyOnClear":true,"isDefault":false},{"ruleId":"281474976710709","ruleName":"Test Rule","expression":"((lastContact >= 40 min))","notifyOnClear":true,"isDefault":true}], ) - ], - labels = [ - thousandeyes_sdk.agents.models.labels.Labels( - label_id = '11', - name = 'Label name', ) - ], - agent_type = 'enterprise-cluster', - links = thousandeyes_sdk.agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return EnterpriseAgentClusterDetail( - agent_type = 'enterprise-cluster', - ) - """ - - def testEnterpriseAgentClusterDetail(self): - """Test EnterpriseAgentClusterDetail""" - # 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/thousandeyes-sdk-agents/test/test_enterprise_agent_data.py b/thousandeyes-sdk-agents/test/test_enterprise_agent_data.py deleted file mode 100644 index a4ea6064..00000000 --- a/thousandeyes-sdk-agents/test/test_enterprise_agent_data.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.enterprise_agent_data import EnterpriseAgentData - -class TestEnterpriseAgentData(unittest.TestCase): - """EnterpriseAgentData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgentData: - """Test EnterpriseAgentData - include_option 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 `EnterpriseAgentData` - """ - model = EnterpriseAgentData() - if include_optional: - return EnterpriseAgentData( - cluster_members = [ - null - ], - utilization = 25, - account_groups = [ - thousandeyes_sdk.agents.models.account_group.AccountGroup( - aid = '1234', - account_group_name = 'Account A', ) - ], - ipv6_policy = 'force-ipv4', - error_details = [ - thousandeyes_sdk.agents.models.error_detail.ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)', ) - ], - hostname = 'thousandeyes.com', - last_seen = '2022-07-17T22:00:54Z', - agent_state = 'online', - keep_browser_cache = True, - created_date = '2022-07-17T22:00:54Z', - target_for_tests = '1.1.1.1', - local_resolution_prefixes = [ - '10.2.3.3/24' - ], - interface_ip_mappings = [ - thousandeyes_sdk.agents.models.interface_ip_mapping.InterfaceIpMapping( - interface_name = 'wlp4s0', - ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], ) - ] - ) - else: - return EnterpriseAgentData( - ) - """ - - def testEnterpriseAgentData(self): - """Test EnterpriseAgentData""" - # 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/thousandeyes-sdk-agents/test/test_enterprise_agent_detail.py b/thousandeyes-sdk-agents/test/test_enterprise_agent_detail.py deleted file mode 100644 index 3dd3a01f..00000000 --- a/thousandeyes-sdk-agents/test/test_enterprise_agent_detail.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.enterprise_agent_detail import EnterpriseAgentDetail - -class TestEnterpriseAgentDetail(unittest.TestCase): - """EnterpriseAgentDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgentDetail: - """Test EnterpriseAgentDetail - include_option 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 `EnterpriseAgentDetail` - """ - model = EnterpriseAgentDetail() - if include_optional: - return EnterpriseAgentDetail( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - cluster_members = [ - null - ], - utilization = 25, - account_groups = [ - thousandeyes_sdk.agents.models.account_group.AccountGroup( - aid = '1234', - account_group_name = 'Account A', ) - ], - ipv6_policy = 'force-ipv4', - error_details = [ - thousandeyes_sdk.agents.models.error_detail.ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)', ) - ], - hostname = 'thousandeyes.com', - last_seen = '2022-07-17T22:00:54Z', - agent_state = 'online', - keep_browser_cache = True, - created_date = '2022-07-17T22:00:54Z', - target_for_tests = '1.1.1.1', - local_resolution_prefixes = [ - '10.2.3.3/24' - ], - interface_ip_mappings = [ - thousandeyes_sdk.agents.models.interface_ip_mapping.InterfaceIpMapping( - interface_name = 'wlp4s0', - ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], ) - ], - tests = [ - { } - ], - notification_rules = [ - thousandeyes_sdk.agents.models.notification_rules.NotificationRules( - agent_alert_rules = [{"ruleId":"281474976710706","ruleName":"Default Agent Offline Notification","expression":"((lastContact >= 30 min))","notifyOnClear":true,"isDefault":false},{"ruleId":"281474976710709","ruleName":"Test Rule","expression":"((lastContact >= 40 min))","notifyOnClear":true,"isDefault":true}], ) - ], - labels = [ - thousandeyes_sdk.agents.models.labels.Labels( - label_id = '11', - name = 'Label name', ) - ], - agent_type = 'enterprise', - links = thousandeyes_sdk.agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return EnterpriseAgentDetail( - agent_type = 'enterprise', - ) - """ - - def testEnterpriseAgentDetail(self): - """Test EnterpriseAgentDetail""" - # 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/thousandeyes-sdk-agents/test/test_enterprise_agent_ipv6_policy.py b/thousandeyes-sdk-agents/test/test_enterprise_agent_ipv6_policy.py deleted file mode 100644 index 086f27c2..00000000 --- a/thousandeyes-sdk-agents/test/test_enterprise_agent_ipv6_policy.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy - -class TestEnterpriseAgentIpv6Policy(unittest.TestCase): - """EnterpriseAgentIpv6Policy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEnterpriseAgentIpv6Policy(self): - """Test EnterpriseAgentIpv6Policy""" - # inst = EnterpriseAgentIpv6Policy() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_enterprise_agent_response_expands.py b/thousandeyes-sdk-agents/test/test_enterprise_agent_response_expands.py deleted file mode 100644 index a75a4594..00000000 --- a/thousandeyes-sdk-agents/test/test_enterprise_agent_response_expands.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.enterprise_agent_response_expands import EnterpriseAgentResponseExpands - -class TestEnterpriseAgentResponseExpands(unittest.TestCase): - """EnterpriseAgentResponseExpands unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgentResponseExpands: - """Test EnterpriseAgentResponseExpands - include_option 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 `EnterpriseAgentResponseExpands` - """ - model = EnterpriseAgentResponseExpands() - if include_optional: - return EnterpriseAgentResponseExpands( - tests = [ - { } - ], - notification_rules = [ - thousandeyes_sdk.agents.models.notification_rules.NotificationRules( - agent_alert_rules = [{"ruleId":"281474976710706","ruleName":"Default Agent Offline Notification","expression":"((lastContact >= 30 min))","notifyOnClear":true,"isDefault":false},{"ruleId":"281474976710709","ruleName":"Test Rule","expression":"((lastContact >= 40 min))","notifyOnClear":true,"isDefault":true}], ) - ], - labels = [ - thousandeyes_sdk.agents.models.labels.Labels( - label_id = '11', - name = 'Label name', ) - ] - ) - else: - return EnterpriseAgentResponseExpands( - ) - """ - - def testEnterpriseAgentResponseExpands(self): - """Test EnterpriseAgentResponseExpands""" - # 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/thousandeyes-sdk-agents/test/test_enterprise_agent_state.py b/thousandeyes-sdk-agents/test/test_enterprise_agent_state.py deleted file mode 100644 index 3c42ca7f..00000000 --- a/thousandeyes-sdk-agents/test/test_enterprise_agent_state.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.enterprise_agent_state import EnterpriseAgentState - -class TestEnterpriseAgentState(unittest.TestCase): - """EnterpriseAgentState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEnterpriseAgentState(self): - """Test EnterpriseAgentState""" - # inst = EnterpriseAgentState() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_error.py b/thousandeyes-sdk-agents/test/test_error.py deleted file mode 100644 index c85df1d6..00000000 --- a/thousandeyes-sdk-agents/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-agents/test/test_error_detail.py b/thousandeyes-sdk-agents/test/test_error_detail.py deleted file mode 100644 index 1942e01f..00000000 --- a/thousandeyes-sdk-agents/test/test_error_detail.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.error_detail import ErrorDetail - -class TestErrorDetail(unittest.TestCase): - """ErrorDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ErrorDetail: - """Test ErrorDetail - include_option 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 `ErrorDetail` - """ - model = ErrorDetail() - if include_optional: - return ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)' - ) - else: - return ErrorDetail( - ) - """ - - def testErrorDetail(self): - """Test ErrorDetail""" - # 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/thousandeyes-sdk-agents/test/test_error_detail_code.py b/thousandeyes-sdk-agents/test/test_error_detail_code.py deleted file mode 100644 index c414902e..00000000 --- a/thousandeyes-sdk-agents/test/test_error_detail_code.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.error_detail_code import ErrorDetailCode - -class TestErrorDetailCode(unittest.TestCase): - """ErrorDetailCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorDetailCode(self): - """Test ErrorDetailCode""" - # inst = ErrorDetailCode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_interface_ip_mapping.py b/thousandeyes-sdk-agents/test/test_interface_ip_mapping.py deleted file mode 100644 index 49e33ca9..00000000 --- a/thousandeyes-sdk-agents/test/test_interface_ip_mapping.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.interface_ip_mapping import InterfaceIpMapping - -class TestInterfaceIpMapping(unittest.TestCase): - """InterfaceIpMapping unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InterfaceIpMapping: - """Test InterfaceIpMapping - include_option 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 `InterfaceIpMapping` - """ - model = InterfaceIpMapping() - if include_optional: - return InterfaceIpMapping( - interface_name = 'wlp4s0', - ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"] - ) - else: - return InterfaceIpMapping( - ) - """ - - def testInterfaceIpMapping(self): - """Test InterfaceIpMapping""" - # 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/thousandeyes-sdk-agents/test/test_labels.py b/thousandeyes-sdk-agents/test/test_labels.py deleted file mode 100644 index b05fca81..00000000 --- a/thousandeyes-sdk-agents/test/test_labels.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.labels import Labels - -class TestLabels(unittest.TestCase): - """Labels unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Labels: - """Test Labels - include_option 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 `Labels` - """ - model = Labels() - if include_optional: - return Labels( - label_id = '11', - name = 'Label name' - ) - else: - return Labels( - ) - """ - - def testLabels(self): - """Test Labels""" - # 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/thousandeyes-sdk-agents/test/test_link.py b/thousandeyes-sdk-agents/test/test_link.py deleted file mode 100644 index 90602c73..00000000 --- a/thousandeyes-sdk-agents/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-agents/test/test_list_notification_rules_response.py b/thousandeyes-sdk-agents/test/test_list_notification_rules_response.py deleted file mode 100644 index 74e2ca37..00000000 --- a/thousandeyes-sdk-agents/test/test_list_notification_rules_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.list_notification_rules_response import ListNotificationRulesResponse - -class TestListNotificationRulesResponse(unittest.TestCase): - """ListNotificationRulesResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ListNotificationRulesResponse: - """Test ListNotificationRulesResponse - include_option 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 `ListNotificationRulesResponse` - """ - model = ListNotificationRulesResponse() - if include_optional: - return ListNotificationRulesResponse( - agent_alert_rules = [{"ruleId":"281474976710706","ruleName":"Default Agent Offline Notification","expression":"((lastContact >= 30 min))","notifyOnClear":true,"isDefault":false},{"ruleId":"281474976710709","ruleName":"Test Rule","expression":"((lastContact >= 40 min))","notifyOnClear":true,"isDefault":true}], - links = thousandeyes_sdk.agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ListNotificationRulesResponse( - ) - """ - - def testListNotificationRulesResponse(self): - """Test ListNotificationRulesResponse""" - # 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/thousandeyes-sdk-agents/test/test_notification.py b/thousandeyes-sdk-agents/test/test_notification.py deleted file mode 100644 index 8bcf3cfd..00000000 --- a/thousandeyes-sdk-agents/test/test_notification.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.notification import Notification - -class TestNotification(unittest.TestCase): - """Notification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Notification: - """Test Notification - include_option 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 `Notification` - """ - model = Notification() - if include_optional: - return Notification( - email = thousandeyes_sdk.agents.models.alert_email.AlertEmail( - message = 'This test is failing, check as soon as possible.', - recipients = ["user1@thousandeyes.com","user2@cisco.com"], ), - third_party = [ - thousandeyes_sdk.agents.models.alert_integration_base.AlertIntegrationBase( - integration_id = 'wb-78', - integration_name = 'integrationSlack1', - integration_type = 'slack', - target = 'https://hooks.slack.com/services/asd/0VqDYEpidpHVAK397x8PBsmZ', - auth_method = 'Basic', - auth_user = 'user123', - auth_token = '0VqDYEpidpHVAK397x8PBsmZ', - channel = '#slackChannel', ) - ], - webhook = [ - thousandeyes_sdk.agents.models.alert_integration_base.AlertIntegrationBase( - integration_id = 'wb-78', - integration_name = 'integrationSlack1', - integration_type = 'slack', - target = 'https://hooks.slack.com/services/asd/0VqDYEpidpHVAK397x8PBsmZ', - auth_method = 'Basic', - auth_user = 'user123', - auth_token = '0VqDYEpidpHVAK397x8PBsmZ', - channel = '#slackChannel', ) - ] - ) - else: - return Notification( - ) - """ - - def testNotification(self): - """Test Notification""" - # 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/thousandeyes-sdk-agents/test/test_notification_rule.py b/thousandeyes-sdk-agents/test/test_notification_rule.py deleted file mode 100644 index 140af420..00000000 --- a/thousandeyes-sdk-agents/test/test_notification_rule.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.notification_rule import NotificationRule - -class TestNotificationRule(unittest.TestCase): - """NotificationRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NotificationRule: - """Test NotificationRule - include_option 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 `NotificationRule` - """ - model = NotificationRule() - if include_optional: - return NotificationRule( - rule_id = '281474976710706', - rule_name = 'Default Agent Offline Notification', - expression = '((lastContact >= 30 min))', - notify_on_clear = True, - is_default = False - ) - else: - return NotificationRule( - ) - """ - - def testNotificationRule(self): - """Test NotificationRule""" - # 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/thousandeyes-sdk-agents/test/test_notification_rule_detail.py b/thousandeyes-sdk-agents/test/test_notification_rule_detail.py deleted file mode 100644 index 8cd238f7..00000000 --- a/thousandeyes-sdk-agents/test/test_notification_rule_detail.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.notification_rule_detail import NotificationRuleDetail - -class TestNotificationRuleDetail(unittest.TestCase): - """NotificationRuleDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NotificationRuleDetail: - """Test NotificationRuleDetail - include_option 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 `NotificationRuleDetail` - """ - model = NotificationRuleDetail() - if include_optional: - return NotificationRuleDetail( - rule_id = '281474976710706', - rule_name = 'Default Agent Offline Notification', - expression = '((lastContact >= 30 min))', - notify_on_clear = True, - is_default = False, - notifications = thousandeyes_sdk.agents.models.notification.Notification( - email = thousandeyes_sdk.agents.models.alert_email.AlertEmail( - message = 'This test is failing, check as soon as possible.', - recipients = ["user1@thousandeyes.com","user2@cisco.com"], ), - third_party = [ - thousandeyes_sdk.agents.models.alert_integration_base.AlertIntegrationBase( - integration_id = 'wb-78', - integration_name = 'integrationSlack1', - integration_type = 'slack', - target = 'https://hooks.slack.com/services/asd/0VqDYEpidpHVAK397x8PBsmZ', - auth_method = 'Basic', - auth_user = 'user123', - auth_token = '0VqDYEpidpHVAK397x8PBsmZ', - channel = '#slackChannel', ) - ], - webhook = [ - thousandeyes_sdk.agents.models.alert_integration_base.AlertIntegrationBase( - integration_id = 'wb-78', - integration_name = 'integrationSlack1', - target = 'https://hooks.slack.com/services/asd/0VqDYEpidpHVAK397x8PBsmZ', - auth_method = 'Basic', - auth_user = 'user123', - auth_token = '0VqDYEpidpHVAK397x8PBsmZ', - channel = '#slackChannel', ) - ], ), - agents = [ - null - ], - links = thousandeyes_sdk.agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return NotificationRuleDetail( - ) - """ - - def testNotificationRuleDetail(self): - """Test NotificationRuleDetail""" - # 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/thousandeyes-sdk-agents/test/test_notification_rules.py b/thousandeyes-sdk-agents/test/test_notification_rules.py deleted file mode 100644 index 4f525058..00000000 --- a/thousandeyes-sdk-agents/test/test_notification_rules.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.notification_rules import NotificationRules - -class TestNotificationRules(unittest.TestCase): - """NotificationRules unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NotificationRules: - """Test NotificationRules - include_option 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 `NotificationRules` - """ - model = NotificationRules() - if include_optional: - return NotificationRules( - agent_alert_rules = [{"ruleId":"281474976710706","ruleName":"Default Agent Offline Notification","expression":"((lastContact >= 30 min))","notifyOnClear":true,"isDefault":false},{"ruleId":"281474976710709","ruleName":"Test Rule","expression":"((lastContact >= 40 min))","notifyOnClear":true,"isDefault":true}] - ) - else: - return NotificationRules( - ) - """ - - def testNotificationRules(self): - """Test NotificationRules""" - # 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/thousandeyes-sdk-agents/test/test_proxy_auth_type.py b/thousandeyes-sdk-agents/test/test_proxy_auth_type.py deleted file mode 100644 index ca52ca4f..00000000 --- a/thousandeyes-sdk-agents/test/test_proxy_auth_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.proxy_auth_type import ProxyAuthType - -class TestProxyAuthType(unittest.TestCase): - """ProxyAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProxyAuthType(self): - """Test ProxyAuthType""" - # inst = ProxyAuthType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_proxy_type.py b/thousandeyes-sdk-agents/test/test_proxy_type.py deleted file mode 100644 index d2b235a6..00000000 --- a/thousandeyes-sdk-agents/test/test_proxy_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.proxy_type import ProxyType - -class TestProxyType(unittest.TestCase): - """ProxyType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProxyType(self): - """Test ProxyType""" - # inst = ProxyType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_self_links.py b/thousandeyes-sdk-agents/test/test_self_links.py deleted file mode 100644 index ee919c62..00000000 --- a/thousandeyes-sdk-agents/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-agents/test/test_simple_agent.py b/thousandeyes-sdk-agents/test/test_simple_agent.py deleted file mode 100644 index be08dd14..00000000 --- a/thousandeyes-sdk-agents/test/test_simple_agent.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.simple_agent import SimpleAgent - -class TestSimpleAgent(unittest.TestCase): - """SimpleAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimpleAgent: - """Test SimpleAgent - include_option 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 `SimpleAgent` - """ - model = SimpleAgent() - if include_optional: - return SimpleAgent( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True - ) - else: - return SimpleAgent( - ) - """ - - def testSimpleAgent(self): - """Test SimpleAgent""" - # 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/thousandeyes-sdk-agents/test/test_simple_enterprise_agent.py b/thousandeyes-sdk-agents/test/test_simple_enterprise_agent.py deleted file mode 100644 index b409b307..00000000 --- a/thousandeyes-sdk-agents/test/test_simple_enterprise_agent.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.simple_enterprise_agent import SimpleEnterpriseAgent - -class TestSimpleEnterpriseAgent(unittest.TestCase): - """SimpleEnterpriseAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimpleEnterpriseAgent: - """Test SimpleEnterpriseAgent - include_option 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 `SimpleEnterpriseAgent` - """ - model = SimpleEnterpriseAgent() - if include_optional: - return SimpleEnterpriseAgent( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - cluster_members = [ - null - ], - utilization = 25, - account_groups = [ - thousandeyes_sdk.agents.models.account_group.AccountGroup( - aid = '1234', - account_group_name = 'Account A', ) - ], - ipv6_policy = 'force-ipv4', - error_details = [ - thousandeyes_sdk.agents.models.error_detail.ErrorDetail( - code = 'agent-version-outdated', - description = 'Agent Version 0.1.1 (latest: 1.0.0)', ) - ], - hostname = 'thousandeyes.com', - last_seen = '2022-07-17T22:00:54Z', - agent_state = 'online', - keep_browser_cache = True, - created_date = '2022-07-17T22:00:54Z', - target_for_tests = '1.1.1.1', - local_resolution_prefixes = [ - '10.2.3.3/24' - ], - interface_ip_mappings = [ - thousandeyes_sdk.agents.models.interface_ip_mapping.InterfaceIpMapping( - interface_name = 'wlp4s0', - ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], ) - ] - ) - else: - return SimpleEnterpriseAgent( - ) - """ - - def testSimpleEnterpriseAgent(self): - """Test SimpleEnterpriseAgent""" - # 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/thousandeyes-sdk-agents/test/test_simple_test.py b/thousandeyes-sdk-agents/test/test_simple_test.py deleted file mode 100644 index 4fb99634..00000000 --- a/thousandeyes-sdk-agents/test/test_simple_test.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.simple_test import SimpleTest - -class TestSimpleTest(unittest.TestCase): - """SimpleTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimpleTest: - """Test SimpleTest - include_option 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 `SimpleTest` - """ - model = SimpleTest() - if include_optional: - return SimpleTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.agents.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ) - ) - else: - return SimpleTest( - ) - """ - - def testSimpleTest(self): - """Test SimpleTest""" - # 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/thousandeyes-sdk-agents/test/test_test_interval.py b/thousandeyes-sdk-agents/test/test_test_interval.py deleted file mode 100644 index 4842461f..00000000 --- a/thousandeyes-sdk-agents/test/test_test_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.test_interval import TestInterval - -class TestTestInterval(unittest.TestCase): - """TestInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestInterval(self): - """Test TestInterval""" - # inst = TestInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_test_links.py b/thousandeyes-sdk-agents/test/test_test_links.py deleted file mode 100644 index 036d921a..00000000 --- a/thousandeyes-sdk-agents/test/test_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.test_links import TestLinks - -class TestTestLinks(unittest.TestCase): - """TestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLinks: - """Test TestLinks - include_option 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 `TestLinks` - """ - model = TestLinks() - if include_optional: - return TestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}] - ) - else: - return TestLinks( - ) - """ - - def testTestLinks(self): - """Test TestLinks""" - # 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/thousandeyes-sdk-agents/test/test_test_self_link.py b/thousandeyes-sdk-agents/test/test_test_self_link.py deleted file mode 100644 index d55a43a3..00000000 --- a/thousandeyes-sdk-agents/test/test_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.test_self_link import TestSelfLink - -class TestTestSelfLink(unittest.TestCase): - """TestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestSelfLink: - """Test TestSelfLink - include_option 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 `TestSelfLink` - """ - model = TestSelfLink() - if include_optional: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testTestSelfLink(self): - """Test TestSelfLink""" - # 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/thousandeyes-sdk-agents/test/test_test_type.py b/thousandeyes-sdk-agents/test/test_test_type.py deleted file mode 100644 index 940f2f22..00000000 --- a/thousandeyes-sdk-agents/test/test_test_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.test_type import TestType - -class TestTestType(unittest.TestCase): - """TestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestType(self): - """Test TestType""" - # inst = TestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-agents/test/test_unauthorized_error.py b/thousandeyes-sdk-agents/test/test_unauthorized_error.py deleted file mode 100644 index 0f80592c..00000000 --- a/thousandeyes-sdk-agents/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-agents/test/test_validation_error.py b/thousandeyes-sdk-agents/test/test_validation_error.py deleted file mode 100644 index 0b51fd39..00000000 --- a/thousandeyes-sdk-agents/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.agents.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-agents/test/test_validation_error_item.py b/thousandeyes-sdk-agents/test/test_validation_error_item.py deleted file mode 100644 index 51394c2d..00000000 --- a/thousandeyes-sdk-agents/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Agents API - - ## Overview Manage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.agents.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-alerts/test/test_alert.py b/thousandeyes-sdk-alerts/test/test_alert.py deleted file mode 100644 index be4e6ed3..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert import Alert - -class TestAlert(unittest.TestCase): - """Alert unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Alert: - """Test Alert - include_option 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 `Alert` - """ - model = Alert() - if include_optional: - return Alert( - id = 'e9c3bf02-a48c-4aa8-9e5f-898800d6f569', - alert_type = 'http-server', - start_date = '2020-04-23T13:43:16Z', - end_date = '2020-04-23T13:43:16Z', - violation_count = 2, - duration = 60, - suppressed = False, - meta = thousandeyes_sdk.alerts.models.alert_meta.AlertMeta( - version = 1, ), - links = thousandeyes_sdk.alerts.models.alert_links.AlertLinks( - test = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - rule = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - app_link = , - self = , ), - alert_id = 'e9c3bf02-a48c-4aa8-9e5f-898800d6f569', - date_start = '2020-04-23 13:43:16', - date_end = '2020-04-23 13:43:16', - rule_id = 127094, - state = 'ACTIVE', - severity = 'MAJOR', - permalink = 'https://app.thousandeyes.com/alerts/list?__a=75&alertId=2783&agentId=12', - api_links = [ - { } - ], - alert_rule_id = '127094', - alert_state = 'active', - alert_severity = 'major' - ) - else: - return Alert( - ) - """ - - def testAlert(self): - """Test Alert""" - # 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/thousandeyes-sdk-alerts/test/test_alert_detail.py b/thousandeyes-sdk-alerts/test/test_alert_detail.py deleted file mode 100644 index f2242d22..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_detail.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_detail import AlertDetail - -class TestAlertDetail(unittest.TestCase): - """AlertDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertDetail: - """Test AlertDetail - include_option 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 `AlertDetail` - """ - model = AlertDetail() - if include_optional: - return AlertDetail( - id = 'e9c3bf02-a48c-4aa8-9e5f-898800d6f569', - alert_type = 'http-server', - start_date = '2020-04-23T13:43:16Z', - end_date = '2020-04-23T13:43:16Z', - violation_count = 2, - duration = 60, - suppressed = False, - meta = thousandeyes_sdk.alerts.models.alert_meta.AlertMeta( - version = 1, ), - links = thousandeyes_sdk.alerts.models.alert_links.AlertLinks( - test = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - rule = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - app_link = , - self = , ), - state = 'active', - severity = 'major', - details = [ - thousandeyes_sdk.alerts.models.alert_metric_detail.AlertMetricDetail( - end = thousandeyes_sdk.alerts.models.end_alert_metrics.EndAlertMetrics( - metrics = '', ), - id = '3379', - name = 'Bucharest, Romania', - start = thousandeyes_sdk.alerts.models.start_alert_metrics.StartAlertMetrics( - metrics = '', ), - state = 'active', - type = 'cea_agent', ) - ] - ) - else: - return AlertDetail( - ) - """ - - def testAlertDetail(self): - """Test AlertDetail""" - # 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/thousandeyes-sdk-alerts/test/test_alert_direction.py b/thousandeyes-sdk-alerts/test/test_alert_direction.py deleted file mode 100644 index 0fe8df03..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_direction import AlertDirection - -class TestAlertDirection(unittest.TestCase): - """AlertDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertDirection(self): - """Test AlertDirection""" - # inst = AlertDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_alert_links.py b/thousandeyes-sdk-alerts/test/test_alert_links.py deleted file mode 100644 index 0b4d8998..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_links.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_links import AlertLinks - -class TestAlertLinks(unittest.TestCase): - """AlertLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertLinks: - """Test AlertLinks - include_option 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 `AlertLinks` - """ - model = AlertLinks() - if include_optional: - return AlertLinks( - test = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - rule = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - app_link = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return AlertLinks( - ) - """ - - def testAlertLinks(self): - """Test AlertLinks""" - # 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/thousandeyes-sdk-alerts/test/test_alert_meta.py b/thousandeyes-sdk-alerts/test/test_alert_meta.py deleted file mode 100644 index 55428a12..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_meta.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_meta import AlertMeta - -class TestAlertMeta(unittest.TestCase): - """AlertMeta unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertMeta: - """Test AlertMeta - include_option 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 `AlertMeta` - """ - model = AlertMeta() - if include_optional: - return AlertMeta( - version = 1 - ) - else: - return AlertMeta( - ) - """ - - def testAlertMeta(self): - """Test AlertMeta""" - # 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/thousandeyes-sdk-alerts/test/test_alert_metric_detail.py b/thousandeyes-sdk-alerts/test/test_alert_metric_detail.py deleted file mode 100644 index 21aa9eb8..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_metric_detail.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_metric_detail import AlertMetricDetail - -class TestAlertMetricDetail(unittest.TestCase): - """AlertMetricDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertMetricDetail: - """Test AlertMetricDetail - include_option 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 `AlertMetricDetail` - """ - model = AlertMetricDetail() - if include_optional: - return AlertMetricDetail( - end = thousandeyes_sdk.alerts.models.end_alert_metrics.EndAlertMetrics( - metrics = '', ), - id = '3379', - name = 'Bucharest, Romania', - start = thousandeyes_sdk.alerts.models.start_alert_metrics.StartAlertMetrics( - metrics = '', ), - state = 'active', - type = 'cea_agent' - ) - else: - return AlertMetricDetail( - ) - """ - - def testAlertMetricDetail(self): - """Test AlertMetricDetail""" - # 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/thousandeyes-sdk-alerts/test/test_alert_rounds_violation_mode.py b/thousandeyes-sdk-alerts/test/test_alert_rounds_violation_mode.py deleted file mode 100644 index 89fe241a..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_rounds_violation_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_rounds_violation_mode import AlertRoundsViolationMode - -class TestAlertRoundsViolationMode(unittest.TestCase): - """AlertRoundsViolationMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertRoundsViolationMode(self): - """Test AlertRoundsViolationMode""" - # inst = AlertRoundsViolationMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_alert_rule.py b/thousandeyes-sdk-alerts/test/test_alert_rule.py deleted file mode 100644 index bece09c3..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_rule.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_rule import AlertRule - -class TestAlertRule(unittest.TestCase): - """AlertRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertRule: - """Test AlertRule - include_option 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 `AlertRule` - """ - model = AlertRule() - if include_optional: - return AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major' - ) - else: - return AlertRule( - ) - """ - - def testAlertRule(self): - """Test AlertRule""" - # 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/thousandeyes-sdk-alerts/test/test_alert_suppression_window.py b/thousandeyes-sdk-alerts/test/test_alert_suppression_window.py deleted file mode 100644 index cd0c4e2a..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_suppression_window.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_suppression_window import AlertSuppressionWindow - -class TestAlertSuppressionWindow(unittest.TestCase): - """AlertSuppressionWindow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertSuppressionWindow: - """Test AlertSuppressionWindow - include_option 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 `AlertSuppressionWindow` - """ - model = AlertSuppressionWindow() - if include_optional: - return AlertSuppressionWindow( - alert_suppression_window_id = '2411', - name = 'Monthly maintenance', - is_enabled = False, - status = 'ended', - start_date = '2017-07-01T05:00Z', - duration = 0, - repeat = thousandeyes_sdk.alerts.models.repeat.Repeat( - type = 'week', - interval_type = 'day', - interval_length = 2, - days_of_week = [ - 'sun' - ], ), - end_repeat = thousandeyes_sdk.alerts.models.end_repeat.EndRepeat( - type = 'never', - count = 3, - date = 'Sat Jul 01 01:00:00 BST 2017', ), - links = thousandeyes_sdk.alerts.models.self_links.SelfLinks( - self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return AlertSuppressionWindow( - ) - """ - - def testAlertSuppressionWindow(self): - """Test AlertSuppressionWindow""" - # 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/thousandeyes-sdk-alerts/test/test_alert_suppression_window_detail.py b/thousandeyes-sdk-alerts/test/test_alert_suppression_window_detail.py deleted file mode 100644 index b5e17838..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_suppression_window_detail.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_suppression_window_detail import AlertSuppressionWindowDetail - -class TestAlertSuppressionWindowDetail(unittest.TestCase): - """AlertSuppressionWindowDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertSuppressionWindowDetail: - """Test AlertSuppressionWindowDetail - include_option 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 `AlertSuppressionWindowDetail` - """ - model = AlertSuppressionWindowDetail() - if include_optional: - return AlertSuppressionWindowDetail( - alert_suppression_window_id = '2411', - name = 'Monthly maintenance', - is_enabled = False, - status = 'ended', - start_date = '2017-07-01T05:00Z', - duration = 0, - repeat = thousandeyes_sdk.alerts.models.repeat.Repeat( - type = 'week', - interval_type = 'day', - interval_length = 2, - days_of_week = [ - 'sun' - ], ), - end_repeat = thousandeyes_sdk.alerts.models.end_repeat.EndRepeat( - type = 'never', - count = 3, - date = 'Sat Jul 01 01:00:00 BST 2017', ), - links = thousandeyes_sdk.alerts.models.self_links.SelfLinks( - self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - tests = [ - null - ] - ) - else: - return AlertSuppressionWindowDetail( - ) - """ - - def testAlertSuppressionWindowDetail(self): - """Test AlertSuppressionWindowDetail""" - # 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/thousandeyes-sdk-alerts/test/test_alert_suppression_window_request.py b/thousandeyes-sdk-alerts/test/test_alert_suppression_window_request.py deleted file mode 100644 index 4af39898..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_suppression_window_request.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_suppression_window_request import AlertSuppressionWindowRequest - -class TestAlertSuppressionWindowRequest(unittest.TestCase): - """AlertSuppressionWindowRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertSuppressionWindowRequest: - """Test AlertSuppressionWindowRequest - include_option 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 `AlertSuppressionWindowRequest` - """ - model = AlertSuppressionWindowRequest() - if include_optional: - return AlertSuppressionWindowRequest( - alert_suppression_window_id = '2411', - name = 'Monthly maintenance', - is_enabled = False, - status = 'ended', - start_date = '2017-07-01T05:00Z', - duration = 0, - repeat = thousandeyes_sdk.alerts.models.repeat.Repeat( - type = 'week', - interval_type = 'day', - interval_length = 2, - days_of_week = [ - 'sun' - ], ), - end_repeat = thousandeyes_sdk.alerts.models.end_repeat.EndRepeat( - type = 'never', - count = 3, - date = 'Sat Jul 01 01:00:00 BST 2017', ), - tests = [ - '71687' - ] - ) - else: - return AlertSuppressionWindowRequest( - ) - """ - - def testAlertSuppressionWindowRequest(self): - """Test AlertSuppressionWindowRequest""" - # 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/thousandeyes-sdk-alerts/test/test_alert_suppression_window_state.py b/thousandeyes-sdk-alerts/test/test_alert_suppression_window_state.py deleted file mode 100644 index 884156bd..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_suppression_window_state.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_suppression_window_state import AlertSuppressionWindowState - -class TestAlertSuppressionWindowState(unittest.TestCase): - """AlertSuppressionWindowState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertSuppressionWindowState(self): - """Test AlertSuppressionWindowState""" - # inst = AlertSuppressionWindowState() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_alert_suppression_windows.py b/thousandeyes-sdk-alerts/test/test_alert_suppression_windows.py deleted file mode 100644 index 51067256..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_suppression_windows.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_suppression_windows import AlertSuppressionWindows - -class TestAlertSuppressionWindows(unittest.TestCase): - """AlertSuppressionWindows unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertSuppressionWindows: - """Test AlertSuppressionWindows - include_option 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 `AlertSuppressionWindows` - """ - model = AlertSuppressionWindows() - if include_optional: - return AlertSuppressionWindows( - alert_suppression_windows = [ - null - ], - links = thousandeyes_sdk.alerts.models.self_links.SelfLinks( - self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return AlertSuppressionWindows( - ) - """ - - def testAlertSuppressionWindows(self): - """Test AlertSuppressionWindows""" - # 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/thousandeyes-sdk-alerts/test/test_alert_type.py b/thousandeyes-sdk-alerts/test/test_alert_type.py deleted file mode 100644 index 1e63d09a..00000000 --- a/thousandeyes-sdk-alerts/test/test_alert_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alert_type import AlertType - -class TestAlertType(unittest.TestCase): - """AlertType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertType(self): - """Test AlertType""" - # inst = AlertType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_alerts.py b/thousandeyes-sdk-alerts/test/test_alerts.py deleted file mode 100644 index 7bffbf63..00000000 --- a/thousandeyes-sdk-alerts/test/test_alerts.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.alerts import Alerts - -class TestAlerts(unittest.TestCase): - """Alerts unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Alerts: - """Test Alerts - include_option 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 `Alerts` - """ - model = Alerts() - if include_optional: - return Alerts( - alerts = [ - null - ], - links = thousandeyes_sdk.alerts.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return Alerts( - ) - """ - - def testAlerts(self): - """Test Alerts""" - # 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/thousandeyes-sdk-alerts/test/test_base_alert.py b/thousandeyes-sdk-alerts/test/test_base_alert.py deleted file mode 100644 index d82bea92..00000000 --- a/thousandeyes-sdk-alerts/test/test_base_alert.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.base_alert import BaseAlert - -class TestBaseAlert(unittest.TestCase): - """BaseAlert unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseAlert: - """Test BaseAlert - include_option 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 `BaseAlert` - """ - model = BaseAlert() - if include_optional: - return BaseAlert( - id = 'e9c3bf02-a48c-4aa8-9e5f-898800d6f569', - alert_type = 'http-server', - start_date = '2020-04-23T13:43:16Z', - end_date = '2020-04-23T13:43:16Z', - violation_count = 2, - duration = 60, - suppressed = False, - meta = thousandeyes_sdk.alerts.models.alert_meta.AlertMeta( - version = 1, ), - links = thousandeyes_sdk.alerts.models.alert_links.AlertLinks( - test = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - rule = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - app_link = , - self = , ) - ) - else: - return BaseAlert( - ) - """ - - def testBaseAlert(self): - """Test BaseAlert""" - # 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/thousandeyes-sdk-alerts/test/test_base_alert_suppression_window.py b/thousandeyes-sdk-alerts/test/test_base_alert_suppression_window.py deleted file mode 100644 index 430d282a..00000000 --- a/thousandeyes-sdk-alerts/test/test_base_alert_suppression_window.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.base_alert_suppression_window import BaseAlertSuppressionWindow - -class TestBaseAlertSuppressionWindow(unittest.TestCase): - """BaseAlertSuppressionWindow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseAlertSuppressionWindow: - """Test BaseAlertSuppressionWindow - include_option 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 `BaseAlertSuppressionWindow` - """ - model = BaseAlertSuppressionWindow() - if include_optional: - return BaseAlertSuppressionWindow( - alert_suppression_window_id = '2411', - name = 'Monthly maintenance', - is_enabled = False, - status = 'ended', - start_date = '2017-07-01T05:00Z', - duration = 0, - repeat = thousandeyes_sdk.alerts.models.repeat.Repeat( - type = 'week', - interval_type = 'day', - interval_length = 2, - days_of_week = [ - 'sun' - ], ), - end_repeat = thousandeyes_sdk.alerts.models.end_repeat.EndRepeat( - type = 'never', - count = 3, - date = 'Sat Jul 01 01:00:00 BST 2017', ) - ) - else: - return BaseAlertSuppressionWindow( - ) - """ - - def testBaseAlertSuppressionWindow(self): - """Test BaseAlertSuppressionWindow""" - # 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/thousandeyes-sdk-alerts/test/test_base_rule.py b/thousandeyes-sdk-alerts/test/test_base_rule.py deleted file mode 100644 index 2660dc6b..00000000 --- a/thousandeyes-sdk-alerts/test/test_base_rule.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.base_rule import BaseRule - -class TestBaseRule(unittest.TestCase): - """BaseRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseRule: - """Test BaseRule - include_option 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 `BaseRule` - """ - model = BaseRule() - if include_optional: - return BaseRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - notify_on_clear = True, - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - include_covered_prefixes = True, - severity = 'major' - ) - else: - return BaseRule( - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - alert_type = 'http-server', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - ) - """ - - def testBaseRule(self): - """Test BaseRule""" - # 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/thousandeyes-sdk-alerts/test/test_base_test.py b/thousandeyes-sdk-alerts/test/test_base_test.py deleted file mode 100644 index 23f0f43e..00000000 --- a/thousandeyes-sdk-alerts/test/test_base_test.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.base_test import BaseTest - -class TestBaseTest(unittest.TestCase): - """BaseTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseTest: - """Test BaseTest - include_option 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 `BaseTest` - """ - model = BaseTest() - if include_optional: - return BaseTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.alerts.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ] - ) - else: - return BaseTest( - ) - """ - - def testBaseTest(self): - """Test BaseTest""" - # 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/thousandeyes-sdk-alerts/test/test_days_of_week.py b/thousandeyes-sdk-alerts/test/test_days_of_week.py deleted file mode 100644 index 18da329f..00000000 --- a/thousandeyes-sdk-alerts/test/test_days_of_week.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.days_of_week import DaysOfWeek - -class TestDaysOfWeek(unittest.TestCase): - """DaysOfWeek unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDaysOfWeek(self): - """Test DaysOfWeek""" - # inst = DaysOfWeek() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_end_alert_metrics.py b/thousandeyes-sdk-alerts/test/test_end_alert_metrics.py deleted file mode 100644 index 324ebcea..00000000 --- a/thousandeyes-sdk-alerts/test/test_end_alert_metrics.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.end_alert_metrics import EndAlertMetrics - -class TestEndAlertMetrics(unittest.TestCase): - """EndAlertMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndAlertMetrics: - """Test EndAlertMetrics - include_option 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 `EndAlertMetrics` - """ - model = EndAlertMetrics() - if include_optional: - return EndAlertMetrics( - metrics = '' - ) - else: - return EndAlertMetrics( - ) - """ - - def testEndAlertMetrics(self): - """Test EndAlertMetrics""" - # 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/thousandeyes-sdk-alerts/test/test_end_repeat.py b/thousandeyes-sdk-alerts/test/test_end_repeat.py deleted file mode 100644 index c7a8a79b..00000000 --- a/thousandeyes-sdk-alerts/test/test_end_repeat.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.end_repeat import EndRepeat - -class TestEndRepeat(unittest.TestCase): - """EndRepeat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndRepeat: - """Test EndRepeat - include_option 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 `EndRepeat` - """ - model = EndRepeat() - if include_optional: - return EndRepeat( - type = 'never', - count = 3, - var_date = 'Sat Jul 01 01:00:00 BST 2017' - ) - else: - return EndRepeat( - ) - """ - - def testEndRepeat(self): - """Test EndRepeat""" - # 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/thousandeyes-sdk-alerts/test/test_end_repeat_type.py b/thousandeyes-sdk-alerts/test/test_end_repeat_type.py deleted file mode 100644 index 083e913b..00000000 --- a/thousandeyes-sdk-alerts/test/test_end_repeat_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.end_repeat_type import EndRepeatType - -class TestEndRepeatType(unittest.TestCase): - """EndRepeatType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndRepeatType(self): - """Test EndRepeatType""" - # inst = EndRepeatType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_error.py b/thousandeyes-sdk-alerts/test/test_error.py deleted file mode 100644 index 61b75a5d..00000000 --- a/thousandeyes-sdk-alerts/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-alerts/test/test_expand.py b/thousandeyes-sdk-alerts/test/test_expand.py deleted file mode 100644 index 24da2986..00000000 --- a/thousandeyes-sdk-alerts/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_interval_type.py b/thousandeyes-sdk-alerts/test/test_interval_type.py deleted file mode 100644 index 68eafa5b..00000000 --- a/thousandeyes-sdk-alerts/test/test_interval_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.interval_type import IntervalType - -class TestIntervalType(unittest.TestCase): - """IntervalType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIntervalType(self): - """Test IntervalType""" - # inst = IntervalType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_legacy_alert.py b/thousandeyes-sdk-alerts/test/test_legacy_alert.py deleted file mode 100644 index 81ec30b4..00000000 --- a/thousandeyes-sdk-alerts/test/test_legacy_alert.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.legacy_alert import LegacyAlert - -class TestLegacyAlert(unittest.TestCase): - """LegacyAlert unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LegacyAlert: - """Test LegacyAlert - include_option 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 `LegacyAlert` - """ - model = LegacyAlert() - if include_optional: - return LegacyAlert( - alert_id = 'e9c3bf02-a48c-4aa8-9e5f-898800d6f569', - date_start = '2020-04-23 13:43:16', - date_end = '2020-04-23 13:43:16', - rule_id = 127094, - state = 'ACTIVE', - severity = 'MAJOR', - permalink = 'https://app.thousandeyes.com/alerts/list?__a=75&alertId=2783&agentId=12', - api_links = [ - { } - ] - ) - else: - return LegacyAlert( - ) - """ - - def testLegacyAlert(self): - """Test LegacyAlert""" - # 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/thousandeyes-sdk-alerts/test/test_link.py b/thousandeyes-sdk-alerts/test/test_link.py deleted file mode 100644 index 11cd668a..00000000 --- a/thousandeyes-sdk-alerts/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-alerts/test/test_notification.py b/thousandeyes-sdk-alerts/test/test_notification.py deleted file mode 100644 index db58622a..00000000 --- a/thousandeyes-sdk-alerts/test/test_notification.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.notification import Notification - -class TestNotification(unittest.TestCase): - """Notification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Notification: - """Test Notification - include_option 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 `Notification` - """ - model = Notification() - if include_optional: - return Notification( - email = thousandeyes_sdk.alerts.models.notification_email.NotificationEmail( - recipients = ["noreply@thousandeyes.com"], - message = 'Notification message', ), - third_party = [ - thousandeyes_sdk.alerts.models.notification_third_party.NotificationThirdParty( - integration_id = 'sl-101', - integration_type = 'slack', ) - ], - webhook = [ - thousandeyes_sdk.alerts.models.notification_webhook.NotificationWebhook( - integration_id = 'wb-201', - integration_type = 'webhook', ) - ] - ) - else: - return Notification( - ) - """ - - def testNotification(self): - """Test Notification""" - # 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/thousandeyes-sdk-alerts/test/test_notification_email.py b/thousandeyes-sdk-alerts/test/test_notification_email.py deleted file mode 100644 index dba9f00a..00000000 --- a/thousandeyes-sdk-alerts/test/test_notification_email.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.notification_email import NotificationEmail - -class TestNotificationEmail(unittest.TestCase): - """NotificationEmail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NotificationEmail: - """Test NotificationEmail - include_option 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 `NotificationEmail` - """ - model = NotificationEmail() - if include_optional: - return NotificationEmail( - recipients = ["noreply@thousandeyes.com"], - message = 'Notification message' - ) - else: - return NotificationEmail( - ) - """ - - def testNotificationEmail(self): - """Test NotificationEmail""" - # 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/thousandeyes-sdk-alerts/test/test_notification_third_party.py b/thousandeyes-sdk-alerts/test/test_notification_third_party.py deleted file mode 100644 index 0ea508ea..00000000 --- a/thousandeyes-sdk-alerts/test/test_notification_third_party.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.notification_third_party import NotificationThirdParty - -class TestNotificationThirdParty(unittest.TestCase): - """NotificationThirdParty unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NotificationThirdParty: - """Test NotificationThirdParty - include_option 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 `NotificationThirdParty` - """ - model = NotificationThirdParty() - if include_optional: - return NotificationThirdParty( - integration_id = 'sl-101', - integration_type = 'slack' - ) - else: - return NotificationThirdParty( - ) - """ - - def testNotificationThirdParty(self): - """Test NotificationThirdParty""" - # 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/thousandeyes-sdk-alerts/test/test_notification_webhook.py b/thousandeyes-sdk-alerts/test/test_notification_webhook.py deleted file mode 100644 index c290e86e..00000000 --- a/thousandeyes-sdk-alerts/test/test_notification_webhook.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.notification_webhook import NotificationWebhook - -class TestNotificationWebhook(unittest.TestCase): - """NotificationWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NotificationWebhook: - """Test NotificationWebhook - include_option 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 `NotificationWebhook` - """ - model = NotificationWebhook() - if include_optional: - return NotificationWebhook( - integration_id = 'wb-201', - integration_type = 'webhook' - ) - else: - return NotificationWebhook( - ) - """ - - def testNotificationWebhook(self): - """Test NotificationWebhook""" - # 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/thousandeyes-sdk-alerts/test/test_pagination_links.py b/thousandeyes-sdk-alerts/test/test_pagination_links.py deleted file mode 100644 index d6128ccc..00000000 --- a/thousandeyes-sdk-alerts/test/test_pagination_links.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.pagination_links import PaginationLinks - -class TestPaginationLinks(unittest.TestCase): - """PaginationLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationLinks: - """Test PaginationLinks - include_option 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 `PaginationLinks` - """ - model = PaginationLinks() - if include_optional: - return PaginationLinks( - previous = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationLinks( - ) - """ - - def testPaginationLinks(self): - """Test PaginationLinks""" - # 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/thousandeyes-sdk-alerts/test/test_repeat.py b/thousandeyes-sdk-alerts/test/test_repeat.py deleted file mode 100644 index 633f6399..00000000 --- a/thousandeyes-sdk-alerts/test/test_repeat.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.repeat import Repeat - -class TestRepeat(unittest.TestCase): - """Repeat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Repeat: - """Test Repeat - include_option 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 `Repeat` - """ - model = Repeat() - if include_optional: - return Repeat( - type = 'week', - interval_type = 'day', - interval_length = 2, - days_of_week = [ - 'sun' - ] - ) - else: - return Repeat( - ) - """ - - def testRepeat(self): - """Test Repeat""" - # 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/thousandeyes-sdk-alerts/test/test_repeat_type.py b/thousandeyes-sdk-alerts/test/test_repeat_type.py deleted file mode 100644 index 00ecaaf0..00000000 --- a/thousandeyes-sdk-alerts/test/test_repeat_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.repeat_type import RepeatType - -class TestRepeatType(unittest.TestCase): - """RepeatType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepeatType(self): - """Test RepeatType""" - # inst = RepeatType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_rule.py b/thousandeyes-sdk-alerts/test/test_rule.py deleted file mode 100644 index 336480d3..00000000 --- a/thousandeyes-sdk-alerts/test/test_rule.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.rule import Rule - -class TestRule(unittest.TestCase): - """Rule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Rule: - """Test Rule - include_option 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 `Rule` - """ - model = Rule() - if include_optional: - return Rule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - notify_on_clear = True, - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - include_covered_prefixes = True, - severity = 'major', - notifications = thousandeyes_sdk.alerts.models.notification.Notification( - email = thousandeyes_sdk.alerts.models.notification_email.NotificationEmail( - recipients = ["noreply@thousandeyes.com"], - message = 'Notification message', ), - third_party = [ - thousandeyes_sdk.alerts.models.notification_third_party.NotificationThirdParty( - integration_id = 'sl-101', - integration_type = 'slack', ) - ], - webhook = [ - thousandeyes_sdk.alerts.models.notification_webhook.NotificationWebhook( - integration_id = 'wb-201', ) - ], ), - test_ids = ["281474976710706","271659"], - links = thousandeyes_sdk.alerts.models.self_links.SelfLinks( - self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Rule( - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - alert_type = 'http-server', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - ) - """ - - def testRule(self): - """Test Rule""" - # 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/thousandeyes-sdk-alerts/test/test_rule_detail.py b/thousandeyes-sdk-alerts/test/test_rule_detail.py deleted file mode 100644 index 620f3629..00000000 --- a/thousandeyes-sdk-alerts/test/test_rule_detail.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.rule_detail import RuleDetail - -class TestRuleDetail(unittest.TestCase): - """RuleDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RuleDetail: - """Test RuleDetail - include_option 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 `RuleDetail` - """ - model = RuleDetail() - if include_optional: - return RuleDetail( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - notify_on_clear = True, - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - include_covered_prefixes = True, - severity = 'major', - notifications = thousandeyes_sdk.alerts.models.notification.Notification( - email = thousandeyes_sdk.alerts.models.notification_email.NotificationEmail( - recipients = ["noreply@thousandeyes.com"], - message = 'Notification message', ), - third_party = [ - thousandeyes_sdk.alerts.models.notification_third_party.NotificationThirdParty( - integration_id = 'sl-101', - integration_type = 'slack', ) - ], - webhook = [ - thousandeyes_sdk.alerts.models.notification_webhook.NotificationWebhook( - integration_id = 'wb-201', ) - ], ), - tests = [ - null - ], - links = thousandeyes_sdk.alerts.models.self_links.SelfLinks( - self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return RuleDetail( - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - alert_type = 'http-server', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - ) - """ - - def testRuleDetail(self): - """Test RuleDetail""" - # 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/thousandeyes-sdk-alerts/test/test_rule_detail_update.py b/thousandeyes-sdk-alerts/test/test_rule_detail_update.py deleted file mode 100644 index 721c4170..00000000 --- a/thousandeyes-sdk-alerts/test/test_rule_detail_update.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.rule_detail_update import RuleDetailUpdate - -class TestRuleDetailUpdate(unittest.TestCase): - """RuleDetailUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RuleDetailUpdate: - """Test RuleDetailUpdate - include_option 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 `RuleDetailUpdate` - """ - model = RuleDetailUpdate() - if include_optional: - return RuleDetailUpdate( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - notify_on_clear = True, - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - include_covered_prefixes = True, - severity = 'major', - notifications = thousandeyes_sdk.alerts.models.notification.Notification( - email = thousandeyes_sdk.alerts.models.notification_email.NotificationEmail( - recipients = ["noreply@thousandeyes.com"], - message = 'Notification message', ), - third_party = [ - thousandeyes_sdk.alerts.models.notification_third_party.NotificationThirdParty( - integration_id = 'sl-101', - integration_type = 'slack', ) - ], - webhook = [ - thousandeyes_sdk.alerts.models.notification_webhook.NotificationWebhook( - integration_id = 'wb-201', ) - ], ), - test_ids = ["281474976710706","271659"] - ) - else: - return RuleDetailUpdate( - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - alert_type = 'http-server', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - ) - """ - - def testRuleDetailUpdate(self): - """Test RuleDetailUpdate""" - # 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/thousandeyes-sdk-alerts/test/test_rules.py b/thousandeyes-sdk-alerts/test/test_rules.py deleted file mode 100644 index 16ac4fb0..00000000 --- a/thousandeyes-sdk-alerts/test/test_rules.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.rules import Rules - -class TestRules(unittest.TestCase): - """Rules unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Rules: - """Test Rules - include_option 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 `Rules` - """ - model = Rules() - if include_optional: - return Rules( - alert_rules = [ - thousandeyes_sdk.alerts.models.base_rule.BaseRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - notify_on_clear = True, - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - include_covered_prefixes = True, - severity = 'major', ) - ], - links = thousandeyes_sdk.alerts.models.self_links.SelfLinks( - self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Rules( - ) - """ - - def testRules(self): - """Test Rules""" - # 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/thousandeyes-sdk-alerts/test/test_self_links.py b/thousandeyes-sdk-alerts/test/test_self_links.py deleted file mode 100644 index 204714bf..00000000 --- a/thousandeyes-sdk-alerts/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.alerts.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-alerts/test/test_severity.py b/thousandeyes-sdk-alerts/test/test_severity.py deleted file mode 100644 index 5822062b..00000000 --- a/thousandeyes-sdk-alerts/test/test_severity.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.severity import Severity - -class TestSeverity(unittest.TestCase): - """Severity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSeverity(self): - """Test Severity""" - # inst = Severity() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_start_alert_metrics.py b/thousandeyes-sdk-alerts/test/test_start_alert_metrics.py deleted file mode 100644 index e6fcc01c..00000000 --- a/thousandeyes-sdk-alerts/test/test_start_alert_metrics.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.start_alert_metrics import StartAlertMetrics - -class TestStartAlertMetrics(unittest.TestCase): - """StartAlertMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StartAlertMetrics: - """Test StartAlertMetrics - include_option 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 `StartAlertMetrics` - """ - model = StartAlertMetrics() - if include_optional: - return StartAlertMetrics( - metrics = '' - ) - else: - return StartAlertMetrics( - ) - """ - - def testStartAlertMetrics(self): - """Test StartAlertMetrics""" - # 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/thousandeyes-sdk-alerts/test/test_state.py b/thousandeyes-sdk-alerts/test/test_state.py deleted file mode 100644 index 04902d4b..00000000 --- a/thousandeyes-sdk-alerts/test/test_state.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.state import State - -class TestState(unittest.TestCase): - """State unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testState(self): - """Test State""" - # inst = State() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_test_interval.py b/thousandeyes-sdk-alerts/test/test_test_interval.py deleted file mode 100644 index 25c01b22..00000000 --- a/thousandeyes-sdk-alerts/test/test_test_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.test_interval import TestInterval - -class TestTestInterval(unittest.TestCase): - """TestInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestInterval(self): - """Test TestInterval""" - # inst = TestInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_third_party_integration_type.py b/thousandeyes-sdk-alerts/test/test_third_party_integration_type.py deleted file mode 100644 index 1a18f0f3..00000000 --- a/thousandeyes-sdk-alerts/test/test_third_party_integration_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.third_party_integration_type import ThirdPartyIntegrationType - -class TestThirdPartyIntegrationType(unittest.TestCase): - """ThirdPartyIntegrationType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testThirdPartyIntegrationType(self): - """Test ThirdPartyIntegrationType""" - # inst = ThirdPartyIntegrationType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-alerts/test/test_unauthorized_error.py b/thousandeyes-sdk-alerts/test/test_unauthorized_error.py deleted file mode 100644 index a48b49f5..00000000 --- a/thousandeyes-sdk-alerts/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-alerts/test/test_unexpanded_test.py b/thousandeyes-sdk-alerts/test/test_unexpanded_test.py deleted file mode 100644 index dee80ee5..00000000 --- a/thousandeyes-sdk-alerts/test/test_unexpanded_test.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.unexpanded_test import UnexpandedTest - -class TestUnexpandedTest(unittest.TestCase): - """UnexpandedTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedTest: - """Test UnexpandedTest - include_option 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 `UnexpandedTest` - """ - model = UnexpandedTest() - if include_optional: - return UnexpandedTest( - interval = 120, - alerts_enabled = True, - enabled = True - ) - else: - return UnexpandedTest( - ) - """ - - def testUnexpandedTest(self): - """Test UnexpandedTest""" - # 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/thousandeyes-sdk-alerts/test/test_validation_error.py b/thousandeyes-sdk-alerts/test/test_validation_error.py deleted file mode 100644 index 0d787a1f..00000000 --- a/thousandeyes-sdk-alerts/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.alerts.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-alerts/test/test_validation_error_item.py b/thousandeyes-sdk-alerts/test/test_validation_error_item.py deleted file mode 100644 index d4365a91..00000000 --- a/thousandeyes-sdk-alerts/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-alerts/test/test_webhook_integration_type.py b/thousandeyes-sdk-alerts/test/test_webhook_integration_type.py deleted file mode 100644 index 4cceb285..00000000 --- a/thousandeyes-sdk-alerts/test/test_webhook_integration_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Alerts API - - You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: * **Alerts**: Retrieve alert details. Alerts are assigned to tests through alert rules. * **Alert Rules**: Conditions that you configure in order to highlight or be notified of events of interest in your ThousandEyes tests. When an alert rule’s conditions are met, the associated alert is triggered and the alert becomes active. It remains active until the alert is cleared. Alert rules are reusable across multiple tests.. * **Alert Suppression Windows**: Suppress alerts for tests during periods such as planned maintenance. Windows can be one-time events or recurring events to handle periodic occurrences such as monthly downtime for maintenance. For more information about the alerts, see [Alerts](https://docs.thousandeyes.com/product-documentation/alerts). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.alerts.models.webhook_integration_type import WebhookIntegrationType - -class TestWebhookIntegrationType(unittest.TestCase): - """WebhookIntegrationType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWebhookIntegrationType(self): - """Test WebhookIntegrationType""" - # inst = WebhookIntegrationType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-credentials/test/test_credential.py b/thousandeyes-sdk-credentials/test/test_credential.py deleted file mode 100644 index 84d9c6d8..00000000 --- a/thousandeyes-sdk-credentials/test/test_credential.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.credential import Credential - -class TestCredential(unittest.TestCase): - """Credential unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Credential: - """Test Credential - include_option 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 `Credential` - """ - model = Credential() - if include_optional: - return Credential( - id = '3247', - name = 'Example Credential', - links = thousandeyes_sdk.credentials.models.self_links.SelfLinks( - self = thousandeyes_sdk.credentials.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - value = 'rwhR12uDm1Im47p5IVXgzz4ORgC7m48ajzzeWVUt' - ) - else: - return Credential( - ) - """ - - def testCredential(self): - """Test Credential""" - # 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/thousandeyes-sdk-credentials/test/test_credential_request.py b/thousandeyes-sdk-credentials/test/test_credential_request.py deleted file mode 100644 index e3d36349..00000000 --- a/thousandeyes-sdk-credentials/test/test_credential_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.credential_request import CredentialRequest - -class TestCredentialRequest(unittest.TestCase): - """CredentialRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CredentialRequest: - """Test CredentialRequest - include_option 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 `CredentialRequest` - """ - model = CredentialRequest() - if include_optional: - return CredentialRequest( - name = 'Example Credential 1', - value = 'Example Credential 1 Password' - ) - else: - return CredentialRequest( - ) - """ - - def testCredentialRequest(self): - """Test CredentialRequest""" - # 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/thousandeyes-sdk-credentials/test/test_credential_without_value.py b/thousandeyes-sdk-credentials/test/test_credential_without_value.py deleted file mode 100644 index b941a721..00000000 --- a/thousandeyes-sdk-credentials/test/test_credential_without_value.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.credential_without_value import CredentialWithoutValue - -class TestCredentialWithoutValue(unittest.TestCase): - """CredentialWithoutValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CredentialWithoutValue: - """Test CredentialWithoutValue - include_option 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 `CredentialWithoutValue` - """ - model = CredentialWithoutValue() - if include_optional: - return CredentialWithoutValue( - id = '3247', - name = 'Example Credential', - links = thousandeyes_sdk.credentials.models.self_links.SelfLinks( - self = thousandeyes_sdk.credentials.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return CredentialWithoutValue( - ) - """ - - def testCredentialWithoutValue(self): - """Test CredentialWithoutValue""" - # 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/thousandeyes-sdk-credentials/test/test_credentials.py b/thousandeyes-sdk-credentials/test/test_credentials.py deleted file mode 100644 index bb359f8c..00000000 --- a/thousandeyes-sdk-credentials/test/test_credentials.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.credentials import Credentials - -class TestCredentials(unittest.TestCase): - """Credentials unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Credentials: - """Test Credentials - include_option 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 `Credentials` - """ - model = Credentials() - if include_optional: - return Credentials( - credentials = [ - null - ], - links = thousandeyes_sdk.credentials.models.self_links.SelfLinks( - self = thousandeyes_sdk.credentials.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Credentials( - ) - """ - - def testCredentials(self): - """Test Credentials""" - # 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/thousandeyes-sdk-credentials/test/test_error.py b/thousandeyes-sdk-credentials/test/test_error.py deleted file mode 100644 index cd4ded46..00000000 --- a/thousandeyes-sdk-credentials/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-credentials/test/test_link.py b/thousandeyes-sdk-credentials/test/test_link.py deleted file mode 100644 index 0e97e4c1..00000000 --- a/thousandeyes-sdk-credentials/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-credentials/test/test_self_links.py b/thousandeyes-sdk-credentials/test/test_self_links.py deleted file mode 100644 index 9de16352..00000000 --- a/thousandeyes-sdk-credentials/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.credentials.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-credentials/test/test_unauthorized_error.py b/thousandeyes-sdk-credentials/test/test_unauthorized_error.py deleted file mode 100644 index 63ff75b2..00000000 --- a/thousandeyes-sdk-credentials/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-credentials/test/test_validation_error.py b/thousandeyes-sdk-credentials/test/test_validation_error.py deleted file mode 100644 index 5d807c8f..00000000 --- a/thousandeyes-sdk-credentials/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.credentials.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-credentials/test/test_validation_error_item.py b/thousandeyes-sdk-credentials/test/test_validation_error_item.py deleted file mode 100644 index e5f21517..00000000 --- a/thousandeyes-sdk-credentials/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Credentials API - - Manage credentials for transaction tests using the Credentials API. The following permissions are required to access Credentials API endpoints: * `Settings Tests Read` for read operations. * `Settings Tests Update` for write operations. * `View sensitive data in web transaction scripts` to view the encrypted value property of credentials. * `Settings Tests Create Transaction (Tx) Tests` to create credentials. For more information about credentials, see [Working With Secure Credentials](https://docs.thousandeyes.com/product-documentation/browser-synthetics/transaction-tests/getting-started/working-with-secure-credentials). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.credentials.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-dashboards/test/test_active_within.py b/thousandeyes-sdk-dashboards/test/test_active_within.py deleted file mode 100644 index 882fd665..00000000 --- a/thousandeyes-sdk-dashboards/test/test_active_within.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.active_within import ActiveWithin - -class TestActiveWithin(unittest.TestCase): - """ActiveWithin unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ActiveWithin: - """Test ActiveWithin - include_option 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 `ActiveWithin` - """ - model = ActiveWithin() - if include_optional: - return ActiveWithin( - value = 10, - unit = 'Days' - ) - else: - return ActiveWithin( - ) - """ - - def testActiveWithin(self): - """Test ActiveWithin""" - # 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/thousandeyes-sdk-dashboards/test/test_agent_status_datasource.py b/thousandeyes-sdk-dashboards/test/test_agent_status_datasource.py deleted file mode 100644 index 9c22f15d..00000000 --- a/thousandeyes-sdk-dashboards/test/test_agent_status_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.agent_status_datasource import AgentStatusDatasource - -class TestAgentStatusDatasource(unittest.TestCase): - """AgentStatusDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAgentStatusDatasource(self): - """Test AgentStatusDatasource""" - # inst = AgentStatusDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_alert_list_alert_type.py b/thousandeyes-sdk-dashboards/test/test_alert_list_alert_type.py deleted file mode 100644 index 3a454c09..00000000 --- a/thousandeyes-sdk-dashboards/test/test_alert_list_alert_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.alert_list_alert_type import AlertListAlertType - -class TestAlertListAlertType(unittest.TestCase): - """AlertListAlertType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertListAlertType(self): - """Test AlertListAlertType""" - # inst = AlertListAlertType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_alert_list_datasource.py b/thousandeyes-sdk-dashboards/test/test_alert_list_datasource.py deleted file mode 100644 index f9f2ae3d..00000000 --- a/thousandeyes-sdk-dashboards/test/test_alert_list_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.alert_list_datasource import AlertListDatasource - -class TestAlertListDatasource(unittest.TestCase): - """AlertListDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertListDatasource(self): - """Test AlertListDatasource""" - # inst = AlertListDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_api_agent_location.py b/thousandeyes-sdk-dashboards/test/test_api_agent_location.py deleted file mode 100644 index 49e95c45..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_agent_location.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_agent_location import ApiAgentLocation - -class TestApiAgentLocation(unittest.TestCase): - """ApiAgentLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAgentLocation: - """Test ApiAgentLocation - include_option 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 `ApiAgentLocation` - """ - model = ApiAgentLocation() - if include_optional: - return ApiAgentLocation( - latitude = 37.77493, - longitude = -122.41942, - location_name = 'San Francisco, California, US' - ) - else: - return ApiAgentLocation( - ) - """ - - def testApiAgentLocation(self): - """Test ApiAgentLocation""" - # 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/thousandeyes-sdk-dashboards/test/test_api_agent_status_agent.py b/thousandeyes-sdk-dashboards/test/test_api_agent_status_agent.py deleted file mode 100644 index 02a55fe0..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_agent_status_agent.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_agent_status_agent import ApiAgentStatusAgent - -class TestApiAgentStatusAgent(unittest.TestCase): - """ApiAgentStatusAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAgentStatusAgent: - """Test ApiAgentStatusAgent - include_option 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 `ApiAgentStatusAgent` - """ - model = ApiAgentStatusAgent() - if include_optional: - return ApiAgentStatusAgent( - agent_id = '6522', - status = 'online', - ip_info = thousandeyes_sdk.dashboards.models.api_agent_status_ip_info.ApiAgentStatusIpInfo( - public_ip = '172.58.92.31', - private_ip = '172.58.92.31', - ipv6 = '', - operative_system_version = '', ), - agent_name = '0c3898000117', - location = thousandeyes_sdk.dashboards.models.api_agent_location.ApiAgentLocation( - latitude = 37.77493, - longitude = -122.41942, - location_name = 'San Francisco, California, US', ) - ) - else: - return ApiAgentStatusAgent( - ) - """ - - def testApiAgentStatusAgent(self): - """Test ApiAgentStatusAgent""" - # 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/thousandeyes-sdk-dashboards/test/test_api_agent_status_ip_info.py b/thousandeyes-sdk-dashboards/test/test_api_agent_status_ip_info.py deleted file mode 100644 index 7fee43f7..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_agent_status_ip_info.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_agent_status_ip_info import ApiAgentStatusIpInfo - -class TestApiAgentStatusIpInfo(unittest.TestCase): - """ApiAgentStatusIpInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAgentStatusIpInfo: - """Test ApiAgentStatusIpInfo - include_option 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 `ApiAgentStatusIpInfo` - """ - model = ApiAgentStatusIpInfo() - if include_optional: - return ApiAgentStatusIpInfo( - public_ip = '172.58.92.31', - private_ip = '172.58.92.31', - ipv6 = '', - operative_system_version = '' - ) - else: - return ApiAgentStatusIpInfo( - ) - """ - - def testApiAgentStatusIpInfo(self): - """Test ApiAgentStatusIpInfo""" - # 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/thousandeyes-sdk-dashboards/test/test_api_agent_status_summary.py b/thousandeyes-sdk-dashboards/test/test_api_agent_status_summary.py deleted file mode 100644 index 9265af86..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_agent_status_summary.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_agent_status_summary import ApiAgentStatusSummary - -class TestApiAgentStatusSummary(unittest.TestCase): - """ApiAgentStatusSummary unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAgentStatusSummary: - """Test ApiAgentStatusSummary - include_option 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 `ApiAgentStatusSummary` - """ - model = ApiAgentStatusSummary() - if include_optional: - return ApiAgentStatusSummary( - online = 10, - offline = 2, - disabled = 3 - ) - else: - return ApiAgentStatusSummary( - ) - """ - - def testApiAgentStatusSummary(self): - """Test ApiAgentStatusSummary""" - # 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/thousandeyes-sdk-dashboards/test/test_api_agent_status_widget.py b/thousandeyes-sdk-dashboards/test/test_api_agent_status_widget.py deleted file mode 100644 index dc65bd31..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_agent_status_widget.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_agent_status_widget import ApiAgentStatusWidget - -class TestApiAgentStatusWidget(unittest.TestCase): - """ApiAgentStatusWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAgentStatusWidget: - """Test ApiAgentStatusWidget - include_option 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 `ApiAgentStatusWidget` - """ - model = ApiAgentStatusWidget() - if include_optional: - return ApiAgentStatusWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Agent Status', - agents = 'Enterprise Agents', - show = 'Owned Agents', - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiAgentStatusWidget( - type = 'Agent Status', - ) - """ - - def testApiAgentStatusWidget(self): - """Test ApiAgentStatusWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_agent_widget_show.py b/thousandeyes-sdk-dashboards/test/test_api_agent_widget_show.py deleted file mode 100644 index 9b7d156d..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_agent_widget_show.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_agent_widget_show import ApiAgentWidgetShow - -class TestApiAgentWidgetShow(unittest.TestCase): - """ApiAgentWidgetShow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiAgentWidgetShow(self): - """Test ApiAgentWidgetShow""" - # inst = ApiAgentWidgetShow() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_api_agent_widget_type.py b/thousandeyes-sdk-dashboards/test/test_api_agent_widget_type.py deleted file mode 100644 index 29e93ef5..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_agent_widget_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_agent_widget_type import ApiAgentWidgetType - -class TestApiAgentWidgetType(unittest.TestCase): - """ApiAgentWidgetType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiAgentWidgetType(self): - """Test ApiAgentWidgetType""" - # inst = ApiAgentWidgetType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_api_aggregate_property.py b/thousandeyes-sdk-dashboards/test/test_api_aggregate_property.py deleted file mode 100644 index afaabc51..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_aggregate_property.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_aggregate_property import ApiAggregateProperty - -class TestApiAggregateProperty(unittest.TestCase): - """ApiAggregateProperty unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiAggregateProperty(self): - """Test ApiAggregateProperty""" - # inst = ApiAggregateProperty() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_api_alert_list_alert.py b/thousandeyes-sdk-dashboards/test/test_api_alert_list_alert.py deleted file mode 100644 index 67f7688d..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_alert_list_alert.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_alert_list_alert import ApiAlertListAlert - -class TestApiAlertListAlert(unittest.TestCase): - """ApiAlertListAlert unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAlertListAlert: - """Test ApiAlertListAlert - include_option 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 `ApiAlertListAlert` - """ - model = ApiAlertListAlert() - if include_optional: - return ApiAlertListAlert( - alert_id = '2004945', - test_id = '56512', - rule_id = '281724', - alert_source = 'Http Test', - alert_rule = 'Http Test Rule', - alert_type = 'network-end-to-end-server', - start_time = '2023-06-02T08:54Z', - duration_in_seconds = 25, - active = True - ) - else: - return ApiAlertListAlert( - ) - """ - - def testApiAlertListAlert(self): - """Test ApiAlertListAlert""" - # 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/thousandeyes-sdk-dashboards/test/test_api_alert_list_widget.py b/thousandeyes-sdk-dashboards/test/test_api_alert_list_widget.py deleted file mode 100644 index afd3d33b..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_alert_list_widget.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_alert_list_widget import ApiAlertListWidget - -class TestApiAlertListWidget(unittest.TestCase): - """ApiAlertListWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAlertListWidget: - """Test ApiAlertListWidget - include_option 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 `ApiAlertListWidget` - """ - model = ApiAlertListWidget() - if include_optional: - return ApiAlertListWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Alert List', - alert_types = [ - 'Network - End-to-End (Server)' - ], - limit_to = 15, - active_within = None, - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiAlertListWidget( - type = 'Alert List', - ) - """ - - def testApiAlertListWidget(self): - """Test ApiAlertListWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_box_and_whiskers_widget.py b/thousandeyes-sdk-dashboards/test/test_api_box_and_whiskers_widget.py deleted file mode 100644 index 9f76da9e..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_box_and_whiskers_widget.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_box_and_whiskers_widget import ApiBoxAndWhiskersWidget - -class TestApiBoxAndWhiskersWidget(unittest.TestCase): - """ApiBoxAndWhiskersWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiBoxAndWhiskersWidget: - """Test ApiBoxAndWhiskersWidget - include_option 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 `ApiBoxAndWhiskersWidget` - """ - model = ApiBoxAndWhiskersWidget() - if include_optional: - return ApiBoxAndWhiskersWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - min_scale = 1.0, - max_scale = 100.0, - unit = 'Mbps', - type = 'Box and Whiskers', - group_by = 'ALL', - data_source = 'INTERNET_INSIGHTS' - ) - else: - return ApiBoxAndWhiskersWidget( - type = 'Box and Whiskers', - ) - """ - - def testApiBoxAndWhiskersWidget(self): - """Test ApiBoxAndWhiskersWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_color_grid_widget.py b/thousandeyes-sdk-dashboards/test/test_api_color_grid_widget.py deleted file mode 100644 index 0b801f25..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_color_grid_widget.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_color_grid_widget import ApiColorGridWidget - -class TestApiColorGridWidget(unittest.TestCase): - """ApiColorGridWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiColorGridWidget: - """Test ApiColorGridWidget - include_option 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 `ApiColorGridWidget` - """ - model = ApiColorGridWidget() - if include_optional: - return ApiColorGridWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - min_scale = 1.0, - max_scale = 100.0, - unit = 'Mbps', - type = 'Color Grid', - cards = 'ALL', - group_cards_by = 'ALL', - columns = 1, - limit = 10, - sort_by = 'alphabetical', - sort_direction = 'ascending', - data_source = 'INTERNET_INSIGHTS' - ) - else: - return ApiColorGridWidget( - type = 'Color Grid', - ) - """ - - def testApiColorGridWidget(self): - """Test ApiColorGridWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_context_filter_request.py b/thousandeyes-sdk-dashboards/test/test_api_context_filter_request.py deleted file mode 100644 index 691be4dc..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_context_filter_request.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_context_filter_request import ApiContextFilterRequest - -class TestApiContextFilterRequest(unittest.TestCase): - """ApiContextFilterRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiContextFilterRequest: - """Test ApiContextFilterRequest - include_option 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 `ApiContextFilterRequest` - """ - model = ApiContextFilterRequest() - if include_optional: - return ApiContextFilterRequest( - context = [ - thousandeyes_sdk.dashboards.models.api_data_source_filters.ApiDataSourceFilters( - data_source_id = 'VIRTUAL_AGENT', - filters = [ - thousandeyes_sdk.dashboards.models.api_data_source_filter.ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"], ) - ], ) - ], - name = 'cea-filter', - description = 'Global filter for CEA widgets' - ) - else: - return ApiContextFilterRequest( - context = [ - thousandeyes_sdk.dashboards.models.api_data_source_filters.ApiDataSourceFilters( - data_source_id = 'VIRTUAL_AGENT', - filters = [ - thousandeyes_sdk.dashboards.models.api_data_source_filter.ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"], ) - ], ) - ], - name = 'cea-filter', - ) - """ - - def testApiContextFilterRequest(self): - """Test ApiContextFilterRequest""" - # 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/thousandeyes-sdk-dashboards/test/test_api_context_filter_response.py b/thousandeyes-sdk-dashboards/test/test_api_context_filter_response.py deleted file mode 100644 index d51c4de8..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_context_filter_response.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_context_filter_response import ApiContextFilterResponse - -class TestApiContextFilterResponse(unittest.TestCase): - """ApiContextFilterResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiContextFilterResponse: - """Test ApiContextFilterResponse - include_option 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 `ApiContextFilterResponse` - """ - model = ApiContextFilterResponse() - if include_optional: - return ApiContextFilterResponse( - context = [ - thousandeyes_sdk.dashboards.models.api_data_source_filters.ApiDataSourceFilters( - data_source_id = 'VIRTUAL_AGENT', - filters = [ - thousandeyes_sdk.dashboards.models.api_data_source_filter.ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"], ) - ], ) - ], - aid = '11', - id = '65bc18e8f2073a4a469cd958', - name = 'cea-filter', - description = 'Global filter for CEA widgets', - created_by = thousandeyes_sdk.dashboards.models.api_dashboard_filter_user_details.ApiDashboardFilterUserDetails( - uid = '1', - name = 'Test User', ), - modified_date = '2024-02-01T22:19:19Z', - created_date = '2024-02-01T22:19:19Z', - modified_by = thousandeyes_sdk.dashboards.models.api_dashboard_filter_user_details.ApiDashboardFilterUserDetails( - uid = '1', - name = 'Test User', ), - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiContextFilterResponse( - context = [ - thousandeyes_sdk.dashboards.models.api_data_source_filters.ApiDataSourceFilters( - data_source_id = 'VIRTUAL_AGENT', - filters = [ - thousandeyes_sdk.dashboards.models.api_data_source_filter.ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"], ) - ], ) - ], - aid = '11', - id = '65bc18e8f2073a4a469cd958', - name = 'cea-filter', - ) - """ - - def testApiContextFilterResponse(self): - """Test ApiContextFilterResponse""" - # 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/thousandeyes-sdk-dashboards/test/test_api_context_filters_response.py b/thousandeyes-sdk-dashboards/test/test_api_context_filters_response.py deleted file mode 100644 index e6f21519..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_context_filters_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_context_filters_response import ApiContextFiltersResponse - -class TestApiContextFiltersResponse(unittest.TestCase): - """ApiContextFiltersResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiContextFiltersResponse: - """Test ApiContextFiltersResponse - include_option 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 `ApiContextFiltersResponse` - """ - model = ApiContextFiltersResponse() - if include_optional: - return ApiContextFiltersResponse( - dashboard_filters = [ - thousandeyes_sdk.dashboards.models.api_context_filter_response.ApiContextFilterResponse( - context = [ - thousandeyes_sdk.dashboards.models.api_data_source_filters.ApiDataSourceFilters( - data_source_id = 'VIRTUAL_AGENT', - filters = [ - thousandeyes_sdk.dashboards.models.api_data_source_filter.ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"], ) - ], ) - ], - aid = '11', - id = '65bc18e8f2073a4a469cd958', - name = 'cea-filter', - description = 'Global filter for CEA widgets', - created_by = thousandeyes_sdk.dashboards.models.api_dashboard_filter_user_details.ApiDashboardFilterUserDetails( - uid = '1', - name = 'Test User', ), - modified_date = '2024-02-01T22:19:19Z', - created_date = '2024-02-01T22:19:19Z', - modified_by = thousandeyes_sdk.dashboards.models.api_dashboard_filter_user_details.ApiDashboardFilterUserDetails( - uid = '1', - name = 'Test User', ), - _links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), ) - ] - ) - else: - return ApiContextFiltersResponse( - ) - """ - - def testApiContextFiltersResponse(self): - """Test ApiContextFiltersResponse""" - # 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/thousandeyes-sdk-dashboards/test/test_api_dashboard.py b/thousandeyes-sdk-dashboards/test/test_api_dashboard.py deleted file mode 100644 index 4eaa5c1d..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_dashboard.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_dashboard import ApiDashboard - -class TestApiDashboard(unittest.TestCase): - """ApiDashboard unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDashboard: - """Test ApiDashboard - include_option 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 `ApiDashboard` - """ - model = ApiDashboard() - if include_optional: - return ApiDashboard( - global_filter_id = '65babd9bb90bf55b17c96c8d', - account_id = 1234, - created_by = 1, - modified_by = 1, - modified_date = '2023-05-16 10:14:28', - global_override = True, - migrated_report = False, - api_link = [ - { } - ], - dashboard_id = '5e1f7a99143ae6004fdc3bb4', - title = 'HTTP Server Widgets', - is_built_in = True, - aid = '1234', - dashboard_created_by = '1', - dashboard_modified_by = '1', - dashboard_modified_date = '2023-05-16T10:14:28Z', - is_private = True, - is_default_for_user = True, - is_default_for_account = False, - widgets = [ - null - ], - description = 'HTTP Server Widgets', - default_timespan = None, - is_global_override = True, - is_migrated_report = False, - links = thousandeyes_sdk.dashboards.models.dashboard_links.DashboardLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - snapshots = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiDashboard( - ) - """ - - def testApiDashboard(self): - """Test ApiDashboard""" - # 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/thousandeyes-sdk-dashboards/test/test_api_dashboard_asw.py b/thousandeyes-sdk-dashboards/test/test_api_dashboard_asw.py deleted file mode 100644 index 3397f096..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_dashboard_asw.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_dashboard_asw import ApiDashboardAsw - -class TestApiDashboardAsw(unittest.TestCase): - """ApiDashboardAsw unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDashboardAsw: - """Test ApiDashboardAsw - include_option 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 `ApiDashboardAsw` - """ - model = ApiDashboardAsw() - if include_optional: - return ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week' - ) - else: - return ApiDashboardAsw( - ) - """ - - def testApiDashboardAsw(self): - """Test ApiDashboardAsw""" - # 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/thousandeyes-sdk-dashboards/test/test_api_dashboard_filter_user_details.py b/thousandeyes-sdk-dashboards/test/test_api_dashboard_filter_user_details.py deleted file mode 100644 index 5e5bc665..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_dashboard_filter_user_details.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_dashboard_filter_user_details import ApiDashboardFilterUserDetails - -class TestApiDashboardFilterUserDetails(unittest.TestCase): - """ApiDashboardFilterUserDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDashboardFilterUserDetails: - """Test ApiDashboardFilterUserDetails - include_option 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 `ApiDashboardFilterUserDetails` - """ - model = ApiDashboardFilterUserDetails() - if include_optional: - return ApiDashboardFilterUserDetails( - uid = '1', - name = 'Test User' - ) - else: - return ApiDashboardFilterUserDetails( - ) - """ - - def testApiDashboardFilterUserDetails(self): - """Test ApiDashboardFilterUserDetails""" - # 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/thousandeyes-sdk-dashboards/test/test_api_dashboard_snapshot.py b/thousandeyes-sdk-dashboards/test/test_api_dashboard_snapshot.py deleted file mode 100644 index b913b8bf..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_dashboard_snapshot.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_dashboard_snapshot import ApiDashboardSnapshot - -class TestApiDashboardSnapshot(unittest.TestCase): - """ApiDashboardSnapshot unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDashboardSnapshot: - """Test ApiDashboardSnapshot - include_option 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 `ApiDashboardSnapshot` - """ - model = ApiDashboardSnapshot() - if include_optional: - return ApiDashboardSnapshot( - account_id = 1234, - created_date = '2023-05-16 10:14:28', - expiration_date = '2023-05-16 10:14:28', - permalink = 'https://app.thousandeyes.com/dashboard/?snapshotId=d28bb71f-5a47-4783-8f12-d4b115e61b0c', - api_links = [ - { } - ], - snapshot_id = 'd28bb71f-5a47-4783-8f12-d4b115e61b0c', - snapshot_name = 'HTTP Server Dashboard Snapshot', - aid = '1234', - is_shared = True, - snapshot_created_date = '2023-05-16T10:14:28Z', - dashboard = None, - widgets = [ - null - ], - is_scheduled = True, - time_span = thousandeyes_sdk.dashboards.models.api_report_snapshot_time_span.ApiReportSnapshotTimeSpan( - start_date = '2023-05-16 10:14:28', - start = '2023-05-16T10:14:28Z', - duration = 60, ), - snapshot_expiration_date = '2023-05-16T10:14:28Z', - links = thousandeyes_sdk.dashboards.models.app_and_self_links.AppAndSelfLinks( - app_link = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiDashboardSnapshot( - ) - """ - - def testApiDashboardSnapshot(self): - """Test ApiDashboardSnapshot""" - # 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/thousandeyes-sdk-dashboards/test/test_api_data_point_group.py b/thousandeyes-sdk-dashboards/test/test_api_data_point_group.py deleted file mode 100644 index a22104be..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_data_point_group.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_data_point_group import ApiDataPointGroup - -class TestApiDataPointGroup(unittest.TestCase): - """ApiDataPointGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDataPointGroup: - """Test ApiDataPointGroup - include_option 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 `ApiDataPointGroup` - """ - model = ApiDataPointGroup() - if include_optional: - return ApiDataPointGroup( - group_property = 'COUNTRY', - group_value = 'US' - ) - else: - return ApiDataPointGroup( - ) - """ - - def testApiDataPointGroup(self): - """Test ApiDataPointGroup""" - # 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/thousandeyes-sdk-dashboards/test/test_api_data_source_filter.py b/thousandeyes-sdk-dashboards/test/test_api_data_source_filter.py deleted file mode 100644 index 80e68246..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_data_source_filter.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_data_source_filter import ApiDataSourceFilter - -class TestApiDataSourceFilter(unittest.TestCase): - """ApiDataSourceFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDataSourceFilter: - """Test ApiDataSourceFilter - include_option 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 `ApiDataSourceFilter` - """ - model = ApiDataSourceFilter() - if include_optional: - return ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"] - ) - else: - return ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"], - ) - """ - - def testApiDataSourceFilter(self): - """Test ApiDataSourceFilter""" - # 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/thousandeyes-sdk-dashboards/test/test_api_data_source_filters.py b/thousandeyes-sdk-dashboards/test/test_api_data_source_filters.py deleted file mode 100644 index 478965ee..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_data_source_filters.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_data_source_filters import ApiDataSourceFilters - -class TestApiDataSourceFilters(unittest.TestCase): - """ApiDataSourceFilters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDataSourceFilters: - """Test ApiDataSourceFilters - include_option 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 `ApiDataSourceFilters` - """ - model = ApiDataSourceFilters() - if include_optional: - return ApiDataSourceFilters( - data_source_id = 'VIRTUAL_AGENT', - filters = [ - thousandeyes_sdk.dashboards.models.api_data_source_filter.ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"], ) - ] - ) - else: - return ApiDataSourceFilters( - data_source_id = 'VIRTUAL_AGENT', - filters = [ - thousandeyes_sdk.dashboards.models.api_data_source_filter.ApiDataSourceFilter( - filter_id = 'TEST_LABEL', - values = ["45862","59749"], - metric_ids = ["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"], ) - ], - ) - """ - - def testApiDataSourceFilters(self): - """Test ApiDataSourceFilters""" - # 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/thousandeyes-sdk-dashboards/test/test_api_default_timespan.py b/thousandeyes-sdk-dashboards/test/test_api_default_timespan.py deleted file mode 100644 index ec147cb6..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_default_timespan.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_default_timespan import ApiDefaultTimespan - -class TestApiDefaultTimespan(unittest.TestCase): - """ApiDefaultTimespan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDefaultTimespan: - """Test ApiDefaultTimespan - include_option 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 `ApiDefaultTimespan` - """ - model = ApiDefaultTimespan() - if include_optional: - return ApiDefaultTimespan( - duration = 7200, - start = '2023-05-16T10:14:28Z', - end = '2023-05-16T11:14:28Z' - ) - else: - return ApiDefaultTimespan( - ) - """ - - def testApiDefaultTimespan(self): - """Test ApiDefaultTimespan""" - # 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/thousandeyes-sdk-dashboards/test/test_api_duration.py b/thousandeyes-sdk-dashboards/test/test_api_duration.py deleted file mode 100644 index 5f4b1e8b..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_duration.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_duration import ApiDuration - -class TestApiDuration(unittest.TestCase): - """ApiDuration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDuration: - """Test ApiDuration - include_option 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 `ApiDuration` - """ - model = ApiDuration() - if include_optional: - return ApiDuration( - value = 10, - unit = 'Days' - ) - else: - return ApiDuration( - ) - """ - - def testApiDuration(self): - """Test ApiDuration""" - # 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/thousandeyes-sdk-dashboards/test/test_api_duration_unit.py b/thousandeyes-sdk-dashboards/test/test_api_duration_unit.py deleted file mode 100644 index 85789129..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_duration_unit.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_duration_unit import ApiDurationUnit - -class TestApiDurationUnit(unittest.TestCase): - """ApiDurationUnit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiDurationUnit(self): - """Test ApiDurationUnit""" - # inst = ApiDurationUnit() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_api_geo_map_widget.py b/thousandeyes-sdk-dashboards/test/test_api_geo_map_widget.py deleted file mode 100644 index c3c2d34b..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_geo_map_widget.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_geo_map_widget import ApiGeoMapWidget - -class TestApiGeoMapWidget(unittest.TestCase): - """ApiGeoMapWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiGeoMapWidget: - """Test ApiGeoMapWidget - include_option 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 `ApiGeoMapWidget` - """ - model = ApiGeoMapWidget() - if include_optional: - return ApiGeoMapWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - min_scale = 1.0, - max_scale = 100.0, - unit = 'Mbps', - type = 'Map', - group_by = 'ALL', - is_geo_map_per_test = True, - sort_by = 'alphabetical', - sort_direction = 'ascending', - data_source = 'INTERNET_INSIGHTS' - ) - else: - return ApiGeoMapWidget( - type = 'Map', - ) - """ - - def testApiGeoMapWidget(self): - """Test ApiGeoMapWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_graphlet_point.py b/thousandeyes-sdk-dashboards/test/test_api_graphlet_point.py deleted file mode 100644 index 042124e6..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_graphlet_point.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_graphlet_point import ApiGraphletPoint - -class TestApiGraphletPoint(unittest.TestCase): - """ApiGraphletPoint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiGraphletPoint: - """Test ApiGraphletPoint - include_option 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 `ApiGraphletPoint` - """ - model = ApiGraphletPoint() - if include_optional: - return ApiGraphletPoint( - x = 1580403900, - y = 128.249 - ) - else: - return ApiGraphletPoint( - ) - """ - - def testApiGraphletPoint(self): - """Test ApiGraphletPoint""" - # 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/thousandeyes-sdk-dashboards/test/test_api_grouped_barchart_widget.py b/thousandeyes-sdk-dashboards/test/test_api_grouped_barchart_widget.py deleted file mode 100644 index 63f707e7..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_grouped_barchart_widget.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_grouped_barchart_widget import ApiGroupedBarchartWidget - -class TestApiGroupedBarchartWidget(unittest.TestCase): - """ApiGroupedBarchartWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiGroupedBarchartWidget: - """Test ApiGroupedBarchartWidget - include_option 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 `ApiGroupedBarchartWidget` - """ - model = ApiGroupedBarchartWidget() - if include_optional: - return ApiGroupedBarchartWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Bar Chart: Grouped', - group_by = 'ALL', - axis_group_by = 'ALL', - sort_by = 'alphabetical', - sort_direction = 'ascending', - limit = 10, - show_labels = True, - is_horizontal_bar_chart = True, - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiGroupedBarchartWidget( - type = 'Bar Chart: Grouped', - ) - """ - - def testApiGroupedBarchartWidget(self): - """Test ApiGroupedBarchartWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_multi_metric_column.py b/thousandeyes-sdk-dashboards/test/test_api_multi_metric_column.py deleted file mode 100644 index 173b0fd6..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_multi_metric_column.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_multi_metric_column import ApiMultiMetricColumn - -class TestApiMultiMetricColumn(unittest.TestCase): - """ApiMultiMetricColumn unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiMultiMetricColumn: - """Test ApiMultiMetricColumn - include_option 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 `ApiMultiMetricColumn` - """ - model = ApiMultiMetricColumn() - if include_optional: - return ApiMultiMetricColumn( - id = '', - data_source = 'ENDPOINT_AGENTS', - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ) - ) - else: - return ApiMultiMetricColumn( - ) - """ - - def testApiMultiMetricColumn(self): - """Test ApiMultiMetricColumn""" - # 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/thousandeyes-sdk-dashboards/test/test_api_multi_metric_column_data.py b/thousandeyes-sdk-dashboards/test/test_api_multi_metric_column_data.py deleted file mode 100644 index 04ebdcf9..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_multi_metric_column_data.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_multi_metric_column_data import ApiMultiMetricColumnData - -class TestApiMultiMetricColumnData(unittest.TestCase): - """ApiMultiMetricColumnData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiMultiMetricColumnData: - """Test ApiMultiMetricColumnData - include_option 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 `ApiMultiMetricColumnData` - """ - model = ApiMultiMetricColumnData() - if include_optional: - return ApiMultiMetricColumnData( - column_id = '938to', - bin_size = 3600, - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, - groups = [ - thousandeyes_sdk.dashboards.models.api_data_point_group.ApiDataPointGroup( - group_property = 'COUNTRY', - group_value = 'US', ) - ], ) - ], - status = 'No data', - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week', ) - ] - ) - else: - return ApiMultiMetricColumnData( - ) - """ - - def testApiMultiMetricColumnData(self): - """Test ApiMultiMetricColumnData""" - # 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/thousandeyes-sdk-dashboards/test/test_api_multi_metric_table_widget.py b/thousandeyes-sdk-dashboards/test/test_api_multi_metric_table_widget.py deleted file mode 100644 index ce9c01dc..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_multi_metric_table_widget.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_multi_metric_table_widget import ApiMultiMetricTableWidget - -class TestApiMultiMetricTableWidget(unittest.TestCase): - """ApiMultiMetricTableWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiMultiMetricTableWidget: - """Test ApiMultiMetricTableWidget - include_option 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 `ApiMultiMetricTableWidget` - """ - model = ApiMultiMetricTableWidget() - if include_optional: - return ApiMultiMetricTableWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Multi Metric Table', - compare_to_previous_value = True, - row_group_by = 'ALL', - sort_by = 'alphabetical', - sort_direction = 'ascending', - limit = 10, - multi_metric_columns = [ - thousandeyes_sdk.dashboards.models.api_multi_metric_column.ApiMultiMetricColumn( - id = '', - data_source = 'ENDPOINT_AGENTS', - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), ) - ], - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiMultiMetricTableWidget( - type = 'Multi Metric Table', - ) - """ - - def testApiMultiMetricTableWidget(self): - """Test ApiMultiMetricTableWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_multi_search_filter_api_test_table_filter_key.py b/thousandeyes-sdk-dashboards/test/test_api_multi_search_filter_api_test_table_filter_key.py deleted file mode 100644 index 5d651fed..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_multi_search_filter_api_test_table_filter_key.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_multi_search_filter_api_test_table_filter_key import ApiMultiSearchFilterApiTestTableFilterKey - -class TestApiMultiSearchFilterApiTestTableFilterKey(unittest.TestCase): - """ApiMultiSearchFilterApiTestTableFilterKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiMultiSearchFilterApiTestTableFilterKey: - """Test ApiMultiSearchFilterApiTestTableFilterKey - include_option 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 `ApiMultiSearchFilterApiTestTableFilterKey` - """ - model = ApiMultiSearchFilterApiTestTableFilterKey() - if include_optional: - return ApiMultiSearchFilterApiTestTableFilterKey( - key = 'Target', - value = '' - ) - else: - return ApiMultiSearchFilterApiTestTableFilterKey( - ) - """ - - def testApiMultiSearchFilterApiTestTableFilterKey(self): - """Test ApiMultiSearchFilterApiTestTableFilterKey""" - # 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/thousandeyes-sdk-dashboards/test/test_api_numbers_card.py b/thousandeyes-sdk-dashboards/test/test_api_numbers_card.py deleted file mode 100644 index 582c960c..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_numbers_card.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_numbers_card import ApiNumbersCard - -class TestApiNumbersCard(unittest.TestCase): - """ApiNumbersCard unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiNumbersCard: - """Test ApiNumbersCard - include_option 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 `ApiNumbersCard` - """ - model = ApiNumbersCard() - if include_optional: - return ApiNumbersCard( - min_scale = 1.0, - max_scale = 100.0, - unit = 'Mbps', - id = '1234', - description = 'Widget Title', - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - compare_to_previous_value = True, - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - should_exclude_alert_suppression_windows = True, - data_source = 'ENDPOINT_AGENTS', - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]} - ) - else: - return ApiNumbersCard( - ) - """ - - def testApiNumbersCard(self): - """Test ApiNumbersCard""" - # 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/thousandeyes-sdk-dashboards/test/test_api_numbers_card_data.py b/thousandeyes-sdk-dashboards/test/test_api_numbers_card_data.py deleted file mode 100644 index e2107b39..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_numbers_card_data.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_numbers_card_data import ApiNumbersCardData - -class TestApiNumbersCardData(unittest.TestCase): - """ApiNumbersCardData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiNumbersCardData: - """Test ApiNumbersCardData - include_option 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 `ApiNumbersCardData` - """ - model = ApiNumbersCardData() - if include_optional: - return ApiNumbersCardData( - card_id = 'lrxxr', - start_date = '2023-05-16T10:14:28Z', - end_date = '2023-05-16T10:14:28Z', - previous_value = 500.0, - bin_size = 3600, - timestamp = 1567620000, - number_of_data_points = 24192, - value = 100.0, - status = 'No data', - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week', ) - ] - ) - else: - return ApiNumbersCardData( - ) - """ - - def testApiNumbersCardData(self): - """Test ApiNumbersCardData""" - # 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/thousandeyes-sdk-dashboards/test/test_api_numbers_card_widget.py b/thousandeyes-sdk-dashboards/test/test_api_numbers_card_widget.py deleted file mode 100644 index 732b2a2a..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_numbers_card_widget.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_numbers_card_widget import ApiNumbersCardWidget - -class TestApiNumbersCardWidget(unittest.TestCase): - """ApiNumbersCardWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiNumbersCardWidget: - """Test ApiNumbersCardWidget - include_option 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 `ApiNumbersCardWidget` - """ - model = ApiNumbersCardWidget() - if include_optional: - return ApiNumbersCardWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Number', - number_cards = [ - thousandeyes_sdk.dashboards.models.api_numbers_card.ApiNumbersCard() - ], - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiNumbersCardWidget( - type = 'Number', - ) - """ - - def testApiNumbersCardWidget(self): - """Test ApiNumbersCardWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_pie_chart_widget.py b/thousandeyes-sdk-dashboards/test/test_api_pie_chart_widget.py deleted file mode 100644 index 2b3d587f..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_pie_chart_widget.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_pie_chart_widget import ApiPieChartWidget - -class TestApiPieChartWidget(unittest.TestCase): - """ApiPieChartWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiPieChartWidget: - """Test ApiPieChartWidget - include_option 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 `ApiPieChartWidget` - """ - model = ApiPieChartWidget() - if include_optional: - return ApiPieChartWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Pie Chart', - group_by = 'ALL', - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiPieChartWidget( - type = 'Pie Chart', - ) - """ - - def testApiPieChartWidget(self): - """Test ApiPieChartWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_report_data_component_label_map.py b/thousandeyes-sdk-dashboards/test/test_api_report_data_component_label_map.py deleted file mode 100644 index 265a76b8..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_report_data_component_label_map.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_report_data_component_label_map import ApiReportDataComponentLabelMap - -class TestApiReportDataComponentLabelMap(unittest.TestCase): - """ApiReportDataComponentLabelMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiReportDataComponentLabelMap: - """Test ApiReportDataComponentLabelMap - include_option 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 `ApiReportDataComponentLabelMap` - """ - model = ApiReportDataComponentLabelMap() - if include_optional: - return ApiReportDataComponentLabelMap( - group_property = 'AGENT', - group_labels = [ - thousandeyes_sdk.dashboards.models.api_report_data_component_label_map_entry.ApiReportDataComponentLabelMapEntry( - group_id = '2565', - group_label = 'San Francisco, CA', ) - ] - ) - else: - return ApiReportDataComponentLabelMap( - ) - """ - - def testApiReportDataComponentLabelMap(self): - """Test ApiReportDataComponentLabelMap""" - # 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/thousandeyes-sdk-dashboards/test/test_api_report_data_component_label_map_entry.py b/thousandeyes-sdk-dashboards/test/test_api_report_data_component_label_map_entry.py deleted file mode 100644 index b0147fe3..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_report_data_component_label_map_entry.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_report_data_component_label_map_entry import ApiReportDataComponentLabelMapEntry - -class TestApiReportDataComponentLabelMapEntry(unittest.TestCase): - """ApiReportDataComponentLabelMapEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiReportDataComponentLabelMapEntry: - """Test ApiReportDataComponentLabelMapEntry - include_option 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 `ApiReportDataComponentLabelMapEntry` - """ - model = ApiReportDataComponentLabelMapEntry() - if include_optional: - return ApiReportDataComponentLabelMapEntry( - group_id = '2565', - group_label = 'San Francisco, CA' - ) - else: - return ApiReportDataComponentLabelMapEntry( - ) - """ - - def testApiReportDataComponentLabelMapEntry(self): - """Test ApiReportDataComponentLabelMapEntry""" - # 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/thousandeyes-sdk-dashboards/test/test_api_report_snapshot_time_span.py b/thousandeyes-sdk-dashboards/test/test_api_report_snapshot_time_span.py deleted file mode 100644 index 40c86e13..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_report_snapshot_time_span.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_report_snapshot_time_span import ApiReportSnapshotTimeSpan - -class TestApiReportSnapshotTimeSpan(unittest.TestCase): - """ApiReportSnapshotTimeSpan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiReportSnapshotTimeSpan: - """Test ApiReportSnapshotTimeSpan - include_option 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 `ApiReportSnapshotTimeSpan` - """ - model = ApiReportSnapshotTimeSpan() - if include_optional: - return ApiReportSnapshotTimeSpan( - start_date = '2023-05-16 10:14:28', - start = '2023-05-16T10:14:28Z', - duration = 60 - ) - else: - return ApiReportSnapshotTimeSpan( - ) - """ - - def testApiReportSnapshotTimeSpan(self): - """Test ApiReportSnapshotTimeSpan""" - # 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/thousandeyes-sdk-dashboards/test/test_api_stacked_area_chart_widget.py b/thousandeyes-sdk-dashboards/test/test_api_stacked_area_chart_widget.py deleted file mode 100644 index 458192af..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_stacked_area_chart_widget.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_stacked_area_chart_widget import ApiStackedAreaChartWidget - -class TestApiStackedAreaChartWidget(unittest.TestCase): - """ApiStackedAreaChartWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiStackedAreaChartWidget: - """Test ApiStackedAreaChartWidget - include_option 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 `ApiStackedAreaChartWidget` - """ - model = ApiStackedAreaChartWidget() - if include_optional: - return ApiStackedAreaChartWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - min_scale = 1.0, - max_scale = 100.0, - unit = 'Mbps', - type = 'Time Series: Stacked Area', - group_by = 'ALL', - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiStackedAreaChartWidget( - type = 'Time Series: Stacked Area', - ) - """ - - def testApiStackedAreaChartWidget(self): - """Test ApiStackedAreaChartWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_stacked_barchart_widget.py b/thousandeyes-sdk-dashboards/test/test_api_stacked_barchart_widget.py deleted file mode 100644 index cded43de..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_stacked_barchart_widget.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_stacked_barchart_widget import ApiStackedBarchartWidget - -class TestApiStackedBarchartWidget(unittest.TestCase): - """ApiStackedBarchartWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiStackedBarchartWidget: - """Test ApiStackedBarchartWidget - include_option 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 `ApiStackedBarchartWidget` - """ - model = ApiStackedBarchartWidget() - if include_optional: - return ApiStackedBarchartWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Bar Chart: Stacked', - axis_group_by = 'ALL', - sort_by = 'alphabetical', - sort_direction = 'ascending', - limit = 10, - show_labels = True, - is_horizontal_bar_chart = True, - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiStackedBarchartWidget( - type = 'Bar Chart: Stacked', - ) - """ - - def testApiStackedBarchartWidget(self): - """Test ApiStackedBarchartWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_table_widget.py b/thousandeyes-sdk-dashboards/test/test_api_table_widget.py deleted file mode 100644 index e54416e1..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_table_widget.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_table_widget import ApiTableWidget - -class TestApiTableWidget(unittest.TestCase): - """ApiTableWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTableWidget: - """Test ApiTableWidget - include_option 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 `ApiTableWidget` - """ - model = ApiTableWidget() - if include_optional: - return ApiTableWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Table', - compare_to_previous_value = True, - row_group_by = 'ALL', - column_group_by = 'ALL', - sort_by = 'alphabetical', - sort_direction = 'ascending', - limit = 10, - data_source = 'ENDPOINT_AGENTS' - ) - else: - return ApiTableWidget( - type = 'Table', - ) - """ - - def testApiTableWidget(self): - """Test ApiTableWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_test_table_data.py b/thousandeyes-sdk-dashboards/test/test_api_test_table_data.py deleted file mode 100644 index 106aae53..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_test_table_data.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_test_table_data import ApiTestTableData - -class TestApiTestTableData(unittest.TestCase): - """ApiTestTableData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTestTableData: - """Test ApiTestTableData - include_option 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 `ApiTestTableData` - """ - model = ApiTestTableData() - if include_optional: - return ApiTestTableData( - test_id = '68256', - test_name = 'Http Test Name', - target = 'www.google.com', - test_type = 'Web - HTTP Server', - alert_count = 398, - is_shared = True, - graphlets = [ - thousandeyes_sdk.dashboards.models.api_test_table_graphlets_data.ApiTestTableGraphletsData( - metric = 'Availability', - test_id = '68257', - points = [ - thousandeyes_sdk.dashboards.models.api_graphlet_point.ApiGraphletPoint( - x = 1580403900, - y = 128.249, ) - ], ) - ] - ) - else: - return ApiTestTableData( - ) - """ - - def testApiTestTableData(self): - """Test ApiTestTableData""" - # 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/thousandeyes-sdk-dashboards/test/test_api_test_table_graphlets_data.py b/thousandeyes-sdk-dashboards/test/test_api_test_table_graphlets_data.py deleted file mode 100644 index 4eeeb7eb..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_test_table_graphlets_data.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_test_table_graphlets_data import ApiTestTableGraphletsData - -class TestApiTestTableGraphletsData(unittest.TestCase): - """ApiTestTableGraphletsData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTestTableGraphletsData: - """Test ApiTestTableGraphletsData - include_option 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 `ApiTestTableGraphletsData` - """ - model = ApiTestTableGraphletsData() - if include_optional: - return ApiTestTableGraphletsData( - metric = 'Availability', - test_id = '68257', - points = [ - thousandeyes_sdk.dashboards.models.api_graphlet_point.ApiGraphletPoint( - x = 1580403900, - y = 128.249, ) - ] - ) - else: - return ApiTestTableGraphletsData( - ) - """ - - def testApiTestTableGraphletsData(self): - """Test ApiTestTableGraphletsData""" - # 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/thousandeyes-sdk-dashboards/test/test_api_test_table_widget.py b/thousandeyes-sdk-dashboards/test/test_api_test_table_widget.py deleted file mode 100644 index f3a6bf75..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_test_table_widget.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_test_table_widget import ApiTestTableWidget - -class TestApiTestTableWidget(unittest.TestCase): - """ApiTestTableWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTestTableWidget: - """Test ApiTestTableWidget - include_option 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 `ApiTestTableWidget` - """ - model = ApiTestTableWidget() - if include_optional: - return ApiTestTableWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Test Table', - filter = thousandeyes_sdk.dashboards.models.api_widget_filter_api_test_table_filter_key.ApiWidgetFilterApiTestTableFilterKey( - filters = [ - thousandeyes_sdk.dashboards.models.api_multi_search_filter_api_test_table_filter_key.ApiMultiSearchFilterApiTestTableFilterKey( - key = 'Target', - value = '', ) - ], - type = 'all', ), - exclude = thousandeyes_sdk.dashboards.models.api_widget_filter_api_test_table_filter_key.ApiWidgetFilterApiTestTableFilterKey( - filters = [ - thousandeyes_sdk.dashboards.models.api_multi_search_filter_api_test_table_filter_key.ApiMultiSearchFilterApiTestTableFilterKey( - key = 'Target', - value = '', ) - ], - type = 'all', ), - data_source = 'CLOUD_AND_ENTERPRISE_AGENTS' - ) - else: - return ApiTestTableWidget( - type = 'Test Table', - ) - """ - - def testApiTestTableWidget(self): - """Test ApiTestTableWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_timeseries_widget.py b/thousandeyes-sdk-dashboards/test/test_api_timeseries_widget.py deleted file mode 100644 index 209e834c..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_timeseries_widget.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_timeseries_widget import ApiTimeseriesWidget - -class TestApiTimeseriesWidget(unittest.TestCase): - """ApiTimeseriesWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTimeseriesWidget: - """Test ApiTimeseriesWidget - include_option 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 `ApiTimeseriesWidget` - """ - model = ApiTimeseriesWidget() - if include_optional: - return ApiTimeseriesWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - min_scale = 1.0, - max_scale = 100.0, - unit = 'Mbps', - type = 'Time Series: Line', - show_timeseries_overall_baseline = True, - group_by = 'ALL', - is_timeseries_one_chart_per_line = True, - data_source = 'CLOUD_AND_ENTERPRISE_AGENTS' - ) - else: - return ApiTimeseriesWidget( - type = 'Time Series: Line', - ) - """ - - def testApiTimeseriesWidget(self): - """Test ApiTimeseriesWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_widget.py b/thousandeyes-sdk-dashboards/test/test_api_widget.py deleted file mode 100644 index 38a6124e..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget.py +++ /dev/null @@ -1,135 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget import ApiWidget - -class TestApiWidget(unittest.TestCase): - """ApiWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWidget: - """Test ApiWidget - include_option 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 `ApiWidget` - """ - model = ApiWidget() - if include_optional: - return ApiWidget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), - type = 'Time Series: Line', - agents = 'Enterprise Agents', - show = 'Owned Agents', - data_source = 'CLOUD_AND_ENTERPRISE_AGENTS', - alert_types = [ - 'Network - End-to-End (Server)' - ], - limit_to = 15, - active_within = None, - min_scale = 1.0, - max_scale = 100.0, - unit = 'Mbps', - group_by = 'ALL', - cards = 'ALL', - group_cards_by = 'ALL', - columns = 1, - limit = 10, - sort_by = 'alphabetical', - sort_direction = 'ascending', - is_geo_map_per_test = True, - axis_group_by = 'ALL', - show_labels = True, - is_horizontal_bar_chart = True, - compare_to_previous_value = True, - row_group_by = 'ALL', - multi_metric_columns = [ - thousandeyes_sdk.dashboards.models.api_multi_metric_column.ApiMultiMetricColumn( - id = '', - data_source = 'ENDPOINT_AGENTS', - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), ) - ], - number_cards = [ - thousandeyes_sdk.dashboards.models.api_numbers_card.ApiNumbersCard() - ], - column_group_by = 'ALL', - filter = thousandeyes_sdk.dashboards.models.api_widget_filter_api_test_table_filter_key.ApiWidgetFilterApiTestTableFilterKey( - filters = [ - thousandeyes_sdk.dashboards.models.api_multi_search_filter_api_test_table_filter_key.ApiMultiSearchFilterApiTestTableFilterKey( - key = 'Target', - value = '', ) - ], - type = 'all', ), - exclude = thousandeyes_sdk.dashboards.models.api_widget_filter_api_test_table_filter_key.ApiWidgetFilterApiTestTableFilterKey( - filters = [ - thousandeyes_sdk.dashboards.models.api_multi_search_filter_api_test_table_filter_key.ApiMultiSearchFilterApiTestTableFilterKey( - key = 'Target', - value = '', ) - ], - type = 'all', ), - show_timeseries_overall_baseline = True, - is_timeseries_one_chart_per_line = True - ) - else: - return ApiWidget( - type = 'Time Series: Line', - ) - """ - - def testApiWidget(self): - """Test ApiWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_api_widget_data.py b/thousandeyes-sdk-dashboards/test/test_api_widget_data.py deleted file mode 100644 index c11d3344..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_data.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_data import ApiWidgetData - -class TestApiWidgetData(unittest.TestCase): - """ApiWidgetData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWidgetData: - """Test ApiWidgetData - include_option 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 `ApiWidgetData` - """ - model = ApiWidgetData() - if include_optional: - return ApiWidgetData( - group_labels = [ - thousandeyes_sdk.dashboards.models.api_report_data_component_label_map.ApiReportDataComponentLabelMap( - group_property = 'AGENT', ) - ], - bin_size = 3600, - data = thousandeyes_sdk.dashboards.models.api_widgets_data_v2.ApiWidgetsDataV2( - cards = [ - thousandeyes_sdk.dashboards.models.api_numbers_card_data.ApiNumbersCardData( - card_id = 'lrxxr', - start_date = '2023-05-16T10:14:28Z', - end_date = '2023-05-16T10:14:28Z', - previous_value = 500.0, - bin_size = 3600, - timestamp = 1567620000, - number_of_data_points = 24192, - value = 100.0, - status = 'No data', - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week', ) - ], ) - ], - columns = [ - thousandeyes_sdk.dashboards.models.api_multi_metric_column_data.ApiMultiMetricColumnData( - column_id = '938to', - bin_size = 3600, - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, - groups = [ - thousandeyes_sdk.dashboards.models.api_data_point_group.ApiDataPointGroup( - group_property = 'COUNTRY', - group_value = 'US', ) - ], ) - ], - status = 'No data', ) - ], - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, ) - ], - tests = [ - thousandeyes_sdk.dashboards.models.api_test_table_data.ApiTestTableData( - test_id = '68256', - test_name = 'Http Test Name', - target = 'www.google.com', - test_type = 'Web - HTTP Server', - alert_count = 398, - is_shared = True, - graphlets = [ - thousandeyes_sdk.dashboards.models.api_test_table_graphlets_data.ApiTestTableGraphletsData( - metric = 'Availability', - test_id = '68257', ) - ], ) - ], - start_round = 1384309800, - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat_every = 5, ) - ], - total_alerts = 500, - active_alerts = 483, - alerts = [ - thousandeyes_sdk.dashboards.models.api_alert_list_alert.ApiAlertListAlert( - alert_id = '2004945', - test_id = '56512', - rule_id = '281724', - alert_source = 'Http Test', - alert_rule = 'Http Test Rule', - alert_type = 'network-end-to-end-server', - start_time = '2023-06-02T08:54Z', - duration_in_seconds = 25, - active = True, ) - ], - summary = thousandeyes_sdk.dashboards.models.api_agent_status_summary.ApiAgentStatusSummary( - online = 10, - offline = 2, - disabled = 3, ), - agents = [ - thousandeyes_sdk.dashboards.models.api_agent_status_agent.ApiAgentStatusAgent( - agent_id = '6522', - status = 'online', - ip_info = thousandeyes_sdk.dashboards.models.api_agent_status_ip_info.ApiAgentStatusIpInfo( - public_ip = '172.58.92.31', - private_ip = '172.58.92.31', - ipv6 = '', - operative_system_version = '', ), - agent_name = '0c3898000117', - location = thousandeyes_sdk.dashboards.models.api_agent_location.ApiAgentLocation( - latitude = 37.77493, - longitude = -122.41942, - location_name = 'San Francisco, California, US', ), ) - ], - status = 'No data', ), - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z' - ) - else: - return ApiWidgetData( - ) - """ - - def testApiWidgetData(self): - """Test ApiWidgetData""" - # 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/thousandeyes-sdk-dashboards/test/test_api_widget_data_point.py b/thousandeyes-sdk-dashboards/test/test_api_widget_data_point.py deleted file mode 100644 index ae46c820..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_data_point.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_data_point import ApiWidgetDataPoint - -class TestApiWidgetDataPoint(unittest.TestCase): - """ApiWidgetDataPoint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWidgetDataPoint: - """Test ApiWidgetDataPoint - include_option 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 `ApiWidgetDataPoint` - """ - model = ApiWidgetDataPoint() - if include_optional: - return ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, - groups = [ - thousandeyes_sdk.dashboards.models.api_data_point_group.ApiDataPointGroup( - group_property = 'COUNTRY', - group_value = 'US', ) - ] - ) - else: - return ApiWidgetDataPoint( - ) - """ - - def testApiWidgetDataPoint(self): - """Test ApiWidgetDataPoint""" - # 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/thousandeyes-sdk-dashboards/test/test_api_widget_data_response.py b/thousandeyes-sdk-dashboards/test/test_api_widget_data_response.py deleted file mode 100644 index 1f5dfe93..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_data_response.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_data_response import ApiWidgetDataResponse - -class TestApiWidgetDataResponse(unittest.TestCase): - """ApiWidgetDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWidgetDataResponse: - """Test ApiWidgetDataResponse - include_option 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 `ApiWidgetDataResponse` - """ - model = ApiWidgetDataResponse() - if include_optional: - return ApiWidgetDataResponse( - group_labels = [ - thousandeyes_sdk.dashboards.models.api_report_data_component_label_map.ApiReportDataComponentLabelMap( - group_property = 'AGENT', ) - ], - bin_size = 3600, - data = thousandeyes_sdk.dashboards.models.api_widgets_data_v2.ApiWidgetsDataV2( - cards = [ - thousandeyes_sdk.dashboards.models.api_numbers_card_data.ApiNumbersCardData( - card_id = 'lrxxr', - start_date = '2023-05-16T10:14:28Z', - end_date = '2023-05-16T10:14:28Z', - previous_value = 500.0, - bin_size = 3600, - timestamp = 1567620000, - number_of_data_points = 24192, - value = 100.0, - status = 'No data', - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week', ) - ], ) - ], - columns = [ - thousandeyes_sdk.dashboards.models.api_multi_metric_column_data.ApiMultiMetricColumnData( - column_id = '938to', - bin_size = 3600, - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, - groups = [ - thousandeyes_sdk.dashboards.models.api_data_point_group.ApiDataPointGroup( - group_property = 'COUNTRY', - group_value = 'US', ) - ], ) - ], - status = 'No data', ) - ], - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, ) - ], - tests = [ - thousandeyes_sdk.dashboards.models.api_test_table_data.ApiTestTableData( - test_id = '68256', - test_name = 'Http Test Name', - target = 'www.google.com', - test_type = 'Web - HTTP Server', - alert_count = 398, - is_shared = True, - graphlets = [ - thousandeyes_sdk.dashboards.models.api_test_table_graphlets_data.ApiTestTableGraphletsData( - metric = 'Availability', - test_id = '68257', ) - ], ) - ], - start_round = 1384309800, - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat_every = 5, ) - ], - total_alerts = 500, - active_alerts = 483, - alerts = [ - thousandeyes_sdk.dashboards.models.api_alert_list_alert.ApiAlertListAlert( - alert_id = '2004945', - test_id = '56512', - rule_id = '281724', - alert_source = 'Http Test', - alert_rule = 'Http Test Rule', - alert_type = 'network-end-to-end-server', - start_time = '2023-06-02T08:54Z', - duration_in_seconds = 25, - active = True, ) - ], - summary = thousandeyes_sdk.dashboards.models.api_agent_status_summary.ApiAgentStatusSummary( - online = 10, - offline = 2, - disabled = 3, ), - agents = [ - thousandeyes_sdk.dashboards.models.api_agent_status_agent.ApiAgentStatusAgent( - agent_id = '6522', - status = 'online', - ip_info = thousandeyes_sdk.dashboards.models.api_agent_status_ip_info.ApiAgentStatusIpInfo( - public_ip = '172.58.92.31', - private_ip = '172.58.92.31', - ipv6 = '', - operative_system_version = '', ), - agent_name = '0c3898000117', - location = thousandeyes_sdk.dashboards.models.api_agent_location.ApiAgentLocation( - latitude = 37.77493, - longitude = -122.41942, - location_name = 'San Francisco, California, US', ), ) - ], - status = 'No data', ), - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.dashboards.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return ApiWidgetDataResponse( - ) - """ - - def testApiWidgetDataResponse(self): - """Test ApiWidgetDataResponse""" - # 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/thousandeyes-sdk-dashboards/test/test_api_widget_data_snapshot_response.py b/thousandeyes-sdk-dashboards/test/test_api_widget_data_snapshot_response.py deleted file mode 100644 index 13ec08d9..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_data_snapshot_response.py +++ /dev/null @@ -1,172 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_data_snapshot_response import ApiWidgetDataSnapshotResponse - -class TestApiWidgetDataSnapshotResponse(unittest.TestCase): - """ApiWidgetDataSnapshotResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWidgetDataSnapshotResponse: - """Test ApiWidgetDataSnapshotResponse - include_option 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 `ApiWidgetDataSnapshotResponse` - """ - model = ApiWidgetDataSnapshotResponse() - if include_optional: - return ApiWidgetDataSnapshotResponse( - group_labels = [ - thousandeyes_sdk.dashboards.models.api_report_data_component_label_map.ApiReportDataComponentLabelMap( - group_property = 'AGENT', ) - ], - bin_size = 3600, - data = thousandeyes_sdk.dashboards.models.api_widgets_data_v2.ApiWidgetsDataV2( - cards = [ - thousandeyes_sdk.dashboards.models.api_numbers_card_data.ApiNumbersCardData( - card_id = 'lrxxr', - start_date = '2023-05-16T10:14:28Z', - end_date = '2023-05-16T10:14:28Z', - previous_value = 500.0, - bin_size = 3600, - timestamp = 1567620000, - number_of_data_points = 24192, - value = 100.0, - status = 'No data', - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week', ) - ], ) - ], - columns = [ - thousandeyes_sdk.dashboards.models.api_multi_metric_column_data.ApiMultiMetricColumnData( - column_id = '938to', - bin_size = 3600, - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, - groups = [ - thousandeyes_sdk.dashboards.models.api_data_point_group.ApiDataPointGroup( - group_property = 'COUNTRY', - group_value = 'US', ) - ], ) - ], - status = 'No data', ) - ], - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, ) - ], - tests = [ - thousandeyes_sdk.dashboards.models.api_test_table_data.ApiTestTableData( - test_id = '68256', - test_name = 'Http Test Name', - target = 'www.google.com', - test_type = 'Web - HTTP Server', - alert_count = 398, - is_shared = True, - graphlets = [ - thousandeyes_sdk.dashboards.models.api_test_table_graphlets_data.ApiTestTableGraphletsData( - metric = 'Availability', - test_id = '68257', ) - ], ) - ], - start_round = 1384309800, - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat_every = 5, ) - ], - total_alerts = 500, - active_alerts = 483, - alerts = [ - thousandeyes_sdk.dashboards.models.api_alert_list_alert.ApiAlertListAlert( - alert_id = '2004945', - test_id = '56512', - rule_id = '281724', - alert_source = 'Http Test', - alert_rule = 'Http Test Rule', - alert_type = 'network-end-to-end-server', - start_time = '2023-06-02T08:54Z', - duration_in_seconds = 25, - active = True, ) - ], - summary = thousandeyes_sdk.dashboards.models.api_agent_status_summary.ApiAgentStatusSummary( - online = 10, - offline = 2, - disabled = 3, ), - agents = [ - thousandeyes_sdk.dashboards.models.api_agent_status_agent.ApiAgentStatusAgent( - agent_id = '6522', - status = 'online', - ip_info = thousandeyes_sdk.dashboards.models.api_agent_status_ip_info.ApiAgentStatusIpInfo( - public_ip = '172.58.92.31', - private_ip = '172.58.92.31', - ipv6 = '', - operative_system_version = '', ), - agent_name = '0c3898000117', - location = thousandeyes_sdk.dashboards.models.api_agent_location.ApiAgentLocation( - latitude = 37.77493, - longitude = -122.41942, - location_name = 'San Francisco, California, US', ), ) - ], - status = 'No data', ), - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiWidgetDataSnapshotResponse( - ) - """ - - def testApiWidgetDataSnapshotResponse(self): - """Test ApiWidgetDataSnapshotResponse""" - # 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/thousandeyes-sdk-dashboards/test/test_api_widget_filter_api_test_table_filter_key.py b/thousandeyes-sdk-dashboards/test/test_api_widget_filter_api_test_table_filter_key.py deleted file mode 100644 index 7ad01f95..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_filter_api_test_table_filter_key.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_filter_api_test_table_filter_key import ApiWidgetFilterApiTestTableFilterKey - -class TestApiWidgetFilterApiTestTableFilterKey(unittest.TestCase): - """ApiWidgetFilterApiTestTableFilterKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWidgetFilterApiTestTableFilterKey: - """Test ApiWidgetFilterApiTestTableFilterKey - include_option 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 `ApiWidgetFilterApiTestTableFilterKey` - """ - model = ApiWidgetFilterApiTestTableFilterKey() - if include_optional: - return ApiWidgetFilterApiTestTableFilterKey( - filters = [ - thousandeyes_sdk.dashboards.models.api_multi_search_filter_api_test_table_filter_key.ApiMultiSearchFilterApiTestTableFilterKey( - key = 'Target', - value = '', ) - ], - type = 'all' - ) - else: - return ApiWidgetFilterApiTestTableFilterKey( - ) - """ - - def testApiWidgetFilterApiTestTableFilterKey(self): - """Test ApiWidgetFilterApiTestTableFilterKey""" - # 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/thousandeyes-sdk-dashboards/test/test_api_widget_fixed_y_scale_prefix.py b/thousandeyes-sdk-dashboards/test/test_api_widget_fixed_y_scale_prefix.py deleted file mode 100644 index 2e9e7951..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_fixed_y_scale_prefix.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_fixed_y_scale_prefix import ApiWidgetFixedYScalePrefix - -class TestApiWidgetFixedYScalePrefix(unittest.TestCase): - """ApiWidgetFixedYScalePrefix unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiWidgetFixedYScalePrefix(self): - """Test ApiWidgetFixedYScalePrefix""" - # inst = ApiWidgetFixedYScalePrefix() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_api_widget_measure.py b/thousandeyes-sdk-dashboards/test/test_api_widget_measure.py deleted file mode 100644 index 2fb7d29f..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_measure.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_measure import ApiWidgetMeasure - -class TestApiWidgetMeasure(unittest.TestCase): - """ApiWidgetMeasure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWidgetMeasure: - """Test ApiWidgetMeasure - include_option 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 `ApiWidgetMeasure` - """ - model = ApiWidgetMeasure() - if include_optional: - return ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0 - ) - else: - return ApiWidgetMeasure( - ) - """ - - def testApiWidgetMeasure(self): - """Test ApiWidgetMeasure""" - # 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/thousandeyes-sdk-dashboards/test/test_api_widget_sort_direction.py b/thousandeyes-sdk-dashboards/test/test_api_widget_sort_direction.py deleted file mode 100644 index 007c85ce..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_sort_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_sort_direction import ApiWidgetSortDirection - -class TestApiWidgetSortDirection(unittest.TestCase): - """ApiWidgetSortDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiWidgetSortDirection(self): - """Test ApiWidgetSortDirection""" - # inst = ApiWidgetSortDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_api_widget_sort_property.py b/thousandeyes-sdk-dashboards/test/test_api_widget_sort_property.py deleted file mode 100644 index 9177710c..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widget_sort_property.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widget_sort_property import ApiWidgetSortProperty - -class TestApiWidgetSortProperty(unittest.TestCase): - """ApiWidgetSortProperty unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiWidgetSortProperty(self): - """Test ApiWidgetSortProperty""" - # inst = ApiWidgetSortProperty() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_api_widgets_data_v2.py b/thousandeyes-sdk-dashboards/test/test_api_widgets_data_v2.py deleted file mode 100644 index 0fca9f08..00000000 --- a/thousandeyes-sdk-dashboards/test/test_api_widgets_data_v2.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.api_widgets_data_v2 import ApiWidgetsDataV2 - -class TestApiWidgetsDataV2(unittest.TestCase): - """ApiWidgetsDataV2 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWidgetsDataV2: - """Test ApiWidgetsDataV2 - include_option 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 `ApiWidgetsDataV2` - """ - model = ApiWidgetsDataV2() - if include_optional: - return ApiWidgetsDataV2( - cards = [ - thousandeyes_sdk.dashboards.models.api_numbers_card_data.ApiNumbersCardData( - card_id = 'lrxxr', - start_date = '2023-05-16T10:14:28Z', - end_date = '2023-05-16T10:14:28Z', - previous_value = 500.0, - bin_size = 3600, - timestamp = 1567620000, - number_of_data_points = 24192, - value = 100.0, - status = 'No data', - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week', ) - ], ) - ], - columns = [ - thousandeyes_sdk.dashboards.models.api_multi_metric_column_data.ApiMultiMetricColumnData( - column_id = '938to', - bin_size = 3600, - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, - groups = [ - thousandeyes_sdk.dashboards.models.api_data_point_group.ApiDataPointGroup( - group_property = 'COUNTRY', - group_value = 'US', ) - ], ) - ], - status = 'No data', - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week', ) - ], ) - ], - points = [ - thousandeyes_sdk.dashboards.models.api_widget_data_point.ApiWidgetDataPoint( - timestamp = 1567620000, - number_of_data_points = 23304, - value = 100.0, - groups = [ - thousandeyes_sdk.dashboards.models.api_data_point_group.ApiDataPointGroup( - group_property = 'COUNTRY', - group_value = 'US', ) - ], ) - ], - tests = [ - thousandeyes_sdk.dashboards.models.api_test_table_data.ApiTestTableData( - test_id = '68256', - test_name = 'Http Test Name', - target = 'www.google.com', - test_type = 'Web - HTTP Server', - alert_count = 398, - is_shared = True, - graphlets = [ - thousandeyes_sdk.dashboards.models.api_test_table_graphlets_data.ApiTestTableGraphletsData( - metric = 'Availability', - test_id = '68257', - points = [ - thousandeyes_sdk.dashboards.models.api_graphlet_point.ApiGraphletPoint( - x = 1580403900, - y = 128.249, ) - ], ) - ], ) - ], - start_round = 1384309800, - alert_suppression_windows = [ - thousandeyes_sdk.dashboards.models.api_dashboard_asw.ApiDashboardAsw( - id = '281474976710662', - name = 'Test dashboards', - test_ids = ["281474976710661"], - start_times = ["2023-05-16T10:14:28Z"], - duration_in_seconds = 7200, - repeat = 'custom', - repeat_every = 5, - repeat_unit = 'week', ) - ], - total_alerts = 500, - active_alerts = 483, - alerts = [ - thousandeyes_sdk.dashboards.models.api_alert_list_alert.ApiAlertListAlert( - alert_id = '2004945', - test_id = '56512', - rule_id = '281724', - alert_source = 'Http Test', - alert_rule = 'Http Test Rule', - alert_type = 'network-end-to-end-server', - start_time = '2023-06-02T08:54Z', - duration_in_seconds = 25, - active = True, ) - ], - summary = thousandeyes_sdk.dashboards.models.api_agent_status_summary.ApiAgentStatusSummary( - online = 10, - offline = 2, - disabled = 3, ), - agents = [ - thousandeyes_sdk.dashboards.models.api_agent_status_agent.ApiAgentStatusAgent( - agent_id = '6522', - status = 'online', - ip_info = thousandeyes_sdk.dashboards.models.api_agent_status_ip_info.ApiAgentStatusIpInfo( - public_ip = '172.58.92.31', - private_ip = '172.58.92.31', - ipv6 = '', - operative_system_version = '', ), - agent_name = '0c3898000117', - location = thousandeyes_sdk.dashboards.models.api_agent_location.ApiAgentLocation( - latitude = 37.77493, - longitude = -122.41942, - location_name = 'San Francisco, California, US', ), ) - ], - status = 'No data' - ) - else: - return ApiWidgetsDataV2( - ) - """ - - def testApiWidgetsDataV2(self): - """Test ApiWidgetsDataV2""" - # 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/thousandeyes-sdk-dashboards/test/test_app_and_self_links.py b/thousandeyes-sdk-dashboards/test/test_app_and_self_links.py deleted file mode 100644 index be2fa1b3..00000000 --- a/thousandeyes-sdk-dashboards/test/test_app_and_self_links.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.app_and_self_links import AppAndSelfLinks - -class TestAppAndSelfLinks(unittest.TestCase): - """AppAndSelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AppAndSelfLinks: - """Test AppAndSelfLinks - include_option 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 `AppAndSelfLinks` - """ - model = AppAndSelfLinks() - if include_optional: - return AppAndSelfLinks( - app_link = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return AppAndSelfLinks( - ) - """ - - def testAppAndSelfLinks(self): - """Test AppAndSelfLinks""" - # 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/thousandeyes-sdk-dashboards/test/test_asw_repeat.py b/thousandeyes-sdk-dashboards/test/test_asw_repeat.py deleted file mode 100644 index 65650a48..00000000 --- a/thousandeyes-sdk-dashboards/test/test_asw_repeat.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.asw_repeat import AswRepeat - -class TestAswRepeat(unittest.TestCase): - """AswRepeat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAswRepeat(self): - """Test AswRepeat""" - # inst = AswRepeat() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_asw_repeat_unit.py b/thousandeyes-sdk-dashboards/test/test_asw_repeat_unit.py deleted file mode 100644 index 9781d25c..00000000 --- a/thousandeyes-sdk-dashboards/test/test_asw_repeat_unit.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.asw_repeat_unit import AswRepeatUnit - -class TestAswRepeatUnit(unittest.TestCase): - """AswRepeatUnit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAswRepeatUnit(self): - """Test AswRepeatUnit""" - # inst = AswRepeatUnit() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_box_and_whiskers_datasource.py b/thousandeyes-sdk-dashboards/test/test_box_and_whiskers_datasource.py deleted file mode 100644 index 678b17da..00000000 --- a/thousandeyes-sdk-dashboards/test/test_box_and_whiskers_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.box_and_whiskers_datasource import BoxAndWhiskersDatasource - -class TestBoxAndWhiskersDatasource(unittest.TestCase): - """BoxAndWhiskersDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBoxAndWhiskersDatasource(self): - """Test BoxAndWhiskersDatasource""" - # inst = BoxAndWhiskersDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_color_grid_datasource.py b/thousandeyes-sdk-dashboards/test/test_color_grid_datasource.py deleted file mode 100644 index 5a2ff7a9..00000000 --- a/thousandeyes-sdk-dashboards/test/test_color_grid_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.color_grid_datasource import ColorGridDatasource - -class TestColorGridDatasource(unittest.TestCase): - """ColorGridDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testColorGridDatasource(self): - """Test ColorGridDatasource""" - # inst = ColorGridDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_dashboard.py b/thousandeyes-sdk-dashboards/test/test_dashboard.py deleted file mode 100644 index 60caa997..00000000 --- a/thousandeyes-sdk-dashboards/test/test_dashboard.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.dashboard import Dashboard - -class TestDashboard(unittest.TestCase): - """Dashboard unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Dashboard: - """Test Dashboard - include_option 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 `Dashboard` - """ - model = Dashboard() - if include_optional: - return Dashboard( - global_filter_id = '65babd9bb90bf55b17c96c8d', - dashboard_id = '5e1f7a99143ae6004fdc3bb4', - title = 'HTTP Server Widgets', - is_built_in = True, - aid = '1234', - created_by = '1', - modified_by = '1', - modified_date = '2023-05-16T10:14:28Z', - is_private = True, - is_default_for_user = True, - is_default_for_account = False, - widgets = [ - null - ], - description = 'HTTP Server Widgets', - default_timespan = None, - is_global_override = True, - is_migrated_report = False, - links = thousandeyes_sdk.dashboards.models.dashboard_links.DashboardLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - snapshots = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Dashboard( - ) - """ - - def testDashboard(self): - """Test Dashboard""" - # 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/thousandeyes-sdk-dashboards/test/test_dashboard_global_filter_id.py b/thousandeyes-sdk-dashboards/test/test_dashboard_global_filter_id.py deleted file mode 100644 index d41b7a38..00000000 --- a/thousandeyes-sdk-dashboards/test/test_dashboard_global_filter_id.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.dashboard_global_filter_id import DashboardGlobalFilterId - -class TestDashboardGlobalFilterId(unittest.TestCase): - """DashboardGlobalFilterId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DashboardGlobalFilterId: - """Test DashboardGlobalFilterId - include_option 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 `DashboardGlobalFilterId` - """ - model = DashboardGlobalFilterId() - if include_optional: - return DashboardGlobalFilterId( - global_filter_id = '65babd9bb90bf55b17c96c8d' - ) - else: - return DashboardGlobalFilterId( - ) - """ - - def testDashboardGlobalFilterId(self): - """Test DashboardGlobalFilterId""" - # 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/thousandeyes-sdk-dashboards/test/test_dashboard_links.py b/thousandeyes-sdk-dashboards/test/test_dashboard_links.py deleted file mode 100644 index 332aaebc..00000000 --- a/thousandeyes-sdk-dashboards/test/test_dashboard_links.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.dashboard_links import DashboardLinks - -class TestDashboardLinks(unittest.TestCase): - """DashboardLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DashboardLinks: - """Test DashboardLinks - include_option 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 `DashboardLinks` - """ - model = DashboardLinks() - if include_optional: - return DashboardLinks( - var_self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - snapshots = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return DashboardLinks( - ) - """ - - def testDashboardLinks(self): - """Test DashboardLinks""" - # 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/thousandeyes-sdk-dashboards/test/test_dashboard_metric.py b/thousandeyes-sdk-dashboards/test/test_dashboard_metric.py deleted file mode 100644 index 447b096d..00000000 --- a/thousandeyes-sdk-dashboards/test/test_dashboard_metric.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.dashboard_metric import DashboardMetric - -class TestDashboardMetric(unittest.TestCase): - """DashboardMetric unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDashboardMetric(self): - """Test DashboardMetric""" - # inst = DashboardMetric() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_dashboard_metric_direction.py b/thousandeyes-sdk-dashboards/test/test_dashboard_metric_direction.py deleted file mode 100644 index e1e4d913..00000000 --- a/thousandeyes-sdk-dashboards/test/test_dashboard_metric_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.dashboard_metric_direction import DashboardMetricDirection - -class TestDashboardMetricDirection(unittest.TestCase): - """DashboardMetricDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDashboardMetricDirection(self): - """Test DashboardMetricDirection""" - # inst = DashboardMetricDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_dashboard_order.py b/thousandeyes-sdk-dashboards/test/test_dashboard_order.py deleted file mode 100644 index d97df38e..00000000 --- a/thousandeyes-sdk-dashboards/test/test_dashboard_order.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.dashboard_order import DashboardOrder - -class TestDashboardOrder(unittest.TestCase): - """DashboardOrder unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDashboardOrder(self): - """Test DashboardOrder""" - # inst = DashboardOrder() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_dashboard_snapshot_response.py b/thousandeyes-sdk-dashboards/test/test_dashboard_snapshot_response.py deleted file mode 100644 index 81277c00..00000000 --- a/thousandeyes-sdk-dashboards/test/test_dashboard_snapshot_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.dashboard_snapshot_response import DashboardSnapshotResponse - -class TestDashboardSnapshotResponse(unittest.TestCase): - """DashboardSnapshotResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DashboardSnapshotResponse: - """Test DashboardSnapshotResponse - include_option 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 `DashboardSnapshotResponse` - """ - model = DashboardSnapshotResponse() - if include_optional: - return DashboardSnapshotResponse( - snapshot_id = 'd28bb71f-5a47-4783-8f12-d4b115e61b0c', - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return DashboardSnapshotResponse( - ) - """ - - def testDashboardSnapshotResponse(self): - """Test DashboardSnapshotResponse""" - # 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/thousandeyes-sdk-dashboards/test/test_dashboard_snapshots_page.py b/thousandeyes-sdk-dashboards/test/test_dashboard_snapshots_page.py deleted file mode 100644 index d237597b..00000000 --- a/thousandeyes-sdk-dashboards/test/test_dashboard_snapshots_page.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.dashboard_snapshots_page import DashboardSnapshotsPage - -class TestDashboardSnapshotsPage(unittest.TestCase): - """DashboardSnapshotsPage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DashboardSnapshotsPage: - """Test DashboardSnapshotsPage - include_option 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 `DashboardSnapshotsPage` - """ - model = DashboardSnapshotsPage() - if include_optional: - return DashboardSnapshotsPage( - pages = { }, - dashboard_snapshots = [ - null - ], - links = thousandeyes_sdk.dashboards.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return DashboardSnapshotsPage( - ) - """ - - def testDashboardSnapshotsPage(self): - """Test DashboardSnapshotsPage""" - # 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/thousandeyes-sdk-dashboards/test/test_default_timespan.py b/thousandeyes-sdk-dashboards/test/test_default_timespan.py deleted file mode 100644 index eb754839..00000000 --- a/thousandeyes-sdk-dashboards/test/test_default_timespan.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.default_timespan import DefaultTimespan - -class TestDefaultTimespan(unittest.TestCase): - """DefaultTimespan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DefaultTimespan: - """Test DefaultTimespan - include_option 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 `DefaultTimespan` - """ - model = DefaultTimespan() - if include_optional: - return DefaultTimespan( - timespan_duration = 7200, - timespan_start = '2023-05-16 10:14:28', - timespan_end = '2023-05-16 11:14:28', - duration = 7200, - start = '2023-05-16T10:14:28Z', - end = '2023-05-16T11:14:28Z' - ) - else: - return DefaultTimespan( - ) - """ - - def testDefaultTimespan(self): - """Test DefaultTimespan""" - # 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/thousandeyes-sdk-dashboards/test/test_enterprise_agent_state.py b/thousandeyes-sdk-dashboards/test/test_enterprise_agent_state.py deleted file mode 100644 index 61b3631a..00000000 --- a/thousandeyes-sdk-dashboards/test/test_enterprise_agent_state.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.enterprise_agent_state import EnterpriseAgentState - -class TestEnterpriseAgentState(unittest.TestCase): - """EnterpriseAgentState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEnterpriseAgentState(self): - """Test EnterpriseAgentState""" - # inst = EnterpriseAgentState() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_error.py b/thousandeyes-sdk-dashboards/test/test_error.py deleted file mode 100644 index 24a78035..00000000 --- a/thousandeyes-sdk-dashboards/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-dashboards/test/test_generate_dashboard_snapshot_request.py b/thousandeyes-sdk-dashboards/test/test_generate_dashboard_snapshot_request.py deleted file mode 100644 index 2ba26793..00000000 --- a/thousandeyes-sdk-dashboards/test/test_generate_dashboard_snapshot_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.generate_dashboard_snapshot_request import GenerateDashboardSnapshotRequest - -class TestGenerateDashboardSnapshotRequest(unittest.TestCase): - """GenerateDashboardSnapshotRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GenerateDashboardSnapshotRequest: - """Test GenerateDashboardSnapshotRequest - include_option 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 `GenerateDashboardSnapshotRequest` - """ - model = GenerateDashboardSnapshotRequest() - if include_optional: - return GenerateDashboardSnapshotRequest( - start_date = '2023-05-16T10:14:28Z', - end_date = '2023-05-16T10:14:28Z', - display_name = 'snapshot from API', - dashboard_id = '646f4d2ce3c99b0536c3821e', - anonymize_data = True, - timezone = 'PST', - expiration_date = '2023-05-16T10:14:28Z' - ) - else: - return GenerateDashboardSnapshotRequest( - ) - """ - - def testGenerateDashboardSnapshotRequest(self): - """Test GenerateDashboardSnapshotRequest""" - # 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/thousandeyes-sdk-dashboards/test/test_geo_map_datasource.py b/thousandeyes-sdk-dashboards/test/test_geo_map_datasource.py deleted file mode 100644 index 56941d37..00000000 --- a/thousandeyes-sdk-dashboards/test/test_geo_map_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.geo_map_datasource import GeoMapDatasource - -class TestGeoMapDatasource(unittest.TestCase): - """GeoMapDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGeoMapDatasource(self): - """Test GeoMapDatasource""" - # inst = GeoMapDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_grouped_bar_chart_datasource.py b/thousandeyes-sdk-dashboards/test/test_grouped_bar_chart_datasource.py deleted file mode 100644 index 16b5f42a..00000000 --- a/thousandeyes-sdk-dashboards/test/test_grouped_bar_chart_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.grouped_bar_chart_datasource import GroupedBarChartDatasource - -class TestGroupedBarChartDatasource(unittest.TestCase): - """GroupedBarChartDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGroupedBarChartDatasource(self): - """Test GroupedBarChartDatasource""" - # inst = GroupedBarChartDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_legacy_agent_widget_show.py b/thousandeyes-sdk-dashboards/test/test_legacy_agent_widget_show.py deleted file mode 100644 index f1bdc0ed..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_agent_widget_show.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_agent_widget_show import LegacyAgentWidgetShow - -class TestLegacyAgentWidgetShow(unittest.TestCase): - """LegacyAgentWidgetShow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLegacyAgentWidgetShow(self): - """Test LegacyAgentWidgetShow""" - # inst = LegacyAgentWidgetShow() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_legacy_agent_widget_type.py b/thousandeyes-sdk-dashboards/test/test_legacy_agent_widget_type.py deleted file mode 100644 index 6c85d7f2..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_agent_widget_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_agent_widget_type import LegacyAgentWidgetType - -class TestLegacyAgentWidgetType(unittest.TestCase): - """LegacyAgentWidgetType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLegacyAgentWidgetType(self): - """Test LegacyAgentWidgetType""" - # inst = LegacyAgentWidgetType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_legacy_alert_list_alert_type.py b/thousandeyes-sdk-dashboards/test/test_legacy_alert_list_alert_type.py deleted file mode 100644 index 4e9ac7ee..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_alert_list_alert_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_alert_list_alert_type import LegacyAlertListAlertType - -class TestLegacyAlertListAlertType(unittest.TestCase): - """LegacyAlertListAlertType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLegacyAlertListAlertType(self): - """Test LegacyAlertListAlertType""" - # inst = LegacyAlertListAlertType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_legacy_api_dashboard.py b/thousandeyes-sdk-dashboards/test/test_legacy_api_dashboard.py deleted file mode 100644 index b5072c14..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_api_dashboard.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_api_dashboard import LegacyApiDashboard - -class TestLegacyApiDashboard(unittest.TestCase): - """LegacyApiDashboard unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LegacyApiDashboard: - """Test LegacyApiDashboard - include_option 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 `LegacyApiDashboard` - """ - model = LegacyApiDashboard() - if include_optional: - return LegacyApiDashboard( - account_id = 1234, - created_by = 1, - modified_by = 1, - modified_date = '2023-05-16 10:14:28', - global_override = True, - migrated_report = False, - api_link = [ - { } - ] - ) - else: - return LegacyApiDashboard( - ) - """ - - def testLegacyApiDashboard(self): - """Test LegacyApiDashboard""" - # 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/thousandeyes-sdk-dashboards/test/test_legacy_dashboard_snapshot.py b/thousandeyes-sdk-dashboards/test/test_legacy_dashboard_snapshot.py deleted file mode 100644 index 4e137376..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_dashboard_snapshot.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_dashboard_snapshot import LegacyDashboardSnapshot - -class TestLegacyDashboardSnapshot(unittest.TestCase): - """LegacyDashboardSnapshot unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LegacyDashboardSnapshot: - """Test LegacyDashboardSnapshot - include_option 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 `LegacyDashboardSnapshot` - """ - model = LegacyDashboardSnapshot() - if include_optional: - return LegacyDashboardSnapshot( - account_id = 1234, - created_date = '2023-05-16 10:14:28', - expiration_date = '2023-05-16 10:14:28', - permalink = 'https://app.thousandeyes.com/dashboard/?snapshotId=d28bb71f-5a47-4783-8f12-d4b115e61b0c', - api_links = [ - { } - ] - ) - else: - return LegacyDashboardSnapshot( - ) - """ - - def testLegacyDashboardSnapshot(self): - """Test LegacyDashboardSnapshot""" - # 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/thousandeyes-sdk-dashboards/test/test_legacy_default_timespan.py b/thousandeyes-sdk-dashboards/test/test_legacy_default_timespan.py deleted file mode 100644 index 92f9e818..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_default_timespan.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_default_timespan import LegacyDefaultTimespan - -class TestLegacyDefaultTimespan(unittest.TestCase): - """LegacyDefaultTimespan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LegacyDefaultTimespan: - """Test LegacyDefaultTimespan - include_option 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 `LegacyDefaultTimespan` - """ - model = LegacyDefaultTimespan() - if include_optional: - return LegacyDefaultTimespan( - timespan_duration = 7200, - timespan_start = '2023-05-16 10:14:28', - timespan_end = '2023-05-16 11:14:28' - ) - else: - return LegacyDefaultTimespan( - ) - """ - - def testLegacyDefaultTimespan(self): - """Test LegacyDefaultTimespan""" - # 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/thousandeyes-sdk-dashboards/test/test_legacy_duration_unit.py b/thousandeyes-sdk-dashboards/test/test_legacy_duration_unit.py deleted file mode 100644 index a2f17d2b..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_duration_unit.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_duration_unit import LegacyDurationUnit - -class TestLegacyDurationUnit(unittest.TestCase): - """LegacyDurationUnit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLegacyDurationUnit(self): - """Test LegacyDurationUnit""" - # inst = LegacyDurationUnit() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_legacy_widget_sort_direction.py b/thousandeyes-sdk-dashboards/test/test_legacy_widget_sort_direction.py deleted file mode 100644 index 4d6f7ea2..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_widget_sort_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_widget_sort_direction import LegacyWidgetSortDirection - -class TestLegacyWidgetSortDirection(unittest.TestCase): - """LegacyWidgetSortDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLegacyWidgetSortDirection(self): - """Test LegacyWidgetSortDirection""" - # inst = LegacyWidgetSortDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_legacy_widget_sort_property.py b/thousandeyes-sdk-dashboards/test/test_legacy_widget_sort_property.py deleted file mode 100644 index f64b6caf..00000000 --- a/thousandeyes-sdk-dashboards/test/test_legacy_widget_sort_property.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.legacy_widget_sort_property import LegacyWidgetSortProperty - -class TestLegacyWidgetSortProperty(unittest.TestCase): - """LegacyWidgetSortProperty unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLegacyWidgetSortProperty(self): - """Test LegacyWidgetSortProperty""" - # inst = LegacyWidgetSortProperty() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_link.py b/thousandeyes-sdk-dashboards/test/test_link.py deleted file mode 100644 index e98d8141..00000000 --- a/thousandeyes-sdk-dashboards/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-dashboards/test/test_metric_group.py b/thousandeyes-sdk-dashboards/test/test_metric_group.py deleted file mode 100644 index 9771efcf..00000000 --- a/thousandeyes-sdk-dashboards/test/test_metric_group.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.metric_group import MetricGroup - -class TestMetricGroup(unittest.TestCase): - """MetricGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMetricGroup(self): - """Test MetricGroup""" - # inst = MetricGroup() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_multi_metrics_table_datasource.py b/thousandeyes-sdk-dashboards/test/test_multi_metrics_table_datasource.py deleted file mode 100644 index c8e37657..00000000 --- a/thousandeyes-sdk-dashboards/test/test_multi_metrics_table_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.multi_metrics_table_datasource import MultiMetricsTableDatasource - -class TestMultiMetricsTableDatasource(unittest.TestCase): - """MultiMetricsTableDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMultiMetricsTableDatasource(self): - """Test MultiMetricsTableDatasource""" - # inst = MultiMetricsTableDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_numbers_card_datasource.py b/thousandeyes-sdk-dashboards/test/test_numbers_card_datasource.py deleted file mode 100644 index 9ef95dae..00000000 --- a/thousandeyes-sdk-dashboards/test/test_numbers_card_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.numbers_card_datasource import NumbersCardDatasource - -class TestNumbersCardDatasource(unittest.TestCase): - """NumbersCardDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNumbersCardDatasource(self): - """Test NumbersCardDatasource""" - # inst = NumbersCardDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_pagination_links.py b/thousandeyes-sdk-dashboards/test/test_pagination_links.py deleted file mode 100644 index 857378ff..00000000 --- a/thousandeyes-sdk-dashboards/test/test_pagination_links.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.pagination_links import PaginationLinks - -class TestPaginationLinks(unittest.TestCase): - """PaginationLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationLinks: - """Test PaginationLinks - include_option 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 `PaginationLinks` - """ - model = PaginationLinks() - if include_optional: - return PaginationLinks( - previous = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationLinks( - ) - """ - - def testPaginationLinks(self): - """Test PaginationLinks""" - # 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/thousandeyes-sdk-dashboards/test/test_pie_chart_datasource.py b/thousandeyes-sdk-dashboards/test/test_pie_chart_datasource.py deleted file mode 100644 index f55d519e..00000000 --- a/thousandeyes-sdk-dashboards/test/test_pie_chart_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.pie_chart_datasource import PieChartDatasource - -class TestPieChartDatasource(unittest.TestCase): - """PieChartDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPieChartDatasource(self): - """Test PieChartDatasource""" - # inst = PieChartDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_scalable_widget.py b/thousandeyes-sdk-dashboards/test/test_scalable_widget.py deleted file mode 100644 index cfdd5406..00000000 --- a/thousandeyes-sdk-dashboards/test/test_scalable_widget.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.scalable_widget import ScalableWidget - -class TestScalableWidget(unittest.TestCase): - """ScalableWidget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ScalableWidget: - """Test ScalableWidget - include_option 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 `ScalableWidget` - """ - model = ScalableWidget() - if include_optional: - return ScalableWidget( - min_scale = 1.0, - max_scale = 100.0, - unit = 'Mbps' - ) - else: - return ScalableWidget( - ) - """ - - def testScalableWidget(self): - """Test ScalableWidget""" - # 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/thousandeyes-sdk-dashboards/test/test_self_links.py b/thousandeyes-sdk-dashboards/test/test_self_links.py deleted file mode 100644 index 0590c336..00000000 --- a/thousandeyes-sdk-dashboards/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-dashboards/test/test_stacked_area_chart_datasource.py b/thousandeyes-sdk-dashboards/test/test_stacked_area_chart_datasource.py deleted file mode 100644 index b14719c2..00000000 --- a/thousandeyes-sdk-dashboards/test/test_stacked_area_chart_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.stacked_area_chart_datasource import StackedAreaChartDatasource - -class TestStackedAreaChartDatasource(unittest.TestCase): - """StackedAreaChartDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStackedAreaChartDatasource(self): - """Test StackedAreaChartDatasource""" - # inst = StackedAreaChartDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_stacked_bar_chart_datasource.py b/thousandeyes-sdk-dashboards/test/test_stacked_bar_chart_datasource.py deleted file mode 100644 index 044bf414..00000000 --- a/thousandeyes-sdk-dashboards/test/test_stacked_bar_chart_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.stacked_bar_chart_datasource import StackedBarChartDatasource - -class TestStackedBarChartDatasource(unittest.TestCase): - """StackedBarChartDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStackedBarChartDatasource(self): - """Test StackedBarChartDatasource""" - # inst = StackedBarChartDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_table_datasource.py b/thousandeyes-sdk-dashboards/test/test_table_datasource.py deleted file mode 100644 index 406cb5b9..00000000 --- a/thousandeyes-sdk-dashboards/test/test_table_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.table_datasource import TableDatasource - -class TestTableDatasource(unittest.TestCase): - """TableDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTableDatasource(self): - """Test TableDatasource""" - # inst = TableDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_test_table_datasource.py b/thousandeyes-sdk-dashboards/test/test_test_table_datasource.py deleted file mode 100644 index 3c64d44e..00000000 --- a/thousandeyes-sdk-dashboards/test/test_test_table_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.test_table_datasource import TestTableDatasource - -class TestTestTableDatasource(unittest.TestCase): - """TestTableDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestTableDatasource(self): - """Test TestTableDatasource""" - # inst = TestTableDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_test_table_filter_key.py b/thousandeyes-sdk-dashboards/test/test_test_table_filter_key.py deleted file mode 100644 index 54400b90..00000000 --- a/thousandeyes-sdk-dashboards/test/test_test_table_filter_key.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.test_table_filter_key import TestTableFilterKey - -class TestTestTableFilterKey(unittest.TestCase): - """TestTableFilterKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestTableFilterKey(self): - """Test TestTableFilterKey""" - # inst = TestTableFilterKey() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_test_table_filter_type.py b/thousandeyes-sdk-dashboards/test/test_test_table_filter_type.py deleted file mode 100644 index 6d5ab169..00000000 --- a/thousandeyes-sdk-dashboards/test/test_test_table_filter_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.test_table_filter_type import TestTableFilterType - -class TestTestTableFilterType(unittest.TestCase): - """TestTableFilterType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestTableFilterType(self): - """Test TestTableFilterType""" - # inst = TestTableFilterType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_timeseries_datasource.py b/thousandeyes-sdk-dashboards/test/test_timeseries_datasource.py deleted file mode 100644 index 0e156cb1..00000000 --- a/thousandeyes-sdk-dashboards/test/test_timeseries_datasource.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.timeseries_datasource import TimeseriesDatasource - -class TestTimeseriesDatasource(unittest.TestCase): - """TimeseriesDatasource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTimeseriesDatasource(self): - """Test TimeseriesDatasource""" - # inst = TimeseriesDatasource() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_unauthorized_error.py b/thousandeyes-sdk-dashboards/test/test_unauthorized_error.py deleted file mode 100644 index 9ccd05a5..00000000 --- a/thousandeyes-sdk-dashboards/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-dashboards/test/test_update_snapshot_expiration_date_api_request.py b/thousandeyes-sdk-dashboards/test/test_update_snapshot_expiration_date_api_request.py deleted file mode 100644 index 6861b2aa..00000000 --- a/thousandeyes-sdk-dashboards/test/test_update_snapshot_expiration_date_api_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.update_snapshot_expiration_date_api_request import UpdateSnapshotExpirationDateApiRequest - -class TestUpdateSnapshotExpirationDateApiRequest(unittest.TestCase): - """UpdateSnapshotExpirationDateApiRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateSnapshotExpirationDateApiRequest: - """Test UpdateSnapshotExpirationDateApiRequest - include_option 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 `UpdateSnapshotExpirationDateApiRequest` - """ - model = UpdateSnapshotExpirationDateApiRequest() - if include_optional: - return UpdateSnapshotExpirationDateApiRequest( - snapshot_expiration_date = '2023-05-16T10:14:28Z', - expiration_date = '2023-05-16 10:14:28' - ) - else: - return UpdateSnapshotExpirationDateApiRequest( - ) - """ - - def testUpdateSnapshotExpirationDateApiRequest(self): - """Test UpdateSnapshotExpirationDateApiRequest""" - # 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/thousandeyes-sdk-dashboards/test/test_validation_error.py b/thousandeyes-sdk-dashboards/test/test_validation_error.py deleted file mode 100644 index 95f17b67..00000000 --- a/thousandeyes-sdk-dashboards/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.dashboards.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-dashboards/test/test_validation_error_item.py b/thousandeyes-sdk-dashboards/test/test_validation_error_item.py deleted file mode 100644 index 171d6939..00000000 --- a/thousandeyes-sdk-dashboards/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-dashboards/test/test_visual_mode.py b/thousandeyes-sdk-dashboards/test/test_visual_mode.py deleted file mode 100644 index c908a4af..00000000 --- a/thousandeyes-sdk-dashboards/test/test_visual_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.visual_mode import VisualMode - -class TestVisualMode(unittest.TestCase): - """VisualMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVisualMode(self): - """Test VisualMode""" - # inst = VisualMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_widget.py b/thousandeyes-sdk-dashboards/test/test_widget.py deleted file mode 100644 index 92d3a97e..00000000 --- a/thousandeyes-sdk-dashboards/test/test_widget.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.widget import Widget - -class TestWidget(unittest.TestCase): - """Widget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Widget: - """Test Widget - include_option 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 `Widget` - """ - model = Widget() - if include_optional: - return Widget( - id = '1234', - title = 'Widget Title', - visual_mode = 'Full', - embed_url = 'https://embed.thousandeyes.com/e/00aa:3039802d-5c76-42d2-9a93-c6e5f9d3122f', - is_embedded = True, - metric_group = 'BGP', - direction = 'FROM_TARGET', - metric = 'ENDPOINT_GATEWAY_CPU_LOAD_PERCENT', - filters = {"TEST":[5187,5227],"ENDPOINT_MACHINE_ID":["fbd0050c-07f7-43f7-9631-14b32f096962"]}, - measure = thousandeyes_sdk.dashboards.models.api_widget_measure.ApiWidgetMeasure( - type = 'MEAN', - percentile_value = 95.0, ), - fixed_timespan = thousandeyes_sdk.dashboards.models.api_duration.ApiDuration( - value = 10, - unit = 'Days', ), - api_link = '', - should_exclude_alert_suppression_windows = True, - links = thousandeyes_sdk.dashboards.models.self_links.SelfLinks( - self = thousandeyes_sdk.dashboards.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Widget( - ) - """ - - def testWidget(self): - """Test Widget""" - # 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/thousandeyes-sdk-dashboards/test/test_widget_measure_type.py b/thousandeyes-sdk-dashboards/test/test_widget_measure_type.py deleted file mode 100644 index ece1eead..00000000 --- a/thousandeyes-sdk-dashboards/test/test_widget_measure_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.widget_measure_type import WidgetMeasureType - -class TestWidgetMeasureType(unittest.TestCase): - """WidgetMeasureType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWidgetMeasureType(self): - """Test WidgetMeasureType""" - # inst = WidgetMeasureType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-dashboards/test/test_widget_type.py b/thousandeyes-sdk-dashboards/test/test_widget_type.py deleted file mode 100644 index b9dcd71b..00000000 --- a/thousandeyes-sdk-dashboards/test/test_widget_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Dashboards API - - Manage ThousandEyes Dashboards. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.dashboards.models.widget_type import WidgetType - -class TestWidgetType(unittest.TestCase): - """WidgetType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWidgetType(self): - """Test WidgetType""" - # inst = WidgetType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_address_profile.py b/thousandeyes-sdk-endpoint-agents/test/test_address_profile.py deleted file mode 100644 index 537f96f0..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_address_profile.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.address_profile import AddressProfile - -class TestAddressProfile(unittest.TestCase): - """AddressProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AddressProfile: - """Test AddressProfile - include_option 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 `AddressProfile` - """ - model = AddressProfile() - if include_optional: - return AddressProfile( - address_type = 'unique-local', - ip_address = '2001:db8:3333:4444:5555:6666:7777:8888', - prefix_length = 24, - gateway = '192.168.0.254', - router_hardware_address = '5c:b1:3e:46:1c:84' - ) - else: - return AddressProfile( - ) - """ - - def testAddressProfile(self): - """Test AddressProfile""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_address_type.py b/thousandeyes-sdk-endpoint-agents/test/test_address_type.py deleted file mode 100644 index 548247cb..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_address_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.address_type import AddressType - -class TestAddressType(unittest.TestCase): - """AddressType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAddressType(self): - """Test AddressType""" - # inst = AddressType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_agent_license_type.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_license_type.py deleted file mode 100644 index 4c961b8b..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_license_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_license_type import AgentLicenseType - -class TestAgentLicenseType(unittest.TestCase): - """AgentLicenseType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAgentLicenseType(self): - """Test AgentLicenseType""" - # inst = AgentLicenseType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_agent_search_filters.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_search_filters.py deleted file mode 100644 index bc447014..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_search_filters.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_search_filters import AgentSearchFilters - -class TestAgentSearchFilters(unittest.TestCase): - """AgentSearchFilters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentSearchFilters: - """Test AgentSearchFilters - include_option 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 `AgentSearchFilters` - """ - model = AgentSearchFilters() - if include_optional: - return AgentSearchFilters( - id = [ - '5d0764ac-7e42-4ec8-a0d4-39fc53edccba' - ], - agent_name = [ - 'myagent-1234' - ], - computer_name = [ - 'DESKTOP-45AE8' - ], - username = ["picard"], - platform = [ - 'mac' - ], - os_version = [ - 'Version 10.15.2' - ], - location_country_iso = [ - 'FR' - ], - location_subdivision1_code = [ - 'ENG' - ], - location_city = [ - 'Paris' - ], - license_type = [ - 'essentials' - ] - ) - else: - return AgentSearchFilters( - ) - """ - - def testAgentSearchFilters(self): - """Test AgentSearchFilters""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_agent_search_request.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_search_request.py deleted file mode 100644 index 12c0bd68..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_search_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_search_request import AgentSearchRequest - -class TestAgentSearchRequest(unittest.TestCase): - """AgentSearchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentSearchRequest: - """Test AgentSearchRequest - include_option 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 `AgentSearchRequest` - """ - model = AgentSearchRequest() - if include_optional: - return AgentSearchRequest( - search_filters = thousandeyes_sdk.endpoint_agents.models.agent_search_filters.AgentSearchFilters( - id = [ - '5d0764ac-7e42-4ec8-a0d4-39fc53edccba' - ], - agent_name = [ - 'myagent-1234' - ], - computer_name = [ - 'DESKTOP-45AE8' - ], - username = ["picard"], - platform = [ - 'mac' - ], - os_version = [ - 'Version 10.15.2' - ], - location_country_iso = [ - 'FR' - ], - location_subdivision1_code = [ - 'ENG' - ], - location_city = [ - 'Paris' - ], - license_type = [ - 'essentials' - ], ), - threshold_filter = thousandeyes_sdk.endpoint_agents.models.agent_threshold_filters.AgentThresholdFilters( - filters = [ - thousandeyes_sdk.endpoint_agents.models.agent_threshold_filter.AgentThresholdFilter( - name = 'last-seen-ms', - value = 1.337, - operator = 'gte', ) - ], - conditional_operator = 'and', ), - search_sort = [ - thousandeyes_sdk.endpoint_agents.models.agent_search_sort.AgentSearchSort( - sort = 'platform', - order = 'desc', ) - ] - ) - else: - return AgentSearchRequest( - ) - """ - - def testAgentSearchRequest(self): - """Test AgentSearchRequest""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_agent_search_sort.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_search_sort.py deleted file mode 100644 index dab9194f..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_search_sort.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_search_sort import AgentSearchSort - -class TestAgentSearchSort(unittest.TestCase): - """AgentSearchSort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentSearchSort: - """Test AgentSearchSort - include_option 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 `AgentSearchSort` - """ - model = AgentSearchSort() - if include_optional: - return AgentSearchSort( - sort = 'platform', - order = 'desc' - ) - else: - return AgentSearchSort( - ) - """ - - def testAgentSearchSort(self): - """Test AgentSearchSort""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_agent_search_sort_key.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_search_sort_key.py deleted file mode 100644 index a011f641..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_search_sort_key.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_search_sort_key import AgentSearchSortKey - -class TestAgentSearchSortKey(unittest.TestCase): - """AgentSearchSortKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAgentSearchSortKey(self): - """Test AgentSearchSortKey""" - # inst = AgentSearchSortKey() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_agent_threshold_filter.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_threshold_filter.py deleted file mode 100644 index f4343c11..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_threshold_filter.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_threshold_filter import AgentThresholdFilter - -class TestAgentThresholdFilter(unittest.TestCase): - """AgentThresholdFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentThresholdFilter: - """Test AgentThresholdFilter - include_option 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 `AgentThresholdFilter` - """ - model = AgentThresholdFilter() - if include_optional: - return AgentThresholdFilter( - name = 'last-seen-ms', - value = 1.337, - operator = 'gte' - ) - else: - return AgentThresholdFilter( - ) - """ - - def testAgentThresholdFilter(self): - """Test AgentThresholdFilter""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_agent_threshold_filters.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_threshold_filters.py deleted file mode 100644 index af6c98e7..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_threshold_filters.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_threshold_filters import AgentThresholdFilters - -class TestAgentThresholdFilters(unittest.TestCase): - """AgentThresholdFilters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentThresholdFilters: - """Test AgentThresholdFilters - include_option 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 `AgentThresholdFilters` - """ - model = AgentThresholdFilters() - if include_optional: - return AgentThresholdFilters( - filters = [ - thousandeyes_sdk.endpoint_agents.models.agent_threshold_filter.AgentThresholdFilter( - name = 'last-seen-ms', - value = 1.337, - operator = 'gte', ) - ], - conditional_operator = 'and' - ) - else: - return AgentThresholdFilters( - ) - """ - - def testAgentThresholdFilters(self): - """Test AgentThresholdFilters""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer.py deleted file mode 100644 index 802da918..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_transfer import AgentTransfer - -class TestAgentTransfer(unittest.TestCase): - """AgentTransfer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentTransfer: - """Test AgentTransfer - include_option 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 `AgentTransfer` - """ - model = AgentTransfer() - if include_optional: - return AgentTransfer( - agent_id = '5d0764ac-7e42-4ec8-a0d4-39fc53edccba', - from_aid = '1234', - to_aid = '1234' - ) - else: - return AgentTransfer( - ) - """ - - def testAgentTransfer(self): - """Test AgentTransfer""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer_request.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer_request.py deleted file mode 100644 index 4c5567a2..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_transfer_request import AgentTransferRequest - -class TestAgentTransferRequest(unittest.TestCase): - """AgentTransferRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentTransferRequest: - """Test AgentTransferRequest - include_option 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 `AgentTransferRequest` - """ - model = AgentTransferRequest() - if include_optional: - return AgentTransferRequest( - to_aid = '1234' - ) - else: - return AgentTransferRequest( - ) - """ - - def testAgentTransferRequest(self): - """Test AgentTransferRequest""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer_status.py b/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer_status.py deleted file mode 100644 index d14c7963..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_agent_transfer_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.agent_transfer_status import AgentTransferStatus - -class TestAgentTransferStatus(unittest.TestCase): - """AgentTransferStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentTransferStatus: - """Test AgentTransferStatus - include_option 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 `AgentTransferStatus` - """ - model = AgentTransferStatus() - if include_optional: - return AgentTransferStatus( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - request = {"agentId":"5d0764ac-7e42-4ec8-a0d4-39fc53edccba","fromAid":"1234","toAid":"12345"} - ) - else: - return AgentTransferStatus( - ) - """ - - def testAgentTransferStatus(self): - """Test AgentTransferStatus""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_browser_type.py b/thousandeyes-sdk-endpoint-agents/test/test_browser_type.py deleted file mode 100644 index d19363f7..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_browser_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.browser_type import BrowserType - -class TestBrowserType(unittest.TestCase): - """BrowserType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBrowserType(self): - """Test BrowserType""" - # inst = BrowserType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_bulk_agent_transfer_request.py b/thousandeyes-sdk-endpoint-agents/test/test_bulk_agent_transfer_request.py deleted file mode 100644 index 58120566..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_bulk_agent_transfer_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.bulk_agent_transfer_request import BulkAgentTransferRequest - -class TestBulkAgentTransferRequest(unittest.TestCase): - """BulkAgentTransferRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BulkAgentTransferRequest: - """Test BulkAgentTransferRequest - include_option 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 `BulkAgentTransferRequest` - """ - model = BulkAgentTransferRequest() - if include_optional: - return BulkAgentTransferRequest( - transfers = [ - {"agentId":"5d0764ac-7e42-4ec8-a0d4-39fc53edccba","fromAid":"1234","toAid":"12345"} - ] - ) - else: - return BulkAgentTransferRequest( - ) - """ - - def testBulkAgentTransferRequest(self): - """Test BulkAgentTransferRequest""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_bulk_agent_transfer_response.py b/thousandeyes-sdk-endpoint-agents/test/test_bulk_agent_transfer_response.py deleted file mode 100644 index 9997af2b..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_bulk_agent_transfer_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.bulk_agent_transfer_response import BulkAgentTransferResponse - -class TestBulkAgentTransferResponse(unittest.TestCase): - """BulkAgentTransferResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BulkAgentTransferResponse: - """Test BulkAgentTransferResponse - include_option 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 `BulkAgentTransferResponse` - """ - model = BulkAgentTransferResponse() - if include_optional: - return BulkAgentTransferResponse( - items = [{"status":200,"detail":"Initiated","request":{"agentId":"5d0764ac-7e42-4ec8-a0d4-39fc53edccba","fromAid":"1234","toAid":"12345"}},{"status":400,"detail":"Missing from-account id","request":{"agentId":"5d0764ac-7e42-4ec8-a0d5-39fc53ed1234","fromAid":"xxx","toAid":"12345"}},{"status":403,"detail":"User does not have permission on 'to' aid","request":{"agentId":"5d0764ac-7e42-4ec8-a0d5-39fc53ed7890","fromAid":"1234","toAid":"12345"}}] - ) - else: - return BulkAgentTransferResponse( - ) - """ - - def testBulkAgentTransferResponse(self): - """Test BulkAgentTransferResponse""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_conditional_operator.py b/thousandeyes-sdk-endpoint-agents/test/test_conditional_operator.py deleted file mode 100644 index bb5b9f6f..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_conditional_operator.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.conditional_operator import ConditionalOperator - -class TestConditionalOperator(unittest.TestCase): - """ConditionalOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testConditionalOperator(self): - """Test ConditionalOperator""" - # inst = ConditionalOperator() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_connection_string.py b/thousandeyes-sdk-endpoint-agents/test/test_connection_string.py deleted file mode 100644 index 73d4251d..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_connection_string.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.connection_string import ConnectionString - -class TestConnectionString(unittest.TestCase): - """ConnectionString unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ConnectionString: - """Test ConnectionString - include_option 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 `ConnectionString` - """ - model = ConnectionString() - if include_optional: - return ConnectionString( - connection_string = 'D2xZSLlqo64Xe2EnYisklA==', - links = thousandeyes_sdk.endpoint_agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ConnectionString( - ) - """ - - def testConnectionString(self): - """Test ConnectionString""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent.py deleted file mode 100644 index af9e31c3..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_agent import EndpointAgent - -class TestEndpointAgent(unittest.TestCase): - """EndpointAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgent: - """Test EndpointAgent - include_option 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 `EndpointAgent` - """ - model = EndpointAgent() - if include_optional: - return EndpointAgent( - id = '5d0764ac-7e42-4ec8-a0d4-39fc53edccba', - aid = None, - name = 'Office Printer', - computer_name = 'DESKJET-123', - os_version = 'Version 10.15.2 (Build 19C57)', - platform = 'mac', - kernel_version = 'Darwin 19.2.0', - manufacturer = 'Apple, Inc.', - model = 'MacBookAir7,2', - last_seen = '2022-05-26T23:37:16Z', - status = 'enabled', - deleted = True, - version = '0.123.4', - created_at = '2022-05-26T23:37:16Z', - number_of_clients = 3, - public_ip = '88.45.2.123', - location = thousandeyes_sdk.endpoint_agents.models.endpoint_agent_location.EndpointAgentLocation( - latitude = 51.51279, - longitude = -0.09184, - location_name = 'London', ), - clients = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_client.EndpointClient( - user_profile = thousandeyes_sdk.endpoint_agents.models.endpoint_user_profile.EndpointUserProfile( - user_name = 'joeblogs32', ), - browser_extensions = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_browser_extension.EndpointBrowserExtension( - browser = 'edge', - profile = 'Profile 1', - version = '0.123.0', - enabled = True, - active = True, - error = '', ) - ], ) - ], - total_memory = '16384 MB', - agent_type = 'endpoint', - vpn_profiles = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_vpn_profile.EndpointVpnProfile( - interface_name = '', - vpn_type = 'cisco-anyconnect', - vpn_gateway_address = '', - vpn_client_addresses = ["10.100.0.10"], - vpn_client_network_range = ["10.100.0.0/22"], ) - ], - network_interface_profiles = [ - thousandeyes_sdk.endpoint_agents.models.interface_profile.InterfaceProfile( - interface_name = 'en0', - address_profiles = [ - thousandeyes_sdk.endpoint_agents.models.address_profile.AddressProfile( - address_type = 'unique-local', - ip_address = '2001:db8:3333:4444:5555:6666:7777:8888', - prefix_length = 24, - gateway = '192.168.0.254', - router_hardware_address = '5c:b1:3e:46:1c:84', ) - ], - hardware_type = 'wireless', - ethernet_profile = thousandeyes_sdk.endpoint_agents.models.ethernet_profile.EthernetProfile( - link_speed = 56, ), - wireless_profile = thousandeyes_sdk.endpoint_agents.models.wireless_profile.WirelessProfile( - bssid = '00:11:22:aa:bb:cc', - ssid = 'GuestWiFi', - rssi = -36, - channel = 48, - phy_mode = '802.11ac', ), ) - ], - asn_details = thousandeyes_sdk.endpoint_agents.models.endpoint_asn_details.EndpointAsnDetails( - as_number = 5089, - as_name = 'Virgin Media Limited', ), - license_type = 'essentials', - tcp_driver_available = True, - npcap_version = '', - links = thousandeyes_sdk.endpoint_agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return EndpointAgent( - ) - """ - - def testEndpointAgent(self): - """Test EndpointAgent""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent_location.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent_location.py deleted file mode 100644 index 175bd737..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent_location.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_agent_location import EndpointAgentLocation - -class TestEndpointAgentLocation(unittest.TestCase): - """EndpointAgentLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentLocation: - """Test EndpointAgentLocation - include_option 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 `EndpointAgentLocation` - """ - model = EndpointAgentLocation() - if include_optional: - return EndpointAgentLocation( - latitude = 51.51279, - longitude = -0.09184, - location_name = 'London' - ) - else: - return EndpointAgentLocation( - ) - """ - - def testEndpointAgentLocation(self): - """Test EndpointAgentLocation""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent_update.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent_update.py deleted file mode 100644 index 3a4eebfb..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agent_update.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_agent_update import EndpointAgentUpdate - -class TestEndpointAgentUpdate(unittest.TestCase): - """EndpointAgentUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentUpdate: - """Test EndpointAgentUpdate - include_option 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 `EndpointAgentUpdate` - """ - model = EndpointAgentUpdate() - if include_optional: - return EndpointAgentUpdate( - name = 'Office Printer', - license_type = 'essentials' - ) - else: - return EndpointAgentUpdate( - ) - """ - - def testEndpointAgentUpdate(self): - """Test EndpointAgentUpdate""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agents.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agents.py deleted file mode 100644 index 72293af4..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_agents.py +++ /dev/null @@ -1,135 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_agents import EndpointAgents - -class TestEndpointAgents(unittest.TestCase): - """EndpointAgents unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgents: - """Test EndpointAgents - include_option 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 `EndpointAgents` - """ - model = EndpointAgents() - if include_optional: - return EndpointAgents( - total_agents = 1, - agents = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_agent.EndpointAgent( - id = '5d0764ac-7e42-4ec8-a0d4-39fc53edccba', - aid = null, - name = 'Office Printer', - computer_name = 'DESKJET-123', - os_version = 'Version 10.15.2 (Build 19C57)', - platform = 'mac', - kernel_version = 'Darwin 19.2.0', - manufacturer = 'Apple, Inc.', - model = 'MacBookAir7,2', - last_seen = '2022-05-26T23:37:16Z', - status = 'enabled', - deleted = True, - version = '0.123.4', - created_at = '2022-05-26T23:37:16Z', - number_of_clients = 3, - public_ip = '88.45.2.123', - location = thousandeyes_sdk.endpoint_agents.models.endpoint_agent_location.EndpointAgentLocation( - latitude = 51.51279, - longitude = -0.09184, - location_name = 'London', ), - clients = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_client.EndpointClient( - user_profile = thousandeyes_sdk.endpoint_agents.models.endpoint_user_profile.EndpointUserProfile( - user_name = 'joeblogs32', ), - browser_extensions = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_browser_extension.EndpointBrowserExtension( - browser = 'edge', - profile = 'Profile 1', - version = '0.123.0', - enabled = True, - active = True, - error = '', ) - ], ) - ], - total_memory = '16384 MB', - agent_type = 'endpoint', - vpn_profiles = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_vpn_profile.EndpointVpnProfile( - interface_name = '', - vpn_type = 'cisco-anyconnect', - vpn_gateway_address = '', - vpn_client_addresses = ["10.100.0.10"], - vpn_client_network_range = ["10.100.0.0/22"], ) - ], - network_interface_profiles = [ - thousandeyes_sdk.endpoint_agents.models.interface_profile.InterfaceProfile( - interface_name = 'en0', - address_profiles = [ - thousandeyes_sdk.endpoint_agents.models.address_profile.AddressProfile( - address_type = 'unique-local', - ip_address = '2001:db8:3333:4444:5555:6666:7777:8888', - prefix_length = 24, - gateway = '192.168.0.254', - router_hardware_address = '5c:b1:3e:46:1c:84', ) - ], - hardware_type = 'wireless', - ethernet_profile = thousandeyes_sdk.endpoint_agents.models.ethernet_profile.EthernetProfile( - link_speed = 56, ), - wireless_profile = thousandeyes_sdk.endpoint_agents.models.wireless_profile.WirelessProfile( - bssid = '00:11:22:aa:bb:cc', - ssid = 'GuestWiFi', - rssi = -36, - channel = 48, - phy_mode = '802.11ac', ), ) - ], - asn_details = thousandeyes_sdk.endpoint_agents.models.endpoint_asn_details.EndpointAsnDetails( - as_number = 5089, - as_name = 'Virgin Media Limited', ), - license_type = 'essentials', - tcp_driver_available = True, - npcap_version = '', - _links = thousandeyes_sdk.endpoint_agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), ) - ] - ) - else: - return EndpointAgents( - ) - """ - - def testEndpointAgents(self): - """Test EndpointAgents""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_asn_details.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_asn_details.py deleted file mode 100644 index 56185c0a..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_asn_details.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_asn_details import EndpointAsnDetails - -class TestEndpointAsnDetails(unittest.TestCase): - """EndpointAsnDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAsnDetails: - """Test EndpointAsnDetails - include_option 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 `EndpointAsnDetails` - """ - model = EndpointAsnDetails() - if include_optional: - return EndpointAsnDetails( - as_number = 5089, - as_name = 'Virgin Media Limited' - ) - else: - return EndpointAsnDetails( - as_number = 5089, - ) - """ - - def testEndpointAsnDetails(self): - """Test EndpointAsnDetails""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_browser_extension.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_browser_extension.py deleted file mode 100644 index f9496b18..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_browser_extension.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_browser_extension import EndpointBrowserExtension - -class TestEndpointBrowserExtension(unittest.TestCase): - """EndpointBrowserExtension unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointBrowserExtension: - """Test EndpointBrowserExtension - include_option 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 `EndpointBrowserExtension` - """ - model = EndpointBrowserExtension() - if include_optional: - return EndpointBrowserExtension( - browser = 'edge', - profile = 'Profile 1', - version = '0.123.0', - enabled = True, - active = True, - error = '' - ) - else: - return EndpointBrowserExtension( - ) - """ - - def testEndpointBrowserExtension(self): - """Test EndpointBrowserExtension""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_client.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_client.py deleted file mode 100644 index 648802f2..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_client.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_client import EndpointClient - -class TestEndpointClient(unittest.TestCase): - """EndpointClient unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointClient: - """Test EndpointClient - include_option 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 `EndpointClient` - """ - model = EndpointClient() - if include_optional: - return EndpointClient( - user_profile = thousandeyes_sdk.endpoint_agents.models.endpoint_user_profile.EndpointUserProfile( - user_name = 'joeblogs32', ), - browser_extensions = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_browser_extension.EndpointBrowserExtension( - browser = 'edge', - profile = 'Profile 1', - version = '0.123.0', - enabled = True, - active = True, - error = '', ) - ] - ) - else: - return EndpointClient( - ) - """ - - def testEndpointClient(self): - """Test EndpointClient""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_user_profile.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_user_profile.py deleted file mode 100644 index a0462846..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_user_profile.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_user_profile import EndpointUserProfile - -class TestEndpointUserProfile(unittest.TestCase): - """EndpointUserProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointUserProfile: - """Test EndpointUserProfile - include_option 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 `EndpointUserProfile` - """ - model = EndpointUserProfile() - if include_optional: - return EndpointUserProfile( - user_name = 'joeblogs32' - ) - else: - return EndpointUserProfile( - user_name = 'joeblogs32', - ) - """ - - def testEndpointUserProfile(self): - """Test EndpointUserProfile""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_endpoint_vpn_profile.py b/thousandeyes-sdk-endpoint-agents/test/test_endpoint_vpn_profile.py deleted file mode 100644 index 9f943d17..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_endpoint_vpn_profile.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.endpoint_vpn_profile import EndpointVpnProfile - -class TestEndpointVpnProfile(unittest.TestCase): - """EndpointVpnProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointVpnProfile: - """Test EndpointVpnProfile - include_option 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 `EndpointVpnProfile` - """ - model = EndpointVpnProfile() - if include_optional: - return EndpointVpnProfile( - interface_name = '', - vpn_type = 'cisco-anyconnect', - vpn_gateway_address = '', - vpn_client_addresses = ["10.100.0.10"], - vpn_client_network_range = ["10.100.0.0/22"] - ) - else: - return EndpointVpnProfile( - vpn_client_addresses = ["10.100.0.10"], - vpn_client_network_range = ["10.100.0.0/22"], - ) - """ - - def testEndpointVpnProfile(self): - """Test EndpointVpnProfile""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_error.py b/thousandeyes-sdk-endpoint-agents/test/test_error.py deleted file mode 100644 index 5ea40e85..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_ethernet_profile.py b/thousandeyes-sdk-endpoint-agents/test/test_ethernet_profile.py deleted file mode 100644 index 20c88b60..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_ethernet_profile.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.ethernet_profile import EthernetProfile - -class TestEthernetProfile(unittest.TestCase): - """EthernetProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EthernetProfile: - """Test EthernetProfile - include_option 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 `EthernetProfile` - """ - model = EthernetProfile() - if include_optional: - return EthernetProfile( - link_speed = 56 - ) - else: - return EthernetProfile( - ) - """ - - def testEthernetProfile(self): - """Test EthernetProfile""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_expand.py b/thousandeyes-sdk-endpoint-agents/test/test_expand.py deleted file mode 100644 index 54235c97..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_filter_endpoint_agents_response.py b/thousandeyes-sdk-endpoint-agents/test/test_filter_endpoint_agents_response.py deleted file mode 100644 index 18617bff..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_filter_endpoint_agents_response.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.filter_endpoint_agents_response import FilterEndpointAgentsResponse - -class TestFilterEndpointAgentsResponse(unittest.TestCase): - """FilterEndpointAgentsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FilterEndpointAgentsResponse: - """Test FilterEndpointAgentsResponse - include_option 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 `FilterEndpointAgentsResponse` - """ - model = FilterEndpointAgentsResponse() - if include_optional: - return FilterEndpointAgentsResponse( - total_agents = 1, - agents = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_agent.EndpointAgent( - id = '5d0764ac-7e42-4ec8-a0d4-39fc53edccba', - aid = null, - name = 'Office Printer', - computer_name = 'DESKJET-123', - os_version = 'Version 10.15.2 (Build 19C57)', - platform = 'mac', - kernel_version = 'Darwin 19.2.0', - manufacturer = 'Apple, Inc.', - model = 'MacBookAir7,2', - last_seen = '2022-05-26T23:37:16Z', - status = 'enabled', - deleted = True, - version = '0.123.4', - created_at = '2022-05-26T23:37:16Z', - number_of_clients = 3, - public_ip = '88.45.2.123', - location = thousandeyes_sdk.endpoint_agents.models.endpoint_agent_location.EndpointAgentLocation( - latitude = 51.51279, - longitude = -0.09184, - location_name = 'London', ), - clients = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_client.EndpointClient( - user_profile = thousandeyes_sdk.endpoint_agents.models.endpoint_user_profile.EndpointUserProfile( - user_name = 'joeblogs32', ), - browser_extensions = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_browser_extension.EndpointBrowserExtension( - browser = 'edge', - profile = 'Profile 1', - version = '0.123.0', - enabled = True, - active = True, - error = '', ) - ], ) - ], - total_memory = '16384 MB', - agent_type = 'endpoint', - vpn_profiles = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_vpn_profile.EndpointVpnProfile( - interface_name = '', - vpn_type = 'cisco-anyconnect', - vpn_gateway_address = '', - vpn_client_addresses = ["10.100.0.10"], - vpn_client_network_range = ["10.100.0.0/22"], ) - ], - network_interface_profiles = [ - thousandeyes_sdk.endpoint_agents.models.interface_profile.InterfaceProfile( - interface_name = 'en0', - address_profiles = [ - thousandeyes_sdk.endpoint_agents.models.address_profile.AddressProfile( - address_type = 'unique-local', - ip_address = '2001:db8:3333:4444:5555:6666:7777:8888', - prefix_length = 24, - gateway = '192.168.0.254', - router_hardware_address = '5c:b1:3e:46:1c:84', ) - ], - hardware_type = 'wireless', - ethernet_profile = thousandeyes_sdk.endpoint_agents.models.ethernet_profile.EthernetProfile( - link_speed = 56, ), - wireless_profile = thousandeyes_sdk.endpoint_agents.models.wireless_profile.WirelessProfile( - bssid = '00:11:22:aa:bb:cc', - ssid = 'GuestWiFi', - rssi = -36, - channel = 48, - phy_mode = '802.11ac', ), ) - ], - asn_details = thousandeyes_sdk.endpoint_agents.models.endpoint_asn_details.EndpointAsnDetails( - as_number = 5089, - as_name = 'Virgin Media Limited', ), - license_type = 'essentials', - tcp_driver_available = True, - npcap_version = '', - _links = thousandeyes_sdk.endpoint_agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), ) - ], - links = thousandeyes_sdk.endpoint_agents.models.pagination_next_link.PaginationNextLink( - next = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return FilterEndpointAgentsResponse( - ) - """ - - def testFilterEndpointAgentsResponse(self): - """Test FilterEndpointAgentsResponse""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_interface_hardware_type.py b/thousandeyes-sdk-endpoint-agents/test/test_interface_hardware_type.py deleted file mode 100644 index 125a2f97..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_interface_hardware_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.interface_hardware_type import InterfaceHardwareType - -class TestInterfaceHardwareType(unittest.TestCase): - """InterfaceHardwareType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInterfaceHardwareType(self): - """Test InterfaceHardwareType""" - # inst = InterfaceHardwareType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_interface_profile.py b/thousandeyes-sdk-endpoint-agents/test/test_interface_profile.py deleted file mode 100644 index 0ae251e4..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_interface_profile.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.interface_profile import InterfaceProfile - -class TestInterfaceProfile(unittest.TestCase): - """InterfaceProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InterfaceProfile: - """Test InterfaceProfile - include_option 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 `InterfaceProfile` - """ - model = InterfaceProfile() - if include_optional: - return InterfaceProfile( - interface_name = 'en0', - address_profiles = [ - thousandeyes_sdk.endpoint_agents.models.address_profile.AddressProfile( - address_type = 'unique-local', - ip_address = '2001:db8:3333:4444:5555:6666:7777:8888', - prefix_length = 24, - gateway = '192.168.0.254', - router_hardware_address = '5c:b1:3e:46:1c:84', ) - ], - hardware_type = 'wireless', - ethernet_profile = thousandeyes_sdk.endpoint_agents.models.ethernet_profile.EthernetProfile( - link_speed = 56, ), - wireless_profile = thousandeyes_sdk.endpoint_agents.models.wireless_profile.WirelessProfile( - bssid = '00:11:22:aa:bb:cc', - ssid = 'GuestWiFi', - rssi = -36, - channel = 48, - phy_mode = '802.11ac', ) - ) - else: - return InterfaceProfile( - ) - """ - - def testInterfaceProfile(self): - """Test InterfaceProfile""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_link.py b/thousandeyes-sdk-endpoint-agents/test/test_link.py deleted file mode 100644 index d3fbee61..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_list_endpoint_agents_response.py b/thousandeyes-sdk-endpoint-agents/test/test_list_endpoint_agents_response.py deleted file mode 100644 index 3abe84fa..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_list_endpoint_agents_response.py +++ /dev/null @@ -1,154 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.list_endpoint_agents_response import ListEndpointAgentsResponse - -class TestListEndpointAgentsResponse(unittest.TestCase): - """ListEndpointAgentsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ListEndpointAgentsResponse: - """Test ListEndpointAgentsResponse - include_option 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 `ListEndpointAgentsResponse` - """ - model = ListEndpointAgentsResponse() - if include_optional: - return ListEndpointAgentsResponse( - total_agents = 1, - agents = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_agent.EndpointAgent( - id = '5d0764ac-7e42-4ec8-a0d4-39fc53edccba', - aid = null, - name = 'Office Printer', - computer_name = 'DESKJET-123', - os_version = 'Version 10.15.2 (Build 19C57)', - platform = 'mac', - kernel_version = 'Darwin 19.2.0', - manufacturer = 'Apple, Inc.', - model = 'MacBookAir7,2', - last_seen = '2022-05-26T23:37:16Z', - status = 'enabled', - deleted = True, - version = '0.123.4', - created_at = '2022-05-26T23:37:16Z', - number_of_clients = 3, - public_ip = '88.45.2.123', - location = thousandeyes_sdk.endpoint_agents.models.endpoint_agent_location.EndpointAgentLocation( - latitude = 51.51279, - longitude = -0.09184, - location_name = 'London', ), - clients = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_client.EndpointClient( - user_profile = thousandeyes_sdk.endpoint_agents.models.endpoint_user_profile.EndpointUserProfile( - user_name = 'joeblogs32', ), - browser_extensions = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_browser_extension.EndpointBrowserExtension( - browser = 'edge', - profile = 'Profile 1', - version = '0.123.0', - enabled = True, - active = True, - error = '', ) - ], ) - ], - total_memory = '16384 MB', - agent_type = 'endpoint', - vpn_profiles = [ - thousandeyes_sdk.endpoint_agents.models.endpoint_vpn_profile.EndpointVpnProfile( - interface_name = '', - vpn_type = 'cisco-anyconnect', - vpn_gateway_address = '', - vpn_client_addresses = ["10.100.0.10"], - vpn_client_network_range = ["10.100.0.0/22"], ) - ], - network_interface_profiles = [ - thousandeyes_sdk.endpoint_agents.models.interface_profile.InterfaceProfile( - interface_name = 'en0', - address_profiles = [ - thousandeyes_sdk.endpoint_agents.models.address_profile.AddressProfile( - address_type = 'unique-local', - ip_address = '2001:db8:3333:4444:5555:6666:7777:8888', - prefix_length = 24, - gateway = '192.168.0.254', - router_hardware_address = '5c:b1:3e:46:1c:84', ) - ], - hardware_type = 'wireless', - ethernet_profile = thousandeyes_sdk.endpoint_agents.models.ethernet_profile.EthernetProfile( - link_speed = 56, ), - wireless_profile = thousandeyes_sdk.endpoint_agents.models.wireless_profile.WirelessProfile( - bssid = '00:11:22:aa:bb:cc', - ssid = 'GuestWiFi', - rssi = -36, - channel = 48, - phy_mode = '802.11ac', ), ) - ], - asn_details = thousandeyes_sdk.endpoint_agents.models.endpoint_asn_details.EndpointAsnDetails( - as_number = 5089, - as_name = 'Virgin Media Limited', ), - license_type = 'essentials', - tcp_driver_available = True, - npcap_version = '', - _links = thousandeyes_sdk.endpoint_agents.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), ) - ], - links = thousandeyes_sdk.endpoint_agents.models.pagination_next_and_self_link.PaginationNextAndSelfLink( - next = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ListEndpointAgentsResponse( - ) - """ - - def testListEndpointAgentsResponse(self): - """Test ListEndpointAgentsResponse""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_pagination_next_and_self_link.py b/thousandeyes-sdk-endpoint-agents/test/test_pagination_next_and_self_link.py deleted file mode 100644 index 5878e394..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_pagination_next_and_self_link.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.pagination_next_and_self_link import PaginationNextAndSelfLink - -class TestPaginationNextAndSelfLink(unittest.TestCase): - """PaginationNextAndSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationNextAndSelfLink: - """Test PaginationNextAndSelfLink - include_option 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 `PaginationNextAndSelfLink` - """ - model = PaginationNextAndSelfLink() - if include_optional: - return PaginationNextAndSelfLink( - next = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationNextAndSelfLink( - ) - """ - - def testPaginationNextAndSelfLink(self): - """Test PaginationNextAndSelfLink""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_pagination_next_link.py b/thousandeyes-sdk-endpoint-agents/test/test_pagination_next_link.py deleted file mode 100644 index 22a016b6..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_pagination_next_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.pagination_next_link import PaginationNextLink - -class TestPaginationNextLink(unittest.TestCase): - """PaginationNextLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationNextLink: - """Test PaginationNextLink - include_option 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 `PaginationNextLink` - """ - model = PaginationNextLink() - if include_optional: - return PaginationNextLink( - next = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationNextLink( - ) - """ - - def testPaginationNextLink(self): - """Test PaginationNextLink""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_platform.py b/thousandeyes-sdk-endpoint-agents/test/test_platform.py deleted file mode 100644 index 96a1d4ac..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_platform.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.platform import Platform - -class TestPlatform(unittest.TestCase): - """Platform unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPlatform(self): - """Test Platform""" - # inst = Platform() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_self_links.py b/thousandeyes-sdk-endpoint-agents/test/test_self_links.py deleted file mode 100644 index c9665bb7..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.endpoint_agents.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_sort_order.py b/thousandeyes-sdk-endpoint-agents/test/test_sort_order.py deleted file mode 100644 index 6aa6d7bd..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_sort_order.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.sort_order import SortOrder - -class TestSortOrder(unittest.TestCase): - """SortOrder unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortOrder(self): - """Test SortOrder""" - # inst = SortOrder() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_status.py b/thousandeyes-sdk-endpoint-agents/test/test_status.py deleted file mode 100644 index 971da422..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_status.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.status import Status - -class TestStatus(unittest.TestCase): - """Status unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatus(self): - """Test Status""" - # inst = Status() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_threshold_filter_operator.py b/thousandeyes-sdk-endpoint-agents/test/test_threshold_filter_operator.py deleted file mode 100644 index ffe003d1..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_threshold_filter_operator.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.threshold_filter_operator import ThresholdFilterOperator - -class TestThresholdFilterOperator(unittest.TestCase): - """ThresholdFilterOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testThresholdFilterOperator(self): - """Test ThresholdFilterOperator""" - # inst = ThresholdFilterOperator() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_unauthorized_error.py b/thousandeyes-sdk-endpoint-agents/test/test_unauthorized_error.py deleted file mode 100644 index af703b79..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_validation_error.py b/thousandeyes-sdk-endpoint-agents/test/test_validation_error.py deleted file mode 100644 index 31aaffe2..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.endpoint_agents.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_validation_error_item.py b/thousandeyes-sdk-endpoint-agents/test/test_validation_error_item.py deleted file mode 100644 index 5ea351ae..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-endpoint-agents/test/test_vpn_type.py b/thousandeyes-sdk-endpoint-agents/test/test_vpn_type.py deleted file mode 100644 index 3124ef10..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_vpn_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.vpn_type import VpnType - -class TestVpnType(unittest.TestCase): - """VpnType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVpnType(self): - """Test VpnType""" - # inst = VpnType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-agents/test/test_wireless_profile.py b/thousandeyes-sdk-endpoint-agents/test/test_wireless_profile.py deleted file mode 100644 index e673f8f8..00000000 --- a/thousandeyes-sdk-endpoint-agents/test/test_wireless_profile.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agents API - - Manage ThousandEyes Endpoint Agents using this API. For more information about Endpoint Agents, see [Endpoint Agents](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_agents.models.wireless_profile import WirelessProfile - -class TestWirelessProfile(unittest.TestCase): - """WirelessProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WirelessProfile: - """Test WirelessProfile - include_option 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 `WirelessProfile` - """ - model = WirelessProfile() - if include_optional: - return WirelessProfile( - bssid = '00:11:22:aa:bb:cc', - ssid = 'GuestWiFi', - rssi = -36, - channel = 48, - phy_mode = '802.11ac' - ) - else: - return WirelessProfile( - ) - """ - - def testWirelessProfile(self): - """Test WirelessProfile""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_direction.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_direction.py deleted file mode 100644 index c5b1a4c9..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.alert_direction import AlertDirection - -class TestAlertDirection(unittest.TestCase): - """AlertDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertDirection(self): - """Test AlertDirection""" - # inst = AlertDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_rounds_violation_mode.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_rounds_violation_mode.py deleted file mode 100644 index b52da750..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_rounds_violation_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.alert_rounds_violation_mode import AlertRoundsViolationMode - -class TestAlertRoundsViolationMode(unittest.TestCase): - """AlertRoundsViolationMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertRoundsViolationMode(self): - """Test AlertRoundsViolationMode""" - # inst = AlertRoundsViolationMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_rule.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_rule.py deleted file mode 100644 index 5adeb960..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_rule.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.alert_rule import AlertRule - -class TestAlertRule(unittest.TestCase): - """AlertRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertRule: - """Test AlertRule - include_option 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 `AlertRule` - """ - model = AlertRule() - if include_optional: - return AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major' - ) - else: - return AlertRule( - ) - """ - - def testAlertRule(self): - """Test AlertRule""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_type.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_type.py deleted file mode 100644 index 2505e74d..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_alert_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.alert_type import AlertType - -class TestAlertType(unittest.TestCase): - """AlertType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertType(self): - """Test AlertType""" - # inst = AlertType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_labels_selector_config.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_labels_selector_config.py deleted file mode 100644 index f3113547..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_labels_selector_config.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_labels_selector_config import EndpointAgentLabelsSelectorConfig - -class TestEndpointAgentLabelsSelectorConfig(unittest.TestCase): - """EndpointAgentLabelsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentLabelsSelectorConfig: - """Test EndpointAgentLabelsSelectorConfig - include_option 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 `EndpointAgentLabelsSelectorConfig` - """ - model = EndpointAgentLabelsSelectorConfig() - if include_optional: - return EndpointAgentLabelsSelectorConfig( - agent_selector_type = 'agent-labels', - max_machines = 10, - endpoint_agent_labels = ["567","214"] - ) - else: - return EndpointAgentLabelsSelectorConfig( - agent_selector_type = 'agent-labels', - ) - """ - - def testEndpointAgentLabelsSelectorConfig(self): - """Test EndpointAgentLabelsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_selector_config.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_selector_config.py deleted file mode 100644 index 9aa05560..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_selector_config.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig - -class TestEndpointAgentSelectorConfig(unittest.TestCase): - """EndpointAgentSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentSelectorConfig: - """Test EndpointAgentSelectorConfig - include_option 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 `EndpointAgentSelectorConfig` - """ - model = EndpointAgentSelectorConfig() - if include_optional: - return EndpointAgentSelectorConfig( - agent_selector_type = 'specific-agents', - max_machines = 10, - endpoint_agent_labels = ["567","214"], - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"] - ) - else: - return EndpointAgentSelectorConfig( - agent_selector_type = 'specific-agents', - ) - """ - - def testEndpointAgentSelectorConfig(self): - """Test EndpointAgentSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_to_server_instant_test.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_to_server_instant_test.py deleted file mode 100644 index b417cd5d..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_to_server_instant_test.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_to_server_instant_test import EndpointAgentToServerInstantTest - -class TestEndpointAgentToServerInstantTest(unittest.TestCase): - """EndpointAgentToServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentToServerInstantTest: - """Test EndpointAgentToServerInstantTest - include_option 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 `EndpointAgentToServerInstantTest` - """ - model = EndpointAgentToServerInstantTest() - if include_optional: - return EndpointAgentToServerInstantTest( - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - has_ping = True, - has_traceroute = True, - endpoint_agent_labels = ["567","214"], - max_machines = 10, - port = 80, - test_name = 'Test name', - server_name = 'www.example.com' - ) - else: - return EndpointAgentToServerInstantTest( - agent_selector_type = 'all-agents', - max_machines = 10, - test_name = 'Test name', - server_name = 'www.example.com', - ) - """ - - def testEndpointAgentToServerInstantTest(self): - """Test EndpointAgentToServerInstantTest""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_to_server_test.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_to_server_test.py deleted file mode 100644 index 447a00fb..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_agent_to_server_test.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_to_server_test import EndpointAgentToServerTest - -class TestEndpointAgentToServerTest(unittest.TestCase): - """EndpointAgentToServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentToServerTest: - """Test EndpointAgentToServerTest - include_option 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 `EndpointAgentToServerTest` - """ - model = EndpointAgentToServerTest() - if include_optional: - return EndpointAgentToServerTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'agent-to-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_instant_tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ] - ) - else: - return EndpointAgentToServerTest( - type = 'agent-to-server', - ) - """ - - def testEndpointAgentToServerTest(self): - """Test EndpointAgentToServerTest""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_all_agents_selector_config.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_all_agents_selector_config.py deleted file mode 100644 index 01ecb270..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_all_agents_selector_config.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_all_agents_selector_config import EndpointAllAgentsSelectorConfig - -class TestEndpointAllAgentsSelectorConfig(unittest.TestCase): - """EndpointAllAgentsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAllAgentsSelectorConfig: - """Test EndpointAllAgentsSelectorConfig - include_option 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 `EndpointAllAgentsSelectorConfig` - """ - model = EndpointAllAgentsSelectorConfig() - if include_optional: - return EndpointAllAgentsSelectorConfig( - agent_selector_type = 'all-agents', - max_machines = 10 - ) - else: - return EndpointAllAgentsSelectorConfig( - agent_selector_type = 'all-agents', - ) - """ - - def testEndpointAllAgentsSelectorConfig(self): - """Test EndpointAllAgentsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_base_test.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_base_test.py deleted file mode 100644 index 1778b545..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_base_test.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_base_test import EndpointHttpServerBaseTest - -class TestEndpointHttpServerBaseTest(unittest.TestCase): - """EndpointHttpServerBaseTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerBaseTest: - """Test EndpointHttpServerBaseTest - include_option 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 `EndpointHttpServerBaseTest` - """ - model = EndpointHttpServerBaseTest() - if include_optional: - return EndpointHttpServerBaseTest( - auth_type = 'none', - has_path_trace_in_session = True, - http_time_limit = 5000, - protocol = 'icmp', - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - tcp_probe_mode = 'auto', - verify_certificate = False - ) - else: - return EndpointHttpServerBaseTest( - ) - """ - - def testEndpointHttpServerBaseTest(self): - """Test EndpointHttpServerBaseTest""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_instant_test.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_instant_test.py deleted file mode 100644 index d2fada90..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_instant_test.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_instant_test import EndpointHttpServerInstantTest - -class TestEndpointHttpServerInstantTest(unittest.TestCase): - """EndpointHttpServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerInstantTest: - """Test EndpointHttpServerInstantTest - include_option 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 `EndpointHttpServerInstantTest` - """ - model = EndpointHttpServerInstantTest() - if include_optional: - return EndpointHttpServerInstantTest( - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - has_ping = True, - has_traceroute = True, - endpoint_agent_labels = ["567","214"], - max_machines = 10, - port = 80, - test_name = 'Test name', - auth_type = 'none', - has_path_trace_in_session = True, - http_time_limit = 5000, - protocol = 'icmp', - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - tcp_probe_mode = 'auto', - verify_certificate = False, - target_response_time = 1000, - password = 'password' - ) - else: - return EndpointHttpServerInstantTest( - agent_selector_type = 'all-agents', - max_machines = 10, - test_name = 'Test name', - http_time_limit = 5000, - url = 'www.example.com', - ssl_version_id = '0', - verify_certificate = False, - target_response_time = 1000, - ) - """ - - def testEndpointHttpServerInstantTest(self): - """Test EndpointHttpServerInstantTest""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_test.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_test.py deleted file mode 100644 index 21c58ebe..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_http_server_test.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_test import EndpointHttpServerTest - -class TestEndpointHttpServerTest(unittest.TestCase): - """EndpointHttpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerTest: - """Test EndpointHttpServerTest - include_option 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 `EndpointHttpServerTest` - """ - model = EndpointHttpServerTest() - if include_optional: - return EndpointHttpServerTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'http-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_instant_tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - auth_type = 'none', - http_time_limit = 5000, - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - verify_certificate = False, - content_regex = '(regex)+', - follow_redirects = True, - http_target_time = 100, - http_version = 1, - post_body = 'body', - ssl_version = 'Auto', - use_ntlm = False, - user_agent = 'curl', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ] - ) - else: - return EndpointHttpServerTest( - type = 'http-server', - ) - """ - - def testEndpointHttpServerTest(self): - """Test EndpointHttpServerTest""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_instant_test.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_instant_test.py deleted file mode 100644 index fe49581f..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_instant_test.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_instant_test import EndpointInstantTest - -class TestEndpointInstantTest(unittest.TestCase): - """EndpointInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointInstantTest: - """Test EndpointInstantTest - include_option 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 `EndpointInstantTest` - """ - model = EndpointInstantTest() - if include_optional: - return EndpointInstantTest( - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - has_ping = True, - has_traceroute = True, - endpoint_agent_labels = ["567","214"], - max_machines = 10, - port = 80, - test_name = 'Test name' - ) - else: - return EndpointInstantTest( - agent_selector_type = 'all-agents', - max_machines = 10, - test_name = 'Test name', - ) - """ - - def testEndpointInstantTest(self): - """Test EndpointInstantTest""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_scheduled_test_type.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_scheduled_test_type.py deleted file mode 100644 index 2e474d3e..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_scheduled_test_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_scheduled_test_type import EndpointScheduledTestType - -class TestEndpointScheduledTestType(unittest.TestCase): - """EndpointScheduledTestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointScheduledTestType(self): - """Test EndpointScheduledTestType""" - # inst = EndpointScheduledTestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_specific_agents_selector_config.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_specific_agents_selector_config.py deleted file mode 100644 index fd6ee89f..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_specific_agents_selector_config.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_specific_agents_selector_config import EndpointSpecificAgentsSelectorConfig - -class TestEndpointSpecificAgentsSelectorConfig(unittest.TestCase): - """EndpointSpecificAgentsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointSpecificAgentsSelectorConfig: - """Test EndpointSpecificAgentsSelectorConfig - include_option 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 `EndpointSpecificAgentsSelectorConfig` - """ - model = EndpointSpecificAgentsSelectorConfig() - if include_optional: - return EndpointSpecificAgentsSelectorConfig( - agent_selector_type = 'specific-agents', - max_machines = 10, - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"] - ) - else: - return EndpointSpecificAgentsSelectorConfig( - agent_selector_type = 'specific-agents', - ) - """ - - def testEndpointSpecificAgentsSelectorConfig(self): - """Test EndpointSpecificAgentsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test.py deleted file mode 100644 index c776a4a6..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test import EndpointTest - -class TestEndpointTest(unittest.TestCase): - """EndpointTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTest: - """Test EndpointTest - include_option 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 `EndpointTest` - """ - model = EndpointTest() - if include_optional: - return EndpointTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'agent-to-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_instant_tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ] - ) - else: - return EndpointTest( - type = 'agent-to-server', - ) - """ - - def testEndpointTest(self): - """Test EndpointTest""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_agent_selector_type.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_agent_selector_type.py deleted file mode 100644 index 76fbd0a6..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_agent_selector_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_agent_selector_type import EndpointTestAgentSelectorType - -class TestEndpointTestAgentSelectorType(unittest.TestCase): - """EndpointTestAgentSelectorType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointTestAgentSelectorType(self): - """Test EndpointTestAgentSelectorType""" - # inst = EndpointTestAgentSelectorType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_auth_type.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_auth_type.py deleted file mode 100644 index 5abfa33b..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_auth_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_auth_type import EndpointTestAuthType - -class TestEndpointTestAuthType(unittest.TestCase): - """EndpointTestAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointTestAuthType(self): - """Test EndpointTestAuthType""" - # inst = EndpointTestAuthType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_links.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_links.py deleted file mode 100644 index 64db47bf..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_links import EndpointTestLinks - -class TestEndpointTestLinks(unittest.TestCase): - """EndpointTestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTestLinks: - """Test EndpointTestLinks - include_option 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 `EndpointTestLinks` - """ - model = EndpointTestLinks() - if include_optional: - return EndpointTestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}] - ) - else: - return EndpointTestLinks( - ) - """ - - def testEndpointTestLinks(self): - """Test EndpointTestLinks""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_protocol.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_protocol.py deleted file mode 100644 index 12b71c20..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_protocol import EndpointTestProtocol - -class TestEndpointTestProtocol(unittest.TestCase): - """EndpointTestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointTestProtocol(self): - """Test EndpointTestProtocol""" - # inst = EndpointTestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_self_link.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_self_link.py deleted file mode 100644 index 7be38e1b..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_endpoint_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_test_self_link import EndpointTestSelfLink - -class TestEndpointTestSelfLink(unittest.TestCase): - """EndpointTestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTestSelfLink: - """Test EndpointTestSelfLink - include_option 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 `EndpointTestSelfLink` - """ - model = EndpointTestSelfLink() - if include_optional: - return EndpointTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return EndpointTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testEndpointTestSelfLink(self): - """Test EndpointTestSelfLink""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_error.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_error.py deleted file mode 100644 index 2de857a0..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_link.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_link.py deleted file mode 100644 index 17afd8b5..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_severity.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_severity.py deleted file mode 100644 index eece4d76..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_severity.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.severity import Severity - -class TestSeverity(unittest.TestCase): - """Severity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSeverity(self): - """Test Severity""" - # inst = Severity() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_test_interval.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_test_interval.py deleted file mode 100644 index f965af95..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_test_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.test_interval import TestInterval - -class TestTestInterval(unittest.TestCase): - """TestInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestInterval(self): - """Test TestInterval""" - # inst = TestInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_test_label.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_test_label.py deleted file mode 100644 index ebec2914..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_test_label.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.test_label import TestLabel - -class TestTestLabel(unittest.TestCase): - """TestLabel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLabel: - """Test TestLabel - include_option 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 `TestLabel` - """ - model = TestLabel() - if include_optional: - return TestLabel( - label_id = '', - name = '', - is_builtin = True - ) - else: - return TestLabel( - ) - """ - - def testTestLabel(self): - """Test TestLabel""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_test_probe_mode_response.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_test_probe_mode_response.py deleted file mode 100644 index 7dfdcb23..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_test_probe_mode_response.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.test_probe_mode_response import TestProbeModeResponse - -class TestTestProbeModeResponse(unittest.TestCase): - """TestProbeModeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProbeModeResponse(self): - """Test TestProbeModeResponse""" - # inst = TestProbeModeResponse() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_test_ssl_version_id.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_test_ssl_version_id.py deleted file mode 100644 index c5e6418e..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_test_ssl_version_id.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.test_ssl_version_id import TestSslVersionId - -class TestTestSslVersionId(unittest.TestCase): - """TestSslVersionId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestSslVersionId(self): - """Test TestSslVersionId""" - # inst = TestSslVersionId() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-instant-tests/test/test_unauthorized_error.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_unauthorized_error.py deleted file mode 100644 index 8ca3a4f5..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_validation_error.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_validation_error.py deleted file mode 100644 index d506f3bc..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.endpoint_instant_tests.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-endpoint-instant-tests/test/test_validation_error_item.py b/thousandeyes-sdk-endpoint-instant-tests/test/test_validation_error_item.py deleted file mode 100644 index cbd40ab0..00000000 --- a/thousandeyes-sdk-endpoint-instant-tests/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Instant Scheduled Tests API - - You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. The following applies to the Endpoint Instant Scheduled Tests API: * To initiate the creation and execution of an instant scheduled test, the user must possess the `Edit endpoint tests` permission. * Upon successful creation of an instant scheduled test, the API responds with an HTTP/201 CREATED status code and return the test definition. * It's important to note that the response does not include the results of the instant scheduled test. To retrieve test results, users can utilize the Endpoint Test Data endpoints. The URLs for these API test data endpoints are provided within the test definition output when an instant scheduled test is created. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_instant_tests.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_error.py b/thousandeyes-sdk-endpoint-labels/test/test_error.py deleted file mode 100644 index f44aa0a7..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_expand.py b/thousandeyes-sdk-endpoint-labels/test/test_expand.py deleted file mode 100644 index 990cea39..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-labels/test/test_filter.py b/thousandeyes-sdk-endpoint-labels/test/test_filter.py deleted file mode 100644 index 1bb6de8c..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_filter.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.filter import Filter - -class TestFilter(unittest.TestCase): - """Filter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Filter: - """Test Filter - include_option 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 `Filter` - """ - model = Filter() - if include_optional: - return Filter( - key = 'vpn-client-network', - values = ["10.1.1.0/24","192.168.1.0/24"], - mode = 'in' - ) - else: - return Filter( - ) - """ - - def testFilter(self): - """Test Filter""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_filter_type.py b/thousandeyes-sdk-endpoint-labels/test/test_filter_type.py deleted file mode 100644 index ef6a1df0..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_filter_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.filter_type import FilterType - -class TestFilterType(unittest.TestCase): - """FilterType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFilterType(self): - """Test FilterType""" - # inst = FilterType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-labels/test/test_label.py b/thousandeyes-sdk-endpoint-labels/test/test_label.py deleted file mode 100644 index 88c38dcf..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_label.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.label import Label - -class TestLabel(unittest.TestCase): - """Label unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Label: - """Test Label - include_option 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 `Label` - """ - model = Label() - if include_optional: - return Label( - id = 'abc-123-def', - name = 'Head office meeting rooms', - color = '#ff3333', - match_type = 'and', - filters = [ - thousandeyes_sdk.endpoint_labels.models.filter.Filter( - key = 'vpn-client-network', - values = ["10.1.1.0/24","192.168.1.0/24"], - mode = 'in', ) - ] - ) - else: - return Label( - ) - """ - - def testLabel(self): - """Test Label""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_label_filter_mode.py b/thousandeyes-sdk-endpoint-labels/test/test_label_filter_mode.py deleted file mode 100644 index e6eaea90..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_label_filter_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.label_filter_mode import LabelFilterMode - -class TestLabelFilterMode(unittest.TestCase): - """LabelFilterMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLabelFilterMode(self): - """Test LabelFilterMode""" - # inst = LabelFilterMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-labels/test/test_label_request.py b/thousandeyes-sdk-endpoint-labels/test/test_label_request.py deleted file mode 100644 index 3745fa8d..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_label_request.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.label_request import LabelRequest - -class TestLabelRequest(unittest.TestCase): - """LabelRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LabelRequest: - """Test LabelRequest - include_option 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 `LabelRequest` - """ - model = LabelRequest() - if include_optional: - return LabelRequest( - id = 'abc-123-def', - name = 'Head office meeting rooms', - color = '#ff3333', - match_type = 'and', - filters = [ - thousandeyes_sdk.endpoint_labels.models.filter.Filter( - key = 'vpn-client-network', - values = ["10.1.1.0/24","192.168.1.0/24"], - mode = 'in', ) - ] - ) - else: - return LabelRequest( - name = 'Head office meeting rooms', - match_type = 'and', - filters = [ - thousandeyes_sdk.endpoint_labels.models.filter.Filter( - key = 'vpn-client-network', - values = ["10.1.1.0/24","192.168.1.0/24"], - mode = 'in', ) - ], - ) - """ - - def testLabelRequest(self): - """Test LabelRequest""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_label_response.py b/thousandeyes-sdk-endpoint-labels/test/test_label_response.py deleted file mode 100644 index e4d0f048..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_label_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.label_response import LabelResponse - -class TestLabelResponse(unittest.TestCase): - """LabelResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LabelResponse: - """Test LabelResponse - include_option 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 `LabelResponse` - """ - model = LabelResponse() - if include_optional: - return LabelResponse( - id = 'abc-123-def', - name = 'Head office meeting rooms', - color = '#ff3333', - match_type = 'and', - filters = [ - thousandeyes_sdk.endpoint_labels.models.filter.Filter( - key = 'vpn-client-network', - values = ["10.1.1.0/24","192.168.1.0/24"], - mode = 'in', ) - ], - links = thousandeyes_sdk.endpoint_labels.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return LabelResponse( - ) - """ - - def testLabelResponse(self): - """Test LabelResponse""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_labels.py b/thousandeyes-sdk-endpoint-labels/test/test_labels.py deleted file mode 100644 index f1fcae30..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_labels.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.labels import Labels - -class TestLabels(unittest.TestCase): - """Labels unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Labels: - """Test Labels - include_option 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 `Labels` - """ - model = Labels() - if include_optional: - return Labels( - labels = [ - null - ], - links = thousandeyes_sdk.endpoint_labels.models.pagination_next_and_self_link.PaginationNextAndSelfLink( - next = thousandeyes_sdk.endpoint_labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = thousandeyes_sdk.endpoint_labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Labels( - ) - """ - - def testLabels(self): - """Test Labels""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_link.py b/thousandeyes-sdk-endpoint-labels/test/test_link.py deleted file mode 100644 index fe7238b5..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_match_type.py b/thousandeyes-sdk-endpoint-labels/test/test_match_type.py deleted file mode 100644 index 366a6930..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_match_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.match_type import MatchType - -class TestMatchType(unittest.TestCase): - """MatchType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMatchType(self): - """Test MatchType""" - # inst = MatchType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-labels/test/test_pagination_next_and_self_link.py b/thousandeyes-sdk-endpoint-labels/test/test_pagination_next_and_self_link.py deleted file mode 100644 index 6ceb7a2c..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_pagination_next_and_self_link.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.pagination_next_and_self_link import PaginationNextAndSelfLink - -class TestPaginationNextAndSelfLink(unittest.TestCase): - """PaginationNextAndSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationNextAndSelfLink: - """Test PaginationNextAndSelfLink - include_option 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 `PaginationNextAndSelfLink` - """ - model = PaginationNextAndSelfLink() - if include_optional: - return PaginationNextAndSelfLink( - next = thousandeyes_sdk.endpoint_labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.endpoint_labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationNextAndSelfLink( - ) - """ - - def testPaginationNextAndSelfLink(self): - """Test PaginationNextAndSelfLink""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_self_links.py b/thousandeyes-sdk-endpoint-labels/test/test_self_links.py deleted file mode 100644 index 4cd3d273..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.endpoint_labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_unauthorized_error.py b/thousandeyes-sdk-endpoint-labels/test/test_unauthorized_error.py deleted file mode 100644 index e6c52733..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_validation_error.py b/thousandeyes-sdk-endpoint-labels/test/test_validation_error.py deleted file mode 100644 index 094e1063..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.endpoint_labels.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-endpoint-labels/test/test_validation_error_item.py b/thousandeyes-sdk-endpoint-labels/test/test_validation_error_item.py deleted file mode 100644 index d5532a56..00000000 --- a/thousandeyes-sdk-endpoint-labels/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Agent Labels API - - Manage labels applied to endpoint agents using this API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_labels.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_alert_direction.py b/thousandeyes-sdk-endpoint-test-results/test/test_alert_direction.py deleted file mode 100644 index 5ec53b57..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_alert_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.alert_direction import AlertDirection - -class TestAlertDirection(unittest.TestCase): - """AlertDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertDirection(self): - """Test AlertDirection""" - # inst = AlertDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_alert_rounds_violation_mode.py b/thousandeyes-sdk-endpoint-test-results/test/test_alert_rounds_violation_mode.py deleted file mode 100644 index b810756f..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_alert_rounds_violation_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.alert_rounds_violation_mode import AlertRoundsViolationMode - -class TestAlertRoundsViolationMode(unittest.TestCase): - """AlertRoundsViolationMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertRoundsViolationMode(self): - """Test AlertRoundsViolationMode""" - # inst = AlertRoundsViolationMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_alert_rule.py b/thousandeyes-sdk-endpoint-test-results/test/test_alert_rule.py deleted file mode 100644 index ae1e8fde..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_alert_rule.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.alert_rule import AlertRule - -class TestAlertRule(unittest.TestCase): - """AlertRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertRule: - """Test AlertRule - include_option 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 `AlertRule` - """ - model = AlertRule() - if include_optional: - return AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major' - ) - else: - return AlertRule( - ) - """ - - def testAlertRule(self): - """Test AlertRule""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_alert_type.py b/thousandeyes-sdk-endpoint-test-results/test/test_alert_type.py deleted file mode 100644 index a8b78f85..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_alert_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.alert_type import AlertType - -class TestAlertType(unittest.TestCase): - """AlertType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertType(self): - """Test AlertType""" - # inst = AlertType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_application_score_quality.py b/thousandeyes-sdk-endpoint-test-results/test/test_application_score_quality.py deleted file mode 100644 index 1359430e..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_application_score_quality.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.application_score_quality import ApplicationScoreQuality - -class TestApplicationScoreQuality(unittest.TestCase): - """ApplicationScoreQuality unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApplicationScoreQuality(self): - """Test ApplicationScoreQuality""" - # inst = ApplicationScoreQuality() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_asn_details.py b/thousandeyes-sdk-endpoint-test-results/test/test_asn_details.py deleted file mode 100644 index a80c59f3..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_asn_details.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.asn_details import AsnDetails - -class TestAsnDetails(unittest.TestCase): - """AsnDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AsnDetails: - """Test AsnDetails - include_option 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 `AsnDetails` - """ - model = AsnDetails() - if include_optional: - return AsnDetails( - as_name = 'ThousandEyes, Inc', - as_number = 394101 - ) - else: - return AsnDetails( - ) - """ - - def testAsnDetails(self): - """Test AsnDetails""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_conditional_operator.py b/thousandeyes-sdk-endpoint-test-results/test/test_conditional_operator.py deleted file mode 100644 index d2241065..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_conditional_operator.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.conditional_operator import ConditionalOperator - -class TestConditionalOperator(unittest.TestCase): - """ConditionalOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testConditionalOperator(self): - """Test ConditionalOperator""" - # inst = ConditionalOperator() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_cpu_utilization.py b/thousandeyes-sdk-endpoint-test-results/test/test_cpu_utilization.py deleted file mode 100644 index 1edb2e37..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_cpu_utilization.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.cpu_utilization import CpuUtilization - -class TestCpuUtilization(unittest.TestCase): - """CpuUtilization unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CpuUtilization: - """Test CpuUtilization - include_option 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 `CpuUtilization` - """ - model = CpuUtilization() - if include_optional: - return CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150 - ) - else: - return CpuUtilization( - ) - """ - - def testCpuUtilization(self): - """Test CpuUtilization""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_base_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_base_test_result.py deleted file mode 100644 index 80839903..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_base_test_result.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.dynamic_base_test_result import DynamicBaseTestResult - -class TestDynamicBaseTestResult(unittest.TestCase): - """DynamicBaseTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicBaseTestResult: - """Test DynamicBaseTestResult - include_option 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 `DynamicBaseTestResult` - """ - model = DynamicBaseTestResult() - if include_optional: - return DynamicBaseTestResult( - application = 'webex', - webex = thousandeyes_sdk.endpoint_test_results.models.dynamic_test_webex.DynamicTestWebex( - conference_id = '225817074608419375', - correlation_id = '22581707460321454', - local_sip_session_id = '22581707460321454', - remote_sip_session_id = '22581707460321454', ) - ) - else: - return DynamicBaseTestResult( - ) - """ - - def testDynamicBaseTestResult(self): - """Test DynamicBaseTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test.py b/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test.py deleted file mode 100644 index 952963b0..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.dynamic_test import DynamicTest - -class TestDynamicTest(unittest.TestCase): - """DynamicTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTest: - """Test DynamicTest - include_option 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 `DynamicTest` - """ - model = DynamicTest() - if include_optional: - return DynamicTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_test_results.models.dynamic_test_links.DynamicTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - application = 'webex', - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - has_path_trace_in_session = True, - has_ping = True, - has_traceroute = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - protocol = 'icmp', - tcp_probe_mode = 'auto', - test_id = '281474976710706', - test_name = 'Test name', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ] - ) - else: - return DynamicTest( - ) - """ - - def testDynamicTest(self): - """Test DynamicTest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_links.py b/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_links.py deleted file mode 100644 index af4bf023..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.dynamic_test_links import DynamicTestLinks - -class TestDynamicTestLinks(unittest.TestCase): - """DynamicTestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTestLinks: - """Test DynamicTestLinks - include_option 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 `DynamicTestLinks` - """ - model = DynamicTestLinks() - if include_optional: - return DynamicTestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}] - ) - else: - return DynamicTestLinks( - ) - """ - - def testDynamicTestLinks(self): - """Test DynamicTestLinks""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_self_link.py b/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_self_link.py deleted file mode 100644 index cfa7a949..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.dynamic_test_self_link import DynamicTestSelfLink - -class TestDynamicTestSelfLink(unittest.TestCase): - """DynamicTestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTestSelfLink: - """Test DynamicTestSelfLink - include_option 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 `DynamicTestSelfLink` - """ - model = DynamicTestSelfLink() - if include_optional: - return DynamicTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return DynamicTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testDynamicTestSelfLink(self): - """Test DynamicTestSelfLink""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_webex.py b/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_webex.py deleted file mode 100644 index 9da21829..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_test_webex.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.dynamic_test_webex import DynamicTestWebex - -class TestDynamicTestWebex(unittest.TestCase): - """DynamicTestWebex unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTestWebex: - """Test DynamicTestWebex - include_option 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 `DynamicTestWebex` - """ - model = DynamicTestWebex() - if include_optional: - return DynamicTestWebex( - conference_id = '225817074608419375', - correlation_id = '22581707460321454', - local_sip_session_id = '22581707460321454', - remote_sip_session_id = '22581707460321454' - ) - else: - return DynamicTestWebex( - ) - """ - - def testDynamicTestWebex(self): - """Test DynamicTestWebex""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_tests_data_round_search.py b/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_tests_data_round_search.py deleted file mode 100644 index cb257359..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_tests_data_round_search.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.dynamic_tests_data_round_search import DynamicTestsDataRoundSearch - -class TestDynamicTestsDataRoundSearch(unittest.TestCase): - """DynamicTestsDataRoundSearch unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTestsDataRoundSearch: - """Test DynamicTestsDataRoundSearch - include_option 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 `DynamicTestsDataRoundSearch` - """ - model = DynamicTestsDataRoundSearch() - if include_optional: - return DynamicTestsDataRoundSearch( - search_sort = [ - thousandeyes_sdk.endpoint_test_results.models.tests_data_search_sort.TestsDataSearchSort( - sort = 'round-id', - order = 'desc', ) - ], - threshold_filter = thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filters.TestsDataThresholdFilters( - filters = [ - thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filter.TestsDataThresholdFilter( - name = 'loss', - value = 1.337, - operator = 'gte', ) - ], - conditional_operator = 'and', ), - search_filters = thousandeyes_sdk.endpoint_test_results.models.dynamic_tests_data_search_filter.DynamicTestsDataSearchFilter( - agent_id = [ - '52455b09-ff1b-4849-8194-99026cc890e0' - ], - webex_conference_id = [ - '52455b09-ff1b-4849-8194-99026cc890e0' - ], ) - ) - else: - return DynamicTestsDataRoundSearch( - ) - """ - - def testDynamicTestsDataRoundSearch(self): - """Test DynamicTestsDataRoundSearch""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_tests_data_search_filter.py b/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_tests_data_search_filter.py deleted file mode 100644 index c66660fc..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_dynamic_tests_data_search_filter.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.dynamic_tests_data_search_filter import DynamicTestsDataSearchFilter - -class TestDynamicTestsDataSearchFilter(unittest.TestCase): - """DynamicTestsDataSearchFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTestsDataSearchFilter: - """Test DynamicTestsDataSearchFilter - include_option 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 `DynamicTestsDataSearchFilter` - """ - model = DynamicTestsDataSearchFilter() - if include_optional: - return DynamicTestsDataSearchFilter( - agent_id = [ - '52455b09-ff1b-4849-8194-99026cc890e0' - ], - webex_conference_id = [ - '52455b09-ff1b-4849-8194-99026cc890e0' - ] - ) - else: - return DynamicTestsDataSearchFilter( - ) - """ - - def testDynamicTestsDataSearchFilter(self): - """Test DynamicTestsDataSearchFilter""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_labels_selector_config.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_labels_selector_config.py deleted file mode 100644 index 596d1480..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_labels_selector_config.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_labels_selector_config import EndpointAgentLabelsSelectorConfig - -class TestEndpointAgentLabelsSelectorConfig(unittest.TestCase): - """EndpointAgentLabelsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentLabelsSelectorConfig: - """Test EndpointAgentLabelsSelectorConfig - include_option 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 `EndpointAgentLabelsSelectorConfig` - """ - model = EndpointAgentLabelsSelectorConfig() - if include_optional: - return EndpointAgentLabelsSelectorConfig( - agent_selector_type = 'agent-labels', - max_machines = 10, - endpoint_agent_labels = ["567","214"] - ) - else: - return EndpointAgentLabelsSelectorConfig( - agent_selector_type = 'agent-labels', - ) - """ - - def testEndpointAgentLabelsSelectorConfig(self): - """Test EndpointAgentLabelsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_selector_config.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_selector_config.py deleted file mode 100644 index 6f48b082..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_selector_config.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig - -class TestEndpointAgentSelectorConfig(unittest.TestCase): - """EndpointAgentSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentSelectorConfig: - """Test EndpointAgentSelectorConfig - include_option 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 `EndpointAgentSelectorConfig` - """ - model = EndpointAgentSelectorConfig() - if include_optional: - return EndpointAgentSelectorConfig( - agent_selector_type = 'specific-agents', - max_machines = 10, - endpoint_agent_labels = ["567","214"], - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"] - ) - else: - return EndpointAgentSelectorConfig( - agent_selector_type = 'specific-agents', - ) - """ - - def testEndpointAgentSelectorConfig(self): - """Test EndpointAgentSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_to_server_test.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_to_server_test.py deleted file mode 100644 index dcf7532a..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_agent_to_server_test.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_to_server_test import EndpointAgentToServerTest - -class TestEndpointAgentToServerTest(unittest.TestCase): - """EndpointAgentToServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentToServerTest: - """Test EndpointAgentToServerTest - include_option 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 `EndpointAgentToServerTest` - """ - model = EndpointAgentToServerTest() - if include_optional: - return EndpointAgentToServerTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_test_results.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'agent-to-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_test_results.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ] - ) - else: - return EndpointAgentToServerTest( - type = 'agent-to-server', - ) - """ - - def testEndpointAgentToServerTest(self): - """Test EndpointAgentToServerTest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_all_agents_selector_config.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_all_agents_selector_config.py deleted file mode 100644 index 5b3f192e..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_all_agents_selector_config.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_all_agents_selector_config import EndpointAllAgentsSelectorConfig - -class TestEndpointAllAgentsSelectorConfig(unittest.TestCase): - """EndpointAllAgentsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAllAgentsSelectorConfig: - """Test EndpointAllAgentsSelectorConfig - include_option 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 `EndpointAllAgentsSelectorConfig` - """ - model = EndpointAllAgentsSelectorConfig() - if include_optional: - return EndpointAllAgentsSelectorConfig( - agent_selector_type = 'all-agents', - max_machines = 10 - ) - else: - return EndpointAllAgentsSelectorConfig( - agent_selector_type = 'all-agents', - ) - """ - - def testEndpointAllAgentsSelectorConfig(self): - """Test EndpointAllAgentsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_browser.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_browser.py deleted file mode 100644 index cf088fa4..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_browser.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_browser import EndpointBrowser - -class TestEndpointBrowser(unittest.TestCase): - """EndpointBrowser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointBrowser: - """Test EndpointBrowser - include_option 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 `EndpointBrowser` - """ - model = EndpointBrowser() - if include_optional: - return EndpointBrowser( - name = 'Google Chrome', - version = '116.0.0.0' - ) - else: - return EndpointBrowser( - ) - """ - - def testEndpointBrowser(self): - """Test EndpointBrowser""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_data_point_score.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_data_point_score.py deleted file mode 100644 index 9d26b5ba..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_data_point_score.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_data_point_score import EndpointHttpDataPointScore - -class TestEndpointHttpDataPointScore(unittest.TestCase): - """EndpointHttpDataPointScore unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpDataPointScore: - """Test EndpointHttpDataPointScore - include_option 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 `EndpointHttpDataPointScore` - """ - model = EndpointHttpDataPointScore() - if include_optional: - return EndpointHttpDataPointScore( - application_score = 1.337, - quality = 'great' - ) - else: - return EndpointHttpDataPointScore( - ) - """ - - def testEndpointHttpDataPointScore(self): - """Test EndpointHttpDataPointScore""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_server_base_test.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_server_base_test.py deleted file mode 100644 index d725ccf9..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_server_base_test.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_server_base_test import EndpointHttpServerBaseTest - -class TestEndpointHttpServerBaseTest(unittest.TestCase): - """EndpointHttpServerBaseTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerBaseTest: - """Test EndpointHttpServerBaseTest - include_option 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 `EndpointHttpServerBaseTest` - """ - model = EndpointHttpServerBaseTest() - if include_optional: - return EndpointHttpServerBaseTest( - auth_type = 'none', - has_path_trace_in_session = True, - http_time_limit = 5000, - protocol = 'icmp', - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - tcp_probe_mode = 'auto', - verify_certificate = False - ) - else: - return EndpointHttpServerBaseTest( - ) - """ - - def testEndpointHttpServerBaseTest(self): - """Test EndpointHttpServerBaseTest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_server_test.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_server_test.py deleted file mode 100644 index 359a6e0e..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_http_server_test.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_http_server_test import EndpointHttpServerTest - -class TestEndpointHttpServerTest(unittest.TestCase): - """EndpointHttpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerTest: - """Test EndpointHttpServerTest - include_option 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 `EndpointHttpServerTest` - """ - model = EndpointHttpServerTest() - if include_optional: - return EndpointHttpServerTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_test_results.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'http-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_test_results.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - auth_type = 'none', - http_time_limit = 5000, - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - verify_certificate = False, - content_regex = '(regex)+', - follow_redirects = True, - http_target_time = 100, - http_version = 1, - post_body = 'body', - ssl_version = 'Auto', - use_ntlm = False, - user_agent = 'curl', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ] - ) - else: - return EndpointHttpServerTest( - type = 'http-server', - ) - """ - - def testEndpointHttpServerTest(self): - """Test EndpointHttpServerTest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_network_topology_result_request.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_network_topology_result_request.py deleted file mode 100644 index 8b46707b..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_network_topology_result_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_network_topology_result_request import EndpointNetworkTopologyResultRequest - -class TestEndpointNetworkTopologyResultRequest(unittest.TestCase): - """EndpointNetworkTopologyResultRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointNetworkTopologyResultRequest: - """Test EndpointNetworkTopologyResultRequest - include_option 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 `EndpointNetworkTopologyResultRequest` - """ - model = EndpointNetworkTopologyResultRequest() - if include_optional: - return EndpointNetworkTopologyResultRequest( - search_filters = None - ) - else: - return EndpointNetworkTopologyResultRequest( - ) - """ - - def testEndpointNetworkTopologyResultRequest(self): - """Test EndpointNetworkTopologyResultRequest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_network_topology_result_request_filter.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_network_topology_result_request_filter.py deleted file mode 100644 index f55497d4..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_network_topology_result_request_filter.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_network_topology_result_request_filter import EndpointNetworkTopologyResultRequestFilter - -class TestEndpointNetworkTopologyResultRequestFilter(unittest.TestCase): - """EndpointNetworkTopologyResultRequestFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointNetworkTopologyResultRequestFilter: - """Test EndpointNetworkTopologyResultRequestFilter - include_option 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 `EndpointNetworkTopologyResultRequestFilter` - """ - model = EndpointNetworkTopologyResultRequestFilter() - if include_optional: - return EndpointNetworkTopologyResultRequestFilter( - location = ["San Francisco Bay Area","Germany"], - connection = [ - 'wireless' - ], - platform = [ - 'mac' - ], - gateway = ["78.153.54.204","78.153.54.206"], - proxy_target = ["78.153.54.204","78.153.54.206"], - vpn_target = ["78.153.54.204","78.153.54.206"], - agent_id = ["3fde6422-f119-40e1-ae32-d08a1243c038","236e6f18-9637-4a2f-b15f-7aa6a29c9fce"], - network_id = ["660b34109d12","660b34109d15"], - ssid = ["wifi-name","other-room-wifi"], - bssid = ["8c:68:c8:a5:0a:8c","0c:51:01:e4:3e:d0"], - type = ["vpn","proxy"] - ) - else: - return EndpointNetworkTopologyResultRequestFilter( - ) - """ - - def testEndpointNetworkTopologyResultRequestFilter(self): - """Test EndpointNetworkTopologyResultRequestFilter""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_ping_data_point_score.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_ping_data_point_score.py deleted file mode 100644 index 29f886e8..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_ping_data_point_score.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_ping_data_point_score import EndpointPingDataPointScore - -class TestEndpointPingDataPointScore(unittest.TestCase): - """EndpointPingDataPointScore unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointPingDataPointScore: - """Test EndpointPingDataPointScore - include_option 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 `EndpointPingDataPointScore` - """ - model = EndpointPingDataPointScore() - if include_optional: - return EndpointPingDataPointScore( - application_score = 1.337, - quality = 'great' - ) - else: - return EndpointPingDataPointScore( - ) - """ - - def testEndpointPingDataPointScore(self): - """Test EndpointPingDataPointScore""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test.py deleted file mode 100644 index be615773..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_real_user_test import EndpointRealUserTest - -class TestEndpointRealUserTest(unittest.TestCase): - """EndpointRealUserTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointRealUserTest: - """Test EndpointRealUserTest - include_option 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 `EndpointRealUserTest` - """ - model = EndpointRealUserTest() - if include_optional: - return EndpointRealUserTest( - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - committed = '2022-07-17T22:00:54Z', - var_date = '2022-07-17T22:00:54Z', - experience_score = 0.5, - number_of_pages = 2, - organization_name = 'T-2 Access Network', - port = 443, - protocol = 'https', - round_id = 1384309800, - source_address = '84.255.241.1', - id = '07625:1490529480:aVDViw0i', - visited_site = 'www.thousandeyes.com', - page_id = 'C31gBrYJ' - ) - else: - return EndpointRealUserTest( - ) - """ - - def testEndpointRealUserTest(self): - """Test EndpointRealUserTest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_base.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_base.py deleted file mode 100644 index ddb497e8..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_base.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_real_user_test_base import EndpointRealUserTestBase - -class TestEndpointRealUserTestBase(unittest.TestCase): - """EndpointRealUserTestBase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointRealUserTestBase: - """Test EndpointRealUserTestBase - include_option 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 `EndpointRealUserTestBase` - """ - model = EndpointRealUserTestBase() - if include_optional: - return EndpointRealUserTestBase( - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - committed = '2022-07-17T22:00:54Z', - var_date = '2022-07-17T22:00:54Z', - experience_score = 0.5, - number_of_pages = 2, - organization_name = 'T-2 Access Network', - port = 443, - protocol = 'https', - round_id = 1384309800, - source_address = '84.255.241.1', - id = '07625:1490529480:aVDViw0i', - visited_site = 'www.thousandeyes.com' - ) - else: - return EndpointRealUserTestBase( - ) - """ - - def testEndpointRealUserTestBase(self): - """Test EndpointRealUserTestBase""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_detail.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_detail.py deleted file mode 100644 index b9857b95..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_detail.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_real_user_test_detail import EndpointRealUserTestDetail - -class TestEndpointRealUserTestDetail(unittest.TestCase): - """EndpointRealUserTestDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointRealUserTestDetail: - """Test EndpointRealUserTestDetail - include_option 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 `EndpointRealUserTestDetail` - """ - model = EndpointRealUserTestDetail() - if include_optional: - return EndpointRealUserTestDetail( - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - committed = '2022-07-17T22:00:54Z', - var_date = '2022-07-17T22:00:54Z', - experience_score = 0.5, - number_of_pages = 2, - organization_name = 'T-2 Access Network', - port = 443, - protocol = 'https', - round_id = 1384309800, - source_address = '84.255.241.1', - id = '07625:1490529480:aVDViw0i', - visited_site = 'www.thousandeyes.com', - browser = thousandeyes_sdk.endpoint_test_results.models.endpoint_browser.EndpointBrowser( - name = 'Google Chrome', - version = '116.0.0.0', ), - coordinates = thousandeyes_sdk.endpoint_test_results.models.real_user_test_coordinates.RealUserTestCoordinates( - latitude = 46.0552778, - location = 'Slovenia', - longitude = 14.5144444, ), - pages = [ - thousandeyes_sdk.endpoint_test_results.models.real_user_test_page.RealUserTestPage( - page_id = 'C31gBrYJ', - page_title = 'Network Performance Resources | ThousandEyes', - page_url = 'https://app.thousandeyes.com/settings/integrations', - load_date = '2022-07-17T22:00:54Z', - response_code = 200, - page_timings = thousandeyes_sdk.endpoint_test_results.models.real_user_test_page_timings.RealUserTestPageTimings( - on_content_load = 1483, - on_load = 4569, ), ) - ], - network = thousandeyes_sdk.endpoint_test_results.models.real_user_test_network.RealUserTestNetwork( - network_profile = null, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - gateway_ping = null, - ping = null, - traceroute = null, - connect_rtt = 77.777, - is_icmp_blocked = True, - errors = ["ping: Request timed out before getting response"], - vpn_ping = null, - vpn_traceroute = null, ) - ) - else: - return EndpointRealUserTestDetail( - ) - """ - - def testEndpointRealUserTestDetail(self): - """Test EndpointRealUserTestDetail""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_detail_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_detail_results.py deleted file mode 100644 index b344bc78..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_detail_results.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_real_user_test_detail_results import EndpointRealUserTestDetailResults - -class TestEndpointRealUserTestDetailResults(unittest.TestCase): - """EndpointRealUserTestDetailResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointRealUserTestDetailResults: - """Test EndpointRealUserTestDetailResults - include_option 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 `EndpointRealUserTestDetailResults` - """ - model = EndpointRealUserTestDetailResults() - if include_optional: - return EndpointRealUserTestDetailResults( - results = [ - null - ], - links = thousandeyes_sdk.endpoint_test_results.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return EndpointRealUserTestDetailResults( - ) - """ - - def testEndpointRealUserTestDetailResults(self): - """Test EndpointRealUserTestDetailResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_result_request_filter.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_result_request_filter.py deleted file mode 100644 index 6a39d5a3..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_result_request_filter.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_real_user_test_result_request_filter import EndpointRealUserTestResultRequestFilter - -class TestEndpointRealUserTestResultRequestFilter(unittest.TestCase): - """EndpointRealUserTestResultRequestFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointRealUserTestResultRequestFilter: - """Test EndpointRealUserTestResultRequestFilter - include_option 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 `EndpointRealUserTestResultRequestFilter` - """ - model = EndpointRealUserTestResultRequestFilter() - if include_optional: - return EndpointRealUserTestResultRequestFilter( - location = ["San Francisco Bay Area","Germany"], - connection = [ - 'wireless' - ], - platform = [ - 'mac' - ], - gateway = ["78.153.54.204","78.153.54.206"], - proxy_target = ["78.153.54.204","78.153.54.206"], - vpn_target = ["78.153.54.204","78.153.54.206"], - agent_id = ["3fde6422-f119-40e1-ae32-d08a1243c038","236e6f18-9637-4a2f-b15f-7aa6a29c9fce"], - network_id = ["660b34109d12","660b34109d15"], - ssid = ["wifi-name","other-room-wifi"], - bssid = ["8c:68:c8:a5:0a:8c","0c:51:01:e4:3e:d0"], - destination_ip = ["84.255.241.1","193.2.1.88"], - domain = ["thousandeyes.com"], - trigger = ["user"], - visited_site = ["app.thousandeyes.com"] - ) - else: - return EndpointRealUserTestResultRequestFilter( - ) - """ - - def testEndpointRealUserTestResultRequestFilter(self): - """Test EndpointRealUserTestResultRequestFilter""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_results.py deleted file mode 100644 index 5fbde42b..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_results.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_real_user_test_results import EndpointRealUserTestResults - -class TestEndpointRealUserTestResults(unittest.TestCase): - """EndpointRealUserTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointRealUserTestResults: - """Test EndpointRealUserTestResults - include_option 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 `EndpointRealUserTestResults` - """ - model = EndpointRealUserTestResults() - if include_optional: - return EndpointRealUserTestResults( - results = [ - null - ], - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_link.PaginationNextLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return EndpointRealUserTestResults( - ) - """ - - def testEndpointRealUserTestResults(self): - """Test EndpointRealUserTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_results_request.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_results_request.py deleted file mode 100644 index 64b2aee0..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_real_user_test_results_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_real_user_test_results_request import EndpointRealUserTestResultsRequest - -class TestEndpointRealUserTestResultsRequest(unittest.TestCase): - """EndpointRealUserTestResultsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointRealUserTestResultsRequest: - """Test EndpointRealUserTestResultsRequest - include_option 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 `EndpointRealUserTestResultsRequest` - """ - model = EndpointRealUserTestResultsRequest() - if include_optional: - return EndpointRealUserTestResultsRequest( - search_filters = None - ) - else: - return EndpointRealUserTestResultsRequest( - ) - """ - - def testEndpointRealUserTestResultsRequest(self): - """Test EndpointRealUserTestResultsRequest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_result_request_filter.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_result_request_filter.py deleted file mode 100644 index 3c69b200..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_result_request_filter.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_result_request_filter import EndpointResultRequestFilter - -class TestEndpointResultRequestFilter(unittest.TestCase): - """EndpointResultRequestFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointResultRequestFilter: - """Test EndpointResultRequestFilter - include_option 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 `EndpointResultRequestFilter` - """ - model = EndpointResultRequestFilter() - if include_optional: - return EndpointResultRequestFilter( - location = ["San Francisco Bay Area","Germany"], - connection = [ - 'wireless' - ], - platform = [ - 'mac' - ], - gateway = ["78.153.54.204","78.153.54.206"], - proxy_target = ["78.153.54.204","78.153.54.206"], - vpn_target = ["78.153.54.204","78.153.54.206"], - agent_id = ["3fde6422-f119-40e1-ae32-d08a1243c038","236e6f18-9637-4a2f-b15f-7aa6a29c9fce"], - network_id = ["660b34109d12","660b34109d15"], - ssid = ["wifi-name","other-room-wifi"], - bssid = ["8c:68:c8:a5:0a:8c","0c:51:01:e4:3e:d0"] - ) - else: - return EndpointResultRequestFilter( - ) - """ - - def testEndpointResultRequestFilter(self): - """Test EndpointResultRequestFilter""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_scheduled_test.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_scheduled_test.py deleted file mode 100644 index e86241df..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_scheduled_test.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_scheduled_test import EndpointScheduledTest - -class TestEndpointScheduledTest(unittest.TestCase): - """EndpointScheduledTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointScheduledTest: - """Test EndpointScheduledTest - include_option 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 `EndpointScheduledTest` - """ - model = EndpointScheduledTest() - if include_optional: - return EndpointScheduledTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_test_results.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'http-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_test_results.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - auth_type = 'none', - http_time_limit = 5000, - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - verify_certificate = False, - content_regex = '(regex)+', - follow_redirects = True, - http_target_time = 100, - http_version = 1, - post_body = 'body', - ssl_version = 'Auto', - use_ntlm = False, - user_agent = 'curl' - ) - else: - return EndpointScheduledTest( - type = 'http-server', - ) - """ - - def testEndpointScheduledTest(self): - """Test EndpointScheduledTest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_scheduled_test_type.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_scheduled_test_type.py deleted file mode 100644 index cb9336e6..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_scheduled_test_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_scheduled_test_type import EndpointScheduledTestType - -class TestEndpointScheduledTestType(unittest.TestCase): - """EndpointScheduledTestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointScheduledTestType(self): - """Test EndpointScheduledTestType""" - # inst = EndpointScheduledTestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_specific_agents_selector_config.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_specific_agents_selector_config.py deleted file mode 100644 index d3690de6..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_specific_agents_selector_config.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_specific_agents_selector_config import EndpointSpecificAgentsSelectorConfig - -class TestEndpointSpecificAgentsSelectorConfig(unittest.TestCase): - """EndpointSpecificAgentsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointSpecificAgentsSelectorConfig: - """Test EndpointSpecificAgentsSelectorConfig - include_option 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 `EndpointSpecificAgentsSelectorConfig` - """ - model = EndpointSpecificAgentsSelectorConfig() - if include_optional: - return EndpointSpecificAgentsSelectorConfig( - agent_selector_type = 'specific-agents', - max_machines = 10, - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"] - ) - else: - return EndpointSpecificAgentsSelectorConfig( - agent_selector_type = 'specific-agents', - ) - """ - - def testEndpointSpecificAgentsSelectorConfig(self): - """Test EndpointSpecificAgentsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test.py deleted file mode 100644 index a99afb0d..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_test import EndpointTest - -class TestEndpointTest(unittest.TestCase): - """EndpointTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTest: - """Test EndpointTest - include_option 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 `EndpointTest` - """ - model = EndpointTest() - if include_optional: - return EndpointTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_test_results.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'agent-to-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_test_results.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ] - ) - else: - return EndpointTest( - type = 'agent-to-server', - ) - """ - - def testEndpointTest(self): - """Test EndpointTest""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_auth_type.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_auth_type.py deleted file mode 100644 index bab3b69d..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_auth_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_auth_type import EndpointTestAuthType - -class TestEndpointTestAuthType(unittest.TestCase): - """EndpointTestAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointTestAuthType(self): - """Test EndpointTestAuthType""" - # inst = EndpointTestAuthType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_links.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_links.py deleted file mode 100644 index 1b683ddb..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_links import EndpointTestLinks - -class TestEndpointTestLinks(unittest.TestCase): - """EndpointTestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTestLinks: - """Test EndpointTestLinks - include_option 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 `EndpointTestLinks` - """ - model = EndpointTestLinks() - if include_optional: - return EndpointTestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}] - ) - else: - return EndpointTestLinks( - ) - """ - - def testEndpointTestLinks(self): - """Test EndpointTestLinks""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_protocol.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_protocol.py deleted file mode 100644 index 175bc0d7..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_protocol import EndpointTestProtocol - -class TestEndpointTestProtocol(unittest.TestCase): - """EndpointTestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointTestProtocol(self): - """Test EndpointTestProtocol""" - # inst = EndpointTestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_self_link.py b/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_self_link.py deleted file mode 100644 index ed7e01c3..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_endpoint_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.endpoint_test_self_link import EndpointTestSelfLink - -class TestEndpointTestSelfLink(unittest.TestCase): - """EndpointTestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTestSelfLink: - """Test EndpointTestSelfLink - include_option 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 `EndpointTestSelfLink` - """ - model = EndpointTestSelfLink() - if include_optional: - return EndpointTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return EndpointTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testEndpointTestSelfLink(self): - """Test EndpointTestSelfLink""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_error.py b/thousandeyes-sdk-endpoint-test-results/test/test_error.py deleted file mode 100644 index 7365b166..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_ethernet_profile.py b/thousandeyes-sdk-endpoint-test-results/test/test_ethernet_profile.py deleted file mode 100644 index ba941901..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_ethernet_profile.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.ethernet_profile import EthernetProfile - -class TestEthernetProfile(unittest.TestCase): - """EthernetProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EthernetProfile: - """Test EthernetProfile - include_option 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 `EthernetProfile` - """ - model = EthernetProfile() - if include_optional: - return EthernetProfile( - link_speed = 860 - ) - else: - return EthernetProfile( - ) - """ - - def testEthernetProfile(self): - """Test EthernetProfile""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_expand.py b/thousandeyes-sdk-endpoint-test-results/test/test_expand.py deleted file mode 100644 index 9494755b..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_gateway_network_ping.py b/thousandeyes-sdk-endpoint-test-results/test/test_gateway_network_ping.py deleted file mode 100644 index f4419907..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_gateway_network_ping.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.gateway_network_ping import GatewayNetworkPing - -class TestGatewayNetworkPing(unittest.TestCase): - """GatewayNetworkPing unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GatewayNetworkPing: - """Test GatewayNetworkPing - include_option 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 `GatewayNetworkPing` - """ - model = GatewayNetworkPing() - if include_optional: - return GatewayNetworkPing( - avg_rtt = 7, - max_rtt = 66, - mean_dev_rtt = 11, - min_rtt = 1, - pkts_received = 10, - pkts_sent = 10, - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"] - ) - else: - return GatewayNetworkPing( - ) - """ - - def testGatewayNetworkPing(self): - """Test GatewayNetworkPing""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_hop.py b/thousandeyes-sdk-endpoint-test-results/test/test_hop.py deleted file mode 100644 index abc51262..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_hop.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.hop import Hop - -class TestHop(unittest.TestCase): - """Hop unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Hop: - """Test Hop - include_option 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 `Hop` - """ - model = Hop() - if include_optional: - return Hop( - hop = 1, - ip_address = '196.40.106.237', - prefix = '196.40.96.0/20' - ) - else: - return Hop( - ) - """ - - def testHop(self): - """Test Hop""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_http_error_type.py b/thousandeyes-sdk-endpoint-test-results/test/test_http_error_type.py deleted file mode 100644 index c9bc9668..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_http_error_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.http_error_type import HttpErrorType - -class TestHttpErrorType(unittest.TestCase): - """HttpErrorType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testHttpErrorType(self): - """Test HttpErrorType""" - # inst = HttpErrorType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_http_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_http_test_result.py deleted file mode 100644 index d19e1bab..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_http_test_result.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.http_test_result import HttpTestResult - -class TestHttpTestResult(unittest.TestCase): - """HttpTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpTestResult: - """Test HttpTestResult - include_option 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 `HttpTestResult` - """ - model = HttpTestResult() - if include_optional: - return HttpTestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '193.2.1.88', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ), - connect_time = 2, - dns_time = 0, - error_type = 'connect', - error_details = '', - headers = thousandeyes_sdk.endpoint_test_results.models.http_test_result_headers.HttpTestResultHeaders( - request_headers = 'GET / HTTP/1.1 -Host: www.thousandeyes.com -User-Agent: curl/7.58.0-DEV -Accept: */* -Accept-Encoding: deflate, gzip -X-ThousandEyes-Agent: yes -', - response_headers = 'HTTP/1.1 200 OK -Content-Type: text/html;charset=UTF-8 -Content-Length: 9993 -Connection: keep-alive -Date: Mon, 04 May 2020 16:13:00 GMT -Server: Apache -Content-Language: en-US -Content-Encoding: gzip -X-Frame-Options: sameorigin -Cache-Control: max-age=600, must-revalidate -Strict-Transport-Security: max-age=31536000 -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -Vary: Accept-Encoding -X-Cache: Hit from cloudfront -Via: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront) -X-Amz-Cf-Pop: SFO5-C3 -X-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA== -Age: 132 -', ), - num_redirects = 0, - receive_time = 1, - redirect_time = 10, - response_code = 200, - response_time = 14, - ssl_time = 9, - total_time = 15, - wait_time = 3, - wire_size = 9993 - ) - else: - return HttpTestResult( - ) - """ - - def testHttpTestResult(self): - """Test HttpTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_http_test_result_headers.py b/thousandeyes-sdk-endpoint-test-results/test/test_http_test_result_headers.py deleted file mode 100644 index b4d93218..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_http_test_result_headers.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.http_test_result_headers import HttpTestResultHeaders - -class TestHttpTestResultHeaders(unittest.TestCase): - """HttpTestResultHeaders unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpTestResultHeaders: - """Test HttpTestResultHeaders - include_option 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 `HttpTestResultHeaders` - """ - model = HttpTestResultHeaders() - if include_optional: - return HttpTestResultHeaders( - request_headers = 'GET / HTTP/1.1 -Host: www.thousandeyes.com -User-Agent: curl/7.58.0-DEV -Accept: */* -Accept-Encoding: deflate, gzip -X-ThousandEyes-Agent: yes -', - response_headers = 'HTTP/1.1 200 OK -Content-Type: text/html;charset=UTF-8 -Content-Length: 9993 -Connection: keep-alive -Date: Mon, 04 May 2020 16:13:00 GMT -Server: Apache -Content-Language: en-US -Content-Encoding: gzip -X-Frame-Options: sameorigin -Cache-Control: max-age=600, must-revalidate -Strict-Transport-Security: max-age=31536000 -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -Vary: Accept-Encoding -X-Cache: Hit from cloudfront -Via: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront) -X-Amz-Cf-Pop: SFO5-C3 -X-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA== -Age: 132 -' - ) - else: - return HttpTestResultHeaders( - ) - """ - - def testHttpTestResultHeaders(self): - """Test HttpTestResultHeaders""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_http_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_http_test_results.py deleted file mode 100644 index 1a3559b5..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_http_test_results.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.http_test_results import HttpTestResults - -class TestHttpTestResults(unittest.TestCase): - """HttpTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpTestResults: - """Test HttpTestResults - include_option 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 `HttpTestResults` - """ - model = HttpTestResults() - if include_optional: - return HttpTestResults( - results = [ - null - ], - test = None, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_and_self_link.PaginationNextAndSelfLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return HttpTestResults( - ) - """ - - def testHttpTestResults(self): - """Test HttpTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_interface_hardware_type.py b/thousandeyes-sdk-endpoint-test-results/test/test_interface_hardware_type.py deleted file mode 100644 index 549fec3a..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_interface_hardware_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.interface_hardware_type import InterfaceHardwareType - -class TestInterfaceHardwareType(unittest.TestCase): - """InterfaceHardwareType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInterfaceHardwareType(self): - """Test InterfaceHardwareType""" - # inst = InterfaceHardwareType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_link.py b/thousandeyes-sdk-endpoint-test-results/test/test_link.py deleted file mode 100644 index d3c89e11..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_local_network_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_local_network_result.py deleted file mode 100644 index 9657f320..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_local_network_result.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.local_network_result import LocalNetworkResult - -class TestLocalNetworkResult(unittest.TestCase): - """LocalNetworkResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LocalNetworkResult: - """Test LocalNetworkResult - include_option 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 `LocalNetworkResult` - """ - model = LocalNetworkResult() - if include_optional: - return LocalNetworkResult( - network_id = '006c4fa7a054', - network_name = '10.5.51.0 (in 178.216.56.0/21)', - local_prefix = '10.5.51.0', - public_ip_range = '178.216.56.0-178.216.63.255' - ) - else: - return LocalNetworkResult( - ) - """ - - def testLocalNetworkResult(self): - """Test LocalNetworkResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_local_network_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_local_network_results.py deleted file mode 100644 index 862de93b..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_local_network_results.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.local_network_results import LocalNetworkResults - -class TestLocalNetworkResults(unittest.TestCase): - """LocalNetworkResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LocalNetworkResults: - """Test LocalNetworkResults - include_option 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 `LocalNetworkResults` - """ - model = LocalNetworkResults() - if include_optional: - return LocalNetworkResults( - local_networks = [ - thousandeyes_sdk.endpoint_test_results.models.local_network_result.LocalNetworkResult( - network_id = '006c4fa7a054', - network_name = '10.5.51.0 (in 178.216.56.0/21)', - local_prefix = '10.5.51.0', - public_ip_range = '178.216.56.0-178.216.63.255', ) - ], - links = thousandeyes_sdk.endpoint_test_results.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return LocalNetworkResults( - ) - """ - - def testLocalNetworkResults(self): - """Test LocalNetworkResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_detail_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_detail_results.py deleted file mode 100644 index 4445c256..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_detail_results.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.local_network_topology_detail_results import LocalNetworkTopologyDetailResults - -class TestLocalNetworkTopologyDetailResults(unittest.TestCase): - """LocalNetworkTopologyDetailResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LocalNetworkTopologyDetailResults: - """Test LocalNetworkTopologyDetailResults - include_option 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 `LocalNetworkTopologyDetailResults` - """ - model = LocalNetworkTopologyDetailResults() - if include_optional: - return LocalNetworkTopologyDetailResults( - results = [ - null - ], - links = thousandeyes_sdk.endpoint_test_results.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return LocalNetworkTopologyDetailResults( - ) - """ - - def testLocalNetworkTopologyDetailResults(self): - """Test LocalNetworkTopologyDetailResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_result.py deleted file mode 100644 index 1a6648e3..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_result.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.local_network_topology_result import LocalNetworkTopologyResult - -class TestLocalNetworkTopologyResult(unittest.TestCase): - """LocalNetworkTopologyResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LocalNetworkTopologyResult: - """Test LocalNetworkTopologyResult - include_option 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 `LocalNetworkTopologyResult` - """ - model = LocalNetworkTopologyResult() - if include_optional: - return LocalNetworkTopologyResult( - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - var_date = '2022-07-17T22:00:54Z', - network_topology_id = '00160:54c3a4b180c6:1490536500:c7a58c49', - round_id = 1384309800, - target = '10.0.2.2', - target_port = 80, - type = 'vpn', - icmp_ping = thousandeyes_sdk.endpoint_test_results.models.network_ping.NetworkPing( - avg_rtt = 7, - max_rtt = 66, - mean_dev_rtt = 11, - min_rtt = 1, - pkts_received = 10, - pkts_sent = 10, - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], ), - is_icmp_blocked = True, - tcp_connect = thousandeyes_sdk.endpoint_test_results.models.tcp_connect.TcpConnect( - rtt = 77.777, - error_code = 'ERR_TIMED_OUT', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], ), - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - coordinates = thousandeyes_sdk.endpoint_test_results.models.real_user_test_coordinates.RealUserTestCoordinates( - latitude = 46.0552778, - location = 'Slovenia', - longitude = 14.5144444, ), - network_profile = None, - icmp_traceroute = thousandeyes_sdk.endpoint_test_results.models.traceroute.Traceroute( - destination = '13.32.22.232', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - internal_errors = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - hops = [ - null - ], ), - icmp_traceroutes = [ - thousandeyes_sdk.endpoint_test_results.models.traceroute.Traceroute( - destination = '13.32.22.232', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - internal_errors = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - hops = [ - null - ], ) - ] - ) - else: - return LocalNetworkTopologyResult( - ) - """ - - def testLocalNetworkTopologyResult(self): - """Test LocalNetworkTopologyResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_result_base.py b/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_result_base.py deleted file mode 100644 index dafeb584..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_result_base.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.local_network_topology_result_base import LocalNetworkTopologyResultBase - -class TestLocalNetworkTopologyResultBase(unittest.TestCase): - """LocalNetworkTopologyResultBase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LocalNetworkTopologyResultBase: - """Test LocalNetworkTopologyResultBase - include_option 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 `LocalNetworkTopologyResultBase` - """ - model = LocalNetworkTopologyResultBase() - if include_optional: - return LocalNetworkTopologyResultBase( - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - var_date = '2022-07-17T22:00:54Z', - network_topology_id = '00160:54c3a4b180c6:1490536500:c7a58c49', - round_id = 1384309800, - target = '10.0.2.2', - target_port = 80, - type = 'vpn', - icmp_ping = thousandeyes_sdk.endpoint_test_results.models.network_ping.NetworkPing( - avg_rtt = 7, - max_rtt = 66, - mean_dev_rtt = 11, - min_rtt = 1, - pkts_received = 10, - pkts_sent = 10, - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], ), - is_icmp_blocked = True, - tcp_connect = thousandeyes_sdk.endpoint_test_results.models.tcp_connect.TcpConnect( - rtt = 77.777, - error_code = 'ERR_TIMED_OUT', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], ), - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ) - ) - else: - return LocalNetworkTopologyResultBase( - ) - """ - - def testLocalNetworkTopologyResultBase(self): - """Test LocalNetworkTopologyResultBase""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_results.py deleted file mode 100644 index d892ec51..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_local_network_topology_results.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.local_network_topology_results import LocalNetworkTopologyResults - -class TestLocalNetworkTopologyResults(unittest.TestCase): - """LocalNetworkTopologyResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LocalNetworkTopologyResults: - """Test LocalNetworkTopologyResults - include_option 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 `LocalNetworkTopologyResults` - """ - model = LocalNetworkTopologyResults() - if include_optional: - return LocalNetworkTopologyResults( - results = [ - thousandeyes_sdk.endpoint_test_results.models.local_network_topology_result_base.LocalNetworkTopologyResultBase( - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - date = '2022-07-17T22:00:54Z', - network_topology_id = '00160:54c3a4b180c6:1490536500:c7a58c49', - round_id = 1384309800, - target = '10.0.2.2', - target_port = 80, - type = 'vpn', - icmp_ping = thousandeyes_sdk.endpoint_test_results.models.network_ping.NetworkPing( - avg_rtt = 7, - max_rtt = 66, - mean_dev_rtt = 11, - min_rtt = 1, - pkts_received = 10, - pkts_sent = 10, - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], ), - is_icmp_blocked = True, - tcp_connect = thousandeyes_sdk.endpoint_test_results.models.tcp_connect.TcpConnect( - rtt = 77.777, - error_code = 'ERR_TIMED_OUT', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], ), - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), ) - ], - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_link.PaginationNextLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return LocalNetworkTopologyResults( - ) - """ - - def testLocalNetworkTopologyResults(self): - """Test LocalNetworkTopologyResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_network_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_network_test_results.py deleted file mode 100644 index 7d5f9208..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_network_test_results.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.multi_test_id_network_test_results import MultiTestIdNetworkTestResults - -class TestMultiTestIdNetworkTestResults(unittest.TestCase): - """MultiTestIdNetworkTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MultiTestIdNetworkTestResults: - """Test MultiTestIdNetworkTestResults - include_option 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 `MultiTestIdNetworkTestResults` - """ - model = MultiTestIdNetworkTestResults() - if include_optional: - return MultiTestIdNetworkTestResults( - results = [ - null - ], - total_hits = 12, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_link.PaginationNextLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return MultiTestIdNetworkTestResults( - ) - """ - - def testMultiTestIdNetworkTestResults(self): - """Test MultiTestIdNetworkTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_tests_data_rounds_search.py b/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_tests_data_rounds_search.py deleted file mode 100644 index 34242e1c..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_tests_data_rounds_search.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.multi_test_id_tests_data_rounds_search import MultiTestIdTestsDataRoundsSearch - -class TestMultiTestIdTestsDataRoundsSearch(unittest.TestCase): - """MultiTestIdTestsDataRoundsSearch unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MultiTestIdTestsDataRoundsSearch: - """Test MultiTestIdTestsDataRoundsSearch - include_option 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 `MultiTestIdTestsDataRoundsSearch` - """ - model = MultiTestIdTestsDataRoundsSearch() - if include_optional: - return MultiTestIdTestsDataRoundsSearch( - search_sort = [ - thousandeyes_sdk.endpoint_test_results.models.tests_data_search_sort.TestsDataSearchSort( - sort = 'round-id', - order = 'desc', ) - ], - threshold_filter = thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filters.TestsDataThresholdFilters( - filters = [ - thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filter.TestsDataThresholdFilter( - name = 'loss', - value = 1.337, - operator = 'gte', ) - ], - conditional_operator = 'and', ), - search_filters = thousandeyes_sdk.endpoint_test_results.models.multi_test_id_tests_data_search_filter.MultiTestIdTestsDataSearchFilter( - agent_id = [ - '52455b09-ff1b-4849-8194-99026cc890e0' - ], - test_id = [ - '5' - ], ) - ) - else: - return MultiTestIdTestsDataRoundsSearch( - ) - """ - - def testMultiTestIdTestsDataRoundsSearch(self): - """Test MultiTestIdTestsDataRoundsSearch""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_tests_data_search_filter.py b/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_tests_data_search_filter.py deleted file mode 100644 index 4609841f..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_multi_test_id_tests_data_search_filter.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.multi_test_id_tests_data_search_filter import MultiTestIdTestsDataSearchFilter - -class TestMultiTestIdTestsDataSearchFilter(unittest.TestCase): - """MultiTestIdTestsDataSearchFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MultiTestIdTestsDataSearchFilter: - """Test MultiTestIdTestsDataSearchFilter - include_option 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 `MultiTestIdTestsDataSearchFilter` - """ - model = MultiTestIdTestsDataSearchFilter() - if include_optional: - return MultiTestIdTestsDataSearchFilter( - agent_id = [ - '52455b09-ff1b-4849-8194-99026cc890e0' - ], - test_id = [ - '5' - ] - ) - else: - return MultiTestIdTestsDataSearchFilter( - ) - """ - - def testMultiTestIdTestsDataSearchFilter(self): - """Test MultiTestIdTestsDataSearchFilter""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_test_result.py deleted file mode 100644 index 16548010..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_test_result.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_dynamic_test_result import NetworkDynamicTestResult - -class TestNetworkDynamicTestResult(unittest.TestCase): - """NetworkDynamicTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkDynamicTestResult: - """Test NetworkDynamicTestResult - include_option 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 `NetworkDynamicTestResult` - """ - model = NetworkDynamicTestResult() - if include_optional: - return NetworkDynamicTestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '185.199.108.153', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ), - avg_latency = 167.04, - error_details = 'Error', - jitter = 0.076808, - is_icmp_blocked = True, - loss = 0.0, - max_latency = 168.0, - min_latency = 167.0, - application = 'webex', - webex = thousandeyes_sdk.endpoint_test_results.models.dynamic_test_webex.DynamicTestWebex( - conference_id = '225817074608419375', - correlation_id = '22581707460321454', - local_sip_session_id = '22581707460321454', - remote_sip_session_id = '22581707460321454', ) - ) - else: - return NetworkDynamicTestResult( - ) - """ - - def testNetworkDynamicTestResult(self): - """Test NetworkDynamicTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_test_results.py deleted file mode 100644 index 5ec5180c..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_dynamic_test_results.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_dynamic_test_results import NetworkDynamicTestResults - -class TestNetworkDynamicTestResults(unittest.TestCase): - """NetworkDynamicTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkDynamicTestResults: - """Test NetworkDynamicTestResults - include_option 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 `NetworkDynamicTestResults` - """ - model = NetworkDynamicTestResults() - if include_optional: - return NetworkDynamicTestResults( - results = [ - null - ], - test = thousandeyes_sdk.endpoint_test_results.models.dynamic_test.DynamicTest( - aid = '1234', - _links = thousandeyes_sdk.endpoint_test_results.models.dynamic_test_links.DynamicTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - application = 'webex', - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - has_path_trace_in_session = True, - has_ping = True, - has_traceroute = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - protocol = 'icmp', - tcp_probe_mode = 'auto', - test_id = '281474976710706', - test_name = 'Test name', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], ), - total_hits = 12, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_link.PaginationNextLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return NetworkDynamicTestResults( - ) - """ - - def testNetworkDynamicTestResults(self): - """Test NetworkDynamicTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_interface.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_interface.py deleted file mode 100644 index e9cb4a74..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_interface.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_interface import NetworkInterface - -class TestNetworkInterface(unittest.TestCase): - """NetworkInterface unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkInterface: - """Test NetworkInterface - include_option 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 `NetworkInterface` - """ - model = NetworkInterface() - if include_optional: - return NetworkInterface( - ip_address = '10.0.0.13', - subnet_mask = '255.255.255.0', - public_ip_address = '84.255.241.1', - local_prefix = '10.0.0.0', - public_ip_range = '84.255.241.0-84.255.241.255', - dns_servers = ["8.8.8.8","8.8.8.4"], - hardware_type = 'wireless', - interface_name = 'en0' - ) - else: - return NetworkInterface( - ) - """ - - def testNetworkInterface(self): - """Test NetworkInterface""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_metrics.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_metrics.py deleted file mode 100644 index 36681590..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_metrics.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_metrics import NetworkMetrics - -class TestNetworkMetrics(unittest.TestCase): - """NetworkMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkMetrics: - """Test NetworkMetrics - include_option 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 `NetworkMetrics` - """ - model = NetworkMetrics() - if include_optional: - return NetworkMetrics( - jitter = 46, - latency = 150, - loss = 0.1, - target = '54.208.6.220' - ) - else: - return NetworkMetrics( - ) - """ - - def testNetworkMetrics(self): - """Test NetworkMetrics""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_ping.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_ping.py deleted file mode 100644 index 9afaf015..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_ping.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_ping import NetworkPing - -class TestNetworkPing(unittest.TestCase): - """NetworkPing unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkPing: - """Test NetworkPing - include_option 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 `NetworkPing` - """ - model = NetworkPing() - if include_optional: - return NetworkPing( - avg_rtt = 7, - max_rtt = 66, - mean_dev_rtt = 11, - min_rtt = 1, - pkts_received = 10, - pkts_sent = 10, - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"] - ) - else: - return NetworkPing( - ) - """ - - def testNetworkPing(self): - """Test NetworkPing""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_profile.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_profile.py deleted file mode 100644 index e5ac710d..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_profile.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_profile import NetworkProfile - -class TestNetworkProfile(unittest.TestCase): - """NetworkProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkProfile: - """Test NetworkProfile - include_option 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 `NetworkProfile` - """ - model = NetworkProfile() - if include_optional: - return NetworkProfile( - ip_address = '10.0.0.13', - subnet_mask = '255.255.255.0', - public_ip_address = '84.255.241.1', - local_prefix = '10.0.0.0', - public_ip_range = '84.255.241.0-84.255.241.255', - dns_servers = ["8.8.8.8","8.8.8.4"], - hardware_type = 'wireless', - interface_name = 'en0', - error = 'An operation timed out.', - gateway = '10.0.0.1', - wireless_profile = thousandeyes_sdk.endpoint_test_results.models.network_wireless_profile.NetworkWirelessProfile( - ssid = 'Internet for the masses', - bssid = '4c:ba:ba:f4:fa:fa', - channel = 1, - phy_mode = '802.11n', - rssi = -38, - noise = -95, - quality = 100, - tx_rate = 130, - vendor = 'Cisco', ), - proxy_profile = thousandeyes_sdk.endpoint_test_results.models.network_proxy_profile.NetworkProxyProfile( - method = 'System', - proxies = [ - thousandeyes_sdk.endpoint_test_results.models.network_proxy.NetworkProxy( - bypass = '*.local;169.254/16', - proxy = '', ) - ], ), - ethernet_profile = thousandeyes_sdk.endpoint_test_results.models.ethernet_profile.EthernetProfile( - link_speed = 860, ), - previous_interface = thousandeyes_sdk.endpoint_test_results.models.network_interface.NetworkInterface( - ip_address = '10.0.0.13', - subnet_mask = '255.255.255.0', - public_ip_address = '84.255.241.1', - local_prefix = '10.0.0.0', - public_ip_range = '84.255.241.0-84.255.241.255', - dns_servers = ["8.8.8.8","8.8.8.4"], - hardware_type = 'wireless', - interface_name = 'en0', ) - ) - else: - return NetworkProfile( - ) - """ - - def testNetworkProfile(self): - """Test NetworkProfile""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_proxy.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_proxy.py deleted file mode 100644 index ed9cca15..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_proxy.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_proxy import NetworkProxy - -class TestNetworkProxy(unittest.TestCase): - """NetworkProxy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkProxy: - """Test NetworkProxy - include_option 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 `NetworkProxy` - """ - model = NetworkProxy() - if include_optional: - return NetworkProxy( - bypass = '*.local;169.254/16', - proxy = '' - ) - else: - return NetworkProxy( - ) - """ - - def testNetworkProxy(self): - """Test NetworkProxy""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_proxy_profile.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_proxy_profile.py deleted file mode 100644 index 6d094be3..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_proxy_profile.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_proxy_profile import NetworkProxyProfile - -class TestNetworkProxyProfile(unittest.TestCase): - """NetworkProxyProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkProxyProfile: - """Test NetworkProxyProfile - include_option 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 `NetworkProxyProfile` - """ - model = NetworkProxyProfile() - if include_optional: - return NetworkProxyProfile( - method = 'System', - proxies = [ - thousandeyes_sdk.endpoint_test_results.models.network_proxy.NetworkProxy( - bypass = '*.local;169.254/16', - proxy = '', ) - ] - ) - else: - return NetworkProxyProfile( - ) - """ - - def testNetworkProxyProfile(self): - """Test NetworkProxyProfile""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_test_result.py deleted file mode 100644 index cdb5d70e..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_test_result.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_test_result import NetworkTestResult - -class TestNetworkTestResult(unittest.TestCase): - """NetworkTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkTestResult: - """Test NetworkTestResult - include_option 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 `NetworkTestResult` - """ - model = NetworkTestResult() - if include_optional: - return NetworkTestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '185.199.108.153', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ), - avg_latency = 167.04, - error_details = 'Error', - jitter = 0.076808, - is_icmp_blocked = True, - loss = 0.0, - max_latency = 168.0, - min_latency = 167.0 - ) - else: - return NetworkTestResult( - ) - """ - - def testNetworkTestResult(self): - """Test NetworkTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_test_results.py deleted file mode 100644 index 68efa1e6..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_test_results.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_test_results import NetworkTestResults - -class TestNetworkTestResults(unittest.TestCase): - """NetworkTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkTestResults: - """Test NetworkTestResults - include_option 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 `NetworkTestResults` - """ - model = NetworkTestResults() - if include_optional: - return NetworkTestResults( - results = [ - null - ], - total_hits = 12, - test = None, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_link.PaginationNextLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return NetworkTestResults( - ) - """ - - def testNetworkTestResults(self): - """Test NetworkTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_network_topology_type.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_topology_type.py deleted file mode 100644 index fc2af6b1..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_topology_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_topology_type import NetworkTopologyType - -class TestNetworkTopologyType(unittest.TestCase): - """NetworkTopologyType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNetworkTopologyType(self): - """Test NetworkTopologyType""" - # inst = NetworkTopologyType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_network_wireless_profile.py b/thousandeyes-sdk-endpoint-test-results/test/test_network_wireless_profile.py deleted file mode 100644 index 9e796305..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_network_wireless_profile.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.network_wireless_profile import NetworkWirelessProfile - -class TestNetworkWirelessProfile(unittest.TestCase): - """NetworkWirelessProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkWirelessProfile: - """Test NetworkWirelessProfile - include_option 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 `NetworkWirelessProfile` - """ - model = NetworkWirelessProfile() - if include_optional: - return NetworkWirelessProfile( - ssid = 'Internet for the masses', - bssid = '4c:ba:ba:f4:fa:fa', - channel = 1, - phy_mode = '802.11n', - rssi = -38, - noise = -95, - quality = 100, - tx_rate = 130, - vendor = 'Cisco' - ) - else: - return NetworkWirelessProfile( - ) - """ - - def testNetworkWirelessProfile(self): - """Test NetworkWirelessProfile""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_pagination_next_and_self_link.py b/thousandeyes-sdk-endpoint-test-results/test/test_pagination_next_and_self_link.py deleted file mode 100644 index 036bfc30..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_pagination_next_and_self_link.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.pagination_next_and_self_link import PaginationNextAndSelfLink - -class TestPaginationNextAndSelfLink(unittest.TestCase): - """PaginationNextAndSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationNextAndSelfLink: - """Test PaginationNextAndSelfLink - include_option 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 `PaginationNextAndSelfLink` - """ - model = PaginationNextAndSelfLink() - if include_optional: - return PaginationNextAndSelfLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationNextAndSelfLink( - ) - """ - - def testPaginationNextAndSelfLink(self): - """Test PaginationNextAndSelfLink""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_pagination_next_link.py b/thousandeyes-sdk-endpoint-test-results/test/test_pagination_next_link.py deleted file mode 100644 index 5c24aea7..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_pagination_next_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.pagination_next_link import PaginationNextLink - -class TestPaginationNextLink(unittest.TestCase): - """PaginationNextLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationNextLink: - """Test PaginationNextLink - include_option 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 `PaginationNextLink` - """ - model = PaginationNextLink() - if include_optional: - return PaginationNextLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationNextLink( - ) - """ - - def testPaginationNextLink(self): - """Test PaginationNextLink""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_base_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_base_test_result.py deleted file mode 100644 index 2eaf7969..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_base_test_result.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_base_test_result import PathVisBaseTestResult - -class TestPathVisBaseTestResult(unittest.TestCase): - """PathVisBaseTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisBaseTestResult: - """Test PathVisBaseTestResult - include_option 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 `PathVisBaseTestResult` - """ - model = PathVisBaseTestResult() - if include_optional: - return PathVisBaseTestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '185.199.108.153', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ), - asn_details = thousandeyes_sdk.endpoint_test_results.models.asn_details.AsnDetails( - as_name = 'ThousandEyes, Inc', - as_number = 394101, ), - server = 'www.google.com:443', - source_ip = '196.40.106.237', - source_prefix = '196.40.96.0/20' - ) - else: - return PathVisBaseTestResult( - ) - """ - - def testPathVisBaseTestResult(self): - """Test PathVisBaseTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_dynamic_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_dynamic_test_result.py deleted file mode 100644 index 12554c68..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_dynamic_test_result.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_detail_dynamic_test_result import PathVisDetailDynamicTestResult - -class TestPathVisDetailDynamicTestResult(unittest.TestCase): - """PathVisDetailDynamicTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisDetailDynamicTestResult: - """Test PathVisDetailDynamicTestResult - include_option 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 `PathVisDetailDynamicTestResult` - """ - model = PathVisDetailDynamicTestResult() - if include_optional: - return PathVisDetailDynamicTestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '185.199.108.153', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ), - asn_details = thousandeyes_sdk.endpoint_test_results.models.asn_details.AsnDetails( - as_name = 'ThousandEyes, Inc', - as_number = 394101, ), - server = 'www.google.com:443', - source_ip = '196.40.106.237', - source_prefix = '196.40.96.0/20', - path_traces = [ - thousandeyes_sdk.endpoint_test_results.models.path_vis_route.PathVisRoute( - path_id = '4711301366345855606023718047703941305741293841502186803', - hops = [ - null - ], ) - ], - vpn_path_traces = [ - thousandeyes_sdk.endpoint_test_results.models.path_vis_route.PathVisRoute( - path_id = '4711301366345855606023718047703941305741293841502186803', - hops = [ - null - ], ) - ], - application = 'webex', - webex = thousandeyes_sdk.endpoint_test_results.models.dynamic_test_webex.DynamicTestWebex( - conference_id = '225817074608419375', - correlation_id = '22581707460321454', - local_sip_session_id = '22581707460321454', - remote_sip_session_id = '22581707460321454', ) - ) - else: - return PathVisDetailDynamicTestResult( - ) - """ - - def testPathVisDetailDynamicTestResult(self): - """Test PathVisDetailDynamicTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_dynamic_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_dynamic_test_results.py deleted file mode 100644 index 82ba3d71..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_dynamic_test_results.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_detail_dynamic_test_results import PathVisDetailDynamicTestResults - -class TestPathVisDetailDynamicTestResults(unittest.TestCase): - """PathVisDetailDynamicTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisDetailDynamicTestResults: - """Test PathVisDetailDynamicTestResults - include_option 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 `PathVisDetailDynamicTestResults` - """ - model = PathVisDetailDynamicTestResults() - if include_optional: - return PathVisDetailDynamicTestResults( - results = [ - null - ], - test = thousandeyes_sdk.endpoint_test_results.models.dynamic_test.DynamicTest( - aid = '1234', - _links = thousandeyes_sdk.endpoint_test_results.models.dynamic_test_links.DynamicTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - application = 'webex', - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - has_path_trace_in_session = True, - has_ping = True, - has_traceroute = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - protocol = 'icmp', - tcp_probe_mode = 'auto', - test_id = '281474976710706', - test_name = 'Test name', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], ), - links = thousandeyes_sdk.endpoint_test_results.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return PathVisDetailDynamicTestResults( - ) - """ - - def testPathVisDetailDynamicTestResults(self): - """Test PathVisDetailDynamicTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_test_result.py deleted file mode 100644 index 03871793..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_test_result.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_detail_test_result import PathVisDetailTestResult - -class TestPathVisDetailTestResult(unittest.TestCase): - """PathVisDetailTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisDetailTestResult: - """Test PathVisDetailTestResult - include_option 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 `PathVisDetailTestResult` - """ - model = PathVisDetailTestResult() - if include_optional: - return PathVisDetailTestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '185.199.108.153', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ), - asn_details = thousandeyes_sdk.endpoint_test_results.models.asn_details.AsnDetails( - as_name = 'ThousandEyes, Inc', - as_number = 394101, ), - server = 'www.google.com:443', - source_ip = '196.40.106.237', - source_prefix = '196.40.96.0/20', - path_traces = [ - thousandeyes_sdk.endpoint_test_results.models.path_vis_route.PathVisRoute( - path_id = '4711301366345855606023718047703941305741293841502186803', - hops = [ - null - ], ) - ], - vpn_path_traces = [ - thousandeyes_sdk.endpoint_test_results.models.path_vis_route.PathVisRoute( - path_id = '4711301366345855606023718047703941305741293841502186803', - hops = [ - null - ], ) - ] - ) - else: - return PathVisDetailTestResult( - ) - """ - - def testPathVisDetailTestResult(self): - """Test PathVisDetailTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_test_results.py deleted file mode 100644 index 26e30614..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_detail_test_results.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_detail_test_results import PathVisDetailTestResults - -class TestPathVisDetailTestResults(unittest.TestCase): - """PathVisDetailTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisDetailTestResults: - """Test PathVisDetailTestResults - include_option 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 `PathVisDetailTestResults` - """ - model = PathVisDetailTestResults() - if include_optional: - return PathVisDetailTestResults( - results = [ - null - ], - test = None, - links = thousandeyes_sdk.endpoint_test_results.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return PathVisDetailTestResults( - ) - """ - - def testPathVisDetailTestResults(self): - """Test PathVisDetailTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_dynamic_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_dynamic_test_result.py deleted file mode 100644 index bed74fbf..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_dynamic_test_result.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_dynamic_test_result import PathVisDynamicTestResult - -class TestPathVisDynamicTestResult(unittest.TestCase): - """PathVisDynamicTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisDynamicTestResult: - """Test PathVisDynamicTestResult - include_option 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 `PathVisDynamicTestResult` - """ - model = PathVisDynamicTestResult() - if include_optional: - return PathVisDynamicTestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '185.199.108.153', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ), - asn_details = thousandeyes_sdk.endpoint_test_results.models.asn_details.AsnDetails( - as_name = 'ThousandEyes, Inc', - as_number = 394101, ), - server = 'www.google.com:443', - source_ip = '196.40.106.237', - source_prefix = '196.40.96.0/20', - application = 'webex', - webex = thousandeyes_sdk.endpoint_test_results.models.dynamic_test_webex.DynamicTestWebex( - conference_id = '225817074608419375', - correlation_id = '22581707460321454', - local_sip_session_id = '22581707460321454', - remote_sip_session_id = '22581707460321454', ), - location = 'San Francisco Area', - path_traces = [ - thousandeyes_sdk.endpoint_test_results.models.path_vis_endpoint.PathVisEndpoint( - ip_address = '196.40.106.237', - number_of_hops = 15, - path_id = '1230899668701775614109128428722974545787322404682781961521', - response_time = 1500, ) - ] - ) - else: - return PathVisDynamicTestResult( - ) - """ - - def testPathVisDynamicTestResult(self): - """Test PathVisDynamicTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_dynamic_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_dynamic_test_results.py deleted file mode 100644 index 2cf5580f..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_dynamic_test_results.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_dynamic_test_results import PathVisDynamicTestResults - -class TestPathVisDynamicTestResults(unittest.TestCase): - """PathVisDynamicTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisDynamicTestResults: - """Test PathVisDynamicTestResults - include_option 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 `PathVisDynamicTestResults` - """ - model = PathVisDynamicTestResults() - if include_optional: - return PathVisDynamicTestResults( - results = [ - null - ], - test = thousandeyes_sdk.endpoint_test_results.models.dynamic_test.DynamicTest( - aid = '1234', - _links = thousandeyes_sdk.endpoint_test_results.models.dynamic_test_links.DynamicTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_test_results.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - application = 'webex', - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - has_path_trace_in_session = True, - has_ping = True, - has_traceroute = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - protocol = 'icmp', - tcp_probe_mode = 'auto', - test_id = '281474976710706', - test_name = 'Test name', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], ), - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_and_self_link.PaginationNextAndSelfLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return PathVisDynamicTestResults( - ) - """ - - def testPathVisDynamicTestResults(self): - """Test PathVisDynamicTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_endpoint.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_endpoint.py deleted file mode 100644 index 6ce6f84c..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_endpoint.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_endpoint import PathVisEndpoint - -class TestPathVisEndpoint(unittest.TestCase): - """PathVisEndpoint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisEndpoint: - """Test PathVisEndpoint - include_option 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 `PathVisEndpoint` - """ - model = PathVisEndpoint() - if include_optional: - return PathVisEndpoint( - ip_address = '196.40.106.237', - number_of_hops = 15, - path_id = '1230899668701775614109128428722974545787322404682781961521', - response_time = 1500 - ) - else: - return PathVisEndpoint( - ) - """ - - def testPathVisEndpoint(self): - """Test PathVisEndpoint""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_hop.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_hop.py deleted file mode 100644 index 0778a065..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_hop.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_hop import PathVisHop - -class TestPathVisHop(unittest.TestCase): - """PathVisHop unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisHop: - """Test PathVisHop - include_option 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 `PathVisHop` - """ - model = PathVisHop() - if include_optional: - return PathVisHop( - hop = 1, - ip_address = '196.40.106.237', - prefix = '196.40.96.0/20', - rdns = 'core-router1.cpt2.host-h.net', - network = 'HETZNER (Pty) Ltd (AS 37153)', - response_time = 1, - location = 'Cape Town, South Africa' - ) - else: - return PathVisHop( - ) - """ - - def testPathVisHop(self): - """Test PathVisHop""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_route.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_route.py deleted file mode 100644 index 3e79f352..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_route.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_route import PathVisRoute - -class TestPathVisRoute(unittest.TestCase): - """PathVisRoute unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisRoute: - """Test PathVisRoute - include_option 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 `PathVisRoute` - """ - model = PathVisRoute() - if include_optional: - return PathVisRoute( - path_id = '4711301366345855606023718047703941305741293841502186803', - hops = [ - null - ] - ) - else: - return PathVisRoute( - ) - """ - - def testPathVisRoute(self): - """Test PathVisRoute""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_test_result.py deleted file mode 100644 index b2ef0063..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_test_result.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_test_result import PathVisTestResult - -class TestPathVisTestResult(unittest.TestCase): - """PathVisTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisTestResult: - """Test PathVisTestResult - include_option 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 `PathVisTestResult` - """ - model = PathVisTestResult() - if include_optional: - return PathVisTestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '185.199.108.153', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ), - asn_details = thousandeyes_sdk.endpoint_test_results.models.asn_details.AsnDetails( - as_name = 'ThousandEyes, Inc', - as_number = 394101, ), - server = 'www.google.com:443', - source_ip = '196.40.106.237', - source_prefix = '196.40.96.0/20', - location = 'San Francisco Area', - path_traces = [ - thousandeyes_sdk.endpoint_test_results.models.path_vis_endpoint.PathVisEndpoint( - ip_address = '196.40.106.237', - number_of_hops = 15, - path_id = '1230899668701775614109128428722974545787322404682781961521', - response_time = 1500, ) - ] - ) - else: - return PathVisTestResult( - ) - """ - - def testPathVisTestResult(self): - """Test PathVisTestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_test_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_test_results.py deleted file mode 100644 index 0f4bce34..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_path_vis_test_results.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.path_vis_test_results import PathVisTestResults - -class TestPathVisTestResults(unittest.TestCase): - """PathVisTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisTestResults: - """Test PathVisTestResults - include_option 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 `PathVisTestResults` - """ - model = PathVisTestResults() - if include_optional: - return PathVisTestResults( - results = [ - null - ], - test = None, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_and_self_link.PaginationNextAndSelfLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return PathVisTestResults( - ) - """ - - def testPathVisTestResults(self): - """Test PathVisTestResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_physical_memory_used_bytes.py b/thousandeyes-sdk-endpoint-test-results/test/test_physical_memory_used_bytes.py deleted file mode 100644 index cb326e9d..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_physical_memory_used_bytes.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes import PhysicalMemoryUsedBytes - -class TestPhysicalMemoryUsedBytes(unittest.TestCase): - """PhysicalMemoryUsedBytes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PhysicalMemoryUsedBytes: - """Test PhysicalMemoryUsedBytes - include_option 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 `PhysicalMemoryUsedBytes` - """ - model = PhysicalMemoryUsedBytes() - if include_optional: - return PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155 - ) - else: - return PhysicalMemoryUsedBytes( - ) - """ - - def testPhysicalMemoryUsedBytes(self): - """Test PhysicalMemoryUsedBytes""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_platform.py b/thousandeyes-sdk-endpoint-test-results/test/test_platform.py deleted file mode 100644 index efddabed..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_platform.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.platform import Platform - -class TestPlatform(unittest.TestCase): - """Platform unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPlatform(self): - """Test Platform""" - # inst = Platform() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_coordinates.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_coordinates.py deleted file mode 100644 index 6898ab37..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_coordinates.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_coordinates import RealUserTestCoordinates - -class TestRealUserTestCoordinates(unittest.TestCase): - """RealUserTestCoordinates unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestCoordinates: - """Test RealUserTestCoordinates - include_option 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 `RealUserTestCoordinates` - """ - model = RealUserTestCoordinates() - if include_optional: - return RealUserTestCoordinates( - latitude = 46.0552778, - location = 'Slovenia', - longitude = 14.5144444 - ) - else: - return RealUserTestCoordinates( - ) - """ - - def testRealUserTestCoordinates(self): - """Test RealUserTestCoordinates""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network.py deleted file mode 100644 index ae5899be..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_network import RealUserTestNetwork - -class TestRealUserTestNetwork(unittest.TestCase): - """RealUserTestNetwork unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestNetwork: - """Test RealUserTestNetwork - include_option 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 `RealUserTestNetwork` - """ - model = RealUserTestNetwork() - if include_optional: - return RealUserTestNetwork( - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - gateway_ping = None, - ping = None, - traceroute = None, - connect_rtt = 77.777, - is_icmp_blocked = True, - errors = ["ping: Request timed out before getting response"], - vpn_ping = None, - vpn_traceroute = None - ) - else: - return RealUserTestNetwork( - ) - """ - - def testRealUserTestNetwork(self): - """Test RealUserTestNetwork""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network_result.py deleted file mode 100644 index cd7e1764..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network_result.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_network_result import RealUserTestNetworkResult - -class TestRealUserTestNetworkResult(unittest.TestCase): - """RealUserTestNetworkResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestNetworkResult: - """Test RealUserTestNetworkResult - include_option 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 `RealUserTestNetworkResult` - """ - model = RealUserTestNetworkResult() - if include_optional: - return RealUserTestNetworkResult( - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - var_date = '2022-07-17T22:00:54Z', - id = '07625:1490529480:aVDViw0i', - round_id = 1384309800, - destination = thousandeyes_sdk.endpoint_test_results.models.network_metrics.NetworkMetrics( - jitter = 46, - latency = 150, - loss = 0.1, - target = '54.208.6.220', ), - vpn = thousandeyes_sdk.endpoint_test_results.models.network_metrics.NetworkMetrics( - jitter = 46, - latency = 150, - loss = 0.1, - target = '54.208.6.220', ), - proxy = thousandeyes_sdk.endpoint_test_results.models.network_metrics.NetworkMetrics( - jitter = 46, - latency = 150, - loss = 0.1, - target = '54.208.6.220', ), - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ) - ) - else: - return RealUserTestNetworkResult( - ) - """ - - def testRealUserTestNetworkResult(self): - """Test RealUserTestNetworkResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network_results.py deleted file mode 100644 index 3257ba4a..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_network_results.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_network_results import RealUserTestNetworkResults - -class TestRealUserTestNetworkResults(unittest.TestCase): - """RealUserTestNetworkResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestNetworkResults: - """Test RealUserTestNetworkResults - include_option 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 `RealUserTestNetworkResults` - """ - model = RealUserTestNetworkResults() - if include_optional: - return RealUserTestNetworkResults( - results = [ - thousandeyes_sdk.endpoint_test_results.models.real_user_test_network_result.RealUserTestNetworkResult( - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - date = '2022-07-17T22:00:54Z', - id = '07625:1490529480:aVDViw0i', - round_id = 1384309800, - destination = thousandeyes_sdk.endpoint_test_results.models.network_metrics.NetworkMetrics( - jitter = 46, - latency = 150, - loss = 0.1, - target = '54.208.6.220', ), - vpn = thousandeyes_sdk.endpoint_test_results.models.network_metrics.NetworkMetrics( - jitter = 46, - latency = 150, - loss = 0.1, - target = '54.208.6.220', ), - proxy = , - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), ) - ], - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_link.PaginationNextLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return RealUserTestNetworkResults( - ) - """ - - def testRealUserTestNetworkResults(self): - """Test RealUserTestNetworkResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page.py deleted file mode 100644 index 85f0758a..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_page import RealUserTestPage - -class TestRealUserTestPage(unittest.TestCase): - """RealUserTestPage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestPage: - """Test RealUserTestPage - include_option 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 `RealUserTestPage` - """ - model = RealUserTestPage() - if include_optional: - return RealUserTestPage( - page_id = 'C31gBrYJ', - page_title = 'Network Performance Resources | ThousandEyes', - page_url = 'https://app.thousandeyes.com/settings/integrations', - load_date = '2022-07-17T22:00:54Z', - response_code = 200, - page_timings = thousandeyes_sdk.endpoint_test_results.models.real_user_test_page_timings.RealUserTestPageTimings( - on_content_load = 1483, - on_load = 4569, ) - ) - else: - return RealUserTestPage( - ) - """ - - def testRealUserTestPage(self): - """Test RealUserTestPage""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_detail_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_detail_result.py deleted file mode 100644 index 94802e4a..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_detail_result.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_page_detail_result import RealUserTestPageDetailResult - -class TestRealUserTestPageDetailResult(unittest.TestCase): - """RealUserTestPageDetailResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestPageDetailResult: - """Test RealUserTestPageDetailResult - include_option 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 `RealUserTestPageDetailResult` - """ - model = RealUserTestPageDetailResult() - if include_optional: - return RealUserTestPageDetailResult( - har = {"log":{"browser":{"name":"Google Chrome","version":"7.0.4.98"},"creator":{"name":"ThousandEyes Endpoint Agent","version":"7.0.4"},"entries":[{"pageref":"page_1","request":{"headers":[{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://www.thousandeyes.com/"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"en-US,en;q=0.6"},{"name":"Cookie","value":"(removed)"}],"method":"GET","queryString":[{"name":"locale","value":"en-US"}],"url":"https://www.thousandeyes.com/resources"},"response":{"bodySize":17776,"content":{"mimeType":"text/html;charset=ISO-8859-1","size":17776},"headers":[{"name":"Content-Type","value":"text/html;charset=ISO-8859-1"},{"name":"Content-Length","value":"17776"},{"name":"Connection","value":"keep-alive"},{"name":"Date","value":"Sun, 26 Mar 2017 11:58:54 GMT"},{"name":"Server","value":"Apache"},{"name":"Cache-Control","value":"max-age=600, must-revalidate"},{"name":"Content-Language","value":"en-US"},{"name":"Content-Encoding","value":"gzip"},{"name":"X-Frame-Options","value":"sameorigin"},{"name":"Strict-Transport-Security","value":"max-age=31536000"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"Miss from cloudfront"},{"name":"Via","value":"1.1 5dbe09af3a2c87121e31ffa67f174f66.cloudfront.net (CloudFront)"},{"name":"X-Amz-Cf-Id","value":"YkvlkBNKgHt5aMu9vcS22Z8kHn1MUr-8adupwhDk3j9vF-TpSyIxZA=="}],"headersSize":527,"redirectURL":"","status":200,"statusText":"OK"},"serverIPAddress":"13.32.22.80","startedDateTime":"2017-03-22T11:58:54.123+02:00","time":177,"timings":{"blocked":-1,"connect":-1,"dns":-1,"receive":27,"send":-1,"ssl":-1,"wait":150}},{"pageref":"page_1","request":{"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36"},{"name":"Accept","value":"*/*"},{"name":"Referer","value":"https://www.thousandeyes.com/resources"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"en-US,en;q=0.6"}],"method":"GET","queryString":[],"url":"https://use.typekit.net/cjy5myw.js"},"response":{"bodySize":0,"content":{"mimeType":"text/javascript;charset=utf-8","size":7814},"headers":[{"name":"status","value":"200"},{"name":"access-control-allow-origin","value":"*"},{"name":"cache-control","value":"public, max-age=600, stale-while-revalidate=604800"},{"name":"content-encoding","value":"gzip"},{"name":"content-type","value":"text/javascript;charset=utf-8"},{"name":"server","value":"nginx"},{"name":"status","value":"200 OK"},{"name":"timing-allow-origin","value":"*"},{"name":"vary","value":"Accept-Encoding"},{"name":"content-length","value":"7814"},{"name":"date","value":"Sun, 26 Mar 2017 11:58:43 GMT"}],"headersSize":334,"redirectURL":"","status":200,"statusText":"OK"},"serverIPAddress":"104.103.103.234","startedDateTime":"2017-03-22T11:58:54.123+02:00","time":72,"timings":{"blocked":-1,"connect":-1,"dns":-1,"receive":10,"send":-1,"ssl":-1,"wait":62}}],"pages":[{"id":"page_1","pageTimings":{"onContentLoad":874,"onLoad":3492},"responseCode":200,"startedDateTime":"2017-03-22T11:58:54.123+02:00","title":"Network Performance Resources | ThousandEyes"}],"version":"1.2","systemMetrics":{"startTimeMs":1581508857327,"endTimeMs":1581508867333,"cpuUtilization":{"min":0.30859375,"max":0.5625,"mean":0.38931831001805056,"median":0.353515625,"stdDev":0.08389194281742307,"count":10},"physicalMemoryUsedBytes":{"min":1.2805128192E10,"max":1.2825530368E10,"mean":1.281914582109091E10,"median":1.2818219008E10,"stdDev":5741124.05691331,"count":11},"physicalMemoryTotalBytes":17069891584}}}, - links = thousandeyes_sdk.endpoint_test_results.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return RealUserTestPageDetailResult( - ) - """ - - def testRealUserTestPageDetailResult(self): - """Test RealUserTestPageDetailResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_result.py deleted file mode 100644 index d9c3d4f2..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_result.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_page_result import RealUserTestPageResult - -class TestRealUserTestPageResult(unittest.TestCase): - """RealUserTestPageResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestPageResult: - """Test RealUserTestPageResult - include_option 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 `RealUserTestPageResult` - """ - model = RealUserTestPageResult() - if include_optional: - return RealUserTestPageResult( - page_id = 'C31gBrYJ', - page_title = 'Network Performance Resources | ThousandEyes', - page_url = 'https://app.thousandeyes.com/settings/integrations', - load_date = '2022-07-17T22:00:54Z', - response_code = 200, - page_timings = thousandeyes_sdk.endpoint_test_results.models.real_user_test_page_timings.RealUserTestPageTimings( - on_content_load = 1483, - on_load = 4569, ), - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - id = '07625:1490529480:aVDViw0i', - round_id = 1384309800, - response_time = 240, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ) - ) - else: - return RealUserTestPageResult( - ) - """ - - def testRealUserTestPageResult(self): - """Test RealUserTestPageResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_results.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_results.py deleted file mode 100644 index 27b6f8fd..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_results.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_page_results import RealUserTestPageResults - -class TestRealUserTestPageResults(unittest.TestCase): - """RealUserTestPageResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestPageResults: - """Test RealUserTestPageResults - include_option 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 `RealUserTestPageResults` - """ - model = RealUserTestPageResults() - if include_optional: - return RealUserTestPageResults( - results = [ - null - ], - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.endpoint_test_results.models.pagination_next_link.PaginationNextLink( - next = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return RealUserTestPageResults( - ) - """ - - def testRealUserTestPageResults(self): - """Test RealUserTestPageResults""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_timings.py b/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_timings.py deleted file mode 100644 index 1376ff6e..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_real_user_test_page_timings.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.real_user_test_page_timings import RealUserTestPageTimings - -class TestRealUserTestPageTimings(unittest.TestCase): - """RealUserTestPageTimings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RealUserTestPageTimings: - """Test RealUserTestPageTimings - include_option 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 `RealUserTestPageTimings` - """ - model = RealUserTestPageTimings() - if include_optional: - return RealUserTestPageTimings( - on_content_load = 1483, - on_load = 4569 - ) - else: - return RealUserTestPageTimings( - ) - """ - - def testRealUserTestPageTimings(self): - """Test RealUserTestPageTimings""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_self_links.py b/thousandeyes-sdk-endpoint-test-results/test/test_self_links.py deleted file mode 100644 index c48ce839..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.endpoint_test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_severity.py b/thousandeyes-sdk-endpoint-test-results/test/test_severity.py deleted file mode 100644 index 9e2605eb..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_severity.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.severity import Severity - -class TestSeverity(unittest.TestCase): - """Severity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSeverity(self): - """Test Severity""" - # inst = Severity() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_sort_order.py b/thousandeyes-sdk-endpoint-test-results/test/test_sort_order.py deleted file mode 100644 index a86d295a..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_sort_order.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.sort_order import SortOrder - -class TestSortOrder(unittest.TestCase): - """SortOrder unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortOrder(self): - """Test SortOrder""" - # inst = SortOrder() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_system_metrics.py b/thousandeyes-sdk-endpoint-test-results/test/test_system_metrics.py deleted file mode 100644 index d862431d..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_system_metrics.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.system_metrics import SystemMetrics - -class TestSystemMetrics(unittest.TestCase): - """SystemMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SystemMetrics: - """Test SystemMetrics - include_option 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 `SystemMetrics` - """ - model = SystemMetrics() - if include_optional: - return SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024 - ) - else: - return SystemMetrics( - ) - """ - - def testSystemMetrics(self): - """Test SystemMetrics""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_target_network_ping.py b/thousandeyes-sdk-endpoint-test-results/test/test_target_network_ping.py deleted file mode 100644 index 0b1d72d6..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_target_network_ping.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.target_network_ping import TargetNetworkPing - -class TestTargetNetworkPing(unittest.TestCase): - """TargetNetworkPing unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TargetNetworkPing: - """Test TargetNetworkPing - include_option 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 `TargetNetworkPing` - """ - model = TargetNetworkPing() - if include_optional: - return TargetNetworkPing( - avg_rtt = 7, - max_rtt = 66, - mean_dev_rtt = 11, - min_rtt = 1, - pkts_received = 10, - pkts_sent = 10, - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"] - ) - else: - return TargetNetworkPing( - ) - """ - - def testTargetNetworkPing(self): - """Test TargetNetworkPing""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_target_profile.py b/thousandeyes-sdk-endpoint-test-results/test/test_target_profile.py deleted file mode 100644 index 212013db..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_target_profile.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.target_profile import TargetProfile - -class TestTargetProfile(unittest.TestCase): - """TargetProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TargetProfile: - """Test TargetProfile - include_option 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 `TargetProfile` - """ - model = TargetProfile() - if include_optional: - return TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp' - ) - else: - return TargetProfile( - ) - """ - - def testTargetProfile(self): - """Test TargetProfile""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_target_traceroute.py b/thousandeyes-sdk-endpoint-test-results/test/test_target_traceroute.py deleted file mode 100644 index b8eda7fc..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_target_traceroute.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.target_traceroute import TargetTraceroute - -class TestTargetTraceroute(unittest.TestCase): - """TargetTraceroute unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TargetTraceroute: - """Test TargetTraceroute - include_option 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 `TargetTraceroute` - """ - model = TargetTraceroute() - if include_optional: - return TargetTraceroute( - destination = '13.32.22.232', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - internal_errors = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - hops = [ - null - ] - ) - else: - return TargetTraceroute( - ) - """ - - def testTargetTraceroute(self): - """Test TargetTraceroute""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_tcp_connect.py b/thousandeyes-sdk-endpoint-test-results/test/test_tcp_connect.py deleted file mode 100644 index b9906018..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_tcp_connect.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.tcp_connect import TcpConnect - -class TestTcpConnect(unittest.TestCase): - """TcpConnect unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TcpConnect: - """Test TcpConnect - include_option 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 `TcpConnect` - """ - model = TcpConnect() - if include_optional: - return TcpConnect( - rtt = 77.777, - error_code = 'ERR_TIMED_OUT', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"] - ) - else: - return TcpConnect( - ) - """ - - def testTcpConnect(self): - """Test TcpConnect""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_test_interval.py b/thousandeyes-sdk-endpoint-test-results/test/test_test_interval.py deleted file mode 100644 index edec9237..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_test_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.test_interval import TestInterval - -class TestTestInterval(unittest.TestCase): - """TestInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestInterval(self): - """Test TestInterval""" - # inst = TestInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_test_label.py b/thousandeyes-sdk-endpoint-test-results/test/test_test_label.py deleted file mode 100644 index 7f88e84c..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_test_label.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.test_label import TestLabel - -class TestTestLabel(unittest.TestCase): - """TestLabel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLabel: - """Test TestLabel - include_option 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 `TestLabel` - """ - model = TestLabel() - if include_optional: - return TestLabel( - label_id = '', - name = '', - is_builtin = True - ) - else: - return TestLabel( - ) - """ - - def testTestLabel(self): - """Test TestLabel""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_test_probe_mode_response.py b/thousandeyes-sdk-endpoint-test-results/test/test_test_probe_mode_response.py deleted file mode 100644 index 3afc6e77..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_test_probe_mode_response.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.test_probe_mode_response import TestProbeModeResponse - -class TestTestProbeModeResponse(unittest.TestCase): - """TestProbeModeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProbeModeResponse(self): - """Test TestProbeModeResponse""" - # inst = TestProbeModeResponse() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_test_protocol.py b/thousandeyes-sdk-endpoint-test-results/test/test_test_protocol.py deleted file mode 100644 index 9b7b2edf..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.test_protocol import TestProtocol - -class TestTestProtocol(unittest.TestCase): - """TestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProtocol(self): - """Test TestProtocol""" - # inst = TestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_test_result.py b/thousandeyes-sdk-endpoint-test-results/test/test_test_result.py deleted file mode 100644 index b4d02a0f..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_test_result.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.test_result import TestResult - -class TestTestResult(unittest.TestCase): - """TestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestResult: - """Test TestResult - include_option 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 `TestResult` - """ - model = TestResult() - if include_optional: - return TestResult( - aid = '1234', - agent_id = '861b7557-cd57-4bbb-b648-00bddf88ef49', - round_id = 1384309800, - server_ip = '185.199.108.153', - network_profile = None, - system_metrics = thousandeyes_sdk.endpoint_test_results.models.system_metrics.SystemMetrics( - start_time_ms = 1581508857327, - end_time_ms = 1581508867333, - cpu_utilization = thousandeyes_sdk.endpoint_test_results.models.cpu_utilization.CpuUtilization( - min = 0.22, - max = 0.75, - mean = 0.55, - median = 0.61, - std_dev = 0.01, - count = 150, ), - physical_memory_used_bytes = thousandeyes_sdk.endpoint_test_results.models.physical_memory_used_bytes.PhysicalMemoryUsedBytes( - min = 1.2, - max = 2.5, - mean = 1.77, - median = 1.85, - std_dev = 0.25, - count = 155, ), - physical_memory_total_bytes = 1024, ), - original_target_profile = thousandeyes_sdk.endpoint_test_results.models.target_profile.TargetProfile( - remote_port = 80, - remote_ip_address = '120.98.134.7', - protocol = 'tcp', ), - vpn_profile = thousandeyes_sdk.endpoint_test_results.models.vpn_profile.VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect', ) - ) - else: - return TestResult( - ) - """ - - def testTestResult(self): - """Test TestResult""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_test_ssl_version_id.py b/thousandeyes-sdk-endpoint-test-results/test/test_test_ssl_version_id.py deleted file mode 100644 index 7aaf60d3..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_test_ssl_version_id.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.test_ssl_version_id import TestSslVersionId - -class TestTestSslVersionId(unittest.TestCase): - """TestSslVersionId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestSslVersionId(self): - """Test TestSslVersionId""" - # inst = TestSslVersionId() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_rounds_search.py b/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_rounds_search.py deleted file mode 100644 index 5bf93a69..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_rounds_search.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.tests_data_rounds_search import TestsDataRoundsSearch - -class TestTestsDataRoundsSearch(unittest.TestCase): - """TestsDataRoundsSearch unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestsDataRoundsSearch: - """Test TestsDataRoundsSearch - include_option 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 `TestsDataRoundsSearch` - """ - model = TestsDataRoundsSearch() - if include_optional: - return TestsDataRoundsSearch( - search_sort = [ - thousandeyes_sdk.endpoint_test_results.models.tests_data_search_sort.TestsDataSearchSort( - sort = 'round-id', - order = 'desc', ) - ], - threshold_filter = thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filters.TestsDataThresholdFilters( - filters = [ - thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filter.TestsDataThresholdFilter( - name = 'loss', - value = 1.337, - operator = 'gte', ) - ], - conditional_operator = 'and', ), - search_filters = thousandeyes_sdk.endpoint_test_results.models.tests_data_search_filter.TestsDataSearchFilter( - agent_id = [ - '52455b09-ff1b-4849-8194-99026cc890e0' - ], ) - ) - else: - return TestsDataRoundsSearch( - ) - """ - - def testTestsDataRoundsSearch(self): - """Test TestsDataRoundsSearch""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_filter.py b/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_filter.py deleted file mode 100644 index 4baa3af2..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_filter.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.tests_data_search_filter import TestsDataSearchFilter - -class TestTestsDataSearchFilter(unittest.TestCase): - """TestsDataSearchFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestsDataSearchFilter: - """Test TestsDataSearchFilter - include_option 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 `TestsDataSearchFilter` - """ - model = TestsDataSearchFilter() - if include_optional: - return TestsDataSearchFilter( - agent_id = [ - '52455b09-ff1b-4849-8194-99026cc890e0' - ] - ) - else: - return TestsDataSearchFilter( - ) - """ - - def testTestsDataSearchFilter(self): - """Test TestsDataSearchFilter""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_sort.py b/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_sort.py deleted file mode 100644 index fd531aff..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_sort.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.tests_data_search_sort import TestsDataSearchSort - -class TestTestsDataSearchSort(unittest.TestCase): - """TestsDataSearchSort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestsDataSearchSort: - """Test TestsDataSearchSort - include_option 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 `TestsDataSearchSort` - """ - model = TestsDataSearchSort() - if include_optional: - return TestsDataSearchSort( - sort = 'round-id', - order = 'desc' - ) - else: - return TestsDataSearchSort( - ) - """ - - def testTestsDataSearchSort(self): - """Test TestsDataSearchSort""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_sort_key.py b/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_sort_key.py deleted file mode 100644 index e70b06ea..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_search_sort_key.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.tests_data_search_sort_key import TestsDataSearchSortKey - -class TestTestsDataSearchSortKey(unittest.TestCase): - """TestsDataSearchSortKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestsDataSearchSortKey(self): - """Test TestsDataSearchSortKey""" - # inst = TestsDataSearchSortKey() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_threshold_filter.py b/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_threshold_filter.py deleted file mode 100644 index f3f603bf..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_threshold_filter.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filter import TestsDataThresholdFilter - -class TestTestsDataThresholdFilter(unittest.TestCase): - """TestsDataThresholdFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestsDataThresholdFilter: - """Test TestsDataThresholdFilter - include_option 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 `TestsDataThresholdFilter` - """ - model = TestsDataThresholdFilter() - if include_optional: - return TestsDataThresholdFilter( - name = 'loss', - value = 1.337, - operator = 'gte' - ) - else: - return TestsDataThresholdFilter( - ) - """ - - def testTestsDataThresholdFilter(self): - """Test TestsDataThresholdFilter""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_threshold_filters.py b/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_threshold_filters.py deleted file mode 100644 index 3cbec6a8..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_tests_data_threshold_filters.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filters import TestsDataThresholdFilters - -class TestTestsDataThresholdFilters(unittest.TestCase): - """TestsDataThresholdFilters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestsDataThresholdFilters: - """Test TestsDataThresholdFilters - include_option 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 `TestsDataThresholdFilters` - """ - model = TestsDataThresholdFilters() - if include_optional: - return TestsDataThresholdFilters( - filters = [ - thousandeyes_sdk.endpoint_test_results.models.tests_data_threshold_filter.TestsDataThresholdFilter( - name = 'loss', - value = 1.337, - operator = 'gte', ) - ], - conditional_operator = 'and' - ) - else: - return TestsDataThresholdFilters( - ) - """ - - def testTestsDataThresholdFilters(self): - """Test TestsDataThresholdFilters""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_threshold_filter_name.py b/thousandeyes-sdk-endpoint-test-results/test/test_threshold_filter_name.py deleted file mode 100644 index 69597138..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_threshold_filter_name.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.threshold_filter_name import ThresholdFilterName - -class TestThresholdFilterName(unittest.TestCase): - """ThresholdFilterName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testThresholdFilterName(self): - """Test ThresholdFilterName""" - # inst = ThresholdFilterName() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_threshold_filter_operator.py b/thousandeyes-sdk-endpoint-test-results/test/test_threshold_filter_operator.py deleted file mode 100644 index 83aa10ed..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_threshold_filter_operator.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.threshold_filter_operator import ThresholdFilterOperator - -class TestThresholdFilterOperator(unittest.TestCase): - """ThresholdFilterOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testThresholdFilterOperator(self): - """Test ThresholdFilterOperator""" - # inst = ThresholdFilterOperator() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_traceroute.py b/thousandeyes-sdk-endpoint-test-results/test/test_traceroute.py deleted file mode 100644 index 8f9fd14d..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_traceroute.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.traceroute import Traceroute - -class TestTraceroute(unittest.TestCase): - """Traceroute unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Traceroute: - """Test Traceroute - include_option 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 `Traceroute` - """ - model = Traceroute() - if include_optional: - return Traceroute( - destination = '13.32.22.232', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - internal_errors = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - hops = [ - null - ] - ) - else: - return Traceroute( - ) - """ - - def testTraceroute(self): - """Test Traceroute""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_traceroute_hop.py b/thousandeyes-sdk-endpoint-test-results/test/test_traceroute_hop.py deleted file mode 100644 index ba20187b..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_traceroute_hop.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.traceroute_hop import TracerouteHop - -class TestTracerouteHop(unittest.TestCase): - """TracerouteHop unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TracerouteHop: - """Test TracerouteHop - include_option 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 `TracerouteHop` - """ - model = TracerouteHop() - if include_optional: - return TracerouteHop( - hop = 1, - ip_address = '196.40.106.237', - prefix = '196.40.96.0/20', - asn = 34779, - delay = 5, - mpls = ["L=301472,E=0,S=1,T=1"], - name = '89-210-88-65.access.t-2.net' - ) - else: - return TracerouteHop( - ) - """ - - def testTracerouteHop(self): - """Test TracerouteHop""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_trigger.py b/thousandeyes-sdk-endpoint-test-results/test/test_trigger.py deleted file mode 100644 index 0dfefe88..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_trigger.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.trigger import Trigger - -class TestTrigger(unittest.TestCase): - """Trigger unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTrigger(self): - """Test Trigger""" - # inst = Trigger() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-test-results/test/test_unauthorized_error.py b/thousandeyes-sdk-endpoint-test-results/test/test_unauthorized_error.py deleted file mode 100644 index e4b8b766..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_validation_error.py b/thousandeyes-sdk-endpoint-test-results/test/test_validation_error.py deleted file mode 100644 index 05223796..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.endpoint_test_results.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_validation_error_item.py b/thousandeyes-sdk-endpoint-test-results/test/test_validation_error_item.py deleted file mode 100644 index 8b4079e1..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_vpn_network_ping.py b/thousandeyes-sdk-endpoint-test-results/test/test_vpn_network_ping.py deleted file mode 100644 index 390a55be..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_vpn_network_ping.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.vpn_network_ping import VpnNetworkPing - -class TestVpnNetworkPing(unittest.TestCase): - """VpnNetworkPing unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VpnNetworkPing: - """Test VpnNetworkPing - include_option 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 `VpnNetworkPing` - """ - model = VpnNetworkPing() - if include_optional: - return VpnNetworkPing( - avg_rtt = 7, - max_rtt = 66, - mean_dev_rtt = 11, - min_rtt = 1, - pkts_received = 10, - pkts_sent = 10, - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"] - ) - else: - return VpnNetworkPing( - ) - """ - - def testVpnNetworkPing(self): - """Test VpnNetworkPing""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_vpn_profile.py b/thousandeyes-sdk-endpoint-test-results/test/test_vpn_profile.py deleted file mode 100644 index 05389f83..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_vpn_profile.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.vpn_profile import VpnProfile - -class TestVpnProfile(unittest.TestCase): - """VpnProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VpnProfile: - """Test VpnProfile - include_option 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 `VpnProfile` - """ - model = VpnProfile() - if include_optional: - return VpnProfile( - vpn_client_addresses = ["184.81.113.85","13.129.91.62"], - vpn_client_network_range = [ - '9.88.37.27' - ], - vpn_gateway_address = '120.98.134.7', - vpn_type = 'cisco-anyconnect' - ) - else: - return VpnProfile( - ) - """ - - def testVpnProfile(self): - """Test VpnProfile""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_vpn_traceroute.py b/thousandeyes-sdk-endpoint-test-results/test/test_vpn_traceroute.py deleted file mode 100644 index 965ed4cf..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_vpn_traceroute.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.vpn_traceroute import VpnTraceroute - -class TestVpnTraceroute(unittest.TestCase): - """VpnTraceroute unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VpnTraceroute: - """Test VpnTraceroute - include_option 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 `VpnTraceroute` - """ - model = VpnTraceroute() - if include_optional: - return VpnTraceroute( - destination = '13.32.22.232', - error = 'An operation timed out.', - info_flags = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - internal_errors = ["TE_INFO_ICMP_BLOCKED_BY_FIREWALL"], - hops = [ - null - ] - ) - else: - return VpnTraceroute( - ) - """ - - def testVpnTraceroute(self): - """Test VpnTraceroute""" - # 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/thousandeyes-sdk-endpoint-test-results/test/test_vpn_type.py b/thousandeyes-sdk-endpoint-test-results/test/test_vpn_type.py deleted file mode 100644 index a43897a4..00000000 --- a/thousandeyes-sdk-endpoint-test-results/test/test_vpn_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Test Results API - - Retrieve results for scheduled and dynamic tests on endpoint agents. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_test_results.models.vpn_type import VpnType - -class TestVpnType(unittest.TestCase): - """VpnType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVpnType(self): - """Test VpnType""" - # inst = VpnType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_alert_direction.py b/thousandeyes-sdk-endpoint-tests/test/test_alert_direction.py deleted file mode 100644 index 52347cb9..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_alert_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.alert_direction import AlertDirection - -class TestAlertDirection(unittest.TestCase): - """AlertDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertDirection(self): - """Test AlertDirection""" - # inst = AlertDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_alert_rounds_violation_mode.py b/thousandeyes-sdk-endpoint-tests/test/test_alert_rounds_violation_mode.py deleted file mode 100644 index 7ecb79ef..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_alert_rounds_violation_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.alert_rounds_violation_mode import AlertRoundsViolationMode - -class TestAlertRoundsViolationMode(unittest.TestCase): - """AlertRoundsViolationMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertRoundsViolationMode(self): - """Test AlertRoundsViolationMode""" - # inst = AlertRoundsViolationMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_alert_rule.py b/thousandeyes-sdk-endpoint-tests/test/test_alert_rule.py deleted file mode 100644 index 0c8aecb5..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_alert_rule.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.alert_rule import AlertRule - -class TestAlertRule(unittest.TestCase): - """AlertRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertRule: - """Test AlertRule - include_option 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 `AlertRule` - """ - model = AlertRule() - if include_optional: - return AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major' - ) - else: - return AlertRule( - ) - """ - - def testAlertRule(self): - """Test AlertRule""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_alert_type.py b/thousandeyes-sdk-endpoint-tests/test/test_alert_type.py deleted file mode 100644 index 399a2948..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_alert_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.alert_type import AlertType - -class TestAlertType(unittest.TestCase): - """AlertType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertType(self): - """Test AlertType""" - # inst = AlertType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test.py b/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test.py deleted file mode 100644 index bb2fa372..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.dynamic_test import DynamicTest - -class TestDynamicTest(unittest.TestCase): - """DynamicTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTest: - """Test DynamicTest - include_option 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 `DynamicTest` - """ - model = DynamicTest() - if include_optional: - return DynamicTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_tests.models.dynamic_test_links.DynamicTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - application = 'webex', - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - has_path_trace_in_session = True, - has_ping = True, - has_traceroute = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - protocol = 'icmp', - tcp_probe_mode = 'auto', - test_id = '281474976710706', - test_name = 'Test name', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ] - ) - else: - return DynamicTest( - ) - """ - - def testDynamicTest(self): - """Test DynamicTest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_links.py b/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_links.py deleted file mode 100644 index a02b2ba9..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.dynamic_test_links import DynamicTestLinks - -class TestDynamicTestLinks(unittest.TestCase): - """DynamicTestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTestLinks: - """Test DynamicTestLinks - include_option 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 `DynamicTestLinks` - """ - model = DynamicTestLinks() - if include_optional: - return DynamicTestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}] - ) - else: - return DynamicTestLinks( - ) - """ - - def testDynamicTestLinks(self): - """Test DynamicTestLinks""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_request.py b/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_request.py deleted file mode 100644 index 5e9ebcb9..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.dynamic_test_request import DynamicTestRequest - -class TestDynamicTestRequest(unittest.TestCase): - """DynamicTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTestRequest: - """Test DynamicTestRequest - include_option 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 `DynamicTestRequest` - """ - model = DynamicTestRequest() - if include_optional: - return DynamicTestRequest( - aid = '1234', - links = thousandeyes_sdk.endpoint_tests.models.dynamic_test_links.DynamicTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - application = 'webex', - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - has_path_trace_in_session = True, - has_ping = True, - has_traceroute = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - protocol = 'icmp', - tcp_probe_mode = 'auto', - test_id = '281474976710706', - test_name = 'Test name', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - endpoint_agent_labels = ["567","214"], - max_machines = 250 - ) - else: - return DynamicTestRequest( - ) - """ - - def testDynamicTestRequest(self): - """Test DynamicTestRequest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_self_link.py b/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_self_link.py deleted file mode 100644 index 169377f4..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_dynamic_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.dynamic_test_self_link import DynamicTestSelfLink - -class TestDynamicTestSelfLink(unittest.TestCase): - """DynamicTestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTestSelfLink: - """Test DynamicTestSelfLink - include_option 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 `DynamicTestSelfLink` - """ - model = DynamicTestSelfLink() - if include_optional: - return DynamicTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return DynamicTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testDynamicTestSelfLink(self): - """Test DynamicTestSelfLink""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_dynamic_tests.py b/thousandeyes-sdk-endpoint-tests/test/test_dynamic_tests.py deleted file mode 100644 index bc173cb0..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_dynamic_tests.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.dynamic_tests import DynamicTests - -class TestDynamicTests(unittest.TestCase): - """DynamicTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicTests: - """Test DynamicTests - include_option 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 `DynamicTests` - """ - model = DynamicTests() - if include_optional: - return DynamicTests( - tests = [ - thousandeyes_sdk.endpoint_tests.models.dynamic_test.DynamicTest( - aid = '1234', - _links = thousandeyes_sdk.endpoint_tests.models.dynamic_test_links.DynamicTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - application = 'webex', - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - has_path_trace_in_session = True, - has_ping = True, - has_traceroute = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - protocol = 'icmp', - tcp_probe_mode = 'auto', - test_id = '281474976710706', - test_name = 'Test name', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], ) - ], - links = thousandeyes_sdk.endpoint_tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return DynamicTests( - ) - """ - - def testDynamicTests(self): - """Test DynamicTests""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_labels_selector_config.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_labels_selector_config.py deleted file mode 100644 index a24801dc..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_labels_selector_config.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_labels_selector_config import EndpointAgentLabelsSelectorConfig - -class TestEndpointAgentLabelsSelectorConfig(unittest.TestCase): - """EndpointAgentLabelsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentLabelsSelectorConfig: - """Test EndpointAgentLabelsSelectorConfig - include_option 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 `EndpointAgentLabelsSelectorConfig` - """ - model = EndpointAgentLabelsSelectorConfig() - if include_optional: - return EndpointAgentLabelsSelectorConfig( - agent_selector_type = 'agent-labels', - max_machines = 10, - endpoint_agent_labels = ["567","214"] - ) - else: - return EndpointAgentLabelsSelectorConfig( - agent_selector_type = 'agent-labels', - ) - """ - - def testEndpointAgentLabelsSelectorConfig(self): - """Test EndpointAgentLabelsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_selector_config.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_selector_config.py deleted file mode 100644 index d5a41061..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_selector_config.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config import EndpointAgentSelectorConfig - -class TestEndpointAgentSelectorConfig(unittest.TestCase): - """EndpointAgentSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentSelectorConfig: - """Test EndpointAgentSelectorConfig - include_option 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 `EndpointAgentSelectorConfig` - """ - model = EndpointAgentSelectorConfig() - if include_optional: - return EndpointAgentSelectorConfig( - agent_selector_type = 'specific-agents', - max_machines = 10, - endpoint_agent_labels = ["567","214"], - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"] - ) - else: - return EndpointAgentSelectorConfig( - agent_selector_type = 'specific-agents', - ) - """ - - def testEndpointAgentSelectorConfig(self): - """Test EndpointAgentSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_instant_test.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_instant_test.py deleted file mode 100644 index a3fbc8ff..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_instant_test.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_to_server_instant_test import EndpointAgentToServerInstantTest - -class TestEndpointAgentToServerInstantTest(unittest.TestCase): - """EndpointAgentToServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentToServerInstantTest: - """Test EndpointAgentToServerInstantTest - include_option 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 `EndpointAgentToServerInstantTest` - """ - model = EndpointAgentToServerInstantTest() - if include_optional: - return EndpointAgentToServerInstantTest( - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - has_ping = True, - has_traceroute = True, - endpoint_agent_labels = ["567","214"], - max_machines = 10, - port = 80, - test_name = 'Test name', - server_name = 'www.example.com' - ) - else: - return EndpointAgentToServerInstantTest( - agent_selector_type = 'all-agents', - max_machines = 10, - test_name = 'Test name', - server_name = 'www.example.com', - ) - """ - - def testEndpointAgentToServerInstantTest(self): - """Test EndpointAgentToServerInstantTest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_test.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_test.py deleted file mode 100644 index 9c0eb52b..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_test.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_to_server_test import EndpointAgentToServerTest - -class TestEndpointAgentToServerTest(unittest.TestCase): - """EndpointAgentToServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentToServerTest: - """Test EndpointAgentToServerTest - include_option 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 `EndpointAgentToServerTest` - """ - model = EndpointAgentToServerTest() - if include_optional: - return EndpointAgentToServerTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_tests.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'agent-to-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ] - ) - else: - return EndpointAgentToServerTest( - type = 'agent-to-server', - ) - """ - - def testEndpointAgentToServerTest(self): - """Test EndpointAgentToServerTest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_test_request.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_test_request.py deleted file mode 100644 index 53f8b4af..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_test_request.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_to_server_test_request import EndpointAgentToServerTestRequest - -class TestEndpointAgentToServerTestRequest(unittest.TestCase): - """EndpointAgentToServerTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentToServerTestRequest: - """Test EndpointAgentToServerTestRequest - include_option 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 `EndpointAgentToServerTestRequest` - """ - model = EndpointAgentToServerTestRequest() - if include_optional: - return EndpointAgentToServerTestRequest( - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - has_ping = True, - has_traceroute = True, - endpoint_agent_labels = ["567","214"], - max_machines = 10, - port = 80, - test_name = 'Test name', - server_name = 'www.example.com', - interval = 120 - ) - else: - return EndpointAgentToServerTestRequest( - agent_selector_type = 'all-agents', - max_machines = 10, - test_name = 'Test name', - server_name = 'www.example.com', - interval = 120, - ) - """ - - def testEndpointAgentToServerTestRequest(self): - """Test EndpointAgentToServerTestRequest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_tests.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_tests.py deleted file mode 100644 index c7f8eefc..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_agent_to_server_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_to_server_tests import EndpointAgentToServerTests - -class TestEndpointAgentToServerTests(unittest.TestCase): - """EndpointAgentToServerTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentToServerTests: - """Test EndpointAgentToServerTests - include_option 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 `EndpointAgentToServerTests` - """ - model = EndpointAgentToServerTests() - if include_optional: - return EndpointAgentToServerTests( - tests = [ - null - ], - links = thousandeyes_sdk.endpoint_tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return EndpointAgentToServerTests( - ) - """ - - def testEndpointAgentToServerTests(self): - """Test EndpointAgentToServerTests""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_all_agents_selector_config.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_all_agents_selector_config.py deleted file mode 100644 index 7693f12c..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_all_agents_selector_config.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_all_agents_selector_config import EndpointAllAgentsSelectorConfig - -class TestEndpointAllAgentsSelectorConfig(unittest.TestCase): - """EndpointAllAgentsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAllAgentsSelectorConfig: - """Test EndpointAllAgentsSelectorConfig - include_option 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 `EndpointAllAgentsSelectorConfig` - """ - model = EndpointAllAgentsSelectorConfig() - if include_optional: - return EndpointAllAgentsSelectorConfig( - agent_selector_type = 'all-agents', - max_machines = 10 - ) - else: - return EndpointAllAgentsSelectorConfig( - agent_selector_type = 'all-agents', - ) - """ - - def testEndpointAllAgentsSelectorConfig(self): - """Test EndpointAllAgentsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_dynamic_test_update.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_dynamic_test_update.py deleted file mode 100644 index 496f2835..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_dynamic_test_update.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_dynamic_test_update import EndpointDynamicTestUpdate - -class TestEndpointDynamicTestUpdate(unittest.TestCase): - """EndpointDynamicTestUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointDynamicTestUpdate: - """Test EndpointDynamicTestUpdate - include_option 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 `EndpointDynamicTestUpdate` - """ - model = EndpointDynamicTestUpdate() - if include_optional: - return EndpointDynamicTestUpdate( - interval = 120, - test_name = 'Test name', - protocol = 'icmp', - is_enabled = True, - tcp_probe_mode = 'auto', - application = 'webex' - ) - else: - return EndpointDynamicTestUpdate( - ) - """ - - def testEndpointDynamicTestUpdate(self): - """Test EndpointDynamicTestUpdate""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_base_test.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_base_test.py deleted file mode 100644 index 248134af..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_base_test.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_base_test import EndpointHttpServerBaseTest - -class TestEndpointHttpServerBaseTest(unittest.TestCase): - """EndpointHttpServerBaseTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerBaseTest: - """Test EndpointHttpServerBaseTest - include_option 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 `EndpointHttpServerBaseTest` - """ - model = EndpointHttpServerBaseTest() - if include_optional: - return EndpointHttpServerBaseTest( - auth_type = 'none', - has_path_trace_in_session = True, - http_time_limit = 5000, - protocol = 'icmp', - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - tcp_probe_mode = 'auto', - verify_certificate = False - ) - else: - return EndpointHttpServerBaseTest( - ) - """ - - def testEndpointHttpServerBaseTest(self): - """Test EndpointHttpServerBaseTest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_instant_test.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_instant_test.py deleted file mode 100644 index e44979e5..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_instant_test.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_instant_test import EndpointHttpServerInstantTest - -class TestEndpointHttpServerInstantTest(unittest.TestCase): - """EndpointHttpServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerInstantTest: - """Test EndpointHttpServerInstantTest - include_option 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 `EndpointHttpServerInstantTest` - """ - model = EndpointHttpServerInstantTest() - if include_optional: - return EndpointHttpServerInstantTest( - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - has_ping = True, - has_traceroute = True, - endpoint_agent_labels = ["567","214"], - max_machines = 10, - port = 80, - test_name = 'Test name', - auth_type = 'none', - has_path_trace_in_session = True, - http_time_limit = 5000, - protocol = 'icmp', - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - tcp_probe_mode = 'auto', - verify_certificate = False, - target_response_time = 1000, - password = 'password' - ) - else: - return EndpointHttpServerInstantTest( - agent_selector_type = 'all-agents', - max_machines = 10, - test_name = 'Test name', - http_time_limit = 5000, - url = 'www.example.com', - ssl_version_id = '0', - verify_certificate = False, - target_response_time = 1000, - ) - """ - - def testEndpointHttpServerInstantTest(self): - """Test EndpointHttpServerInstantTest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_test.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_test.py deleted file mode 100644 index dccbaae1..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_test.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_test import EndpointHttpServerTest - -class TestEndpointHttpServerTest(unittest.TestCase): - """EndpointHttpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerTest: - """Test EndpointHttpServerTest - include_option 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 `EndpointHttpServerTest` - """ - model = EndpointHttpServerTest() - if include_optional: - return EndpointHttpServerTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_tests.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'http-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - auth_type = 'none', - http_time_limit = 5000, - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - verify_certificate = False, - content_regex = '(regex)+', - follow_redirects = True, - http_target_time = 100, - http_version = 1, - post_body = 'body', - ssl_version = 'Auto', - use_ntlm = False, - user_agent = 'curl', - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ] - ) - else: - return EndpointHttpServerTest( - type = 'http-server', - ) - """ - - def testEndpointHttpServerTest(self): - """Test EndpointHttpServerTest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_test_request.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_test_request.py deleted file mode 100644 index 074477aa..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_test_request.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_test_request import EndpointHttpServerTestRequest - -class TestEndpointHttpServerTestRequest(unittest.TestCase): - """EndpointHttpServerTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerTestRequest: - """Test EndpointHttpServerTestRequest - include_option 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 `EndpointHttpServerTestRequest` - """ - model = EndpointHttpServerTestRequest() - if include_optional: - return EndpointHttpServerTestRequest( - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - has_ping = True, - has_traceroute = True, - endpoint_agent_labels = ["567","214"], - max_machines = 10, - port = 80, - test_name = 'Test name', - auth_type = 'none', - has_path_trace_in_session = True, - http_time_limit = 5000, - protocol = 'icmp', - url = 'www.example.com', - username = 'username', - ssl_version_id = '0', - tcp_probe_mode = 'auto', - verify_certificate = False, - target_response_time = 1000, - password = 'password', - interval = 120 - ) - else: - return EndpointHttpServerTestRequest( - agent_selector_type = 'all-agents', - max_machines = 10, - test_name = 'Test name', - http_time_limit = 5000, - url = 'www.example.com', - ssl_version_id = '0', - verify_certificate = False, - target_response_time = 1000, - interval = 120, - ) - """ - - def testEndpointHttpServerTestRequest(self): - """Test EndpointHttpServerTestRequest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_tests.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_tests.py deleted file mode 100644 index 8444bcda..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_server_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_http_server_tests import EndpointHttpServerTests - -class TestEndpointHttpServerTests(unittest.TestCase): - """EndpointHttpServerTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpServerTests: - """Test EndpointHttpServerTests - include_option 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 `EndpointHttpServerTests` - """ - model = EndpointHttpServerTests() - if include_optional: - return EndpointHttpServerTests( - tests = [ - null - ], - links = thousandeyes_sdk.endpoint_tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return EndpointHttpServerTests( - ) - """ - - def testEndpointHttpServerTests(self): - """Test EndpointHttpServerTests""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_test_update.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_test_update.py deleted file mode 100644 index effc36dc..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_http_test_update.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_http_test_update import EndpointHttpTestUpdate - -class TestEndpointHttpTestUpdate(unittest.TestCase): - """EndpointHttpTestUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointHttpTestUpdate: - """Test EndpointHttpTestUpdate - include_option 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 `EndpointHttpTestUpdate` - """ - model = EndpointHttpTestUpdate() - if include_optional: - return EndpointHttpTestUpdate( - interval = 120, - test_name = 'Test name', - protocol = 'icmp', - is_enabled = True, - tcp_probe_mode = 'auto', - url = 'www.thousandeyes.com' - ) - else: - return EndpointHttpTestUpdate( - ) - """ - - def testEndpointHttpTestUpdate(self): - """Test EndpointHttpTestUpdate""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_instant_test.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_instant_test.py deleted file mode 100644 index dbe74992..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_instant_test.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_instant_test import EndpointInstantTest - -class TestEndpointInstantTest(unittest.TestCase): - """EndpointInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointInstantTest: - """Test EndpointInstantTest - include_option 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 `EndpointInstantTest` - """ - model = EndpointInstantTest() - if include_optional: - return EndpointInstantTest( - agent_selector_type = 'all-agents', - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"], - has_ping = True, - has_traceroute = True, - endpoint_agent_labels = ["567","214"], - max_machines = 10, - port = 80, - test_name = 'Test name' - ) - else: - return EndpointInstantTest( - agent_selector_type = 'all-agents', - max_machines = 10, - test_name = 'Test name', - ) - """ - - def testEndpointInstantTest(self): - """Test EndpointInstantTest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_network_test_update.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_network_test_update.py deleted file mode 100644 index 37b7aeb1..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_network_test_update.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_network_test_update import EndpointNetworkTestUpdate - -class TestEndpointNetworkTestUpdate(unittest.TestCase): - """EndpointNetworkTestUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointNetworkTestUpdate: - """Test EndpointNetworkTestUpdate - include_option 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 `EndpointNetworkTestUpdate` - """ - model = EndpointNetworkTestUpdate() - if include_optional: - return EndpointNetworkTestUpdate( - interval = 120, - test_name = 'Test name', - protocol = 'icmp', - is_enabled = True, - tcp_probe_mode = 'auto', - port = 1, - server = 'www.example.com' - ) - else: - return EndpointNetworkTestUpdate( - ) - """ - - def testEndpointNetworkTestUpdate(self): - """Test EndpointNetworkTestUpdate""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_scheduled_test_type.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_scheduled_test_type.py deleted file mode 100644 index 031995c2..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_scheduled_test_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_scheduled_test_type import EndpointScheduledTestType - -class TestEndpointScheduledTestType(unittest.TestCase): - """EndpointScheduledTestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointScheduledTestType(self): - """Test EndpointScheduledTestType""" - # inst = EndpointScheduledTestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_specific_agents_selector_config.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_specific_agents_selector_config.py deleted file mode 100644 index b0e9bf53..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_specific_agents_selector_config.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_specific_agents_selector_config import EndpointSpecificAgentsSelectorConfig - -class TestEndpointSpecificAgentsSelectorConfig(unittest.TestCase): - """EndpointSpecificAgentsSelectorConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointSpecificAgentsSelectorConfig: - """Test EndpointSpecificAgentsSelectorConfig - include_option 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 `EndpointSpecificAgentsSelectorConfig` - """ - model = EndpointSpecificAgentsSelectorConfig() - if include_optional: - return EndpointSpecificAgentsSelectorConfig( - agent_selector_type = 'specific-agents', - max_machines = 10, - agents = ["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1","66eec0f1-72b4-4755-aa83-3aed61d17f3c"] - ) - else: - return EndpointSpecificAgentsSelectorConfig( - agent_selector_type = 'specific-agents', - ) - """ - - def testEndpointSpecificAgentsSelectorConfig(self): - """Test EndpointSpecificAgentsSelectorConfig""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test.py deleted file mode 100644 index 9432bc1d..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_test import EndpointTest - -class TestEndpointTest(unittest.TestCase): - """EndpointTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTest: - """Test EndpointTest - include_option 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 `EndpointTest` - """ - model = EndpointTest() - if include_optional: - return EndpointTest( - aid = '1234', - links = thousandeyes_sdk.endpoint_tests.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'agent-to-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ] - ) - else: - return EndpointTest( - type = 'agent-to-server', - ) - """ - - def testEndpointTest(self): - """Test EndpointTest""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_agent_selector_type.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_agent_selector_type.py deleted file mode 100644 index 73cba7df..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_agent_selector_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_test_agent_selector_type import EndpointTestAgentSelectorType - -class TestEndpointTestAgentSelectorType(unittest.TestCase): - """EndpointTestAgentSelectorType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointTestAgentSelectorType(self): - """Test EndpointTestAgentSelectorType""" - # inst = EndpointTestAgentSelectorType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_auth_type.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_auth_type.py deleted file mode 100644 index d9510999..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_auth_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_test_auth_type import EndpointTestAuthType - -class TestEndpointTestAuthType(unittest.TestCase): - """EndpointTestAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointTestAuthType(self): - """Test EndpointTestAuthType""" - # inst = EndpointTestAuthType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_links.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_links.py deleted file mode 100644 index 0b5d2872..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_test_links import EndpointTestLinks - -class TestEndpointTestLinks(unittest.TestCase): - """EndpointTestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTestLinks: - """Test EndpointTestLinks - include_option 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 `EndpointTestLinks` - """ - model = EndpointTestLinks() - if include_optional: - return EndpointTestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}] - ) - else: - return EndpointTestLinks( - ) - """ - - def testEndpointTestLinks(self): - """Test EndpointTestLinks""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_protocol.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_protocol.py deleted file mode 100644 index 21e9f944..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_test_protocol import EndpointTestProtocol - -class TestEndpointTestProtocol(unittest.TestCase): - """EndpointTestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointTestProtocol(self): - """Test EndpointTestProtocol""" - # inst = EndpointTestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_self_link.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_self_link.py deleted file mode 100644 index 28a572f3..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_test_self_link import EndpointTestSelfLink - -class TestEndpointTestSelfLink(unittest.TestCase): - """EndpointTestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTestSelfLink: - """Test EndpointTestSelfLink - include_option 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 `EndpointTestSelfLink` - """ - model = EndpointTestSelfLink() - if include_optional: - return EndpointTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return EndpointTestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testEndpointTestSelfLink(self): - """Test EndpointTestSelfLink""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_endpoint_tests.py b/thousandeyes-sdk-endpoint-tests/test/test_endpoint_tests.py deleted file mode 100644 index d8bce199..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_endpoint_tests.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.endpoint_tests import EndpointTests - -class TestEndpointTests(unittest.TestCase): - """EndpointTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointTests: - """Test EndpointTests - include_option 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 `EndpointTests` - """ - model = EndpointTests() - if include_optional: - return EndpointTests( - tests = [ - thousandeyes_sdk.endpoint_tests.models.endpoint_test.EndpointTest( - aid = '1234', - _links = thousandeyes_sdk.endpoint_tests.models.endpoint_test_links.EndpointTestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter"},{"href":"https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis"}], ), - agent_selector_config = thousandeyes_sdk.endpoint_tests.models.endpoint_agent_selector_config.EndpointAgentSelectorConfig(), - created_date = '2022-07-17T22:00:54Z', - interval = 120, - is_enabled = True, - is_saved_event = False, - has_path_trace_in_session = True, - modified_date = '2022-07-17T22:00:54Z', - network_measurements = True, - port = 80, - protocol = 'icmp', - server = 'www.example.com', - test_id = '281474976710706', - test_name = 'Test name', - type = 'agent-to-server', - tcp_probe_mode = 'auto', - alert_rules = [ - thousandeyes_sdk.endpoint_tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], ) - ], - links = thousandeyes_sdk.endpoint_tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.endpoint_tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return EndpointTests( - ) - """ - - def testEndpointTests(self): - """Test EndpointTests""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_error.py b/thousandeyes-sdk-endpoint-tests/test/test_error.py deleted file mode 100644 index 0ed87be0..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_link.py b/thousandeyes-sdk-endpoint-tests/test/test_link.py deleted file mode 100644 index 4ae5a835..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_self_links.py b/thousandeyes-sdk-endpoint-tests/test/test_self_links.py deleted file mode 100644 index 7c1da95e..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.endpoint_tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_severity.py b/thousandeyes-sdk-endpoint-tests/test/test_severity.py deleted file mode 100644 index 8b5651a7..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_severity.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.severity import Severity - -class TestSeverity(unittest.TestCase): - """Severity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSeverity(self): - """Test Severity""" - # inst = Severity() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_test_interval.py b/thousandeyes-sdk-endpoint-tests/test/test_test_interval.py deleted file mode 100644 index 6714ce34..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_test_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.test_interval import TestInterval - -class TestTestInterval(unittest.TestCase): - """TestInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestInterval(self): - """Test TestInterval""" - # inst = TestInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_test_label.py b/thousandeyes-sdk-endpoint-tests/test/test_test_label.py deleted file mode 100644 index 8b089190..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_test_label.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.test_label import TestLabel - -class TestTestLabel(unittest.TestCase): - """TestLabel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLabel: - """Test TestLabel - include_option 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 `TestLabel` - """ - model = TestLabel() - if include_optional: - return TestLabel( - label_id = '', - name = '', - is_builtin = True - ) - else: - return TestLabel( - ) - """ - - def testTestLabel(self): - """Test TestLabel""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_test_probe_mode.py b/thousandeyes-sdk-endpoint-tests/test/test_test_probe_mode.py deleted file mode 100644 index 88882ef9..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_test_probe_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.test_probe_mode import TestProbeMode - -class TestTestProbeMode(unittest.TestCase): - """TestProbeMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProbeMode(self): - """Test TestProbeMode""" - # inst = TestProbeMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_test_probe_mode_response.py b/thousandeyes-sdk-endpoint-tests/test/test_test_probe_mode_response.py deleted file mode 100644 index 43dfcfb7..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_test_probe_mode_response.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.test_probe_mode_response import TestProbeModeResponse - -class TestTestProbeModeResponse(unittest.TestCase): - """TestProbeModeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProbeModeResponse(self): - """Test TestProbeModeResponse""" - # inst = TestProbeModeResponse() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_test_ssl_version_id.py b/thousandeyes-sdk-endpoint-tests/test/test_test_ssl_version_id.py deleted file mode 100644 index bbc6b618..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_test_ssl_version_id.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.test_ssl_version_id import TestSslVersionId - -class TestTestSslVersionId(unittest.TestCase): - """TestSslVersionId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestSslVersionId(self): - """Test TestSslVersionId""" - # inst = TestSslVersionId() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-endpoint-tests/test/test_test_update.py b/thousandeyes-sdk-endpoint-tests/test/test_test_update.py deleted file mode 100644 index 39ace954..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_test_update.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.test_update import TestUpdate - -class TestTestUpdate(unittest.TestCase): - """TestUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestUpdate: - """Test TestUpdate - include_option 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 `TestUpdate` - """ - model = TestUpdate() - if include_optional: - return TestUpdate( - interval = 120, - test_name = 'Test name', - protocol = 'icmp', - is_enabled = True, - tcp_probe_mode = 'auto' - ) - else: - return TestUpdate( - ) - """ - - def testTestUpdate(self): - """Test TestUpdate""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_unauthorized_error.py b/thousandeyes-sdk-endpoint-tests/test/test_unauthorized_error.py deleted file mode 100644 index e39a2aba..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_validation_error.py b/thousandeyes-sdk-endpoint-tests/test/test_validation_error.py deleted file mode 100644 index b8166338..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.endpoint_tests.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-endpoint-tests/test/test_validation_error_item.py b/thousandeyes-sdk-endpoint-tests/test/test_validation_error_item.py deleted file mode 100644 index fc862222..00000000 --- a/thousandeyes-sdk-endpoint-tests/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Endpoint Tests API - - Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.endpoint_tests.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-instant-tests/test/test_agent.py b/thousandeyes-sdk-instant-tests/test/test_agent.py deleted file mode 100644 index 86ce34f4..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent import Agent - -class TestAgent(unittest.TestCase): - """Agent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Agent: - """Test Agent - include_option 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 `Agent` - """ - model = Agent() - if include_optional: - return Agent( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - agent_type = 'enterprise-cluster' - ) - else: - return Agent( - agent_type = 'enterprise-cluster', - ) - """ - - def testAgent(self): - """Test Agent""" - # 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/thousandeyes-sdk-instant-tests/test/test_agent_base.py b/thousandeyes-sdk-instant-tests/test/test_agent_base.py deleted file mode 100644 index c405e79f..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent_base.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent_base import AgentBase - -class TestAgentBase(unittest.TestCase): - """AgentBase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentBase: - """Test AgentBase - include_option 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 `AgentBase` - """ - model = AgentBase() - if include_optional: - return AgentBase( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)' - ) - else: - return AgentBase( - ) - """ - - def testAgentBase(self): - """Test AgentBase""" - # 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/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_test.py deleted file mode 100644 index a275a47e..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_test.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent_to_agent_instant_test import AgentToAgentInstantTest - -class TestAgentToAgentInstantTest(unittest.TestCase): - """AgentToAgentInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToAgentInstantTest: - """Test AgentToAgentInstantTest - include_option 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 `AgentToAgentInstantTest` - """ - model = AgentToAgentInstantTest() - if include_optional: - return AgentToAgentInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-agent', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - direction = 'to-target', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - mss = 20, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - protocol = 'tcp', - target_agent_id = '2954', - throughput_measurements = True, - throughput_duration = 5000, - throughput_rate = 8, - fixed_packet_rate = 50, - agents = [ - null - ] - ) - else: - return AgentToAgentInstantTest( - target_agent_id = '2954', - ) - """ - - def testAgentToAgentInstantTest(self): - """Test AgentToAgentInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_test_request.py deleted file mode 100644 index 2451682f..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_instant_test_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent_to_agent_instant_test_request import AgentToAgentInstantTestRequest - -class TestAgentToAgentInstantTestRequest(unittest.TestCase): - """AgentToAgentInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToAgentInstantTestRequest: - """Test AgentToAgentInstantTestRequest - include_option 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 `AgentToAgentInstantTestRequest` - """ - model = AgentToAgentInstantTestRequest() - if include_optional: - return AgentToAgentInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-agent', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - direction = 'to-target', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - mss = 20, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - protocol = 'tcp', - target_agent_id = '2954', - throughput_measurements = True, - throughput_duration = 5000, - throughput_rate = 8, - fixed_packet_rate = 50, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return AgentToAgentInstantTestRequest( - target_agent_id = '2954', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testAgentToAgentInstantTestRequest(self): - """Test AgentToAgentInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_properties.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_properties.py deleted file mode 100644 index 802778c2..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_properties.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent_to_agent_properties import AgentToAgentProperties - -class TestAgentToAgentProperties(unittest.TestCase): - """AgentToAgentProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToAgentProperties: - """Test AgentToAgentProperties - include_option 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 `AgentToAgentProperties` - """ - model = AgentToAgentProperties() - if include_optional: - return AgentToAgentProperties( - direction = 'to-target', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - mss = 20, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - protocol = 'tcp', - target_agent_id = '2954', - throughput_measurements = True, - throughput_duration = 5000, - throughput_rate = 8, - fixed_packet_rate = 50, - type = 'agent-to-agent' - ) - else: - return AgentToAgentProperties( - target_agent_id = '2954', - ) - """ - - def testAgentToAgentProperties(self): - """Test AgentToAgentProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_test_protocol.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_test_protocol.py deleted file mode 100644 index 3f3a51f2..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_agent_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent_to_agent_test_protocol import AgentToAgentTestProtocol - -class TestAgentToAgentTestProtocol(unittest.TestCase): - """AgentToAgentTestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAgentToAgentTestProtocol(self): - """Test AgentToAgentTestProtocol""" - # inst = AgentToAgentTestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_test.py deleted file mode 100644 index 91fe07ee..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_test.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent_to_server_instant_test import AgentToServerInstantTest - -class TestAgentToServerInstantTest(unittest.TestCase): - """AgentToServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToServerInstantTest: - """Test AgentToServerInstantTest - include_option 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 `AgentToServerInstantTest` - """ - model = AgentToServerInstantTest() - if include_optional: - return AgentToServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - continuous_mode = False, - fixed_packet_rate = 25, - mtu_measurements = False, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - probe_mode = 'auto', - protocol = 'tcp', - server = 'www.thousandeyes.com', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - ipv6_policy = 'use-agent-policy', - ping_payload_size = 0, - network_measurements = True, - agents = [ - null - ] - ) - else: - return AgentToServerInstantTest( - server = 'www.thousandeyes.com', - ) - """ - - def testAgentToServerInstantTest(self): - """Test AgentToServerInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_test_request.py deleted file mode 100644 index 8d5e4f2e..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_server_instant_test_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent_to_server_instant_test_request import AgentToServerInstantTestRequest - -class TestAgentToServerInstantTestRequest(unittest.TestCase): - """AgentToServerInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToServerInstantTestRequest: - """Test AgentToServerInstantTestRequest - include_option 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 `AgentToServerInstantTestRequest` - """ - model = AgentToServerInstantTestRequest() - if include_optional: - return AgentToServerInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - bandwidth_measurements = True, - continuous_mode = False, - fixed_packet_rate = 25, - mtu_measurements = False, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - probe_mode = 'auto', - protocol = 'tcp', - server = 'www.thousandeyes.com', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - ipv6_policy = 'use-agent-policy', - ping_payload_size = 0, - network_measurements = True, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return AgentToServerInstantTestRequest( - server = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testAgentToServerInstantTestRequest(self): - """Test AgentToServerInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_agent_to_server_properties.py b/thousandeyes-sdk-instant-tests/test/test_agent_to_server_properties.py deleted file mode 100644 index 63aa58ae..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_agent_to_server_properties.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.agent_to_server_properties import AgentToServerProperties - -class TestAgentToServerProperties(unittest.TestCase): - """AgentToServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToServerProperties: - """Test AgentToServerProperties - include_option 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 `AgentToServerProperties` - """ - model = AgentToServerProperties() - if include_optional: - return AgentToServerProperties( - bandwidth_measurements = True, - continuous_mode = False, - fixed_packet_rate = 25, - mtu_measurements = False, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - probe_mode = 'auto', - protocol = 'tcp', - server = 'www.thousandeyes.com', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - ipv6_policy = 'use-agent-policy', - ping_payload_size = 0, - network_measurements = True, - type = 'agent-to-server' - ) - else: - return AgentToServerProperties( - server = 'www.thousandeyes.com', - ) - """ - - def testAgentToServerProperties(self): - """Test AgentToServerProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_api_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_api_instant_test.py deleted file mode 100644 index 36166bd4..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_instant_test.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_instant_test import ApiInstantTest - -class TestApiInstantTest(unittest.TestCase): - """ApiInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiInstantTest: - """Test ApiInstantTest - include_option 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 `ApiInstantTest` - """ - model = ApiInstantTest() - if include_optional: - return ApiInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'api', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - follow_redirects = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - predefined_variables = [ - thousandeyes_sdk.instant_tests.models.api_predefined_variable.ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName', ) - ], - probe_mode = 'auto', - protocol = 'tcp', - requests = [ - thousandeyes_sdk.instant_tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.instant_tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.instant_tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.instant_tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - url = 'www.thousandeyes.com', - agents = [ - null - ], - credentials = ["3247","1051"] - ) - else: - return ApiInstantTest( - requests = [ - thousandeyes_sdk.instant_tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.instant_tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.instant_tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.instant_tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - url = 'www.thousandeyes.com', - ) - """ - - def testApiInstantTest(self): - """Test ApiInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_api_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_api_instant_test_request.py deleted file mode 100644 index 099724f5..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_instant_test_request.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_instant_test_request import ApiInstantTestRequest - -class TestApiInstantTestRequest(unittest.TestCase): - """ApiInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiInstantTestRequest: - """Test ApiInstantTestRequest - include_option 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 `ApiInstantTestRequest` - """ - model = ApiInstantTestRequest() - if include_optional: - return ApiInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'api', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - follow_redirects = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - predefined_variables = [ - thousandeyes_sdk.instant_tests.models.api_predefined_variable.ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName', ) - ], - probe_mode = 'auto', - protocol = 'tcp', - requests = [ - thousandeyes_sdk.instant_tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.instant_tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.instant_tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.instant_tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - url = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - credentials = ["3247","1051"] - ) - else: - return ApiInstantTestRequest( - requests = [ - thousandeyes_sdk.instant_tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.instant_tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.instant_tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.instant_tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - url = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testApiInstantTestRequest(self): - """Test ApiInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_api_predefined_variable.py b/thousandeyes-sdk-instant-tests/test/test_api_predefined_variable.py deleted file mode 100644 index 0618d177..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_predefined_variable.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_predefined_variable import ApiPredefinedVariable - -class TestApiPredefinedVariable(unittest.TestCase): - """ApiPredefinedVariable unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiPredefinedVariable: - """Test ApiPredefinedVariable - include_option 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 `ApiPredefinedVariable` - """ - model = ApiPredefinedVariable() - if include_optional: - return ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName' - ) - else: - return ApiPredefinedVariable( - ) - """ - - def testApiPredefinedVariable(self): - """Test ApiPredefinedVariable""" - # 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/thousandeyes-sdk-instant-tests/test/test_api_properties.py b/thousandeyes-sdk-instant-tests/test/test_api_properties.py deleted file mode 100644 index 4d425606..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_properties.py +++ /dev/null @@ -1,124 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_properties import ApiProperties - -class TestApiProperties(unittest.TestCase): - """ApiProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiProperties: - """Test ApiProperties - include_option 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 `ApiProperties` - """ - model = ApiProperties() - if include_optional: - return ApiProperties( - follow_redirects = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - predefined_variables = [ - thousandeyes_sdk.instant_tests.models.api_predefined_variable.ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName', ) - ], - probe_mode = 'auto', - protocol = 'tcp', - requests = [ - thousandeyes_sdk.instant_tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.instant_tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.instant_tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.instant_tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - url = 'www.thousandeyes.com', - type = 'api' - ) - else: - return ApiProperties( - requests = [ - thousandeyes_sdk.instant_tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.instant_tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.instant_tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.instant_tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - url = 'www.thousandeyes.com', - ) - """ - - def testApiProperties(self): - """Test ApiProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_api_request.py b/thousandeyes-sdk-instant-tests/test/test_api_request.py deleted file mode 100644 index 8af9c4f9..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_request.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_request import ApiRequest - -class TestApiRequest(unittest.TestCase): - """ApiRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequest: - """Test ApiRequest - include_option 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 `ApiRequest` - """ - model = ApiRequest() - if include_optional: - return ApiRequest( - assertions = [ - thousandeyes_sdk.instant_tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.instant_tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.instant_tests.models.api_request_variable.ApiRequestVariable( - name = 'myTestName', - value = 'tests[0].name', ) - ], - wait_time_ms = 0 - ) - else: - return ApiRequest( - name = 'Step 1', - url = 'https://api.thousandeyes.com/v7/status', - ) - """ - - def testApiRequest(self): - """Test ApiRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_api_request_assertion.py b/thousandeyes-sdk-instant-tests/test/test_api_request_assertion.py deleted file mode 100644 index 1b356b9b..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_request_assertion.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_request_assertion import ApiRequestAssertion - -class TestApiRequestAssertion(unittest.TestCase): - """ApiRequestAssertion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequestAssertion: - """Test ApiRequestAssertion - include_option 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 `ApiRequestAssertion` - """ - model = ApiRequestAssertion() - if include_optional: - return ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200' - ) - else: - return ApiRequestAssertion( - ) - """ - - def testApiRequestAssertion(self): - """Test ApiRequestAssertion""" - # 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/thousandeyes-sdk-instant-tests/test/test_api_request_assertion_name.py b/thousandeyes-sdk-instant-tests/test/test_api_request_assertion_name.py deleted file mode 100644 index d4e4c620..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_request_assertion_name.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_request_assertion_name import ApiRequestAssertionName - -class TestApiRequestAssertionName(unittest.TestCase): - """ApiRequestAssertionName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiRequestAssertionName(self): - """Test ApiRequestAssertionName""" - # inst = ApiRequestAssertionName() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_api_request_assertion_operator.py b/thousandeyes-sdk-instant-tests/test/test_api_request_assertion_operator.py deleted file mode 100644 index 4deaa1aa..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_request_assertion_operator.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_request_assertion_operator import ApiRequestAssertionOperator - -class TestApiRequestAssertionOperator(unittest.TestCase): - """ApiRequestAssertionOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiRequestAssertionOperator(self): - """Test ApiRequestAssertionOperator""" - # inst = ApiRequestAssertionOperator() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_api_request_auth_type.py b/thousandeyes-sdk-instant-tests/test/test_api_request_auth_type.py deleted file mode 100644 index 1f330397..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_request_auth_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_request_auth_type import ApiRequestAuthType - -class TestApiRequestAuthType(unittest.TestCase): - """ApiRequestAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiRequestAuthType(self): - """Test ApiRequestAuthType""" - # inst = ApiRequestAuthType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_api_request_header.py b/thousandeyes-sdk-instant-tests/test/test_api_request_header.py deleted file mode 100644 index ac9bd932..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_request_header.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_request_header import ApiRequestHeader - -class TestApiRequestHeader(unittest.TestCase): - """ApiRequestHeader unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequestHeader: - """Test ApiRequestHeader - include_option 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 `ApiRequestHeader` - """ - model = ApiRequestHeader() - if include_optional: - return ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive' - ) - else: - return ApiRequestHeader( - ) - """ - - def testApiRequestHeader(self): - """Test ApiRequestHeader""" - # 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/thousandeyes-sdk-instant-tests/test/test_api_request_method.py b/thousandeyes-sdk-instant-tests/test/test_api_request_method.py deleted file mode 100644 index 21c57fe1..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_request_method.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_request_method import ApiRequestMethod - -class TestApiRequestMethod(unittest.TestCase): - """ApiRequestMethod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiRequestMethod(self): - """Test ApiRequestMethod""" - # inst = ApiRequestMethod() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_api_request_variable.py b/thousandeyes-sdk-instant-tests/test/test_api_request_variable.py deleted file mode 100644 index 0a8c8fda..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_api_request_variable.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.api_request_variable import ApiRequestVariable - -class TestApiRequestVariable(unittest.TestCase): - """ApiRequestVariable unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequestVariable: - """Test ApiRequestVariable - include_option 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 `ApiRequestVariable` - """ - model = ApiRequestVariable() - if include_optional: - return ApiRequestVariable( - name = 'myTestName', - value = 'tests[0].name' - ) - else: - return ApiRequestVariable( - ) - """ - - def testApiRequestVariable(self): - """Test ApiRequestVariable""" - # 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/thousandeyes-sdk-instant-tests/test/test_cloud_enterprise_agent_type.py b/thousandeyes-sdk-instant-tests/test/test_cloud_enterprise_agent_type.py deleted file mode 100644 index 4b211571..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_cloud_enterprise_agent_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType - -class TestCloudEnterpriseAgentType(unittest.TestCase): - """CloudEnterpriseAgentType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEnterpriseAgentType(self): - """Test CloudEnterpriseAgentType""" - # inst = CloudEnterpriseAgentType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_dns_query_class.py b/thousandeyes-sdk-instant-tests/test/test_dns_query_class.py deleted file mode 100644 index 1faa95c4..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_query_class.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_query_class import DnsQueryClass - -class TestDnsQueryClass(unittest.TestCase): - """DnsQueryClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDnsQueryClass(self): - """Test DnsQueryClass""" - # inst = DnsQueryClass() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_dns_sec_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_dns_sec_instant_test.py deleted file mode 100644 index b2fcf6f9..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_sec_instant_test.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_sec_instant_test import DnsSecInstantTest - -class TestDnsSecInstantTest(unittest.TestCase): - """DnsSecInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsSecInstantTest: - """Test DnsSecInstantTest - include_option 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 `DnsSecInstantTest` - """ - model = DnsSecInstantTest() - if include_optional: - return DnsSecInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dnssec', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - null - ] - ) - else: - return DnsSecInstantTest( - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsSecInstantTest(self): - """Test DnsSecInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_sec_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_dns_sec_instant_test_request.py deleted file mode 100644 index 04f0915e..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_sec_instant_test_request.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_sec_instant_test_request import DnsSecInstantTestRequest - -class TestDnsSecInstantTestRequest(unittest.TestCase): - """DnsSecInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsSecInstantTestRequest: - """Test DnsSecInstantTestRequest - include_option 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 `DnsSecInstantTestRequest` - """ - model = DnsSecInstantTestRequest() - if include_optional: - return DnsSecInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dnssec', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return DnsSecInstantTestRequest( - domain = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testDnsSecInstantTestRequest(self): - """Test DnsSecInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_sec_properties.py b/thousandeyes-sdk-instant-tests/test/test_dns_sec_properties.py deleted file mode 100644 index d0671c20..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_sec_properties.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_sec_properties import DnsSecProperties - -class TestDnsSecProperties(unittest.TestCase): - """DnsSecProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsSecProperties: - """Test DnsSecProperties - include_option 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 `DnsSecProperties` - """ - model = DnsSecProperties() - if include_optional: - return DnsSecProperties( - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - type = 'dnssec' - ) - else: - return DnsSecProperties( - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsSecProperties(self): - """Test DnsSecProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_test.py deleted file mode 100644 index f1686d57..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_test.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_server_instant_test import DnsServerInstantTest - -class TestDnsServerInstantTest(unittest.TestCase): - """DnsServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerInstantTest: - """Test DnsServerInstantTest - include_option 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 `DnsServerInstantTest` - """ - model = DnsServerInstantTest() - if include_optional: - return DnsServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - dns_servers = [ - thousandeyes_sdk.instant_tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - recursive_queries = True, - ipv6_policy = 'use-agent-policy', - fixed_packet_rate = 50, - dns_query_class = 'in', - agents = [ - null - ] - ) - else: - return DnsServerInstantTest( - dns_servers = [ - thousandeyes_sdk.instant_tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsServerInstantTest(self): - """Test DnsServerInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_test_request.py deleted file mode 100644 index 31261bee..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_server_instant_test_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_server_instant_test_request import DnsServerInstantTestRequest - -class TestDnsServerInstantTestRequest(unittest.TestCase): - """DnsServerInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerInstantTestRequest: - """Test DnsServerInstantTestRequest - include_option 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 `DnsServerInstantTestRequest` - """ - model = DnsServerInstantTestRequest() - if include_optional: - return DnsServerInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - bandwidth_measurements = True, - dns_servers = ["dns-example.net","8.8.8.8"], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - recursive_queries = True, - ipv6_policy = 'use-agent-policy', - fixed_packet_rate = 50, - dns_query_class = 'in', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return DnsServerInstantTestRequest( - dns_servers = ["dns-example.net","8.8.8.8"], - domain = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testDnsServerInstantTestRequest(self): - """Test DnsServerInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_server_properties.py b/thousandeyes-sdk-instant-tests/test/test_dns_server_properties.py deleted file mode 100644 index f695cb3b..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_server_properties.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_server_properties import DnsServerProperties - -class TestDnsServerProperties(unittest.TestCase): - """DnsServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerProperties: - """Test DnsServerProperties - include_option 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 `DnsServerProperties` - """ - model = DnsServerProperties() - if include_optional: - return DnsServerProperties( - bandwidth_measurements = True, - dns_servers = [ - thousandeyes_sdk.instant_tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - recursive_queries = True, - ipv6_policy = 'use-agent-policy', - fixed_packet_rate = 50, - dns_query_class = 'in', - type = 'dns-server' - ) - else: - return DnsServerProperties( - dns_servers = [ - thousandeyes_sdk.instant_tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsServerProperties(self): - """Test DnsServerProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_servers_request.py b/thousandeyes-sdk-instant-tests/test/test_dns_servers_request.py deleted file mode 100644 index 88ec2717..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_servers_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_servers_request import DnsServersRequest - -class TestDnsServersRequest(unittest.TestCase): - """DnsServersRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServersRequest: - """Test DnsServersRequest - include_option 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 `DnsServersRequest` - """ - model = DnsServersRequest() - if include_optional: - return DnsServersRequest( - dns_servers = ["dns-example.net","8.8.8.8"] - ) - else: - return DnsServersRequest( - ) - """ - - def testDnsServersRequest(self): - """Test DnsServersRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_test.py deleted file mode 100644 index f8fa9ed0..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_test.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test import DnsTraceInstantTest - -class TestDnsTraceInstantTest(unittest.TestCase): - """DnsTraceInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceInstantTest: - """Test DnsTraceInstantTest - include_option 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 `DnsTraceInstantTest` - """ - model = DnsTraceInstantTest() - if include_optional: - return DnsTraceInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-trace', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - null - ] - ) - else: - return DnsTraceInstantTest( - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsTraceInstantTest(self): - """Test DnsTraceInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_test_request.py deleted file mode 100644 index 9b883dfe..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_trace_instant_test_request.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test_request import DnsTraceInstantTestRequest - -class TestDnsTraceInstantTestRequest(unittest.TestCase): - """DnsTraceInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceInstantTestRequest: - """Test DnsTraceInstantTestRequest - include_option 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 `DnsTraceInstantTestRequest` - """ - model = DnsTraceInstantTestRequest() - if include_optional: - return DnsTraceInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-trace', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return DnsTraceInstantTestRequest( - domain = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testDnsTraceInstantTestRequest(self): - """Test DnsTraceInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_dns_trace_properties.py b/thousandeyes-sdk-instant-tests/test/test_dns_trace_properties.py deleted file mode 100644 index a73066df..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_dns_trace_properties.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.dns_trace_properties import DnsTraceProperties - -class TestDnsTraceProperties(unittest.TestCase): - """DnsTraceProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceProperties: - """Test DnsTraceProperties - include_option 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 `DnsTraceProperties` - """ - model = DnsTraceProperties() - if include_optional: - return DnsTraceProperties( - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - type = 'dns-trace' - ) - else: - return DnsTraceProperties( - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsTraceProperties(self): - """Test DnsTraceProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_error.py b/thousandeyes-sdk-instant-tests/test/test_error.py deleted file mode 100644 index 1ef15d83..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-instant-tests/test/test_expand.py b/thousandeyes-sdk-instant-tests/test/test_expand.py deleted file mode 100644 index 2d0a0007..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_test.py deleted file mode 100644 index c155faea..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_ftp_server_instant_test.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.ftp_server_instant_test import FtpServerInstantTest - -class TestFtpServerInstantTest(unittest.TestCase): - """FtpServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FtpServerInstantTest: - """Test FtpServerInstantTest - include_option 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 `FtpServerInstantTest` - """ - model = FtpServerInstantTest() - if include_optional: - return FtpServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'ftp-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - download_limit = 1048576, - ftp_target_time = 1000, - ftp_time_limit = 10, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - request_type = 'download', - url = 'www.thousandeyes.com', - use_active_ftp = True, - use_explicit_ftps = False, - username = 'username', - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ] - ) - else: - return FtpServerInstantTest( - password = 'password', - request_type = 'download', - url = 'www.thousandeyes.com', - username = 'username', - ) - """ - - def testFtpServerInstantTest(self): - """Test FtpServerInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_ftp_server_properties.py b/thousandeyes-sdk-instant-tests/test/test_ftp_server_properties.py deleted file mode 100644 index 0c5ffae4..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_ftp_server_properties.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.ftp_server_properties import FtpServerProperties - -class TestFtpServerProperties(unittest.TestCase): - """FtpServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FtpServerProperties: - """Test FtpServerProperties - include_option 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 `FtpServerProperties` - """ - model = FtpServerProperties() - if include_optional: - return FtpServerProperties( - bandwidth_measurements = True, - download_limit = 1048576, - ftp_target_time = 1000, - ftp_time_limit = 10, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - request_type = 'download', - url = 'www.thousandeyes.com', - use_active_ftp = True, - use_explicit_ftps = False, - username = 'username', - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - type = 'ftp-server' - ) - else: - return FtpServerProperties( - password = 'password', - request_type = 'download', - url = 'www.thousandeyes.com', - username = 'username', - ) - """ - - def testFtpServerProperties(self): - """Test FtpServerProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_ftp_server_request_type.py b/thousandeyes-sdk-instant-tests/test/test_ftp_server_request_type.py deleted file mode 100644 index b8a05519..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_ftp_server_request_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.ftp_server_request_type import FtpServerRequestType - -class TestFtpServerRequestType(unittest.TestCase): - """FtpServerRequestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFtpServerRequestType(self): - """Test FtpServerRequestType""" - # inst = FtpServerRequestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_http_server_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_http_server_instant_test.py deleted file mode 100644 index 7ac24a69..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_http_server_instant_test.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.http_server_instant_test import HttpServerInstantTest - -class TestHttpServerInstantTest(unittest.TestCase): - """HttpServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpServerInstantTest: - """Test HttpServerInstantTest - include_option 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 `HttpServerInstantTest` - """ - model = HttpServerInstantTest() - if include_optional: - return HttpServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'http-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - headers = ["header1: value1","header2: value2"], - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - download_limit = 2048, - dns_override = '8.8.8.8', - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - post_body = '{ "example" : "value"}', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - ipv6_policy = 'use-agent-policy', - follow_redirects = True, - fixed_packet_rate = 50, - agents = [ - null - ] - ) - else: - return HttpServerInstantTest( - url = 'www.thousandeyes.com', - ) - """ - - def testHttpServerInstantTest(self): - """Test HttpServerInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_http_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_http_server_instant_test_request.py deleted file mode 100644 index 044c0b78..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_http_server_instant_test_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.http_server_instant_test_request import HttpServerInstantTestRequest - -class TestHttpServerInstantTestRequest(unittest.TestCase): - """HttpServerInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpServerInstantTestRequest: - """Test HttpServerInstantTestRequest - include_option 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 `HttpServerInstantTestRequest` - """ - model = HttpServerInstantTestRequest() - if include_optional: - return HttpServerInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'http-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - headers = ["header1: value1","header2: value2"], - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - download_limit = 2048, - dns_override = '8.8.8.8', - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - post_body = '{ "example" : "value"}', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - ipv6_policy = 'use-agent-policy', - follow_redirects = True, - fixed_packet_rate = 50, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return HttpServerInstantTestRequest( - url = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testHttpServerInstantTestRequest(self): - """Test HttpServerInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_http_server_properties.py b/thousandeyes-sdk-instant-tests/test/test_http_server_properties.py deleted file mode 100644 index c654d3a7..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_http_server_properties.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.http_server_properties import HttpServerProperties - -class TestHttpServerProperties(unittest.TestCase): - """HttpServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpServerProperties: - """Test HttpServerProperties - include_option 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 `HttpServerProperties` - """ - model = HttpServerProperties() - if include_optional: - return HttpServerProperties( - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - headers = ["header1: value1","header2: value2"], - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - download_limit = 2048, - dns_override = '8.8.8.8', - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - post_body = '{ "example" : "value"}', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - ipv6_policy = 'use-agent-policy', - follow_redirects = True, - fixed_packet_rate = 50, - type = 'http-server' - ) - else: - return HttpServerProperties( - url = 'www.thousandeyes.com', - ) - """ - - def testHttpServerProperties(self): - """Test HttpServerProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_instant_test.py deleted file mode 100644 index 1780cd5f..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_instant_test.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.instant_test import InstantTest - -class TestInstantTest(unittest.TestCase): - """InstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InstantTest: - """Test InstantTest - include_option 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 `InstantTest` - """ - model = InstantTest() - if include_optional: - return InstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ] - ) - else: - return InstantTest( - ) - """ - - def testInstantTest(self): - """Test InstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_instant_test_request.py deleted file mode 100644 index b7d1d4bf..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_instant_test_request.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.instant_test_request import InstantTestRequest - -class TestInstantTestRequest(unittest.TestCase): - """InstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InstantTestRequest: - """Test InstantTestRequest - include_option 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 `InstantTestRequest` - """ - model = InstantTestRequest() - if include_optional: - return InstantTestRequest( - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return InstantTestRequest( - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testInstantTestRequest(self): - """Test InstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_link.py b/thousandeyes-sdk-instant-tests/test/test_link.py deleted file mode 100644 index 0d43fe46..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-instant-tests/test/test_page_load_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_page_load_instant_test.py deleted file mode 100644 index 5219b1ba..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_page_load_instant_test.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.page_load_instant_test import PageLoadInstantTest - -class TestPageLoadInstantTest(unittest.TestCase): - """PageLoadInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadInstantTest: - """Test PageLoadInstantTest - include_option 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 `PageLoadInstantTest` - """ - model = PageLoadInstantTest() - if include_optional: - return PageLoadInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'page-load', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - page_load_target_time = 10, - page_load_time_limit = 5, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - null - ] - ) - else: - return PageLoadInstantTest( - url = 'www.thousandeyes.com', - ) - """ - - def testPageLoadInstantTest(self): - """Test PageLoadInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_page_load_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_page_load_instant_test_request.py deleted file mode 100644 index a8bfde1c..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_page_load_instant_test_request.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.page_load_instant_test_request import PageLoadInstantTestRequest - -class TestPageLoadInstantTestRequest(unittest.TestCase): - """PageLoadInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadInstantTestRequest: - """Test PageLoadInstantTestRequest - include_option 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 `PageLoadInstantTestRequest` - """ - model = PageLoadInstantTestRequest() - if include_optional: - return PageLoadInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'page-load', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - page_load_target_time = 10, - page_load_time_limit = 5, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return PageLoadInstantTestRequest( - url = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testPageLoadInstantTestRequest(self): - """Test PageLoadInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_page_load_properties.py b/thousandeyes-sdk-instant-tests/test/test_page_load_properties.py deleted file mode 100644 index 0bac64a8..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_page_load_properties.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.page_load_properties import PageLoadProperties - -class TestPageLoadProperties(unittest.TestCase): - """PageLoadProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadProperties: - """Test PageLoadProperties - include_option 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 `PageLoadProperties` - """ - model = PageLoadProperties() - if include_optional: - return PageLoadProperties( - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - page_load_target_time = 10, - page_load_time_limit = 5, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - type = 'page-load' - ) - else: - return PageLoadProperties( - url = 'www.thousandeyes.com', - ) - """ - - def testPageLoadProperties(self): - """Test PageLoadProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_server_instant_test_request.py deleted file mode 100644 index 46afba92..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_server_instant_test_request.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.server_instant_test_request import ServerInstantTestRequest - -class TestServerInstantTestRequest(unittest.TestCase): - """ServerInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServerInstantTestRequest: - """Test ServerInstantTestRequest - include_option 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 `ServerInstantTestRequest` - """ - model = ServerInstantTestRequest() - if include_optional: - return ServerInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'ftp-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - bandwidth_measurements = True, - download_limit = 1048576, - ftp_target_time = 1000, - ftp_time_limit = 10, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - request_type = 'download', - url = 'www.thousandeyes.com', - use_active_ftp = True, - use_explicit_ftps = False, - username = 'username', - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return ServerInstantTestRequest( - password = 'password', - request_type = 'download', - url = 'www.thousandeyes.com', - username = 'username', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testServerInstantTestRequest(self): - """Test ServerInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_shared_with_account.py b/thousandeyes-sdk-instant-tests/test/test_shared_with_account.py deleted file mode 100644 index f4c48bfd..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_shared_with_account.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.shared_with_account import SharedWithAccount - -class TestSharedWithAccount(unittest.TestCase): - """SharedWithAccount unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SharedWithAccount: - """Test SharedWithAccount - include_option 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 `SharedWithAccount` - """ - model = SharedWithAccount() - if include_optional: - return SharedWithAccount( - aid = '1234', - name = 'Account name' - ) - else: - return SharedWithAccount( - ) - """ - - def testSharedWithAccount(self): - """Test SharedWithAccount""" - # 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/thousandeyes-sdk-instant-tests/test/test_simple_agent.py b/thousandeyes-sdk-instant-tests/test/test_simple_agent.py deleted file mode 100644 index 20d21724..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_simple_agent.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.simple_agent import SimpleAgent - -class TestSimpleAgent(unittest.TestCase): - """SimpleAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimpleAgent: - """Test SimpleAgent - include_option 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 `SimpleAgent` - """ - model = SimpleAgent() - if include_optional: - return SimpleAgent( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True - ) - else: - return SimpleAgent( - ) - """ - - def testSimpleAgent(self): - """Test SimpleAgent""" - # 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/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test.py deleted file mode 100644 index 75d903b9..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.sip_server_instant_test import SipServerInstantTest - -class TestSipServerInstantTest(unittest.TestCase): - """SipServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerInstantTest: - """Test SipServerInstantTest - include_option 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 `SipServerInstantTest` - """ - model = SipServerInstantTest() - if include_optional: - return SipServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ] - ) - else: - return SipServerInstantTest( - ) - """ - - def testSipServerInstantTest(self): - """Test SipServerInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_request.py deleted file mode 100644 index bedc29d6..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_request.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.sip_server_instant_test_request import SipServerInstantTestRequest - -class TestSipServerInstantTestRequest(unittest.TestCase): - """SipServerInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerInstantTestRequest: - """Test SipServerInstantTestRequest - include_option 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 `SipServerInstantTestRequest` - """ - model = SipServerInstantTestRequest() - if include_optional: - return SipServerInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - target_sip_credentials = thousandeyes_sdk.instant_tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ) - ) - else: - return SipServerInstantTestRequest( - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - target_sip_credentials = thousandeyes_sdk.instant_tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ), - ) - """ - - def testSipServerInstantTestRequest(self): - """Test SipServerInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_request1.py b/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_request1.py deleted file mode 100644 index 97bc90a2..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_request1.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.sip_server_instant_test_request1 import SipServerInstantTestRequest1 - -class TestSipServerInstantTestRequest1(unittest.TestCase): - """SipServerInstantTestRequest1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerInstantTestRequest1: - """Test SipServerInstantTestRequest1 - include_option 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 `SipServerInstantTestRequest1` - """ - model = SipServerInstantTestRequest1() - if include_optional: - return SipServerInstantTestRequest1( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ], - target_sip_credentials = thousandeyes_sdk.instant_tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ) - ) - else: - return SipServerInstantTestRequest1( - target_sip_credentials = thousandeyes_sdk.instant_tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ), - ) - """ - - def testSipServerInstantTestRequest1(self): - """Test SipServerInstantTestRequest1""" - # 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/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_response.py b/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_response.py deleted file mode 100644 index 0ade9506..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_sip_server_instant_test_response.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.sip_server_instant_test_response import SipServerInstantTestResponse - -class TestSipServerInstantTestResponse(unittest.TestCase): - """SipServerInstantTestResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerInstantTestResponse: - """Test SipServerInstantTestResponse - include_option 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 `SipServerInstantTestResponse` - """ - model = SipServerInstantTestResponse() - if include_optional: - return SipServerInstantTestResponse( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ], - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username' - ) - else: - return SipServerInstantTestResponse( - port = 1, - ) - """ - - def testSipServerInstantTestResponse(self): - """Test SipServerInstantTestResponse""" - # 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/thousandeyes-sdk-instant-tests/test/test_sip_server_properties.py b/thousandeyes-sdk-instant-tests/test/test_sip_server_properties.py deleted file mode 100644 index 5db21bf6..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_sip_server_properties.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.sip_server_properties import SipServerProperties - -class TestSipServerProperties(unittest.TestCase): - """SipServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerProperties: - """Test SipServerProperties - include_option 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 `SipServerProperties` - """ - model = SipServerProperties() - if include_optional: - return SipServerProperties( - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - type = 'sip-server' - ) - else: - return SipServerProperties( - ) - """ - - def testSipServerProperties(self): - """Test SipServerProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_sip_test_protocol.py b/thousandeyes-sdk-instant-tests/test/test_sip_test_protocol.py deleted file mode 100644 index daae67f1..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_sip_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.sip_test_protocol import SipTestProtocol - -class TestSipTestProtocol(unittest.TestCase): - """SipTestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSipTestProtocol(self): - """Test SipTestProtocol""" - # inst = SipTestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_agent.py b/thousandeyes-sdk-instant-tests/test/test_test_agent.py deleted file mode 100644 index 0c10891a..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_agent.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_agent import TestAgent - -class TestTestAgent(unittest.TestCase): - """TestAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestAgent: - """Test TestAgent - include_option 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 `TestAgent` - """ - model = TestAgent() - if include_optional: - return TestAgent( - agent_id = '', - source_ip_address = '' - ) - else: - return TestAgent( - ) - """ - - def testTestAgent(self): - """Test TestAgent""" - # 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/thousandeyes-sdk-instant-tests/test/test_test_auth_type.py b/thousandeyes-sdk-instant-tests/test/test_test_auth_type.py deleted file mode 100644 index b628bd16..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_auth_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_auth_type import TestAuthType - -class TestTestAuthType(unittest.TestCase): - """TestAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestAuthType(self): - """Test TestAuthType""" - # inst = TestAuthType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_custom_headers.py b/thousandeyes-sdk-instant-tests/test/test_test_custom_headers.py deleted file mode 100644 index 20f7ada7..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_custom_headers.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_custom_headers import TestCustomHeaders - -class TestTestCustomHeaders(unittest.TestCase): - """TestCustomHeaders unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestCustomHeaders: - """Test TestCustomHeaders - include_option 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 `TestCustomHeaders` - """ - model = TestCustomHeaders() - if include_optional: - return TestCustomHeaders( - root = { - 'key' : '' - }, - domains = { - 'key' : { - 'key' : '' - } - }, - all = { - 'key' : '' - } - ) - else: - return TestCustomHeaders( - ) - """ - - def testTestCustomHeaders(self): - """Test TestCustomHeaders""" - # 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/thousandeyes-sdk-instant-tests/test/test_test_direction.py b/thousandeyes-sdk-instant-tests/test/test_test_direction.py deleted file mode 100644 index dbc280df..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_direction import TestDirection - -class TestTestDirection(unittest.TestCase): - """TestDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestDirection(self): - """Test TestDirection""" - # inst = TestDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_dns_server.py b/thousandeyes-sdk-instant-tests/test/test_test_dns_server.py deleted file mode 100644 index 9471b7d6..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_dns_server.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_dns_server import TestDnsServer - -class TestTestDnsServer(unittest.TestCase): - """TestDnsServer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestDnsServer: - """Test TestDnsServer - include_option 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 `TestDnsServer` - """ - model = TestDnsServer() - if include_optional: - return TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net' - ) - else: - return TestDnsServer( - ) - """ - - def testTestDnsServer(self): - """Test TestDnsServer""" - # 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/thousandeyes-sdk-instant-tests/test/test_test_dns_transport_protocol.py b/thousandeyes-sdk-instant-tests/test/test_test_dns_transport_protocol.py deleted file mode 100644 index 54f286dd..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_dns_transport_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_dns_transport_protocol import TestDnsTransportProtocol - -class TestTestDnsTransportProtocol(unittest.TestCase): - """TestDnsTransportProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestDnsTransportProtocol(self): - """Test TestDnsTransportProtocol""" - # inst = TestDnsTransportProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_dscp_id.py b/thousandeyes-sdk-instant-tests/test/test_test_dscp_id.py deleted file mode 100644 index eeb8c3fb..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_dscp_id.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_dscp_id import TestDscpId - -class TestTestDscpId(unittest.TestCase): - """TestDscpId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestDscpId(self): - """Test TestDscpId""" - # inst = TestDscpId() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_ipv6_policy.py b/thousandeyes-sdk-instant-tests/test/test_test_ipv6_policy.py deleted file mode 100644 index 6c1a4d17..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_ipv6_policy.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_ipv6_policy import TestIpv6Policy - -class TestTestIpv6Policy(unittest.TestCase): - """TestIpv6Policy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestIpv6Policy(self): - """Test TestIpv6Policy""" - # inst = TestIpv6Policy() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_label.py b/thousandeyes-sdk-instant-tests/test/test_test_label.py deleted file mode 100644 index 12f66b4d..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_label.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_label import TestLabel - -class TestTestLabel(unittest.TestCase): - """TestLabel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLabel: - """Test TestLabel - include_option 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 `TestLabel` - """ - model = TestLabel() - if include_optional: - return TestLabel( - label_id = '', - name = '', - is_builtin = True - ) - else: - return TestLabel( - ) - """ - - def testTestLabel(self): - """Test TestLabel""" - # 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/thousandeyes-sdk-instant-tests/test/test_test_links.py b/thousandeyes-sdk-instant-tests/test/test_test_links.py deleted file mode 100644 index eb5067c9..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_links import TestLinks - -class TestTestLinks(unittest.TestCase): - """TestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLinks: - """Test TestLinks - include_option 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 `TestLinks` - """ - model = TestLinks() - if include_optional: - return TestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}] - ) - else: - return TestLinks( - ) - """ - - def testTestLinks(self): - """Test TestLinks""" - # 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/thousandeyes-sdk-instant-tests/test/test_test_page_loading_strategy.py b/thousandeyes-sdk-instant-tests/test/test_test_page_loading_strategy.py deleted file mode 100644 index 9fd0dfe9..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_page_loading_strategy.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_page_loading_strategy import TestPageLoadingStrategy - -class TestTestPageLoadingStrategy(unittest.TestCase): - """TestPageLoadingStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestPageLoadingStrategy(self): - """Test TestPageLoadingStrategy""" - # inst = TestPageLoadingStrategy() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_path_trace_mode.py b/thousandeyes-sdk-instant-tests/test/test_test_path_trace_mode.py deleted file mode 100644 index af9a0a44..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_path_trace_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_path_trace_mode import TestPathTraceMode - -class TestTestPathTraceMode(unittest.TestCase): - """TestPathTraceMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestPathTraceMode(self): - """Test TestPathTraceMode""" - # inst = TestPathTraceMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_probe_mode.py b/thousandeyes-sdk-instant-tests/test/test_test_probe_mode.py deleted file mode 100644 index ee814b0b..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_probe_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_probe_mode import TestProbeMode - -class TestTestProbeMode(unittest.TestCase): - """TestProbeMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProbeMode(self): - """Test TestProbeMode""" - # inst = TestProbeMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_protocol.py b/thousandeyes-sdk-instant-tests/test/test_test_protocol.py deleted file mode 100644 index 4c22d80a..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_protocol import TestProtocol - -class TestTestProtocol(unittest.TestCase): - """TestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProtocol(self): - """Test TestProtocol""" - # inst = TestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_self_link.py b/thousandeyes-sdk-instant-tests/test/test_test_self_link.py deleted file mode 100644 index 20ed50a6..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_self_link import TestSelfLink - -class TestTestSelfLink(unittest.TestCase): - """TestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestSelfLink: - """Test TestSelfLink - include_option 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 `TestSelfLink` - """ - model = TestSelfLink() - if include_optional: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testTestSelfLink(self): - """Test TestSelfLink""" - # 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/thousandeyes-sdk-instant-tests/test/test_test_sip_credentials.py b/thousandeyes-sdk-instant-tests/test/test_test_sip_credentials.py deleted file mode 100644 index e8f162b2..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_sip_credentials.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_sip_credentials import TestSipCredentials - -class TestTestSipCredentials(unittest.TestCase): - """TestSipCredentials unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestSipCredentials: - """Test TestSipCredentials - include_option 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 `TestSipCredentials` - """ - model = TestSipCredentials() - if include_optional: - return TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username' - ) - else: - return TestSipCredentials( - port = 1, - ) - """ - - def testTestSipCredentials(self): - """Test TestSipCredentials""" - # 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/thousandeyes-sdk-instant-tests/test/test_test_ssl_version_id.py b/thousandeyes-sdk-instant-tests/test/test_test_ssl_version_id.py deleted file mode 100644 index 14ceea0a..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_ssl_version_id.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_ssl_version_id import TestSslVersionId - -class TestTestSslVersionId(unittest.TestCase): - """TestSslVersionId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestSslVersionId(self): - """Test TestSslVersionId""" - # inst = TestSslVersionId() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_test_type.py b/thousandeyes-sdk-instant-tests/test/test_test_type.py deleted file mode 100644 index 8e493851..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_test_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.test_type import TestType - -class TestTestType(unittest.TestCase): - """TestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestType(self): - """Test TestType""" - # inst = TestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-instant-tests/test/test_unauthorized_error.py b/thousandeyes-sdk-instant-tests/test/test_unauthorized_error.py deleted file mode 100644 index fafad002..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-instant-tests/test/test_unexpanded_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_unexpanded_instant_test.py deleted file mode 100644 index fb3c96cc..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_unexpanded_instant_test.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.unexpanded_instant_test import UnexpandedInstantTest - -class TestUnexpandedInstantTest(unittest.TestCase): - """UnexpandedInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedInstantTest: - """Test UnexpandedInstantTest - include_option 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 `UnexpandedInstantTest` - """ - model = UnexpandedInstantTest() - if include_optional: - return UnexpandedInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ) - ) - else: - return UnexpandedInstantTest( - ) - """ - - def testUnexpandedInstantTest(self): - """Test UnexpandedInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_validation_error.py b/thousandeyes-sdk-instant-tests/test/test_validation_error.py deleted file mode 100644 index 8a9e8c5c..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.instant_tests.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-instant-tests/test/test_validation_error_item.py b/thousandeyes-sdk-instant-tests/test/test_validation_error_item.py deleted file mode 100644 index 1ca6a879..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-instant-tests/test/test_voice_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_voice_instant_test.py deleted file mode 100644 index 5a645445..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_voice_instant_test.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.voice_instant_test import VoiceInstantTest - -class TestVoiceInstantTest(unittest.TestCase): - """VoiceInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VoiceInstantTest: - """Test VoiceInstantTest - include_option 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 `VoiceInstantTest` - """ - model = VoiceInstantTest() - if include_optional: - return VoiceInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'voice', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - codec = 'G.711 @ 64 Kbps', - codec_id = '0', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - duration = 5, - jitter_buffer = 0, - num_path_traces = 1, - port = 1024, - target_agent_id = '281474976710706', - agents = [ - null - ] - ) - else: - return VoiceInstantTest( - target_agent_id = '281474976710706', - ) - """ - - def testVoiceInstantTest(self): - """Test VoiceInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_voice_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_voice_instant_test_request.py deleted file mode 100644 index 4511d496..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_voice_instant_test_request.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.voice_instant_test_request import VoiceInstantTestRequest - -class TestVoiceInstantTestRequest(unittest.TestCase): - """VoiceInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VoiceInstantTestRequest: - """Test VoiceInstantTestRequest - include_option 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 `VoiceInstantTestRequest` - """ - model = VoiceInstantTestRequest() - if include_optional: - return VoiceInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'voice', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - codec = 'G.711 @ 64 Kbps', - codec_id = '0', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - duration = 5, - jitter_buffer = 0, - num_path_traces = 1, - port = 1024, - target_agent_id = '281474976710706', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return VoiceInstantTestRequest( - target_agent_id = '281474976710706', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testVoiceInstantTestRequest(self): - """Test VoiceInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_voice_properties.py b/thousandeyes-sdk-instant-tests/test/test_voice_properties.py deleted file mode 100644 index 48300a7b..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_voice_properties.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.voice_properties import VoiceProperties - -class TestVoiceProperties(unittest.TestCase): - """VoiceProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VoiceProperties: - """Test VoiceProperties - include_option 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 `VoiceProperties` - """ - model = VoiceProperties() - if include_optional: - return VoiceProperties( - codec = 'G.711 @ 64 Kbps', - codec_id = '0', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - duration = 5, - jitter_buffer = 0, - num_path_traces = 1, - port = 1024, - target_agent_id = '281474976710706', - type = 'voice' - ) - else: - return VoiceProperties( - target_agent_id = '281474976710706', - ) - """ - - def testVoiceProperties(self): - """Test VoiceProperties""" - # 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/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_test.py b/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_test.py deleted file mode 100644 index b498d4b9..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_test.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.web_transaction_instant_test import WebTransactionInstantTest - -class TestWebTransactionInstantTest(unittest.TestCase): - """WebTransactionInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionInstantTest: - """Test WebTransactionInstantTest - include_option 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 `WebTransactionInstantTest` - """ - model = WebTransactionInstantTest() - if include_optional: - return WebTransactionInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'web-transactions', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.instant_tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - null - ], - credentials = ["3247","1051"] - ) - else: - return WebTransactionInstantTest( - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - ) - """ - - def testWebTransactionInstantTest(self): - """Test WebTransactionInstantTest""" - # 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/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_test_request.py b/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_test_request.py deleted file mode 100644 index 4a158cfb..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_web_transaction_instant_test_request.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.web_transaction_instant_test_request import WebTransactionInstantTestRequest - -class TestWebTransactionInstantTestRequest(unittest.TestCase): - """WebTransactionInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionInstantTestRequest: - """Test WebTransactionInstantTestRequest - include_option 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 `WebTransactionInstantTestRequest` - """ - model = WebTransactionInstantTestRequest() - if include_optional: - return WebTransactionInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'web-transactions', - links = thousandeyes_sdk.instant_tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - credentials = ["3247","1051"] - ) - else: - return WebTransactionInstantTestRequest( - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - ) - """ - - def testWebTransactionInstantTestRequest(self): - """Test WebTransactionInstantTestRequest""" - # 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/thousandeyes-sdk-instant-tests/test/test_web_transaction_properties.py b/thousandeyes-sdk-instant-tests/test/test_web_transaction_properties.py deleted file mode 100644 index 44ef3d4f..00000000 --- a/thousandeyes-sdk-instant-tests/test/test_web_transaction_properties.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Instant Tests API - - The Instant Tests API endpoint lets you create and run new instant tests. You will need to be a regular user or have the following permissions: * `API Access` * `View tests` The response does not include the immediate test results. Use the Test Results endpoints to get test results after creating and executing an instant test. You can find the URLs for these endpoints in the _links section of the test definition that is returned when you create the instant test. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.instant_tests.models.web_transaction_properties import WebTransactionProperties - -class TestWebTransactionProperties(unittest.TestCase): - """WebTransactionProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionProperties: - """Test WebTransactionProperties - include_option 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 `WebTransactionProperties` - """ - model = WebTransactionProperties() - if include_optional: - return WebTransactionProperties( - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - type = 'web-transactions' - ) - else: - return WebTransactionProperties( - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - ) - """ - - def testWebTransactionProperties(self): - """Test WebTransactionProperties""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_affected_agent.py b/thousandeyes-sdk-internet-insights/test/test_api_affected_agent.py deleted file mode 100644 index 66854583..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_affected_agent.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_affected_agent import ApiAffectedAgent - -class TestApiAffectedAgent(unittest.TestCase): - """ApiAffectedAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAffectedAgent: - """Test ApiAffectedAgent - include_option 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 `ApiAffectedAgent` - """ - model = ApiAffectedAgent() - if include_optional: - return ApiAffectedAgent( - id = 11, - name = 'London, England' - ) - else: - return ApiAffectedAgent( - ) - """ - - def testApiAffectedAgent(self): - """Test ApiAffectedAgent""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_affected_test.py b/thousandeyes-sdk-internet-insights/test/test_api_affected_test.py deleted file mode 100644 index c9cada8b..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_affected_test.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_affected_test import ApiAffectedTest - -class TestApiAffectedTest(unittest.TestCase): - """ApiAffectedTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAffectedTest: - """Test ApiAffectedTest - include_option 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 `ApiAffectedTest` - """ - model = ApiAffectedTest() - if include_optional: - return ApiAffectedTest( - id = 5, - name = 'amazon-test2' - ) - else: - return ApiAffectedTest( - ) - """ - - def testApiAffectedTest(self): - """Test ApiAffectedTest""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_application_outage_affected_location.py b/thousandeyes-sdk-internet-insights/test/test_api_application_outage_affected_location.py deleted file mode 100644 index 7b3c1190..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_application_outage_affected_location.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_application_outage_affected_location import ApiApplicationOutageAffectedLocation - -class TestApiApplicationOutageAffectedLocation(unittest.TestCase): - """ApiApplicationOutageAffectedLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiApplicationOutageAffectedLocation: - """Test ApiApplicationOutageAffectedLocation - include_option 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 `ApiApplicationOutageAffectedLocation` - """ - model = ApiApplicationOutageAffectedLocation() - if include_optional: - return ApiApplicationOutageAffectedLocation( - location = 'Chicago, Illinois, US', - affected_servers = [ - thousandeyes_sdk.internet_insights.models.api_application_outage_affected_server.ApiApplicationOutageAffectedServer( - domain = 'amazon.com', - prefix = '123.176.185.0/23', ) - ] - ) - else: - return ApiApplicationOutageAffectedLocation( - ) - """ - - def testApiApplicationOutageAffectedLocation(self): - """Test ApiApplicationOutageAffectedLocation""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_application_outage_affected_server.py b/thousandeyes-sdk-internet-insights/test/test_api_application_outage_affected_server.py deleted file mode 100644 index ff539a27..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_application_outage_affected_server.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_application_outage_affected_server import ApiApplicationOutageAffectedServer - -class TestApiApplicationOutageAffectedServer(unittest.TestCase): - """ApiApplicationOutageAffectedServer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiApplicationOutageAffectedServer: - """Test ApiApplicationOutageAffectedServer - include_option 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 `ApiApplicationOutageAffectedServer` - """ - model = ApiApplicationOutageAffectedServer() - if include_optional: - return ApiApplicationOutageAffectedServer( - domain = 'amazon.com', - prefix = '123.176.185.0/23' - ) - else: - return ApiApplicationOutageAffectedServer( - ) - """ - - def testApiApplicationOutageAffectedServer(self): - """Test ApiApplicationOutageAffectedServer""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_application_outage_details.py b/thousandeyes-sdk-internet-insights/test/test_api_application_outage_details.py deleted file mode 100644 index 11d97fd3..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_application_outage_details.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_application_outage_details import ApiApplicationOutageDetails - -class TestApiApplicationOutageDetails(unittest.TestCase): - """ApiApplicationOutageDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiApplicationOutageDetails: - """Test ApiApplicationOutageDetails - include_option 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 `ApiApplicationOutageDetails` - """ - model = ApiApplicationOutageDetails() - if include_optional: - return ApiApplicationOutageDetails( - id = '0CC4C4209887126DE42E92252FB43962CBB3193147F318EA', - provider_name = 'Amazon Web Services', - provider_type = 'SAAS', - application_name = 'Amazon Web Services', - start_date = '2023-01-27T20:50:51.256Z', - start_round_id = 1674852600, - end_date = '2023-01-27T20:53:51.256Z', - end_round_id = 1674852600, - duration = 180, - affected_tests = [ - thousandeyes_sdk.internet_insights.models.api_affected_test.ApiAffectedTest( - id = 5, - name = 'amazon-test2', ) - ], - affected_domains = [ - 'amazon.com' - ], - affected_agents = [ - thousandeyes_sdk.internet_insights.models.api_affected_agent.ApiAffectedAgent( - id = 11, - name = 'London, England', ) - ], - errors = [ - 'HTTP_SERVER_TIMEOUT' - ], - affected_locations = [ - thousandeyes_sdk.internet_insights.models.api_application_outage_affected_location.ApiApplicationOutageAffectedLocation( - location = 'Chicago, Illinois, US', - affected_servers = [ - thousandeyes_sdk.internet_insights.models.api_application_outage_affected_server.ApiApplicationOutageAffectedServer( - domain = 'amazon.com', - prefix = '123.176.185.0/23', ) - ], ) - ], - links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiApplicationOutageDetails( - ) - """ - - def testApiApplicationOutageDetails(self): - """Test ApiApplicationOutageDetails""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_asn.py b/thousandeyes-sdk-internet-insights/test/test_api_asn.py deleted file mode 100644 index 65ff469b..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_asn.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_asn import ApiAsn - -class TestApiAsn(unittest.TestCase): - """ApiAsn unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiAsn: - """Test ApiAsn - include_option 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 `ApiAsn` - """ - model = ApiAsn() - if include_optional: - return ApiAsn( - id = 1, - name = 'LVLT-1 - Level 3 Communications, Inc.' - ) - else: - return ApiAsn( - ) - """ - - def testApiAsn(self): - """Test ApiAsn""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider.py b/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider.py deleted file mode 100644 index 9d09cba8..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_catalog_provider import ApiCatalogProvider - -class TestApiCatalogProvider(unittest.TestCase): - """ApiCatalogProvider unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiCatalogProvider: - """Test ApiCatalogProvider - include_option 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 `ApiCatalogProvider` - """ - model = ApiCatalogProvider() - if include_optional: - return ApiCatalogProvider( - id = '85602a0a-54a7-4e97-946e-67492ef1fa26', - provider_name = 'Amazon Web Services', - provider_type = 'IAAS', - region = 'North America', - data_type = 'Application', - asns_count = 10, - countries_count = 2, - locations_count = 50, - interfaces_count = 15, - included = True, - links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiCatalogProvider( - ) - """ - - def testApiCatalogProvider(self): - """Test ApiCatalogProvider""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_details.py b/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_details.py deleted file mode 100644 index 3ba23b1d..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_details.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_catalog_provider_details import ApiCatalogProviderDetails - -class TestApiCatalogProviderDetails(unittest.TestCase): - """ApiCatalogProviderDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiCatalogProviderDetails: - """Test ApiCatalogProviderDetails - include_option 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 `ApiCatalogProviderDetails` - """ - model = ApiCatalogProviderDetails() - if include_optional: - return ApiCatalogProviderDetails( - id = '85602a0a-54a7-4e97-946e-67492ef1fa26', - provider_name = 'Amazon Web Services', - provider_type = 'IAAS', - region = 'North America', - data_type = 'Application', - asns = [ - thousandeyes_sdk.internet_insights.models.api_asn.ApiAsn( - id = 1, - name = 'LVLT-1 - Level 3 Communications, Inc.', ) - ], - locations = [ - thousandeyes_sdk.internet_insights.models.provider_location.ProviderLocation( - location = 'San Jose, US', - interfaces_count = 5, ) - ], - links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiCatalogProviderDetails( - ) - """ - - def testApiCatalogProviderDetails(self): - """Test ApiCatalogProviderDetails""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_filter.py b/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_filter.py deleted file mode 100644 index 61b9cada..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_filter.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_catalog_provider_filter import ApiCatalogProviderFilter - -class TestApiCatalogProviderFilter(unittest.TestCase): - """ApiCatalogProviderFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiCatalogProviderFilter: - """Test ApiCatalogProviderFilter - include_option 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 `ApiCatalogProviderFilter` - """ - model = ApiCatalogProviderFilter() - if include_optional: - return ApiCatalogProviderFilter( - provider_name = 'Amazon Web Services', - provider_type = 'IAAS', - region = 'North America', - location = 'San Jose, US', - asn = 'Amazon.com, Inc.', - included = True - ) - else: - return ApiCatalogProviderFilter( - ) - """ - - def testApiCatalogProviderFilter(self): - """Test ApiCatalogProviderFilter""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_response.py b/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_response.py deleted file mode 100644 index 4f8603e1..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_catalog_provider_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_catalog_provider_response import ApiCatalogProviderResponse - -class TestApiCatalogProviderResponse(unittest.TestCase): - """ApiCatalogProviderResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiCatalogProviderResponse: - """Test ApiCatalogProviderResponse - include_option 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 `ApiCatalogProviderResponse` - """ - model = ApiCatalogProviderResponse() - if include_optional: - return ApiCatalogProviderResponse( - providers = [ - thousandeyes_sdk.internet_insights.models.api_catalog_provider.ApiCatalogProvider( - id = '85602a0a-54a7-4e97-946e-67492ef1fa26', - provider_name = 'Amazon Web Services', - provider_type = 'IAAS', - region = 'North America', - data_type = 'Application', - asns_count = 10, - countries_count = 2, - locations_count = 50, - interfaces_count = 15, - included = True, - _links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), ) - ], - links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiCatalogProviderResponse( - ) - """ - - def testApiCatalogProviderResponse(self): - """Test ApiCatalogProviderResponse""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_network_outage_affected_location.py b/thousandeyes-sdk-internet-insights/test/test_api_network_outage_affected_location.py deleted file mode 100644 index 21428b16..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_network_outage_affected_location.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_network_outage_affected_location import ApiNetworkOutageAffectedLocation - -class TestApiNetworkOutageAffectedLocation(unittest.TestCase): - """ApiNetworkOutageAffectedLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiNetworkOutageAffectedLocation: - """Test ApiNetworkOutageAffectedLocation - include_option 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 `ApiNetworkOutageAffectedLocation` - """ - model = ApiNetworkOutageAffectedLocation() - if include_optional: - return ApiNetworkOutageAffectedLocation( - location = 'Chicago, Illinois, US', - affected_interfaces = [ - '50.51.52.53' - ] - ) - else: - return ApiNetworkOutageAffectedLocation( - ) - """ - - def testApiNetworkOutageAffectedLocation(self): - """Test ApiNetworkOutageAffectedLocation""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_network_outage_details.py b/thousandeyes-sdk-internet-insights/test/test_api_network_outage_details.py deleted file mode 100644 index 8ad49c08..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_network_outage_details.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_network_outage_details import ApiNetworkOutageDetails - -class TestApiNetworkOutageDetails(unittest.TestCase): - """ApiNetworkOutageDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiNetworkOutageDetails: - """Test ApiNetworkOutageDetails - include_option 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 `ApiNetworkOutageDetails` - """ - model = ApiNetworkOutageDetails() - if include_optional: - return ApiNetworkOutageDetails( - id = '8EF2760862C705783A2F8BCBAAABB44F28DBC670DBA3B610', - provider_name = 'Rackspace', - provider_type = 'IAAS', - network_name = 'Rackspace Hosting', - asn = 19994, - start_date = '2023-01-27T20:50:51.256Z', - start_round_id = 1674852600, - end_date = '2023-01-27T20:53:51.256Z', - end_round_id = 1674852600, - duration = 180, - affected_tests = [ - thousandeyes_sdk.internet_insights.models.api_affected_test.ApiAffectedTest( - id = 5, - name = 'amazon-test2', ) - ], - affected_domains = [ - 'periodic-failure.com' - ], - affected_agents = [ - thousandeyes_sdk.internet_insights.models.api_affected_agent.ApiAffectedAgent( - id = 11, - name = 'London, England', ) - ], - affected_locations = [ - thousandeyes_sdk.internet_insights.models.api_network_outage_affected_location.ApiNetworkOutageAffectedLocation( - location = 'Chicago, Illinois, US', - affected_interfaces = [ - '50.51.52.53' - ], ) - ], - links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiNetworkOutageDetails( - ) - """ - - def testApiNetworkOutageDetails(self): - """Test ApiNetworkOutageDetails""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_outage.py b/thousandeyes-sdk-internet-insights/test/test_api_outage.py deleted file mode 100644 index 9c53b731..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_outage.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_outage import ApiOutage - -class TestApiOutage(unittest.TestCase): - """ApiOutage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiOutage: - """Test ApiOutage - include_option 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 `ApiOutage` - """ - model = ApiOutage() - if include_optional: - return ApiOutage( - id = 'xxxxxxxxxxxxxxxxxx1', - type = 'app', - provider_name = 'Google', - provider_type = 'SAAS', - name = 'Google', - start_date = '2022-03-01T23:31:11Z', - start_round_id = 1646177400, - end_date = '2022-03-01T23:31:11Z', - end_round_id = 1646177700, - duration = 214, - affected_tests_count = 1, - affected_servers_count = 2, - affected_locations_count = 1, - affected_interfaces_count = 1, - asn = 19994, - links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiOutage( - ) - """ - - def testApiOutage(self): - """Test ApiOutage""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_outage_filter.py b/thousandeyes-sdk-internet-insights/test/test_api_outage_filter.py deleted file mode 100644 index 2ecb4717..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_outage_filter.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_outage_filter import ApiOutageFilter - -class TestApiOutageFilter(unittest.TestCase): - """ApiOutageFilter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiOutageFilter: - """Test ApiOutageFilter - include_option 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 `ApiOutageFilter` - """ - model = ApiOutageFilter() - if include_optional: - return ApiOutageFilter( - start_date = '2022-03-01T01:30:00Z', - end_date = '2022-03-01T23:30:15Z', - window = '1d', - outage_scope = 'all', - provider_name = ["Telia","Amazon"], - application_name = ["slack","facebook"], - interface_network = [ - '' - ] - ) - else: - return ApiOutageFilter( - ) - """ - - def testApiOutageFilter(self): - """Test ApiOutageFilter""" - # 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/thousandeyes-sdk-internet-insights/test/test_api_outages_response.py b/thousandeyes-sdk-internet-insights/test/test_api_outages_response.py deleted file mode 100644 index 7e7f7b2d..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_api_outages_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.api_outages_response import ApiOutagesResponse - -class TestApiOutagesResponse(unittest.TestCase): - """ApiOutagesResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiOutagesResponse: - """Test ApiOutagesResponse - include_option 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 `ApiOutagesResponse` - """ - model = ApiOutagesResponse() - if include_optional: - return ApiOutagesResponse( - outages = [ - thousandeyes_sdk.internet_insights.models.api_outage.ApiOutage( - id = 'xxxxxxxxxxxxxxxxxx1', - type = 'app', - provider_name = 'Google', - provider_type = 'SAAS', - name = 'Google', - start_date = '2022-03-01T23:31:11Z', - start_round_id = 1646177400, - end_date = '2022-03-01T23:31:11Z', - end_round_id = 1646177700, - duration = 214, - affected_tests_count = 1, - affected_servers_count = 2, - affected_locations_count = 1, - affected_interfaces_count = 1, - asn = 19994, - _links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ), ) - ], - links = thousandeyes_sdk.internet_insights.models.self_links.SelfLinks( - self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiOutagesResponse( - ) - """ - - def testApiOutagesResponse(self): - """Test ApiOutagesResponse""" - # 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/thousandeyes-sdk-internet-insights/test/test_error.py b/thousandeyes-sdk-internet-insights/test/test_error.py deleted file mode 100644 index 433b8eac..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-internet-insights/test/test_link.py b/thousandeyes-sdk-internet-insights/test/test_link.py deleted file mode 100644 index 8190a1c2..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-internet-insights/test/test_outage_scope.py b/thousandeyes-sdk-internet-insights/test/test_outage_scope.py deleted file mode 100644 index 99d2b10a..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_outage_scope.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.outage_scope import OutageScope - -class TestOutageScope(unittest.TestCase): - """OutageScope unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOutageScope(self): - """Test OutageScope""" - # inst = OutageScope() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-internet-insights/test/test_provider_location.py b/thousandeyes-sdk-internet-insights/test/test_provider_location.py deleted file mode 100644 index ed43513d..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_provider_location.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.provider_location import ProviderLocation - -class TestProviderLocation(unittest.TestCase): - """ProviderLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProviderLocation: - """Test ProviderLocation - include_option 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 `ProviderLocation` - """ - model = ProviderLocation() - if include_optional: - return ProviderLocation( - location = 'San Jose, US', - interfaces_count = 5 - ) - else: - return ProviderLocation( - ) - """ - - def testProviderLocation(self): - """Test ProviderLocation""" - # 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/thousandeyes-sdk-internet-insights/test/test_self_links.py b/thousandeyes-sdk-internet-insights/test/test_self_links.py deleted file mode 100644 index e6187ac2..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.internet_insights.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-internet-insights/test/test_unauthorized_error.py b/thousandeyes-sdk-internet-insights/test/test_unauthorized_error.py deleted file mode 100644 index 75bda5a2..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-internet-insights/test/test_validation_error.py b/thousandeyes-sdk-internet-insights/test/test_validation_error.py deleted file mode 100644 index b1de4c0a..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.internet_insights.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-internet-insights/test/test_validation_error_item.py b/thousandeyes-sdk-internet-insights/test/test_validation_error_item.py deleted file mode 100644 index 3f627078..00000000 --- a/thousandeyes-sdk-internet-insights/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Internet Insights API - - We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner. Internet Insights provide visibility into core Internet infrastructure, including ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others. Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.internet_insights.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-labels/test/test_error.py b/thousandeyes-sdk-labels/test/test_error.py deleted file mode 100644 index f3a1fad6..00000000 --- a/thousandeyes-sdk-labels/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-labels/test/test_label.py b/thousandeyes-sdk-labels/test/test_label.py deleted file mode 100644 index c18bb2a6..00000000 --- a/thousandeyes-sdk-labels/test/test_label.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.label import Label - -class TestLabel(unittest.TestCase): - """Label unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Label: - """Test Label - include_option 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 `Label` - """ - model = Label() - if include_optional: - return Label( - label_id = '961123', - is_built_in = True, - name = 'Label XYZ', - type = 'endpoint-test' - ) - else: - return Label( - ) - """ - - def testLabel(self): - """Test Label""" - # 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/thousandeyes-sdk-labels/test/test_label_detail.py b/thousandeyes-sdk-labels/test/test_label_detail.py deleted file mode 100644 index fb73b0d5..00000000 --- a/thousandeyes-sdk-labels/test/test_label_detail.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.label_detail import LabelDetail - -class TestLabelDetail(unittest.TestCase): - """LabelDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LabelDetail: - """Test LabelDetail - include_option 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 `LabelDetail` - """ - model = LabelDetail() - if include_optional: - return LabelDetail( - label_id = '961123', - is_built_in = True, - name = 'Label XYZ', - type = 'endpoint-test', - ids = ["231286","6317a3ca0d2bfc6ab882d6ce","6317a3ca0d2bfc6ab882d6ca"], - links = thousandeyes_sdk.labels.models.self_links.SelfLinks( - self = thousandeyes_sdk.labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return LabelDetail( - ) - """ - - def testLabelDetail(self): - """Test LabelDetail""" - # 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/thousandeyes-sdk-labels/test/test_label_request.py b/thousandeyes-sdk-labels/test/test_label_request.py deleted file mode 100644 index 7b7449ee..00000000 --- a/thousandeyes-sdk-labels/test/test_label_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.label_request import LabelRequest - -class TestLabelRequest(unittest.TestCase): - """LabelRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LabelRequest: - """Test LabelRequest - include_option 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 `LabelRequest` - """ - model = LabelRequest() - if include_optional: - return LabelRequest( - name = 'My new label', - ids = ["5048","1234"] - ) - else: - return LabelRequest( - ) - """ - - def testLabelRequest(self): - """Test LabelRequest""" - # 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/thousandeyes-sdk-labels/test/test_label_type.py b/thousandeyes-sdk-labels/test/test_label_type.py deleted file mode 100644 index 81d80b05..00000000 --- a/thousandeyes-sdk-labels/test/test_label_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.label_type import LabelType - -class TestLabelType(unittest.TestCase): - """LabelType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLabelType(self): - """Test LabelType""" - # inst = LabelType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-labels/test/test_labels.py b/thousandeyes-sdk-labels/test/test_labels.py deleted file mode 100644 index 1a23d255..00000000 --- a/thousandeyes-sdk-labels/test/test_labels.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.labels import Labels - -class TestLabels(unittest.TestCase): - """Labels unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Labels: - """Test Labels - include_option 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 `Labels` - """ - model = Labels() - if include_optional: - return Labels( - labels = [ - thousandeyes_sdk.labels.models.label.Label( - label_id = '961123', - is_built_in = True, - name = 'Label XYZ', - type = 'endpoint-test', ) - ], - links = thousandeyes_sdk.labels.models.self_links.SelfLinks( - self = thousandeyes_sdk.labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Labels( - ) - """ - - def testLabels(self): - """Test Labels""" - # 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/thousandeyes-sdk-labels/test/test_link.py b/thousandeyes-sdk-labels/test/test_link.py deleted file mode 100644 index 96b79b76..00000000 --- a/thousandeyes-sdk-labels/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-labels/test/test_self_links.py b/thousandeyes-sdk-labels/test/test_self_links.py deleted file mode 100644 index 0d5085ac..00000000 --- a/thousandeyes-sdk-labels/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.labels.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-labels/test/test_unauthorized_error.py b/thousandeyes-sdk-labels/test/test_unauthorized_error.py deleted file mode 100644 index fa75a57a..00000000 --- a/thousandeyes-sdk-labels/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-labels/test/test_validation_error.py b/thousandeyes-sdk-labels/test/test_validation_error.py deleted file mode 100644 index 4292c754..00000000 --- a/thousandeyes-sdk-labels/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.labels.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-labels/test/test_validation_error_item.py b/thousandeyes-sdk-labels/test/test_validation_error_item.py deleted file mode 100644 index 42db144f..00000000 --- a/thousandeyes-sdk-labels/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Labels API - - ### Overview This is API for the Labels API (formerly called groups). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.labels.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-snapshots/test/test_app_and_self_links.py b/thousandeyes-sdk-snapshots/test/test_app_and_self_links.py deleted file mode 100644 index 620e7031..00000000 --- a/thousandeyes-sdk-snapshots/test/test_app_and_self_links.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.app_and_self_links import AppAndSelfLinks - -class TestAppAndSelfLinks(unittest.TestCase): - """AppAndSelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AppAndSelfLinks: - """Test AppAndSelfLinks - include_option 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 `AppAndSelfLinks` - """ - model = AppAndSelfLinks() - if include_optional: - return AppAndSelfLinks( - app_link = thousandeyes_sdk.snapshots.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.snapshots.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return AppAndSelfLinks( - ) - """ - - def testAppAndSelfLinks(self): - """Test AppAndSelfLinks""" - # 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/thousandeyes-sdk-snapshots/test/test_error.py b/thousandeyes-sdk-snapshots/test/test_error.py deleted file mode 100644 index 93cb8953..00000000 --- a/thousandeyes-sdk-snapshots/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-snapshots/test/test_link.py b/thousandeyes-sdk-snapshots/test/test_link.py deleted file mode 100644 index b28a6f2b..00000000 --- a/thousandeyes-sdk-snapshots/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-snapshots/test/test_snapshot_links.py b/thousandeyes-sdk-snapshots/test/test_snapshot_links.py deleted file mode 100644 index e68a235e..00000000 --- a/thousandeyes-sdk-snapshots/test/test_snapshot_links.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.snapshot_links import SnapshotLinks - -class TestSnapshotLinks(unittest.TestCase): - """SnapshotLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SnapshotLinks: - """Test SnapshotLinks - include_option 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 `SnapshotLinks` - """ - model = SnapshotLinks() - if include_optional: - return SnapshotLinks( - app_link = thousandeyes_sdk.snapshots.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.snapshots.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SnapshotLinks( - ) - """ - - def testSnapshotLinks(self): - """Test SnapshotLinks""" - # 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/thousandeyes-sdk-snapshots/test/test_snapshot_request.py b/thousandeyes-sdk-snapshots/test/test_snapshot_request.py deleted file mode 100644 index baf9c290..00000000 --- a/thousandeyes-sdk-snapshots/test/test_snapshot_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.snapshot_request import SnapshotRequest - -class TestSnapshotRequest(unittest.TestCase): - """SnapshotRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SnapshotRequest: - """Test SnapshotRequest - include_option 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 `SnapshotRequest` - """ - model = SnapshotRequest() - if include_optional: - return SnapshotRequest( - display_name = 'Snapshot created through API', - start_date = '2023-06-06T00:00Z', - end_date = '2023-06-06T01:00Z', - is_public = False - ) - else: - return SnapshotRequest( - display_name = 'Snapshot created through API', - start_date = '2023-06-06T00:00Z', - end_date = '2023-06-06T01:00Z', - ) - """ - - def testSnapshotRequest(self): - """Test SnapshotRequest""" - # 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/thousandeyes-sdk-snapshots/test/test_snapshot_response.py b/thousandeyes-sdk-snapshots/test/test_snapshot_response.py deleted file mode 100644 index 30b92b88..00000000 --- a/thousandeyes-sdk-snapshots/test/test_snapshot_response.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.snapshot_response import SnapshotResponse - -class TestSnapshotResponse(unittest.TestCase): - """SnapshotResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SnapshotResponse: - """Test SnapshotResponse - include_option 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 `SnapshotResponse` - """ - model = SnapshotResponse() - if include_optional: - return SnapshotResponse( - id = 'wdiac', - start_round_id = 1538784000, - end_round_id = 1538787600, - round_id = 1538784000, - share_date = '2023-06-06T00:00Z', - source_test_id = '281474976710706', - test_id = '281474976710801', - uid = '281474976810911', - display_name = 'Snapshot created through API', - extra_params = 'params', - test = None, - links = None - ) - else: - return SnapshotResponse( - ) - """ - - def testSnapshotResponse(self): - """Test SnapshotResponse""" - # 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/thousandeyes-sdk-snapshots/test/test_snapshot_test.py b/thousandeyes-sdk-snapshots/test/test_snapshot_test.py deleted file mode 100644 index e296c534..00000000 --- a/thousandeyes-sdk-snapshots/test/test_snapshot_test.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.snapshot_test import SnapshotTest - -class TestSnapshotTest(unittest.TestCase): - """SnapshotTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SnapshotTest: - """Test SnapshotTest - include_option 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 `SnapshotTest` - """ - model = SnapshotTest() - if include_optional: - return SnapshotTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.snapshots.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ) - ) - else: - return SnapshotTest( - ) - """ - - def testSnapshotTest(self): - """Test SnapshotTest""" - # 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/thousandeyes-sdk-snapshots/test/test_test_interval.py b/thousandeyes-sdk-snapshots/test/test_test_interval.py deleted file mode 100644 index 6454afe5..00000000 --- a/thousandeyes-sdk-snapshots/test/test_test_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.test_interval import TestInterval - -class TestTestInterval(unittest.TestCase): - """TestInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestInterval(self): - """Test TestInterval""" - # inst = TestInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-snapshots/test/test_test_links.py b/thousandeyes-sdk-snapshots/test/test_test_links.py deleted file mode 100644 index 47594f62..00000000 --- a/thousandeyes-sdk-snapshots/test/test_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.test_links import TestLinks - -class TestTestLinks(unittest.TestCase): - """TestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLinks: - """Test TestLinks - include_option 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 `TestLinks` - """ - model = TestLinks() - if include_optional: - return TestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}] - ) - else: - return TestLinks( - ) - """ - - def testTestLinks(self): - """Test TestLinks""" - # 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/thousandeyes-sdk-snapshots/test/test_test_self_link.py b/thousandeyes-sdk-snapshots/test/test_test_self_link.py deleted file mode 100644 index 3d4350d4..00000000 --- a/thousandeyes-sdk-snapshots/test/test_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.test_self_link import TestSelfLink - -class TestTestSelfLink(unittest.TestCase): - """TestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestSelfLink: - """Test TestSelfLink - include_option 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 `TestSelfLink` - """ - model = TestSelfLink() - if include_optional: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testTestSelfLink(self): - """Test TestSelfLink""" - # 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/thousandeyes-sdk-snapshots/test/test_test_type.py b/thousandeyes-sdk-snapshots/test/test_test_type.py deleted file mode 100644 index bec1314a..00000000 --- a/thousandeyes-sdk-snapshots/test/test_test_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.test_type import TestType - -class TestTestType(unittest.TestCase): - """TestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestType(self): - """Test TestType""" - # inst = TestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-snapshots/test/test_unauthorized_error.py b/thousandeyes-sdk-snapshots/test/test_unauthorized_error.py deleted file mode 100644 index 54777bb0..00000000 --- a/thousandeyes-sdk-snapshots/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-snapshots/test/test_unexpanded_instant_test.py b/thousandeyes-sdk-snapshots/test/test_unexpanded_instant_test.py deleted file mode 100644 index 58c93779..00000000 --- a/thousandeyes-sdk-snapshots/test/test_unexpanded_instant_test.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.unexpanded_instant_test import UnexpandedInstantTest - -class TestUnexpandedInstantTest(unittest.TestCase): - """UnexpandedInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedInstantTest: - """Test UnexpandedInstantTest - include_option 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 `UnexpandedInstantTest` - """ - model = UnexpandedInstantTest() - if include_optional: - return UnexpandedInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.snapshots.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ) - ) - else: - return UnexpandedInstantTest( - ) - """ - - def testUnexpandedInstantTest(self): - """Test UnexpandedInstantTest""" - # 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/thousandeyes-sdk-snapshots/test/test_unexpanded_test.py b/thousandeyes-sdk-snapshots/test/test_unexpanded_test.py deleted file mode 100644 index e0b476f5..00000000 --- a/thousandeyes-sdk-snapshots/test/test_unexpanded_test.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.unexpanded_test import UnexpandedTest - -class TestUnexpandedTest(unittest.TestCase): - """UnexpandedTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedTest: - """Test UnexpandedTest - include_option 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 `UnexpandedTest` - """ - model = UnexpandedTest() - if include_optional: - return UnexpandedTest( - interval = 120, - alerts_enabled = True, - enabled = True - ) - else: - return UnexpandedTest( - ) - """ - - def testUnexpandedTest(self): - """Test UnexpandedTest""" - # 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/thousandeyes-sdk-snapshots/test/test_validation_error.py b/thousandeyes-sdk-snapshots/test/test_validation_error.py deleted file mode 100644 index df72f474..00000000 --- a/thousandeyes-sdk-snapshots/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.snapshots.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-snapshots/test/test_validation_error_item.py b/thousandeyes-sdk-snapshots/test/test_validation_error_item.py deleted file mode 100644 index 7f59c50d..00000000 --- a/thousandeyes-sdk-snapshots/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Test Snapshots API - - Creates a new test snapshot in ThousandEyes. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.snapshots.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-streaming/test/test_api_error.py b/thousandeyes-sdk-streaming/test/test_api_error.py deleted file mode 100644 index 42e85a40..00000000 --- a/thousandeyes-sdk-streaming/test/test_api_error.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.api_error import ApiError - -class TestApiError(unittest.TestCase): - """ApiError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiError: - """Test ApiError - include_option 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 `ApiError` - """ - model = ApiError() - if include_optional: - return ApiError( - timestamp = 1679677853573, - status = 500, - errors = 'Internal Server Error', - path = 'https://api.thousandeyes.com/v7/stream' - ) - else: - return ApiError( - ) - """ - - def testApiError(self): - """Test ApiError""" - # 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/thousandeyes-sdk-streaming/test/test_api_error_integration_limits.py b/thousandeyes-sdk-streaming/test/test_api_error_integration_limits.py deleted file mode 100644 index bc0d1b41..00000000 --- a/thousandeyes-sdk-streaming/test/test_api_error_integration_limits.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.api_error_integration_limits import ApiErrorIntegrationLimits - -class TestApiErrorIntegrationLimits(unittest.TestCase): - """ApiErrorIntegrationLimits unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiErrorIntegrationLimits: - """Test ApiErrorIntegrationLimits - include_option 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 `ApiErrorIntegrationLimits` - """ - model = ApiErrorIntegrationLimits() - if include_optional: - return ApiErrorIntegrationLimits( - timestamp = 1679677853573, - http_status = 'PRECONDITION_FAILED', - errors = [ - 'User cannot create more than 5 integrations' - ], - path = 'https://api.thousandeyes.com/v7/stream' - ) - else: - return ApiErrorIntegrationLimits( - ) - """ - - def testApiErrorIntegrationLimits(self): - """Test ApiErrorIntegrationLimits""" - # 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/thousandeyes-sdk-streaming/test/test_audit_operation.py b/thousandeyes-sdk-streaming/test/test_audit_operation.py deleted file mode 100644 index 7667e2a4..00000000 --- a/thousandeyes-sdk-streaming/test/test_audit_operation.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.audit_operation import AuditOperation - -class TestAuditOperation(unittest.TestCase): - """AuditOperation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AuditOperation: - """Test AuditOperation - include_option 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 `AuditOperation` - """ - model = AuditOperation() - if include_optional: - return AuditOperation( - created_by = 3962, - created_date = 1679677853573 - ) - else: - return AuditOperation( - ) - """ - - def testAuditOperation(self): - """Test AuditOperation""" - # 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/thousandeyes-sdk-streaming/test/test_audit_operation_with_update.py b/thousandeyes-sdk-streaming/test/test_audit_operation_with_update.py deleted file mode 100644 index 2ebefa56..00000000 --- a/thousandeyes-sdk-streaming/test/test_audit_operation_with_update.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.audit_operation_with_update import AuditOperationWithUpdate - -class TestAuditOperationWithUpdate(unittest.TestCase): - """AuditOperationWithUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AuditOperationWithUpdate: - """Test AuditOperationWithUpdate - include_option 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 `AuditOperationWithUpdate` - """ - model = AuditOperationWithUpdate() - if include_optional: - return AuditOperationWithUpdate( - created_by = 3962, - created_date = 1679677853573, - updated_by = 3962, - updated_date = 1679677853573 - ) - else: - return AuditOperationWithUpdate( - ) - """ - - def testAuditOperationWithUpdate(self): - """Test AuditOperationWithUpdate""" - # 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/thousandeyes-sdk-streaming/test/test_bad_request_error.py b/thousandeyes-sdk-streaming/test/test_bad_request_error.py deleted file mode 100644 index 84241727..00000000 --- a/thousandeyes-sdk-streaming/test/test_bad_request_error.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.bad_request_error import BadRequestError - -class TestBadRequestError(unittest.TestCase): - """BadRequestError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BadRequestError: - """Test BadRequestError - include_option 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 `BadRequestError` - """ - model = BadRequestError() - if include_optional: - return BadRequestError( - timestamp = 1679677853573, - http_status = 'BAD_REQUEST', - errors = [ - 'JSON parse error: invalid type' - ], - path = 'https://api.thousandeyes.com/v7/stream' - ) - else: - return BadRequestError( - ) - """ - - def testBadRequestError(self): - """Test BadRequestError""" - # 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/thousandeyes-sdk-streaming/test/test_create_stream_response.py b/thousandeyes-sdk-streaming/test/test_create_stream_response.py deleted file mode 100644 index e819e693..00000000 --- a/thousandeyes-sdk-streaming/test/test_create_stream_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.create_stream_response import CreateStreamResponse - -class TestCreateStreamResponse(unittest.TestCase): - """CreateStreamResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CreateStreamResponse: - """Test CreateStreamResponse - include_option 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 `CreateStreamResponse` - """ - model = CreateStreamResponse() - if include_optional: - return CreateStreamResponse( - id = '342ieu09', - enabled = True, - links = thousandeyes_sdk.streaming.models.stream_links.StreamLinks( - self = thousandeyes_sdk.streaming.models.stream_self_link.StreamSelfLink( - href = 'https://api.thousandeyes.com/v7/streams/575766da-9664-4e85-94fe-facbe1154799', ), ), - type = 'opentelemetry', - endpoint_type = 'grpc', - stream_endpoint_url = 'https://api.thousandeyes.otel-collector', - custom_headers = {"Authorization":"*****","Content-Type":"*****"}, - tag_match = [{"objectType":"test","key":"keyA","value":"valueA"},{"objectType":"test","key":"keyB","value":"valueB"}], - audit_operation = thousandeyes_sdk.streaming.models.audit_operation.AuditOperation( - created_by = 3962, - created_date = 1679677853573, ) - ) - else: - return CreateStreamResponse( - ) - """ - - def testCreateStreamResponse(self): - """Test CreateStreamResponse""" - # 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/thousandeyes-sdk-streaming/test/test_endpoint_type.py b/thousandeyes-sdk-streaming/test/test_endpoint_type.py deleted file mode 100644 index 1893ffee..00000000 --- a/thousandeyes-sdk-streaming/test/test_endpoint_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.endpoint_type import EndpointType - -class TestEndpointType(unittest.TestCase): - """EndpointType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEndpointType(self): - """Test EndpointType""" - # inst = EndpointType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-streaming/test/test_get_stream_response.py b/thousandeyes-sdk-streaming/test/test_get_stream_response.py deleted file mode 100644 index 4ca64e12..00000000 --- a/thousandeyes-sdk-streaming/test/test_get_stream_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.get_stream_response import GetStreamResponse - -class TestGetStreamResponse(unittest.TestCase): - """GetStreamResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GetStreamResponse: - """Test GetStreamResponse - include_option 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 `GetStreamResponse` - """ - model = GetStreamResponse() - if include_optional: - return GetStreamResponse( - id = '342ieu09', - enabled = True, - links = thousandeyes_sdk.streaming.models.stream_links.StreamLinks( - self = thousandeyes_sdk.streaming.models.stream_self_link.StreamSelfLink( - href = 'https://api.thousandeyes.com/v7/streams/575766da-9664-4e85-94fe-facbe1154799', ), ), - type = 'opentelemetry', - endpoint_type = 'grpc', - stream_endpoint_url = 'https://api.thousandeyes.otel-collector', - custom_headers = {"Authorization":"*****","Content-Type":"*****"}, - tag_match = [{"objectType":"test","key":"keyA","value":"valueA"},{"objectType":"test","key":"keyB","value":"valueB"}], - audit_operation = None - ) - else: - return GetStreamResponse( - ) - """ - - def testGetStreamResponse(self): - """Test GetStreamResponse""" - # 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/thousandeyes-sdk-streaming/test/test_put_stream.py b/thousandeyes-sdk-streaming/test/test_put_stream.py deleted file mode 100644 index fb0f397a..00000000 --- a/thousandeyes-sdk-streaming/test/test_put_stream.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.put_stream import PutStream - -class TestPutStream(unittest.TestCase): - """PutStream unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PutStream: - """Test PutStream - include_option 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 `PutStream` - """ - model = PutStream() - if include_optional: - return PutStream( - custom_headers = {"Authorization":"*****","Content-Type":"*****"}, - tag_match = [{"objectType":"test","key":"keyA","value":"valueA"},{"objectType":"test","key":"keyB","value":"valueB"}], - enabled = True - ) - else: - return PutStream( - ) - """ - - def testPutStream(self): - """Test PutStream""" - # 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/thousandeyes-sdk-streaming/test/test_stream.py b/thousandeyes-sdk-streaming/test/test_stream.py deleted file mode 100644 index a238b251..00000000 --- a/thousandeyes-sdk-streaming/test/test_stream.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.stream import Stream - -class TestStream(unittest.TestCase): - """Stream unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Stream: - """Test Stream - include_option 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 `Stream` - """ - model = Stream() - if include_optional: - return Stream( - custom_headers = {"Authorization":"*****","Content-Type":"*****"}, - tag_match = [{"objectType":"test","key":"keyA","value":"valueA"},{"objectType":"test","key":"keyB","value":"valueB"}], - enabled = True, - type = 'opentelemetry', - endpoint_type = 'grpc', - stream_endpoint_url = 'https://api.thousandeyes.otel-collector' - ) - else: - return Stream( - ) - """ - - def testStream(self): - """Test Stream""" - # 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/thousandeyes-sdk-streaming/test/test_stream_links.py b/thousandeyes-sdk-streaming/test/test_stream_links.py deleted file mode 100644 index e112e743..00000000 --- a/thousandeyes-sdk-streaming/test/test_stream_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.stream_links import StreamLinks - -class TestStreamLinks(unittest.TestCase): - """StreamLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StreamLinks: - """Test StreamLinks - include_option 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 `StreamLinks` - """ - model = StreamLinks() - if include_optional: - return StreamLinks( - var_self = thousandeyes_sdk.streaming.models.stream_self_link.StreamSelfLink( - href = 'https://api.thousandeyes.com/v7/streams/575766da-9664-4e85-94fe-facbe1154799', ) - ) - else: - return StreamLinks( - ) - """ - - def testStreamLinks(self): - """Test StreamLinks""" - # 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/thousandeyes-sdk-streaming/test/test_stream_response.py b/thousandeyes-sdk-streaming/test/test_stream_response.py deleted file mode 100644 index be0fcd07..00000000 --- a/thousandeyes-sdk-streaming/test/test_stream_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.stream_response import StreamResponse - -class TestStreamResponse(unittest.TestCase): - """StreamResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StreamResponse: - """Test StreamResponse - include_option 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 `StreamResponse` - """ - model = StreamResponse() - if include_optional: - return StreamResponse( - id = '342ieu09', - enabled = True, - links = thousandeyes_sdk.streaming.models.stream_links.StreamLinks( - self = thousandeyes_sdk.streaming.models.stream_self_link.StreamSelfLink( - href = 'https://api.thousandeyes.com/v7/streams/575766da-9664-4e85-94fe-facbe1154799', ), ) - ) - else: - return StreamResponse( - ) - """ - - def testStreamResponse(self): - """Test StreamResponse""" - # 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/thousandeyes-sdk-streaming/test/test_stream_self_link.py b/thousandeyes-sdk-streaming/test/test_stream_self_link.py deleted file mode 100644 index 6126695f..00000000 --- a/thousandeyes-sdk-streaming/test/test_stream_self_link.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.stream_self_link import StreamSelfLink - -class TestStreamSelfLink(unittest.TestCase): - """StreamSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StreamSelfLink: - """Test StreamSelfLink - include_option 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 `StreamSelfLink` - """ - model = StreamSelfLink() - if include_optional: - return StreamSelfLink( - href = 'https://api.thousandeyes.com/v7/streams/575766da-9664-4e85-94fe-facbe1154799' - ) - else: - return StreamSelfLink( - ) - """ - - def testStreamSelfLink(self): - """Test StreamSelfLink""" - # 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/thousandeyes-sdk-streaming/test/test_stream_type.py b/thousandeyes-sdk-streaming/test/test_stream_type.py deleted file mode 100644 index e208544d..00000000 --- a/thousandeyes-sdk-streaming/test/test_stream_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.stream_type import StreamType - -class TestStreamType(unittest.TestCase): - """StreamType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStreamType(self): - """Test StreamType""" - # inst = StreamType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-streaming/test/test_tag_match.py b/thousandeyes-sdk-streaming/test/test_tag_match.py deleted file mode 100644 index c75e59dd..00000000 --- a/thousandeyes-sdk-streaming/test/test_tag_match.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.tag_match import TagMatch - -class TestTagMatch(unittest.TestCase): - """TagMatch unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TagMatch: - """Test TagMatch - include_option 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 `TagMatch` - """ - model = TagMatch() - if include_optional: - return TagMatch( - object_type = 'test', - key = 'keyA', - value = 'valueA' - ) - else: - return TagMatch( - ) - """ - - def testTagMatch(self): - """Test TagMatch""" - # 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/thousandeyes-sdk-streaming/test/test_tag_match_object_type.py b/thousandeyes-sdk-streaming/test/test_tag_match_object_type.py deleted file mode 100644 index 0a7aa95a..00000000 --- a/thousandeyes-sdk-streaming/test/test_tag_match_object_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.tag_match_object_type import TagMatchObjectType - -class TestTagMatchObjectType(unittest.TestCase): - """TagMatchObjectType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTagMatchObjectType(self): - """Test TagMatchObjectType""" - # inst = TagMatchObjectType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-streaming/test/test_unauthorized_error.py b/thousandeyes-sdk-streaming/test/test_unauthorized_error.py deleted file mode 100644 index 3a2768f4..00000000 --- a/thousandeyes-sdk-streaming/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - ThousandEyes for OpenTelemetry API - - ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. ThousandEyes for OTel is made up of the following components: * Data streaming APIs that you can use to configure and enable your ThousandEyes tests with OTel-compatible streams, in particular to configure how ThousandEyes telemetry data is exported to client integrations. * A set of streaming pipelines called _collectors_ that actively fetch ThousandEyes network test data, enrich the data with some additional detail, filter, and push the data to the customer-configured endpoints, depending on what you configure via the public APIs. * Third-party OTel collectors that receive, transform, filter, and export different metrics to client applications such as AppD, or any other OTel-capable client configuration. For more information about ThousandEyes for OpenTelemetry, see the [documentation](https://docs.thousandeyes.com/product-documentation/api/opentelemetry). - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.streaming.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-tags/test/test_access_type.py b/thousandeyes-sdk-tags/test/test_access_type.py deleted file mode 100644 index 64e1914e..00000000 --- a/thousandeyes-sdk-tags/test/test_access_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.access_type import AccessType - -class TestAccessType(unittest.TestCase): - """AccessType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAccessType(self): - """Test AccessType""" - # inst = AccessType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tags/test/test_api_error.py b/thousandeyes-sdk-tags/test/test_api_error.py deleted file mode 100644 index b137b5f3..00000000 --- a/thousandeyes-sdk-tags/test/test_api_error.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.api_error import ApiError - -class TestApiError(unittest.TestCase): - """ApiError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiError: - """Test ApiError - include_option 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 `ApiError` - """ - model = ApiError() - if include_optional: - return ApiError( - timestamp = 1679677853573, - status = 500, - errors = 'Internal Server Error', - path = '/v7/tags' - ) - else: - return ApiError( - ) - """ - - def testApiError(self): - """Test ApiError""" - # 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/thousandeyes-sdk-tags/test/test_assignment.py b/thousandeyes-sdk-tags/test/test_assignment.py deleted file mode 100644 index a7a93f4f..00000000 --- a/thousandeyes-sdk-tags/test/test_assignment.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.assignment import Assignment - -class TestAssignment(unittest.TestCase): - """Assignment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Assignment: - """Test Assignment - include_option 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 `Assignment` - """ - model = Assignment() - if include_optional: - return Assignment( - id = '123', - type = 'test' - ) - else: - return Assignment( - ) - """ - - def testAssignment(self): - """Test Assignment""" - # 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/thousandeyes-sdk-tags/test/test_assignment_type.py b/thousandeyes-sdk-tags/test/test_assignment_type.py deleted file mode 100644 index f7c25baa..00000000 --- a/thousandeyes-sdk-tags/test/test_assignment_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.assignment_type import AssignmentType - -class TestAssignmentType(unittest.TestCase): - """AssignmentType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAssignmentType(self): - """Test AssignmentType""" - # inst = AssignmentType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tags/test/test_bulk_tag_assignment.py b/thousandeyes-sdk-tags/test/test_bulk_tag_assignment.py deleted file mode 100644 index 870b7cee..00000000 --- a/thousandeyes-sdk-tags/test/test_bulk_tag_assignment.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.bulk_tag_assignment import BulkTagAssignment - -class TestBulkTagAssignment(unittest.TestCase): - """BulkTagAssignment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BulkTagAssignment: - """Test BulkTagAssignment - include_option 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 `BulkTagAssignment` - """ - model = BulkTagAssignment() - if include_optional: - return BulkTagAssignment( - assignments = [ - thousandeyes_sdk.tags.models.assignment.Assignment( - id = '123', - type = 'test', ) - ], - tag_id = 'c6b78e57-81a2-4c5f-a11a-d96c3c664d55' - ) - else: - return BulkTagAssignment( - ) - """ - - def testBulkTagAssignment(self): - """Test BulkTagAssignment""" - # 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/thousandeyes-sdk-tags/test/test_bulk_tag_assignments.py b/thousandeyes-sdk-tags/test/test_bulk_tag_assignments.py deleted file mode 100644 index de47017c..00000000 --- a/thousandeyes-sdk-tags/test/test_bulk_tag_assignments.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.bulk_tag_assignments import BulkTagAssignments - -class TestBulkTagAssignments(unittest.TestCase): - """BulkTagAssignments unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BulkTagAssignments: - """Test BulkTagAssignments - include_option 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 `BulkTagAssignments` - """ - model = BulkTagAssignments() - if include_optional: - return BulkTagAssignments( - tags = [ - null - ] - ) - else: - return BulkTagAssignments( - ) - """ - - def testBulkTagAssignments(self): - """Test BulkTagAssignments""" - # 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/thousandeyes-sdk-tags/test/test_bulk_tag_response.py b/thousandeyes-sdk-tags/test/test_bulk_tag_response.py deleted file mode 100644 index 608c1db7..00000000 --- a/thousandeyes-sdk-tags/test/test_bulk_tag_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.bulk_tag_response import BulkTagResponse - -class TestBulkTagResponse(unittest.TestCase): - """BulkTagResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BulkTagResponse: - """Test BulkTagResponse - include_option 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 `BulkTagResponse` - """ - model = BulkTagResponse() - if include_optional: - return BulkTagResponse( - tags = [ - null - ], - errors = [ - thousandeyes_sdk.tags.models.tag_bulk_create_error.TagBulkCreateError( - tag = { - 'key' : thousandeyes_sdk.tags.models.tag_info.TagInfo( - assignments = [ - thousandeyes_sdk.tags.models.assignment.Assignment( - id = '123', - type = 'test', ) - ], - access_type = 'all', - aid = 1234, - color = '#FF0000', - create_date = '2022-03-01T23:31:11Z', - icon = '', - id = '5aeab5d5-0d34-4d44-a7ac-fb440185295c', - key = 'branch', - legacy_id = '', - object_type = 'test', - value = 'sfo', ) - }, - response_code = 200, - message = 'Object successfully created', ) - ] - ) - else: - return BulkTagResponse( - ) - """ - - def testBulkTagResponse(self): - """Test BulkTagResponse""" - # 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/thousandeyes-sdk-tags/test/test_error.py b/thousandeyes-sdk-tags/test/test_error.py deleted file mode 100644 index ce4eb5c3..00000000 --- a/thousandeyes-sdk-tags/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-tags/test/test_expand.py b/thousandeyes-sdk-tags/test/test_expand.py deleted file mode 100644 index 91f4b830..00000000 --- a/thousandeyes-sdk-tags/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tags/test/test_link.py b/thousandeyes-sdk-tags/test/test_link.py deleted file mode 100644 index b78cdcac..00000000 --- a/thousandeyes-sdk-tags/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-tags/test/test_object_type.py b/thousandeyes-sdk-tags/test/test_object_type.py deleted file mode 100644 index 6093e58e..00000000 --- a/thousandeyes-sdk-tags/test/test_object_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.object_type import ObjectType - -class TestObjectType(unittest.TestCase): - """ObjectType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObjectType(self): - """Test ObjectType""" - # inst = ObjectType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tags/test/test_self_links.py b/thousandeyes-sdk-tags/test/test_self_links.py deleted file mode 100644 index e762e32a..00000000 --- a/thousandeyes-sdk-tags/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.tags.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-tags/test/test_tag.py b/thousandeyes-sdk-tags/test/test_tag.py deleted file mode 100644 index b288c405..00000000 --- a/thousandeyes-sdk-tags/test/test_tag.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.tag import Tag - -class TestTag(unittest.TestCase): - """Tag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Tag: - """Test Tag - include_option 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 `Tag` - """ - model = Tag() - if include_optional: - return Tag( - assignments = [ - thousandeyes_sdk.tags.models.assignment.Assignment( - id = '123', - type = 'test', ) - ], - access_type = 'all', - aid = 1234, - color = '#FF0000', - create_date = '2022-03-01T23:31:11Z', - icon = '', - id = '5aeab5d5-0d34-4d44-a7ac-fb440185295c', - key = 'branch', - legacy_id = '', - object_type = 'test', - value = 'sfo', - links = thousandeyes_sdk.tags.models.self_links.SelfLinks( - self = thousandeyes_sdk.tags.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Tag( - ) - """ - - def testTag(self): - """Test Tag""" - # 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/thousandeyes-sdk-tags/test/test_tag_assignment.py b/thousandeyes-sdk-tags/test/test_tag_assignment.py deleted file mode 100644 index 2593209f..00000000 --- a/thousandeyes-sdk-tags/test/test_tag_assignment.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.tag_assignment import TagAssignment - -class TestTagAssignment(unittest.TestCase): - """TagAssignment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TagAssignment: - """Test TagAssignment - include_option 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 `TagAssignment` - """ - model = TagAssignment() - if include_optional: - return TagAssignment( - assignments = [ - thousandeyes_sdk.tags.models.assignment.Assignment( - id = '123', - type = 'test', ) - ] - ) - else: - return TagAssignment( - ) - """ - - def testTagAssignment(self): - """Test TagAssignment""" - # 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/thousandeyes-sdk-tags/test/test_tag_bulk_create_error.py b/thousandeyes-sdk-tags/test/test_tag_bulk_create_error.py deleted file mode 100644 index 07643f4c..00000000 --- a/thousandeyes-sdk-tags/test/test_tag_bulk_create_error.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.tag_bulk_create_error import TagBulkCreateError - -class TestTagBulkCreateError(unittest.TestCase): - """TagBulkCreateError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TagBulkCreateError: - """Test TagBulkCreateError - include_option 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 `TagBulkCreateError` - """ - model = TagBulkCreateError() - if include_optional: - return TagBulkCreateError( - tag = { - 'key' : thousandeyes_sdk.tags.models.tag_info.TagInfo( - assignments = [ - thousandeyes_sdk.tags.models.assignment.Assignment( - id = '123', - type = 'test', ) - ], - access_type = 'all', - aid = 1234, - color = '#FF0000', - create_date = '2022-03-01T23:31:11Z', - icon = '', - id = '5aeab5d5-0d34-4d44-a7ac-fb440185295c', - key = 'branch', - legacy_id = '', - object_type = 'test', - value = 'sfo', ) - }, - response_code = 200, - message = 'Object successfully created' - ) - else: - return TagBulkCreateError( - ) - """ - - def testTagBulkCreateError(self): - """Test TagBulkCreateError""" - # 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/thousandeyes-sdk-tags/test/test_tag_info.py b/thousandeyes-sdk-tags/test/test_tag_info.py deleted file mode 100644 index c4be6668..00000000 --- a/thousandeyes-sdk-tags/test/test_tag_info.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.tag_info import TagInfo - -class TestTagInfo(unittest.TestCase): - """TagInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TagInfo: - """Test TagInfo - include_option 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 `TagInfo` - """ - model = TagInfo() - if include_optional: - return TagInfo( - assignments = [ - thousandeyes_sdk.tags.models.assignment.Assignment( - id = '123', - type = 'test', ) - ], - access_type = 'all', - aid = 1234, - color = '#FF0000', - create_date = '2022-03-01T23:31:11Z', - icon = '', - id = '5aeab5d5-0d34-4d44-a7ac-fb440185295c', - key = 'branch', - legacy_id = '', - object_type = 'test', - value = 'sfo' - ) - else: - return TagInfo( - ) - """ - - def testTagInfo(self): - """Test TagInfo""" - # 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/thousandeyes-sdk-tags/test/test_tags.py b/thousandeyes-sdk-tags/test/test_tags.py deleted file mode 100644 index 161a5eb9..00000000 --- a/thousandeyes-sdk-tags/test/test_tags.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.tags import Tags - -class TestTags(unittest.TestCase): - """Tags unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Tags: - """Test Tags - include_option 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 `Tags` - """ - model = Tags() - if include_optional: - return Tags( - tags = [ - null - ], - links = thousandeyes_sdk.tags.models.self_links.SelfLinks( - self = thousandeyes_sdk.tags.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Tags( - ) - """ - - def testTags(self): - """Test Tags""" - # 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/thousandeyes-sdk-tags/test/test_unauthorized_error.py b/thousandeyes-sdk-tags/test/test_unauthorized_error.py deleted file mode 100644 index 5d72ad07..00000000 --- a/thousandeyes-sdk-tags/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-tags/test/test_validation_error.py b/thousandeyes-sdk-tags/test/test_validation_error.py deleted file mode 100644 index 570dcab2..00000000 --- a/thousandeyes-sdk-tags/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.tags.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-tags/test/test_validation_error_item.py b/thousandeyes-sdk-tags/test/test_validation_error_item.py deleted file mode 100644 index c26d6c6d..00000000 --- a/thousandeyes-sdk-tags/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tags API - - The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tags.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-test-results/test/test_agent.py b/thousandeyes-sdk-test-results/test/test_agent.py deleted file mode 100644 index b9446902..00000000 --- a/thousandeyes-sdk-test-results/test/test_agent.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.agent import Agent - -class TestAgent(unittest.TestCase): - """Agent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Agent: - """Test Agent - include_option 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 `Agent` - """ - model = Agent() - if include_optional: - return Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area' - ) - else: - return Agent( - ) - """ - - def testAgent(self): - """Test Agent""" - # 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/thousandeyes-sdk-test-results/test/test_api_detail_test_result.py b/thousandeyes-sdk-test-results/test/test_api_detail_test_result.py deleted file mode 100644 index 994c5816..00000000 --- a/thousandeyes-sdk-test-results/test/test_api_detail_test_result.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.api_detail_test_result import ApiDetailTestResult - -class TestApiDetailTestResult(unittest.TestCase): - """ApiDetailTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDetailTestResult: - """Test ApiDetailTestResult - include_option 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 `ApiDetailTestResult` - """ - model = ApiDetailTestResult() - if include_optional: - return ApiDetailTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - api_transaction_time = 990.1, - completion = 100.0, - error_type = 'None', - error_details = 'Connection error', - requests = [ - thousandeyes_sdk.test_results.models.api_request_detail.ApiRequestDetail( - api_call_time = 900.9, - assert_error_count = 0, - blocked_time = 49.9, - connect_time = 12.1, - completion = 100, - dns_time = 11.1, - name = 'First Step to Acquire Token', - processing_time = 59.9, - receive_time = 224.1, - response_time = 440.8, - send_time = 8.1, - step_number = 1, - step_time = 990.1, - url = 'https://api.thousandeyes.com/v7/status', - wait_time = 18.1, - assertions = [ - thousandeyes_sdk.test_results.models.api_request_detail_assertion.ApiRequestDetailAssertion( - step = 1, - has_failed = False, ) - ], ) - ] - ) - else: - return ApiDetailTestResult( - ) - """ - - def testApiDetailTestResult(self): - """Test ApiDetailTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_api_detail_test_results.py b/thousandeyes-sdk-test-results/test/test_api_detail_test_results.py deleted file mode 100644 index f234260d..00000000 --- a/thousandeyes-sdk-test-results/test/test_api_detail_test_results.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.api_detail_test_results import ApiDetailTestResults - -class TestApiDetailTestResults(unittest.TestCase): - """ApiDetailTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiDetailTestResults: - """Test ApiDetailTestResults - include_option 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 `ApiDetailTestResults` - """ - model = ApiDetailTestResults() - if include_optional: - return ApiDetailTestResults( - results = [ - null - ], - test = { }, - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return ApiDetailTestResults( - ) - """ - - def testApiDetailTestResults(self): - """Test ApiDetailTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_api_request_detail.py b/thousandeyes-sdk-test-results/test/test_api_request_detail.py deleted file mode 100644 index 975b4fc1..00000000 --- a/thousandeyes-sdk-test-results/test/test_api_request_detail.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.api_request_detail import ApiRequestDetail - -class TestApiRequestDetail(unittest.TestCase): - """ApiRequestDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequestDetail: - """Test ApiRequestDetail - include_option 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 `ApiRequestDetail` - """ - model = ApiRequestDetail() - if include_optional: - return ApiRequestDetail( - api_call_time = 900.9, - assert_error_count = 0, - blocked_time = 49.9, - connect_time = 12.1, - completion = 100, - dns_time = 11.1, - name = 'First Step to Acquire Token', - processing_time = 59.9, - receive_time = 224.1, - response_time = 440.8, - send_time = 8.1, - step_number = 1, - step_time = 990.1, - url = 'https://api.thousandeyes.com/v7/status', - wait_time = 18.1, - assertions = [ - thousandeyes_sdk.test_results.models.api_request_detail_assertion.ApiRequestDetailAssertion( - step = 1, - has_failed = False, ) - ] - ) - else: - return ApiRequestDetail( - ) - """ - - def testApiRequestDetail(self): - """Test ApiRequestDetail""" - # 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/thousandeyes-sdk-test-results/test/test_api_request_detail_assertion.py b/thousandeyes-sdk-test-results/test/test_api_request_detail_assertion.py deleted file mode 100644 index 21e6bfb9..00000000 --- a/thousandeyes-sdk-test-results/test/test_api_request_detail_assertion.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.api_request_detail_assertion import ApiRequestDetailAssertion - -class TestApiRequestDetailAssertion(unittest.TestCase): - """ApiRequestDetailAssertion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequestDetailAssertion: - """Test ApiRequestDetailAssertion - include_option 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 `ApiRequestDetailAssertion` - """ - model = ApiRequestDetailAssertion() - if include_optional: - return ApiRequestDetailAssertion( - step = 1, - has_failed = False - ) - else: - return ApiRequestDetailAssertion( - ) - """ - - def testApiRequestDetailAssertion(self): - """Test ApiRequestDetailAssertion""" - # 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/thousandeyes-sdk-test-results/test/test_api_test_result.py b/thousandeyes-sdk-test-results/test/test_api_test_result.py deleted file mode 100644 index cc776623..00000000 --- a/thousandeyes-sdk-test-results/test/test_api_test_result.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.api_test_result import ApiTestResult - -class TestApiTestResult(unittest.TestCase): - """ApiTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTestResult: - """Test ApiTestResult - include_option 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 `ApiTestResult` - """ - model = ApiTestResult() - if include_optional: - return ApiTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - api_transaction_time = 990.1, - completion = 100.0, - error_type = 'None', - error_details = 'Connection error' - ) - else: - return ApiTestResult( - ) - """ - - def testApiTestResult(self): - """Test ApiTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_api_test_results.py b/thousandeyes-sdk-test-results/test/test_api_test_results.py deleted file mode 100644 index 64791abc..00000000 --- a/thousandeyes-sdk-test-results/test/test_api_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.api_test_results import ApiTestResults - -class TestApiTestResults(unittest.TestCase): - """ApiTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTestResults: - """Test ApiTestResults - include_option 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 `ApiTestResults` - """ - model = ApiTestResults() - if include_optional: - return ApiTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return ApiTestResults( - ) - """ - - def testApiTestResults(self): - """Test ApiTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_app_links.py b/thousandeyes-sdk-test-results/test/test_app_links.py deleted file mode 100644 index 5acda25e..00000000 --- a/thousandeyes-sdk-test-results/test/test_app_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.app_links import AppLinks - -class TestAppLinks(unittest.TestCase): - """AppLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AppLinks: - """Test AppLinks - include_option 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 `AppLinks` - """ - model = AppLinks() - if include_optional: - return AppLinks( - app_link = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return AppLinks( - ) - """ - - def testAppLinks(self): - """Test AppLinks""" - # 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/thousandeyes-sdk-test-results/test/test_bgp_basic_test_result.py b/thousandeyes-sdk-test-results/test/test_bgp_basic_test_result.py deleted file mode 100644 index da5f8585..00000000 --- a/thousandeyes-sdk-test-results/test/test_bgp_basic_test_result.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.bgp_basic_test_result import BgpBasicTestResult - -class TestBgpBasicTestResult(unittest.TestCase): - """BgpBasicTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BgpBasicTestResult: - """Test BgpBasicTestResult - include_option 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 `BgpBasicTestResult` - """ - model = BgpBasicTestResult() - if include_optional: - return BgpBasicTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - monitor = thousandeyes_sdk.test_results.models.monitor.Monitor( - monitor_id = '281474976710706', - monitor_name = 'Vancouver, Canada - Bell Canada (AS 6539)', - country_id = 'US', ), - prefix_id = '215', - prefix = '99.128.0.0/11' - ) - else: - return BgpBasicTestResult( - ) - """ - - def testBgpBasicTestResult(self): - """Test BgpBasicTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_bgp_hop.py b/thousandeyes-sdk-test-results/test/test_bgp_hop.py deleted file mode 100644 index a58aaae5..00000000 --- a/thousandeyes-sdk-test-results/test/test_bgp_hop.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.bgp_hop import BgpHop - -class TestBgpHop(unittest.TestCase): - """BgpHop unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BgpHop: - """Test BgpHop - include_option 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 `BgpHop` - """ - model = BgpHop() - if include_optional: - return BgpHop( - asn = 852, - as_name = 'Telus Advanced Communications' - ) - else: - return BgpHop( - ) - """ - - def testBgpHop(self): - """Test BgpHop""" - # 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/thousandeyes-sdk-test-results/test/test_bgp_test_result.py b/thousandeyes-sdk-test-results/test/test_bgp_test_result.py deleted file mode 100644 index c38c9ff2..00000000 --- a/thousandeyes-sdk-test-results/test/test_bgp_test_result.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.bgp_test_result import BgpTestResult - -class TestBgpTestResult(unittest.TestCase): - """BgpTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BgpTestResult: - """Test BgpTestResult - include_option 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 `BgpTestResult` - """ - model = BgpTestResult() - if include_optional: - return BgpTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - monitor = thousandeyes_sdk.test_results.models.monitor.Monitor( - monitor_id = '281474976710706', - monitor_name = 'Vancouver, Canada - Bell Canada (AS 6539)', - country_id = 'US', ), - prefix_id = '215', - prefix = '99.128.0.0/11', - start_time = 1384309800, - end_time = 1384309800, - updates = 0.0, - path_changes = 0.0, - reachability = 0.0 - ) - else: - return BgpTestResult( - ) - """ - - def testBgpTestResult(self): - """Test BgpTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_bgp_test_results.py b/thousandeyes-sdk-test-results/test/test_bgp_test_results.py deleted file mode 100644 index 20fd481f..00000000 --- a/thousandeyes-sdk-test-results/test/test_bgp_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.bgp_test_results import BgpTestResults - -class TestBgpTestResults(unittest.TestCase): - """BgpTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BgpTestResults: - """Test BgpTestResults - include_option 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 `BgpTestResults` - """ - model = BgpTestResults() - if include_optional: - return BgpTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return BgpTestResults( - ) - """ - - def testBgpTestResults(self): - """Test BgpTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_bgp_test_route_information_result.py b/thousandeyes-sdk-test-results/test/test_bgp_test_route_information_result.py deleted file mode 100644 index 79d51003..00000000 --- a/thousandeyes-sdk-test-results/test/test_bgp_test_route_information_result.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.bgp_test_route_information_result import BgpTestRouteInformationResult - -class TestBgpTestRouteInformationResult(unittest.TestCase): - """BgpTestRouteInformationResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BgpTestRouteInformationResult: - """Test BgpTestRouteInformationResult - include_option 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 `BgpTestRouteInformationResult` - """ - model = BgpTestRouteInformationResult() - if include_optional: - return BgpTestRouteInformationResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - monitor = thousandeyes_sdk.test_results.models.monitor.Monitor( - monitor_id = '281474976710706', - monitor_name = 'Vancouver, Canada - Bell Canada (AS 6539)', - country_id = 'US', ), - prefix_id = '215', - prefix = '99.128.0.0/11', - is_active = True, - hops = [ - thousandeyes_sdk.test_results.models.bgp_hop.BgpHop( - asn = 852, - as_name = 'Telus Advanced Communications', ) - ] - ) - else: - return BgpTestRouteInformationResult( - ) - """ - - def testBgpTestRouteInformationResult(self): - """Test BgpTestRouteInformationResult""" - # 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/thousandeyes-sdk-test-results/test/test_bgp_test_route_information_results.py b/thousandeyes-sdk-test-results/test/test_bgp_test_route_information_results.py deleted file mode 100644 index 745b2c27..00000000 --- a/thousandeyes-sdk-test-results/test/test_bgp_test_route_information_results.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.bgp_test_route_information_results import BgpTestRouteInformationResults - -class TestBgpTestRouteInformationResults(unittest.TestCase): - """BgpTestRouteInformationResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BgpTestRouteInformationResults: - """Test BgpTestRouteInformationResults - include_option 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 `BgpTestRouteInformationResults` - """ - model = BgpTestRouteInformationResults() - if include_optional: - return BgpTestRouteInformationResults( - results = [ - null - ], - test = { }, - links = thousandeyes_sdk.test_results.models.self_links.SelfLinks( - self = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return BgpTestRouteInformationResults( - ) - """ - - def testBgpTestRouteInformationResults(self): - """Test BgpTestRouteInformationResults""" - # 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/thousandeyes-sdk-test-results/test/test_dns_server_test_result.py b/thousandeyes-sdk-test-results/test/test_dns_server_test_result.py deleted file mode 100644 index 8b3b64ce..00000000 --- a/thousandeyes-sdk-test-results/test/test_dns_server_test_result.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.dns_server_test_result import DnsServerTestResult - -class TestDnsServerTestResult(unittest.TestCase): - """DnsServerTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerTestResult: - """Test DnsServerTestResult - include_option 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 `DnsServerTestResult` - """ - model = DnsServerTestResult() - if include_optional: - return DnsServerTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - server_id = '456', - server = 'a1.verisigndns.com.', - resolution_time = 3, - error_details = 'Connection error', - mappings = '208.185.7.120' - ) - else: - return DnsServerTestResult( - ) - """ - - def testDnsServerTestResult(self): - """Test DnsServerTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_dns_server_test_results.py b/thousandeyes-sdk-test-results/test/test_dns_server_test_results.py deleted file mode 100644 index 7b2df5a7..00000000 --- a/thousandeyes-sdk-test-results/test/test_dns_server_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.dns_server_test_results import DnsServerTestResults - -class TestDnsServerTestResults(unittest.TestCase): - """DnsServerTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerTestResults: - """Test DnsServerTestResults - include_option 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 `DnsServerTestResults` - """ - model = DnsServerTestResults() - if include_optional: - return DnsServerTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return DnsServerTestResults( - ) - """ - - def testDnsServerTestResults(self): - """Test DnsServerTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_dns_trace_test_result.py b/thousandeyes-sdk-test-results/test/test_dns_trace_test_result.py deleted file mode 100644 index 0893e2d0..00000000 --- a/thousandeyes-sdk-test-results/test/test_dns_trace_test_result.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.dns_trace_test_result import DnsTraceTestResult - -class TestDnsTraceTestResult(unittest.TestCase): - """DnsTraceTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceTestResult: - """Test DnsTraceTestResult - include_option 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 `DnsTraceTestResult` - """ - model = DnsTraceTestResult() - if include_optional: - return DnsTraceTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - output = 'com. 172800 IN NS a.gtld-servers.net. -com. 172800 IN NS f.gtld-servers.net. -com. 172800 IN NS c.gtld-servers.net. -com. 172800 IN NS b.gtld-servers.net. -com. 172800 IN NS d.gtld-servers.net. -com. 172800 IN NS e.gtld-servers.net. -com. 172800 IN NS g.gtld-servers.net. -com. 172800 IN NS m.gtld-servers.net. -com. 172800 IN NS h.gtld-servers.net. -com. 172800 IN NS j.gtld-servers.net. -com. 172800 IN NS i.gtld-servers.net. -com. 172800 IN NS l.gtld-servers.net. -com. 172800 IN NS k.gtld-servers.net. -;; Received 498 bytes from 199.7.91.13(d.root-servers.net.) in 119 ms - -thousandeyes.com. 172800 IN NS a1.verisigndns.com. -thousandeyes.com. 172800 IN NS a2.verisigndns.com. -thousandeyes.com. 172800 IN NS a3.verisigndns.com. -thousandeyes.com. 172800 IN NS u1.verisigndns.com. -;; Received 266 bytes from 192.5.6.30(a.gtld-servers.net.) in 178 ms - -app.thousandeyes.com. 300 IN CNAME web.thousandeyes.com. -web.thousandeyes.com. 300 IN CNAME lb-app.thousandeyes.com. -lb-app.thousandeyes.com. 3600 IN A 208.185.7.120 -;; Received 173 bytes from 209.112.113.33(a1.verisigndns.com.) in 178 ms - -', - error_details = 'Connection error', - queries = 3, - failed_queries = 0, - final_server_queried = 'a1.verisigndns.com.', - final_query_time = 178, - mappings = '208.185.7.120' - ) - else: - return DnsTraceTestResult( - ) - """ - - def testDnsTraceTestResult(self): - """Test DnsTraceTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_dns_trace_test_results.py b/thousandeyes-sdk-test-results/test/test_dns_trace_test_results.py deleted file mode 100644 index 4ee07f12..00000000 --- a/thousandeyes-sdk-test-results/test/test_dns_trace_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.dns_trace_test_results import DnsTraceTestResults - -class TestDnsTraceTestResults(unittest.TestCase): - """DnsTraceTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceTestResults: - """Test DnsTraceTestResults - include_option 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 `DnsTraceTestResults` - """ - model = DnsTraceTestResults() - if include_optional: - return DnsTraceTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return DnsTraceTestResults( - ) - """ - - def testDnsTraceTestResults(self): - """Test DnsTraceTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_dnssec_test_result.py b/thousandeyes-sdk-test-results/test/test_dnssec_test_result.py deleted file mode 100644 index 41a4d77a..00000000 --- a/thousandeyes-sdk-test-results/test/test_dnssec_test_result.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.dnssec_test_result import DnssecTestResult - -class TestDnssecTestResult(unittest.TestCase): - """DnssecTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnssecTestResult: - """Test DnssecTestResult - include_option 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 `DnssecTestResult` - """ - model = DnssecTestResult() - if include_optional: - return DnssecTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - is_valid = True, - error_details = 'Connection error' - ) - else: - return DnssecTestResult( - ) - """ - - def testDnssecTestResult(self): - """Test DnssecTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_dnssec_test_results.py b/thousandeyes-sdk-test-results/test/test_dnssec_test_results.py deleted file mode 100644 index 87bb1c48..00000000 --- a/thousandeyes-sdk-test-results/test/test_dnssec_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.dnssec_test_results import DnssecTestResults - -class TestDnssecTestResults(unittest.TestCase): - """DnssecTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnssecTestResults: - """Test DnssecTestResults - include_option 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 `DnssecTestResults` - """ - model = DnssecTestResults() - if include_optional: - return DnssecTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return DnssecTestResults( - ) - """ - - def testDnssecTestResults(self): - """Test DnssecTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_epoch_time_window.py b/thousandeyes-sdk-test-results/test/test_epoch_time_window.py deleted file mode 100644 index d66a3f25..00000000 --- a/thousandeyes-sdk-test-results/test/test_epoch_time_window.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.epoch_time_window import EpochTimeWindow - -class TestEpochTimeWindow(unittest.TestCase): - """EpochTimeWindow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EpochTimeWindow: - """Test EpochTimeWindow - include_option 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 `EpochTimeWindow` - """ - model = EpochTimeWindow() - if include_optional: - return EpochTimeWindow( - start_time = 1384309800, - end_time = 1384309800 - ) - else: - return EpochTimeWindow( - ) - """ - - def testEpochTimeWindow(self): - """Test EpochTimeWindow""" - # 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/thousandeyes-sdk-test-results/test/test_error.py b/thousandeyes-sdk-test-results/test/test_error.py deleted file mode 100644 index 3a5d1c5d..00000000 --- a/thousandeyes-sdk-test-results/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-test-results/test/test_expand.py b/thousandeyes-sdk-test-results/test/test_expand.py deleted file mode 100644 index bf835c57..00000000 --- a/thousandeyes-sdk-test-results/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-test-results/test/test_ftp_server_test_result.py b/thousandeyes-sdk-test-results/test/test_ftp_server_test_result.py deleted file mode 100644 index abec4187..00000000 --- a/thousandeyes-sdk-test-results/test/test_ftp_server_test_result.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.ftp_server_test_result import FtpServerTestResult - -class TestFtpServerTestResult(unittest.TestCase): - """FtpServerTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FtpServerTestResult: - """Test FtpServerTestResult - include_option 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 `FtpServerTestResult` - """ - model = FtpServerTestResult() - if include_optional: - return FtpServerTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - server_ip = '193.2.1.88', - response_code = 226, - dns_time = 0.589, - connect_time = 50.153, - negotiation_time = 503.413, - wait_time = 52.1, - response_time = 0.589, - transfer_time = 99.865, - wire_size = 22172, - total_time = 705.554, - error_type = 'None', - error_details = 'Connection error', - throughput = 123 - ) - else: - return FtpServerTestResult( - ) - """ - - def testFtpServerTestResult(self): - """Test FtpServerTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_ftp_server_test_results.py b/thousandeyes-sdk-test-results/test/test_ftp_server_test_results.py deleted file mode 100644 index ab68d423..00000000 --- a/thousandeyes-sdk-test-results/test/test_ftp_server_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.ftp_server_test_results import FtpServerTestResults - -class TestFtpServerTestResults(unittest.TestCase): - """FtpServerTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FtpServerTestResults: - """Test FtpServerTestResults - include_option 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 `FtpServerTestResults` - """ - model = FtpServerTestResults() - if include_optional: - return FtpServerTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return FtpServerTestResults( - ) - """ - - def testFtpServerTestResults(self): - """Test FtpServerTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_http_test_result.py b/thousandeyes-sdk-test-results/test/test_http_test_result.py deleted file mode 100644 index 44a2dbd0..00000000 --- a/thousandeyes-sdk-test-results/test/test_http_test_result.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.http_test_result import HttpTestResult - -class TestHttpTestResult(unittest.TestCase): - """HttpTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpTestResult: - """Test HttpTestResult - include_option 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 `HttpTestResult` - """ - model = HttpTestResult() - if include_optional: - return HttpTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - server_ip = '193.2.1.88', - response_code = 200, - num_redirects = 0, - redirect_time = 10, - dns_time = 0, - ssl_time = 9, - connect_time = 2, - wait_time = 3, - receive_time = 1, - wire_size = 9993, - response_time = 14, - throughput = 123, - total_time = 15, - headers = thousandeyes_sdk.test_results.models.http_test_result_headers.HttpTestResultHeaders( - request_headers = 'GET / HTTP/1.1 -Host: www.thousandeyes.com -User-Agent: curl/7.58.0-DEV -Accept: */* -Accept-Encoding: deflate, gzip -X-ThousandEyes-Agent: yes -', - response_headers = 'HTTP/1.1 200 OK -Content-Type: text/html;charset=UTF-8 -Content-Length: 9993 -Connection: keep-alive -Date: Mon, 04 May 2020 16:13:00 GMT -Server: Apache -Content-Language: en-US -Content-Encoding: gzip -X-Frame-Options: sameorigin -Cache-Control: max-age=600, must-revalidate -Strict-Transport-Security: max-age=31536000 -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -Vary: Accept-Encoding -X-Cache: Hit from cloudfront -Via: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront) -X-Amz-Cf-Pop: SFO5-C3 -X-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA== -Age: 132 -', ), - error_type = 'None', - error_details = 'Connection error', - ssl_cipher = '', - ssl_version = 'TLSv1.3', - ssl_certificates = [ - thousandeyes_sdk.test_results.models.ssl_cert.SslCert( - days_until_expiry = 56, - is_fetch_date_in_valid_cert_date_range = True, - has_valid_signing_cert = False, - issuer_name = 'DigiCert SHA2 Extended Validation Server CA', - valid_before = '2020-05-12T12:00Z', - valid_after = '2018-03-27T00:00Z', - subject_alternative_names = ["www.thousandeyes.com","thousandeyes.com"], - subject_name = 'www.thousandeyes.com', ) - ] - ) - else: - return HttpTestResult( - ) - """ - - def testHttpTestResult(self): - """Test HttpTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_http_test_result_headers.py b/thousandeyes-sdk-test-results/test/test_http_test_result_headers.py deleted file mode 100644 index 6ae058a2..00000000 --- a/thousandeyes-sdk-test-results/test/test_http_test_result_headers.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.http_test_result_headers import HttpTestResultHeaders - -class TestHttpTestResultHeaders(unittest.TestCase): - """HttpTestResultHeaders unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpTestResultHeaders: - """Test HttpTestResultHeaders - include_option 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 `HttpTestResultHeaders` - """ - model = HttpTestResultHeaders() - if include_optional: - return HttpTestResultHeaders( - request_headers = 'GET / HTTP/1.1 -Host: www.thousandeyes.com -User-Agent: curl/7.58.0-DEV -Accept: */* -Accept-Encoding: deflate, gzip -X-ThousandEyes-Agent: yes -', - response_headers = 'HTTP/1.1 200 OK -Content-Type: text/html;charset=UTF-8 -Content-Length: 9993 -Connection: keep-alive -Date: Mon, 04 May 2020 16:13:00 GMT -Server: Apache -Content-Language: en-US -Content-Encoding: gzip -X-Frame-Options: sameorigin -Cache-Control: max-age=600, must-revalidate -Strict-Transport-Security: max-age=31536000 -X-Content-Type-Options: nosniff -X-XSS-Protection: 1; mode=block -Vary: Accept-Encoding -X-Cache: Hit from cloudfront -Via: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront) -X-Amz-Cf-Pop: SFO5-C3 -X-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA== -Age: 132 -' - ) - else: - return HttpTestResultHeaders( - ) - """ - - def testHttpTestResultHeaders(self): - """Test HttpTestResultHeaders""" - # 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/thousandeyes-sdk-test-results/test/test_http_test_results.py b/thousandeyes-sdk-test-results/test/test_http_test_results.py deleted file mode 100644 index 6d24c8e8..00000000 --- a/thousandeyes-sdk-test-results/test/test_http_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.http_test_results import HttpTestResults - -class TestHttpTestResults(unittest.TestCase): - """HttpTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpTestResults: - """Test HttpTestResults - include_option 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 `HttpTestResults` - """ - model = HttpTestResults() - if include_optional: - return HttpTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return HttpTestResults( - ) - """ - - def testHttpTestResults(self): - """Test HttpTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_link.py b/thousandeyes-sdk-test-results/test/test_link.py deleted file mode 100644 index 89c88779..00000000 --- a/thousandeyes-sdk-test-results/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-test-results/test/test_marker.py b/thousandeyes-sdk-test-results/test/test_marker.py deleted file mode 100644 index dc1b4997..00000000 --- a/thousandeyes-sdk-test-results/test/test_marker.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.marker import Marker - -class TestMarker(unittest.TestCase): - """Marker unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Marker: - """Test Marker - include_option 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 `Marker` - """ - model = Marker() - if include_optional: - return Marker( - name = 'SearchForWebdriver', - duration = 56 - ) - else: - return Marker( - ) - """ - - def testMarker(self): - """Test Marker""" - # 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/thousandeyes-sdk-test-results/test/test_monitor.py b/thousandeyes-sdk-test-results/test/test_monitor.py deleted file mode 100644 index 1db7afb4..00000000 --- a/thousandeyes-sdk-test-results/test/test_monitor.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.monitor import Monitor - -class TestMonitor(unittest.TestCase): - """Monitor unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Monitor: - """Test Monitor - include_option 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 `Monitor` - """ - model = Monitor() - if include_optional: - return Monitor( - monitor_id = '281474976710706', - monitor_name = 'Vancouver, Canada - Bell Canada (AS 6539)', - country_id = 'US' - ) - else: - return Monitor( - ) - """ - - def testMonitor(self): - """Test Monitor""" - # 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/thousandeyes-sdk-test-results/test/test_network_test_result.py b/thousandeyes-sdk-test-results/test/test_network_test_result.py deleted file mode 100644 index 3a5ea950..00000000 --- a/thousandeyes-sdk-test-results/test/test_network_test_result.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.network_test_result import NetworkTestResult - -class TestNetworkTestResult(unittest.TestCase): - """NetworkTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkTestResult: - """Test NetworkTestResult - include_option 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 `NetworkTestResult` - """ - model = NetworkTestResult() - if include_optional: - return NetworkTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - available_bandwidth = 9.100464, - avg_latency = 167.04, - bandwidth = 4.3313155, - capacity = 210.10854, - jitter = 0.076808, - loss = 0.0, - max_latency = 168.0, - min_latency = 167.0, - packets_by_second = [[],[0],[2],[2,1],[1,1]], - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - server_ip = '50.18.127.223', - server = 'www.thousandeyes.com:80', - direction = 'to-target' - ) - else: - return NetworkTestResult( - ) - """ - - def testNetworkTestResult(self): - """Test NetworkTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_network_test_results.py b/thousandeyes-sdk-test-results/test/test_network_test_results.py deleted file mode 100644 index 6ceaad72..00000000 --- a/thousandeyes-sdk-test-results/test/test_network_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.network_test_results import NetworkTestResults - -class TestNetworkTestResults(unittest.TestCase): - """NetworkTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkTestResults: - """Test NetworkTestResults - include_option 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 `NetworkTestResults` - """ - model = NetworkTestResults() - if include_optional: - return NetworkTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return NetworkTestResults( - ) - """ - - def testNetworkTestResults(self): - """Test NetworkTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_page.py b/thousandeyes-sdk-test-results/test/test_page.py deleted file mode 100644 index 2bc8da08..00000000 --- a/thousandeyes-sdk-test-results/test/test_page.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.page import Page - -class TestPage(unittest.TestCase): - """Page unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Page: - """Test Page - include_option 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 `Page` - """ - model = Page() - if include_optional: - return Page( - page_num = 0, - page_name = 'Google', - component_count = 136, - error_count = 0, - duration = 1117.5660001039505 - ) - else: - return Page( - ) - """ - - def testPage(self): - """Test Page""" - # 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/thousandeyes-sdk-test-results/test/test_page_load_detail_test_result.py b/thousandeyes-sdk-test-results/test/test_page_load_detail_test_result.py deleted file mode 100644 index 653ca605..00000000 --- a/thousandeyes-sdk-test-results/test/test_page_load_detail_test_result.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.page_load_detail_test_result import PageLoadDetailTestResult - -class TestPageLoadDetailTestResult(unittest.TestCase): - """PageLoadDetailTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadDetailTestResult: - """Test PageLoadDetailTestResult - include_option 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 `PageLoadDetailTestResult` - """ - model = PageLoadDetailTestResult() - if include_optional: - return PageLoadDetailTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - response_time = 34.35, - total_size = 403301, - num_objects = 17, - num_errors = 0, - dom_load_time = 352, - page_load_time = 352, - har = {"log":{"creator":{"name":"ThousandEyes DB Exporter"},"entries":[{"pageref":"page_0","request":{"headers":[{"name":":authority","value":"google.com"},{"name":":method","value":"GET"},{"name":":path","value":"/"},{"name":":scheme","value":"https"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"en-US,en;q=0.9"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.83 Safari/537.36"},{"name":"x-thousandeyes-agent","value":"yes"}],"method":"GET","url":"https://google.com/"},"response":{"bodySize":220,"content":{"mimeType":"text/html","size":220},"headers":[{"name":"alt-svc","value":"quic=\":443\"; ma=2592000; v=\"46,43\",h3-Q050=\":443\"; ma=2592000,h3-Q049=\":443\"; ma=2592000,h3-Q048=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000"},{"name":"cache-control","value":"public, max-age=2592000"},{"name":"content-length","value":"220"},{"name":"content-type","value":"text/html; charset=UTF-8"},{"name":"date","value":"Fri, 15 Nov 2019 16:41:54 GMT"},{"name":"expires","value":"Sun, 15 Dec 2019 16:41:54 GMT"},{"name":"location","value":"https://www.google.com/"},{"name":"server","value":"gws"},{"name":"status","value":"301"},{"name":"x-frame-options","value":"SAMEORIGIN"},{"name":"x-xss-protection","value":"0"}],"headersSize":471,"redirectURL":"","status":301,"statusText":"MOVED_PERMANENTLY"},"serverIPAddress":"172.217.6.110","startedDateTime":"2019-11-15T16:41:54.798Z","time":71,"timings":{"blocked":2,"connect":16,"dns":1,"receive":1,"send":0,"ssl":14,"wait":50}},{"pageref":"page_0","request":{"headers":[{"name":":authority","value":"www.google.com"},{"name":":method","value":"GET"},{"name":":path","value":"/"},{"name":":scheme","value":"https"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"en-US,en;q=0.9"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.83 Safari/537.36"},{"name":"x-thousandeyes-agent","value":"yes"}],"method":"GET","url":"https://www.google.com/"},"response":{"bodySize":65214,"content":{"mimeType":"text/html","size":225039},"headers":[{"name":"alt-svc","value":"quic=\":443\"; ma=2592000; v=\"46,43\",h3-Q050=\":443\"; ma=2592000,h3-Q049=\":443\"; ma=2592000,h3-Q048=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000"},{"name":"cache-control","value":"private, max-age=0"},{"name":"content-encoding","value":"br"},{"name":"content-length","value":"65214"},{"name":"content-type","value":"text/html; charset=UTF-8"},{"name":"date","value":"Fri, 15 Nov 2019 16:41:54 GMT"},{"name":"expires","value":"-1"},{"name":"p3p","value":"CP=\"This is not a P3P policy! See g.co/p3phelp for more info.\""},{"name":"server","value":"gws"},{"name":"set-cookie","value":"(removed)"},{"name":"status","value":"200"},{"name":"strict-transport-security","value":"max-age=31536000"},{"name":"x-frame-options","value":"SAMEORIGIN"},{"name":"x-xss-protection","value":"0"}],"headersSize":915,"redirectURL":"","status":200,"statusText":"OK"},"serverIPAddress":"172.217.4.196","startedDateTime":"2019-11-15T16:41:54.870Z","time":182,"timings":{"blocked":2,"connect":4,"dns":0,"receive":58,"send":0,"ssl":2,"wait":118}}],"pages":[{"id":"page_0","pageTimings":{"onContentLoad":367,"onLoad":737},"responseCode":0,"startedDateTime":"2019-11-15T16:41:54.796Z","title":"Google"}],"version":"1.2"}} - ) - else: - return PageLoadDetailTestResult( - ) - """ - - def testPageLoadDetailTestResult(self): - """Test PageLoadDetailTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_page_load_detail_test_results.py b/thousandeyes-sdk-test-results/test/test_page_load_detail_test_results.py deleted file mode 100644 index e38eaa61..00000000 --- a/thousandeyes-sdk-test-results/test/test_page_load_detail_test_results.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.page_load_detail_test_results import PageLoadDetailTestResults - -class TestPageLoadDetailTestResults(unittest.TestCase): - """PageLoadDetailTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadDetailTestResults: - """Test PageLoadDetailTestResults - include_option 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 `PageLoadDetailTestResults` - """ - model = PageLoadDetailTestResults() - if include_optional: - return PageLoadDetailTestResults( - results = [ - null - ], - test = { }, - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return PageLoadDetailTestResults( - ) - """ - - def testPageLoadDetailTestResults(self): - """Test PageLoadDetailTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_page_load_test_result.py b/thousandeyes-sdk-test-results/test/test_page_load_test_result.py deleted file mode 100644 index 6b460357..00000000 --- a/thousandeyes-sdk-test-results/test/test_page_load_test_result.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.page_load_test_result import PageLoadTestResult - -class TestPageLoadTestResult(unittest.TestCase): - """PageLoadTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadTestResult: - """Test PageLoadTestResult - include_option 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 `PageLoadTestResult` - """ - model = PageLoadTestResult() - if include_optional: - return PageLoadTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - response_time = 34.35, - total_size = 403301, - num_objects = 17, - num_errors = 0, - dom_load_time = 352, - page_load_time = 352 - ) - else: - return PageLoadTestResult( - ) - """ - - def testPageLoadTestResult(self): - """Test PageLoadTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_page_load_test_results.py b/thousandeyes-sdk-test-results/test/test_page_load_test_results.py deleted file mode 100644 index aa7fabb1..00000000 --- a/thousandeyes-sdk-test-results/test/test_page_load_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.page_load_test_results import PageLoadTestResults - -class TestPageLoadTestResults(unittest.TestCase): - """PageLoadTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadTestResults: - """Test PageLoadTestResults - include_option 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 `PageLoadTestResults` - """ - model = PageLoadTestResults() - if include_optional: - return PageLoadTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return PageLoadTestResults( - ) - """ - - def testPageLoadTestResults(self): - """Test PageLoadTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_pagination_links.py b/thousandeyes-sdk-test-results/test/test_pagination_links.py deleted file mode 100644 index 20a12478..00000000 --- a/thousandeyes-sdk-test-results/test/test_pagination_links.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.pagination_links import PaginationLinks - -class TestPaginationLinks(unittest.TestCase): - """PaginationLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationLinks: - """Test PaginationLinks - include_option 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 `PaginationLinks` - """ - model = PaginationLinks() - if include_optional: - return PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationLinks( - ) - """ - - def testPaginationLinks(self): - """Test PaginationLinks""" - # 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/thousandeyes-sdk-test-results/test/test_path_vis_base_test_result.py b/thousandeyes-sdk-test-results/test/test_path_vis_base_test_result.py deleted file mode 100644 index ee93eba9..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_base_test_result.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_base_test_result import PathVisBaseTestResult - -class TestPathVisBaseTestResult(unittest.TestCase): - """PathVisBaseTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisBaseTestResult: - """Test PathVisBaseTestResult - include_option 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 `PathVisBaseTestResult` - """ - model = PathVisBaseTestResult() - if include_optional: - return PathVisBaseTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - server = 'www.google.com:443', - server_ip = '172.217.170.68', - source_ip = '196.40.106.237', - source_prefix = '196.40.96.0/20', - target_is_proxy = True, - direction = 'to-target' - ) - else: - return PathVisBaseTestResult( - ) - """ - - def testPathVisBaseTestResult(self): - """Test PathVisBaseTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_path_vis_detail_test_result.py b/thousandeyes-sdk-test-results/test/test_path_vis_detail_test_result.py deleted file mode 100644 index f18b232b..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_detail_test_result.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_detail_test_result import PathVisDetailTestResult - -class TestPathVisDetailTestResult(unittest.TestCase): - """PathVisDetailTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisDetailTestResult: - """Test PathVisDetailTestResult - include_option 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 `PathVisDetailTestResult` - """ - model = PathVisDetailTestResult() - if include_optional: - return PathVisDetailTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - server = 'www.google.com:443', - server_ip = '172.217.170.68', - source_ip = '196.40.106.237', - source_prefix = '196.40.96.0/20', - target_is_proxy = True, - direction = 'to-target', - path_traces = [ - thousandeyes_sdk.test_results.models.path_vis_route.PathVisRoute( - path_id = '4711301366345855606023718047703941305741293841502186803', - hops = [ - thousandeyes_sdk.test_results.models.path_vis_hop.PathVisHop( - hop = 1, - ip_address = '196.40.106.237', - prefix = '196.40.96.0/20', - rdns = 'core-router1.cpt2.host-h.net', - network = 'HETZNER (Pty) Ltd (AS 37153)', - response_time = 1, - location = 'Cape Town, South Africa', - mpls = '', ) - ], ) - ] - ) - else: - return PathVisDetailTestResult( - ) - """ - - def testPathVisDetailTestResult(self): - """Test PathVisDetailTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_path_vis_detail_test_results.py b/thousandeyes-sdk-test-results/test/test_path_vis_detail_test_results.py deleted file mode 100644 index f608d20e..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_detail_test_results.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_detail_test_results import PathVisDetailTestResults - -class TestPathVisDetailTestResults(unittest.TestCase): - """PathVisDetailTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisDetailTestResults: - """Test PathVisDetailTestResults - include_option 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 `PathVisDetailTestResults` - """ - model = PathVisDetailTestResults() - if include_optional: - return PathVisDetailTestResults( - results = [ - null - ], - test = { }, - links = thousandeyes_sdk.test_results.models.self_links.SelfLinks( - self = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return PathVisDetailTestResults( - ) - """ - - def testPathVisDetailTestResults(self): - """Test PathVisDetailTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_path_vis_direction.py b/thousandeyes-sdk-test-results/test/test_path_vis_direction.py deleted file mode 100644 index 3740c6b5..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_direction import PathVisDirection - -class TestPathVisDirection(unittest.TestCase): - """PathVisDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPathVisDirection(self): - """Test PathVisDirection""" - # inst = PathVisDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-test-results/test/test_path_vis_endpoint.py b/thousandeyes-sdk-test-results/test/test_path_vis_endpoint.py deleted file mode 100644 index 2ae9711d..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_endpoint.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_endpoint import PathVisEndpoint - -class TestPathVisEndpoint(unittest.TestCase): - """PathVisEndpoint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisEndpoint: - """Test PathVisEndpoint - include_option 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 `PathVisEndpoint` - """ - model = PathVisEndpoint() - if include_optional: - return PathVisEndpoint( - ip_address = '196.40.106.237', - mss = 1460, - number_of_hops = 15, - path_id = '1230899668701775614109128428722974545787322404682781961521', - path_mtu = 1500, - response_time = 1500 - ) - else: - return PathVisEndpoint( - ) - """ - - def testPathVisEndpoint(self): - """Test PathVisEndpoint""" - # 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/thousandeyes-sdk-test-results/test/test_path_vis_hop.py b/thousandeyes-sdk-test-results/test/test_path_vis_hop.py deleted file mode 100644 index 2f5d331e..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_hop.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_hop import PathVisHop - -class TestPathVisHop(unittest.TestCase): - """PathVisHop unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisHop: - """Test PathVisHop - include_option 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 `PathVisHop` - """ - model = PathVisHop() - if include_optional: - return PathVisHop( - hop = 1, - ip_address = '196.40.106.237', - prefix = '196.40.96.0/20', - rdns = 'core-router1.cpt2.host-h.net', - network = 'HETZNER (Pty) Ltd (AS 37153)', - response_time = 1, - location = 'Cape Town, South Africa', - mpls = '' - ) - else: - return PathVisHop( - ) - """ - - def testPathVisHop(self): - """Test PathVisHop""" - # 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/thousandeyes-sdk-test-results/test/test_path_vis_route.py b/thousandeyes-sdk-test-results/test/test_path_vis_route.py deleted file mode 100644 index 73c9dfd7..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_route.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_route import PathVisRoute - -class TestPathVisRoute(unittest.TestCase): - """PathVisRoute unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisRoute: - """Test PathVisRoute - include_option 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 `PathVisRoute` - """ - model = PathVisRoute() - if include_optional: - return PathVisRoute( - path_id = '4711301366345855606023718047703941305741293841502186803', - hops = [ - thousandeyes_sdk.test_results.models.path_vis_hop.PathVisHop( - hop = 1, - ip_address = '196.40.106.237', - prefix = '196.40.96.0/20', - rdns = 'core-router1.cpt2.host-h.net', - network = 'HETZNER (Pty) Ltd (AS 37153)', - response_time = 1, - location = 'Cape Town, South Africa', - mpls = '', ) - ] - ) - else: - return PathVisRoute( - ) - """ - - def testPathVisRoute(self): - """Test PathVisRoute""" - # 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/thousandeyes-sdk-test-results/test/test_path_vis_test_result.py b/thousandeyes-sdk-test-results/test/test_path_vis_test_result.py deleted file mode 100644 index 9fde6bb0..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_test_result.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_test_result import PathVisTestResult - -class TestPathVisTestResult(unittest.TestCase): - """PathVisTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisTestResult: - """Test PathVisTestResult - include_option 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 `PathVisTestResult` - """ - model = PathVisTestResult() - if include_optional: - return PathVisTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - server = 'www.google.com:443', - server_ip = '172.217.170.68', - source_ip = '196.40.106.237', - source_prefix = '196.40.96.0/20', - target_is_proxy = True, - direction = 'to-target', - path_traces = [ - thousandeyes_sdk.test_results.models.path_vis_endpoint.PathVisEndpoint( - ip_address = '196.40.106.237', - mss = 1460, - number_of_hops = 15, - path_id = '1230899668701775614109128428722974545787322404682781961521', - path_mtu = 1500, - response_time = 1500, ) - ] - ) - else: - return PathVisTestResult( - ) - """ - - def testPathVisTestResult(self): - """Test PathVisTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_path_vis_test_results.py b/thousandeyes-sdk-test-results/test/test_path_vis_test_results.py deleted file mode 100644 index 36fffcec..00000000 --- a/thousandeyes-sdk-test-results/test/test_path_vis_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.path_vis_test_results import PathVisTestResults - -class TestPathVisTestResults(unittest.TestCase): - """PathVisTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PathVisTestResults: - """Test PathVisTestResults - include_option 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 `PathVisTestResults` - """ - model = PathVisTestResults() - if include_optional: - return PathVisTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return PathVisTestResults( - ) - """ - - def testPathVisTestResults(self): - """Test PathVisTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_rtp_stream_test_result.py b/thousandeyes-sdk-test-results/test/test_rtp_stream_test_result.py deleted file mode 100644 index 3d02e34a..00000000 --- a/thousandeyes-sdk-test-results/test/test_rtp_stream_test_result.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.rtp_stream_test_result import RtpStreamTestResult - -class TestRtpStreamTestResult(unittest.TestCase): - """RtpStreamTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RtpStreamTestResult: - """Test RtpStreamTestResult - include_option 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 `RtpStreamTestResult` - """ - model = RtpStreamTestResult() - if include_optional: - return RtpStreamTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - server_ip = '172.97.102.37', - dscp = '46', - dscp_name = 'EF (DSCP 46)', - mos = 4.351024, - codec_name = 'G.711 @ 64 Kbps', - codec_max_mos = 4.41, - loss = 0.0, - discards = 0, - latency = 103, - pdv = 1, - error_detail = 'Connection error' - ) - else: - return RtpStreamTestResult( - ) - """ - - def testRtpStreamTestResult(self): - """Test RtpStreamTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_rtp_stream_test_results.py b/thousandeyes-sdk-test-results/test/test_rtp_stream_test_results.py deleted file mode 100644 index c6295566..00000000 --- a/thousandeyes-sdk-test-results/test/test_rtp_stream_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.rtp_stream_test_results import RtpStreamTestResults - -class TestRtpStreamTestResults(unittest.TestCase): - """RtpStreamTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RtpStreamTestResults: - """Test RtpStreamTestResults - include_option 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 `RtpStreamTestResults` - """ - model = RtpStreamTestResults() - if include_optional: - return RtpStreamTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return RtpStreamTestResults( - ) - """ - - def testRtpStreamTestResults(self): - """Test RtpStreamTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_self_links.py b/thousandeyes-sdk-test-results/test/test_self_links.py deleted file mode 100644 index 6f943622..00000000 --- a/thousandeyes-sdk-test-results/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-test-results/test/test_simple_test.py b/thousandeyes-sdk-test-results/test/test_simple_test.py deleted file mode 100644 index 27ba74d9..00000000 --- a/thousandeyes-sdk-test-results/test/test_simple_test.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.simple_test import SimpleTest - -class TestSimpleTest(unittest.TestCase): - """SimpleTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimpleTest: - """Test SimpleTest - include_option 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 `SimpleTest` - """ - model = SimpleTest() - if include_optional: - return SimpleTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.test_results.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ) - ) - else: - return SimpleTest( - ) - """ - - def testSimpleTest(self): - """Test SimpleTest""" - # 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/thousandeyes-sdk-test-results/test/test_sip_server_error_type.py b/thousandeyes-sdk-test-results/test/test_sip_server_error_type.py deleted file mode 100644 index 06f7f23a..00000000 --- a/thousandeyes-sdk-test-results/test/test_sip_server_error_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.sip_server_error_type import SipServerErrorType - -class TestSipServerErrorType(unittest.TestCase): - """SipServerErrorType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSipServerErrorType(self): - """Test SipServerErrorType""" - # inst = SipServerErrorType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-test-results/test/test_sip_server_test_result.py b/thousandeyes-sdk-test-results/test/test_sip_server_test_result.py deleted file mode 100644 index a1b7f6e4..00000000 --- a/thousandeyes-sdk-test-results/test/test_sip_server_test_result.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.sip_server_test_result import SipServerTestResult - -class TestSipServerTestResult(unittest.TestCase): - """SipServerTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerTestResult: - """Test SipServerTestResult - include_option 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 `SipServerTestResult` - """ - model = SipServerTestResult() - if include_optional: - return SipServerTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - server_ip = '193.2.1.88', - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - availability = 100.0, - connect_time = 5, - dns_time = 2, - invite_time = 10, - options_time = 17, - num_redirects = 0, - options_request = 'OPTIONS sip:6054@voice.sfo2.notarealco.com SIP/2.0 -Via: SIP/2.0/TCP 38.140.61.68:55431;branch=z9hG4bKRTzPzMoVh0;rport -From: ;tag=cGaJDNKQFE -To: -Call-ID: oO9WaL3av8@38.140.61.68 -CSeq: 3 OPTIONS -Contact: -User-Agent: ThousandEyes Test Call -Allow: INVITE, ACK, CANCEL, BYE -Supported: outbound, path -Max-Forwards: 70 -Expires: 60 -Content-Length: 0 - - -OPTIONS sip:6054@voice.sfo2.notarealco.com SIP/2.0 -Via: SIP/2.0/TCP 38.140.61.68:55431;branch=z9hG4bKRTzPzMoVh0;rport -From: ;tag=cGaJDNKQFE -To: -Call-ID: oO9WaL3av8@38.140.61.68 -CSeq: 4 OPTIONS -Contact: -Authorization: Digest username="al6054", realm="asterisk", nonce="1598728080/4e3bef2c789bdfa45ce9123221e08c8f", uri="sip:6054@voice.sfo2.notarealco.com", response="83c538a39ff766cf75ffd1d62317b442", algorithm=MD5, cnonce="0a4f113b", opaque="748ffa241d840721", qop=auth, nc=00000001 -User-Agent: ThousandEyes Test Call -Allow: INVITE, ACK, CANCEL, BYE -Supported: outbound, path -Max-Forwards: 70 -Expires: 60 -Content-Length: 0 - -', - options_response = 'SIP/2.0 401 Unauthorized -Via: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0 -Call-ID: oO9WaL3av8@38.140.61.68 -From: ;tag=cGaJDNKQFE -To: ;tag=z9hG4bKRTzPzMoVh0 -CSeq: 3 OPTIONS -WWW-Authenticate: Digest realm="asterisk",nonce="1598728080/4e3bef2c789bdfa45ce9123221e08c8f",opaque="748ffa241d840721",algorithm=md5,qop="auth" -Server: Asterisk PBX 16.4.0 -Content-Length: 0 - - -SIP/2.0 200 OK -Via: SIP/2.0/TCP 38.140.61.68:55431;rport=55431;received=38.140.61.68;branch=z9hG4bKRTzPzMoVh0 -Call-ID: oO9WaL3av8@38.140.61.68 -From: ;tag=cGaJDNKQFE -To: ;tag=z9hG4bKRTzPzMoVh0 -CSeq: 4 OPTIONS -Accept: application/xpidf+xml, application/cpim-pidf+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, application/sdp, message/sipfrag;version=2.0 -Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER -Supported: 100rel, timer, replaces, norefersub -Accept-Encoding: text/plain -Accept-Language: en -Server: Asterisk PBX 16.4.0 -Content-Length: 0 - -', - register_time = 21, - response_code = 200, - response_time = 12, - total_time = 40, - wait_time = 5, - error_type = 'none', - problem_detail = '' - ) - else: - return SipServerTestResult( - ) - """ - - def testSipServerTestResult(self): - """Test SipServerTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_sip_server_test_results.py b/thousandeyes-sdk-test-results/test/test_sip_server_test_results.py deleted file mode 100644 index bfbfed8e..00000000 --- a/thousandeyes-sdk-test-results/test/test_sip_server_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.sip_server_test_results import SipServerTestResults - -class TestSipServerTestResults(unittest.TestCase): - """SipServerTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerTestResults: - """Test SipServerTestResults - include_option 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 `SipServerTestResults` - """ - model = SipServerTestResults() - if include_optional: - return SipServerTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return SipServerTestResults( - ) - """ - - def testSipServerTestResults(self): - """Test SipServerTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_ssl_cert.py b/thousandeyes-sdk-test-results/test/test_ssl_cert.py deleted file mode 100644 index ea5e0e9c..00000000 --- a/thousandeyes-sdk-test-results/test/test_ssl_cert.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.ssl_cert import SslCert - -class TestSslCert(unittest.TestCase): - """SslCert unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SslCert: - """Test SslCert - include_option 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 `SslCert` - """ - model = SslCert() - if include_optional: - return SslCert( - days_until_expiry = 56, - is_fetch_date_in_valid_cert_date_range = True, - has_valid_signing_cert = False, - issuer_name = 'DigiCert SHA2 Extended Validation Server CA', - valid_before = '2020-05-12T12:00Z', - valid_after = '2018-03-27T00:00Z', - subject_alternative_names = ["www.thousandeyes.com","thousandeyes.com"], - subject_name = 'www.thousandeyes.com' - ) - else: - return SslCert( - ) - """ - - def testSslCert(self): - """Test SslCert""" - # 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/thousandeyes-sdk-test-results/test/test_test_direction.py b/thousandeyes-sdk-test-results/test/test_test_direction.py deleted file mode 100644 index 6170bdf7..00000000 --- a/thousandeyes-sdk-test-results/test/test_test_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.test_direction import TestDirection - -class TestTestDirection(unittest.TestCase): - """TestDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestDirection(self): - """Test TestDirection""" - # inst = TestDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-test-results/test/test_test_interval.py b/thousandeyes-sdk-test-results/test/test_test_interval.py deleted file mode 100644 index a9f1dea6..00000000 --- a/thousandeyes-sdk-test-results/test/test_test_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.test_interval import TestInterval - -class TestTestInterval(unittest.TestCase): - """TestInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestInterval(self): - """Test TestInterval""" - # inst = TestInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-test-results/test/test_test_links.py b/thousandeyes-sdk-test-results/test/test_test_links.py deleted file mode 100644 index b26bf505..00000000 --- a/thousandeyes-sdk-test-results/test/test_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.test_links import TestLinks - -class TestTestLinks(unittest.TestCase): - """TestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLinks: - """Test TestLinks - include_option 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 `TestLinks` - """ - model = TestLinks() - if include_optional: - return TestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}] - ) - else: - return TestLinks( - ) - """ - - def testTestLinks(self): - """Test TestLinks""" - # 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/thousandeyes-sdk-test-results/test/test_test_result.py b/thousandeyes-sdk-test-results/test/test_test_result.py deleted file mode 100644 index 89624a54..00000000 --- a/thousandeyes-sdk-test-results/test/test_test_result.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.test_result import TestResult - -class TestTestResult(unittest.TestCase): - """TestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestResult: - """Test TestResult - include_option 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 `TestResult` - """ - model = TestResult() - if include_optional: - return TestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None - ) - else: - return TestResult( - ) - """ - - def testTestResult(self): - """Test TestResult""" - # 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/thousandeyes-sdk-test-results/test/test_test_result_app_links.py b/thousandeyes-sdk-test-results/test/test_test_result_app_links.py deleted file mode 100644 index b3f2411c..00000000 --- a/thousandeyes-sdk-test-results/test/test_test_result_app_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.test_result_app_links import TestResultAppLinks - -class TestTestResultAppLinks(unittest.TestCase): - """TestResultAppLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestResultAppLinks: - """Test TestResultAppLinks - include_option 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 `TestResultAppLinks` - """ - model = TestResultAppLinks() - if include_optional: - return TestResultAppLinks( - app_link = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return TestResultAppLinks( - ) - """ - - def testTestResultAppLinks(self): - """Test TestResultAppLinks""" - # 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/thousandeyes-sdk-test-results/test/test_test_self_link.py b/thousandeyes-sdk-test-results/test/test_test_self_link.py deleted file mode 100644 index 293908c3..00000000 --- a/thousandeyes-sdk-test-results/test/test_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.test_self_link import TestSelfLink - -class TestTestSelfLink(unittest.TestCase): - """TestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestSelfLink: - """Test TestSelfLink - include_option 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 `TestSelfLink` - """ - model = TestSelfLink() - if include_optional: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testTestSelfLink(self): - """Test TestSelfLink""" - # 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/thousandeyes-sdk-test-results/test/test_test_type.py b/thousandeyes-sdk-test-results/test/test_test_type.py deleted file mode 100644 index dfd31b7e..00000000 --- a/thousandeyes-sdk-test-results/test/test_test_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.test_type import TestType - -class TestTestType(unittest.TestCase): - """TestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestType(self): - """Test TestType""" - # inst = TestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-test-results/test/test_unauthorized_error.py b/thousandeyes-sdk-test-results/test/test_unauthorized_error.py deleted file mode 100644 index 3da2b8f9..00000000 --- a/thousandeyes-sdk-test-results/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-test-results/test/test_validation_error.py b/thousandeyes-sdk-test-results/test/test_validation_error.py deleted file mode 100644 index 45bb13ef..00000000 --- a/thousandeyes-sdk-test-results/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.test_results.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-test-results/test/test_validation_error_item.py b/thousandeyes-sdk-test-results/test/test_validation_error_item.py deleted file mode 100644 index b18efa1e..00000000 --- a/thousandeyes-sdk-test-results/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-test-results/test/test_web_transaction_detail_test_result.py b/thousandeyes-sdk-test-results/test/test_web_transaction_detail_test_result.py deleted file mode 100644 index ca3b84b4..00000000 --- a/thousandeyes-sdk-test-results/test/test_web_transaction_detail_test_result.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.web_transaction_detail_test_result import WebTransactionDetailTestResult - -class TestWebTransactionDetailTestResult(unittest.TestCase): - """WebTransactionDetailTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionDetailTestResult: - """Test WebTransactionDetailTestResult - include_option 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 `WebTransactionDetailTestResult` - """ - model = WebTransactionDetailTestResult() - if include_optional: - return WebTransactionDetailTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - component_errors = 5, - transaction_time = 2379, - error_type = 'None', - error_details = 'Connection error', - markers = [ - thousandeyes_sdk.test_results.models.marker.Marker( - name = 'SearchForWebdriver', - duration = 56, ) - ], - pages = [ - thousandeyes_sdk.test_results.models.page.Page( - page_num = 0, - page_name = 'Google', - component_count = 136, - error_count = 0, - duration = 1117.5660001039505, ) - ] - ) - else: - return WebTransactionDetailTestResult( - ) - """ - - def testWebTransactionDetailTestResult(self): - """Test WebTransactionDetailTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_web_transaction_detail_test_results.py b/thousandeyes-sdk-test-results/test/test_web_transaction_detail_test_results.py deleted file mode 100644 index c6343348..00000000 --- a/thousandeyes-sdk-test-results/test/test_web_transaction_detail_test_results.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.web_transaction_detail_test_results import WebTransactionDetailTestResults - -class TestWebTransactionDetailTestResults(unittest.TestCase): - """WebTransactionDetailTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionDetailTestResults: - """Test WebTransactionDetailTestResults - include_option 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 `WebTransactionDetailTestResults` - """ - model = WebTransactionDetailTestResults() - if include_optional: - return WebTransactionDetailTestResults( - results = [ - null - ], - test = { }, - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return WebTransactionDetailTestResults( - ) - """ - - def testWebTransactionDetailTestResults(self): - """Test WebTransactionDetailTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_web_transaction_page_detail_test_result.py b/thousandeyes-sdk-test-results/test/test_web_transaction_page_detail_test_result.py deleted file mode 100644 index 74a1a078..00000000 --- a/thousandeyes-sdk-test-results/test/test_web_transaction_page_detail_test_result.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.web_transaction_page_detail_test_result import WebTransactionPageDetailTestResult - -class TestWebTransactionPageDetailTestResult(unittest.TestCase): - """WebTransactionPageDetailTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionPageDetailTestResult: - """Test WebTransactionPageDetailTestResult - include_option 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 `WebTransactionPageDetailTestResult` - """ - model = WebTransactionPageDetailTestResult() - if include_optional: - return WebTransactionPageDetailTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - component_errors = 5, - transaction_time = 2379, - error_type = 'None', - error_details = 'Connection error', - markers = [ - thousandeyes_sdk.test_results.models.marker.Marker( - name = 'SearchForWebdriver', - duration = 56, ) - ], - pages = [ - thousandeyes_sdk.test_results.models.page.Page( - page_num = 0, - page_name = 'Google', - component_count = 136, - error_count = 0, - duration = 1117.5660001039505, ) - ], - har = {"log":{"creator":{"name":"ThousandEyes DB Exporter"},"entries":[{"pageref":"page_0","request":{"headers":[{"name":":authority","value":"google.com"},{"name":":method","value":"GET"},{"name":":path","value":"/"},{"name":":scheme","value":"https"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"en-US,en;q=0.9"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.83 Safari/537.36"},{"name":"x-thousandeyes-agent","value":"yes"}],"method":"GET","url":"https://google.com/"},"response":{"bodySize":220,"content":{"mimeType":"text/html","size":220},"headers":[{"name":"alt-svc","value":"quic=\":443\"; ma=2592000; v=\"46,43\",h3-Q050=\":443\"; ma=2592000,h3-Q049=\":443\"; ma=2592000,h3-Q048=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000"},{"name":"cache-control","value":"public, max-age=2592000"},{"name":"content-length","value":"220"},{"name":"content-type","value":"text/html; charset=UTF-8"},{"name":"date","value":"Fri, 15 Nov 2019 16:41:54 GMT"},{"name":"expires","value":"Sun, 15 Dec 2019 16:41:54 GMT"},{"name":"location","value":"https://www.google.com/"},{"name":"server","value":"gws"},{"name":"status","value":"301"},{"name":"x-frame-options","value":"SAMEORIGIN"},{"name":"x-xss-protection","value":"0"}],"headersSize":471,"redirectURL":"","status":301,"statusText":"MOVED_PERMANENTLY"},"serverIPAddress":"172.217.6.110","startedDateTime":"2019-11-15T16:41:54.798Z","time":71,"timings":{"blocked":2,"connect":16,"dns":1,"receive":1,"send":0,"ssl":14,"wait":50}},{"pageref":"page_0","request":{"headers":[{"name":":authority","value":"www.google.com"},{"name":":method","value":"GET"},{"name":":path","value":"/"},{"name":":scheme","value":"https"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"en-US,en;q=0.9"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.83 Safari/537.36"},{"name":"x-thousandeyes-agent","value":"yes"}],"method":"GET","url":"https://www.google.com/"},"response":{"bodySize":65214,"content":{"mimeType":"text/html","size":225039},"headers":[{"name":"alt-svc","value":"quic=\":443\"; ma=2592000; v=\"46,43\",h3-Q050=\":443\"; ma=2592000,h3-Q049=\":443\"; ma=2592000,h3-Q048=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000"},{"name":"cache-control","value":"private, max-age=0"},{"name":"content-encoding","value":"br"},{"name":"content-length","value":"65214"},{"name":"content-type","value":"text/html; charset=UTF-8"},{"name":"date","value":"Fri, 15 Nov 2019 16:41:54 GMT"},{"name":"expires","value":"-1"},{"name":"p3p","value":"CP=\"This is not a P3P policy! See g.co/p3phelp for more info.\""},{"name":"server","value":"gws"},{"name":"set-cookie","value":"(removed)"},{"name":"status","value":"200"},{"name":"strict-transport-security","value":"max-age=31536000"},{"name":"x-frame-options","value":"SAMEORIGIN"},{"name":"x-xss-protection","value":"0"}],"headersSize":915,"redirectURL":"","status":200,"statusText":"OK"},"serverIPAddress":"172.217.4.196","startedDateTime":"2019-11-15T16:41:54.870Z","time":182,"timings":{"blocked":2,"connect":4,"dns":0,"receive":58,"send":0,"ssl":2,"wait":118}}],"pages":[{"id":"page_0","pageTimings":{"onContentLoad":367,"onLoad":737},"responseCode":0,"startedDateTime":"2019-11-15T16:41:54.796Z","title":"Google"}],"version":"1.2"}} - ) - else: - return WebTransactionPageDetailTestResult( - ) - """ - - def testWebTransactionPageDetailTestResult(self): - """Test WebTransactionPageDetailTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_web_transaction_page_detail_test_results.py b/thousandeyes-sdk-test-results/test/test_web_transaction_page_detail_test_results.py deleted file mode 100644 index 3aff6f95..00000000 --- a/thousandeyes-sdk-test-results/test/test_web_transaction_page_detail_test_results.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.web_transaction_page_detail_test_results import WebTransactionPageDetailTestResults - -class TestWebTransactionPageDetailTestResults(unittest.TestCase): - """WebTransactionPageDetailTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionPageDetailTestResults: - """Test WebTransactionPageDetailTestResults - include_option 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 `WebTransactionPageDetailTestResults` - """ - model = WebTransactionPageDetailTestResults() - if include_optional: - return WebTransactionPageDetailTestResults( - results = [ - null - ], - test = { }, - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return WebTransactionPageDetailTestResults( - ) - """ - - def testWebTransactionPageDetailTestResults(self): - """Test WebTransactionPageDetailTestResults""" - # 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/thousandeyes-sdk-test-results/test/test_web_transaction_test_result.py b/thousandeyes-sdk-test-results/test/test_web_transaction_test_result.py deleted file mode 100644 index ae576e2e..00000000 --- a/thousandeyes-sdk-test-results/test/test_web_transaction_test_result.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.web_transaction_test_result import WebTransactionTestResult - -class TestWebTransactionTestResult(unittest.TestCase): - """WebTransactionTestResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionTestResult: - """Test WebTransactionTestResult - include_option 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 `WebTransactionTestResult` - """ - model = WebTransactionTestResult() - if include_optional: - return WebTransactionTestResult( - var_date = '2022-07-17T22:00:54Z', - round_id = 1384309800, - links = None, - start_time = 1384309800, - end_time = 1384309800, - agent = thousandeyes_sdk.test_results.models.agent.Agent( - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - country_id = 'US', - location = 'San Francisco Bay Area', ), - component_errors = 5, - transaction_time = 2379, - error_type = 'None', - error_details = 'Connection error' - ) - else: - return WebTransactionTestResult( - ) - """ - - def testWebTransactionTestResult(self): - """Test WebTransactionTestResult""" - # 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/thousandeyes-sdk-test-results/test/test_web_transaction_test_results.py b/thousandeyes-sdk-test-results/test/test_web_transaction_test_results.py deleted file mode 100644 index 0ff361ff..00000000 --- a/thousandeyes-sdk-test-results/test/test_web_transaction_test_results.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Test Results API - - Get test result metrics for Cloud and Enterprise Agent tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.test_results.models.web_transaction_test_results import WebTransactionTestResults - -class TestWebTransactionTestResults(unittest.TestCase): - """WebTransactionTestResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionTestResults: - """Test WebTransactionTestResults - include_option 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 `WebTransactionTestResults` - """ - model = WebTransactionTestResults() - if include_optional: - return WebTransactionTestResults( - results = [ - null - ], - test = { }, - start_date = '2022-07-17T22:00:54Z', - end_date = '2022-07-18T22:00:54Z', - links = thousandeyes_sdk.test_results.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.test_results.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return WebTransactionTestResults( - ) - """ - - def testWebTransactionTestResults(self): - """Test WebTransactionTestResults""" - # 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/thousandeyes-sdk-tests/test/test_agent.py b/thousandeyes-sdk-tests/test/test_agent.py deleted file mode 100644 index 0fec3728..00000000 --- a/thousandeyes-sdk-tests/test/test_agent.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent import Agent - -class TestAgent(unittest.TestCase): - """Agent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Agent: - """Test Agent - include_option 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 `Agent` - """ - model = Agent() - if include_optional: - return Agent( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True, - agent_type = 'enterprise-cluster' - ) - else: - return Agent( - agent_type = 'enterprise-cluster', - ) - """ - - def testAgent(self): - """Test Agent""" - # 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/thousandeyes-sdk-tests/test/test_agent_base.py b/thousandeyes-sdk-tests/test/test_agent_base.py deleted file mode 100644 index 069ee941..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_base.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_base import AgentBase - -class TestAgentBase(unittest.TestCase): - """AgentBase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentBase: - """Test AgentBase - include_option 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 `AgentBase` - """ - model = AgentBase() - if include_optional: - return AgentBase( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)' - ) - else: - return AgentBase( - ) - """ - - def testAgentBase(self): - """Test AgentBase""" - # 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/thousandeyes-sdk-tests/test/test_agent_request.py b/thousandeyes-sdk-tests/test/test_agent_request.py deleted file mode 100644 index 529756e5..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_request import AgentRequest - -class TestAgentRequest(unittest.TestCase): - """AgentRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentRequest: - """Test AgentRequest - include_option 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 `AgentRequest` - """ - model = AgentRequest() - if include_optional: - return AgentRequest( - agent_id = '', - source_ip_address = '' - ) - else: - return AgentRequest( - agent_id = '', - ) - """ - - def testAgentRequest(self): - """Test AgentRequest""" - # 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/thousandeyes-sdk-tests/test/test_agent_to_agent_instant_test.py b/thousandeyes-sdk-tests/test/test_agent_to_agent_instant_test.py deleted file mode 100644 index afa94845..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_agent_instant_test.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_agent_instant_test import AgentToAgentInstantTest - -class TestAgentToAgentInstantTest(unittest.TestCase): - """AgentToAgentInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToAgentInstantTest: - """Test AgentToAgentInstantTest - include_option 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 `AgentToAgentInstantTest` - """ - model = AgentToAgentInstantTest() - if include_optional: - return AgentToAgentInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-agent', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - direction = 'to-target', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - mss = 20, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - protocol = 'tcp', - target_agent_id = '2954', - throughput_measurements = True, - throughput_duration = 5000, - throughput_rate = 8, - fixed_packet_rate = 50, - agents = [ - null - ] - ) - else: - return AgentToAgentInstantTest( - target_agent_id = '2954', - ) - """ - - def testAgentToAgentInstantTest(self): - """Test AgentToAgentInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_agent_to_agent_properties.py b/thousandeyes-sdk-tests/test/test_agent_to_agent_properties.py deleted file mode 100644 index 5d7922f7..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_agent_properties.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_agent_properties import AgentToAgentProperties - -class TestAgentToAgentProperties(unittest.TestCase): - """AgentToAgentProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToAgentProperties: - """Test AgentToAgentProperties - include_option 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 `AgentToAgentProperties` - """ - model = AgentToAgentProperties() - if include_optional: - return AgentToAgentProperties( - direction = 'to-target', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - mss = 20, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - protocol = 'tcp', - target_agent_id = '2954', - throughput_measurements = True, - throughput_duration = 5000, - throughput_rate = 8, - fixed_packet_rate = 50, - type = 'agent-to-agent' - ) - else: - return AgentToAgentProperties( - target_agent_id = '2954', - ) - """ - - def testAgentToAgentProperties(self): - """Test AgentToAgentProperties""" - # 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/thousandeyes-sdk-tests/test/test_agent_to_agent_test.py b/thousandeyes-sdk-tests/test/test_agent_to_agent_test.py deleted file mode 100644 index 1152e0d1..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_agent_test.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_agent_test import AgentToAgentTest - -class TestAgentToAgentTest(unittest.TestCase): - """AgentToAgentTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToAgentTest: - """Test AgentToAgentTest - include_option 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 `AgentToAgentTest` - """ - model = AgentToAgentTest() - if include_optional: - return AgentToAgentTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-agent', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - direction = 'to-target', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - mss = 20, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - protocol = 'tcp', - target_agent_id = '2954', - throughput_measurements = True, - throughput_duration = 5000, - throughput_rate = 8, - fixed_packet_rate = 50, - agents = [ - null - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return AgentToAgentTest( - interval = 120, - target_agent_id = '2954', - ) - """ - - def testAgentToAgentTest(self): - """Test AgentToAgentTest""" - # 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/thousandeyes-sdk-tests/test/test_agent_to_agent_test_protocol.py b/thousandeyes-sdk-tests/test/test_agent_to_agent_test_protocol.py deleted file mode 100644 index eded894b..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_agent_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_agent_test_protocol import AgentToAgentTestProtocol - -class TestAgentToAgentTestProtocol(unittest.TestCase): - """AgentToAgentTestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAgentToAgentTestProtocol(self): - """Test AgentToAgentTestProtocol""" - # inst = AgentToAgentTestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_agent_to_agent_tests.py b/thousandeyes-sdk-tests/test/test_agent_to_agent_tests.py deleted file mode 100644 index fa241048..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_agent_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_agent_tests import AgentToAgentTests - -class TestAgentToAgentTests(unittest.TestCase): - """AgentToAgentTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToAgentTests: - """Test AgentToAgentTests - include_option 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 `AgentToAgentTests` - """ - model = AgentToAgentTests() - if include_optional: - return AgentToAgentTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return AgentToAgentTests( - ) - """ - - def testAgentToAgentTests(self): - """Test AgentToAgentTests""" - # 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/thousandeyes-sdk-tests/test/test_agent_to_server_instant_test.py b/thousandeyes-sdk-tests/test/test_agent_to_server_instant_test.py deleted file mode 100644 index e60de1e2..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_server_instant_test.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_server_instant_test import AgentToServerInstantTest - -class TestAgentToServerInstantTest(unittest.TestCase): - """AgentToServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToServerInstantTest: - """Test AgentToServerInstantTest - include_option 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 `AgentToServerInstantTest` - """ - model = AgentToServerInstantTest() - if include_optional: - return AgentToServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - continuous_mode = False, - fixed_packet_rate = 25, - mtu_measurements = False, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - probe_mode = 'auto', - protocol = 'tcp', - server = 'www.thousandeyes.com', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - ipv6_policy = 'use-agent-policy', - ping_payload_size = 0, - network_measurements = True, - agents = [ - null - ] - ) - else: - return AgentToServerInstantTest( - server = 'www.thousandeyes.com', - ) - """ - - def testAgentToServerInstantTest(self): - """Test AgentToServerInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_agent_to_server_properties.py b/thousandeyes-sdk-tests/test/test_agent_to_server_properties.py deleted file mode 100644 index 40e82462..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_server_properties.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_server_properties import AgentToServerProperties - -class TestAgentToServerProperties(unittest.TestCase): - """AgentToServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToServerProperties: - """Test AgentToServerProperties - include_option 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 `AgentToServerProperties` - """ - model = AgentToServerProperties() - if include_optional: - return AgentToServerProperties( - bandwidth_measurements = True, - continuous_mode = False, - fixed_packet_rate = 25, - mtu_measurements = False, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - probe_mode = 'auto', - protocol = 'tcp', - server = 'www.thousandeyes.com', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - ipv6_policy = 'use-agent-policy', - ping_payload_size = 0, - network_measurements = True, - type = 'agent-to-server' - ) - else: - return AgentToServerProperties( - server = 'www.thousandeyes.com', - ) - """ - - def testAgentToServerProperties(self): - """Test AgentToServerProperties""" - # 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/thousandeyes-sdk-tests/test/test_agent_to_server_test.py b/thousandeyes-sdk-tests/test/test_agent_to_server_test.py deleted file mode 100644 index 2f37b2d6..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_server_test.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_server_test import AgentToServerTest - -class TestAgentToServerTest(unittest.TestCase): - """AgentToServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToServerTest: - """Test AgentToServerTest - include_option 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 `AgentToServerTest` - """ - model = AgentToServerTest() - if include_optional: - return AgentToServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - continuous_mode = False, - fixed_packet_rate = 25, - mtu_measurements = False, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - probe_mode = 'auto', - protocol = 'tcp', - server = 'www.thousandeyes.com', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - ipv6_policy = 'use-agent-policy', - ping_payload_size = 0, - network_measurements = True, - agents = [ - null - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return AgentToServerTest( - interval = 120, - server = 'www.thousandeyes.com', - ) - """ - - def testAgentToServerTest(self): - """Test AgentToServerTest""" - # 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/thousandeyes-sdk-tests/test/test_agent_to_server_tests.py b/thousandeyes-sdk-tests/test/test_agent_to_server_tests.py deleted file mode 100644 index cad01c0e..00000000 --- a/thousandeyes-sdk-tests/test/test_agent_to_server_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.agent_to_server_tests import AgentToServerTests - -class TestAgentToServerTests(unittest.TestCase): - """AgentToServerTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AgentToServerTests: - """Test AgentToServerTests - include_option 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 `AgentToServerTests` - """ - model = AgentToServerTests() - if include_optional: - return AgentToServerTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return AgentToServerTests( - ) - """ - - def testAgentToServerTests(self): - """Test AgentToServerTests""" - # 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/thousandeyes-sdk-tests/test/test_alert_direction.py b/thousandeyes-sdk-tests/test/test_alert_direction.py deleted file mode 100644 index 6a196636..00000000 --- a/thousandeyes-sdk-tests/test/test_alert_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.alert_direction import AlertDirection - -class TestAlertDirection(unittest.TestCase): - """AlertDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertDirection(self): - """Test AlertDirection""" - # inst = AlertDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_alert_rounds_violation_mode.py b/thousandeyes-sdk-tests/test/test_alert_rounds_violation_mode.py deleted file mode 100644 index 43bbc635..00000000 --- a/thousandeyes-sdk-tests/test/test_alert_rounds_violation_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.alert_rounds_violation_mode import AlertRoundsViolationMode - -class TestAlertRoundsViolationMode(unittest.TestCase): - """AlertRoundsViolationMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertRoundsViolationMode(self): - """Test AlertRoundsViolationMode""" - # inst = AlertRoundsViolationMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_alert_rule.py b/thousandeyes-sdk-tests/test/test_alert_rule.py deleted file mode 100644 index 5c85f03d..00000000 --- a/thousandeyes-sdk-tests/test/test_alert_rule.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.alert_rule import AlertRule - -class TestAlertRule(unittest.TestCase): - """AlertRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AlertRule: - """Test AlertRule - include_option 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 `AlertRule` - """ - model = AlertRule() - if include_optional: - return AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major' - ) - else: - return AlertRule( - ) - """ - - def testAlertRule(self): - """Test AlertRule""" - # 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/thousandeyes-sdk-tests/test/test_alert_type.py b/thousandeyes-sdk-tests/test/test_alert_type.py deleted file mode 100644 index 08ae4526..00000000 --- a/thousandeyes-sdk-tests/test/test_alert_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.alert_type import AlertType - -class TestAlertType(unittest.TestCase): - """AlertType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlertType(self): - """Test AlertType""" - # inst = AlertType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_api_instant_test.py b/thousandeyes-sdk-tests/test/test_api_instant_test.py deleted file mode 100644 index fea49f71..00000000 --- a/thousandeyes-sdk-tests/test/test_api_instant_test.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_instant_test import ApiInstantTest - -class TestApiInstantTest(unittest.TestCase): - """ApiInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiInstantTest: - """Test ApiInstantTest - include_option 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 `ApiInstantTest` - """ - model = ApiInstantTest() - if include_optional: - return ApiInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'api', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - follow_redirects = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - predefined_variables = [ - thousandeyes_sdk.tests.models.api_predefined_variable.ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName', ) - ], - probe_mode = 'auto', - protocol = 'tcp', - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - url = 'www.thousandeyes.com', - agents = [ - null - ], - credentials = ["3247","1051"] - ) - else: - return ApiInstantTest( - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - url = 'www.thousandeyes.com', - ) - """ - - def testApiInstantTest(self): - """Test ApiInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_api_predefined_variable.py b/thousandeyes-sdk-tests/test/test_api_predefined_variable.py deleted file mode 100644 index a4123e69..00000000 --- a/thousandeyes-sdk-tests/test/test_api_predefined_variable.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_predefined_variable import ApiPredefinedVariable - -class TestApiPredefinedVariable(unittest.TestCase): - """ApiPredefinedVariable unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiPredefinedVariable: - """Test ApiPredefinedVariable - include_option 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 `ApiPredefinedVariable` - """ - model = ApiPredefinedVariable() - if include_optional: - return ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName' - ) - else: - return ApiPredefinedVariable( - ) - """ - - def testApiPredefinedVariable(self): - """Test ApiPredefinedVariable""" - # 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/thousandeyes-sdk-tests/test/test_api_properties.py b/thousandeyes-sdk-tests/test/test_api_properties.py deleted file mode 100644 index 8092b20b..00000000 --- a/thousandeyes-sdk-tests/test/test_api_properties.py +++ /dev/null @@ -1,124 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_properties import ApiProperties - -class TestApiProperties(unittest.TestCase): - """ApiProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiProperties: - """Test ApiProperties - include_option 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 `ApiProperties` - """ - model = ApiProperties() - if include_optional: - return ApiProperties( - follow_redirects = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - predefined_variables = [ - thousandeyes_sdk.tests.models.api_predefined_variable.ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName', ) - ], - probe_mode = 'auto', - protocol = 'tcp', - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - url = 'www.thousandeyes.com', - type = 'api' - ) - else: - return ApiProperties( - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - url = 'www.thousandeyes.com', - ) - """ - - def testApiProperties(self): - """Test ApiProperties""" - # 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/thousandeyes-sdk-tests/test/test_api_request.py b/thousandeyes-sdk-tests/test/test_api_request.py deleted file mode 100644 index 9999edfd..00000000 --- a/thousandeyes-sdk-tests/test/test_api_request.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_request import ApiRequest - -class TestApiRequest(unittest.TestCase): - """ApiRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequest: - """Test ApiRequest - include_option 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 `ApiRequest` - """ - model = ApiRequest() - if include_optional: - return ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - name = 'myTestName', - value = 'tests[0].name', ) - ], - wait_time_ms = 0 - ) - else: - return ApiRequest( - name = 'Step 1', - url = 'https://api.thousandeyes.com/v7/status', - ) - """ - - def testApiRequest(self): - """Test ApiRequest""" - # 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/thousandeyes-sdk-tests/test/test_api_request_assertion.py b/thousandeyes-sdk-tests/test/test_api_request_assertion.py deleted file mode 100644 index ede7f13e..00000000 --- a/thousandeyes-sdk-tests/test/test_api_request_assertion.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_request_assertion import ApiRequestAssertion - -class TestApiRequestAssertion(unittest.TestCase): - """ApiRequestAssertion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequestAssertion: - """Test ApiRequestAssertion - include_option 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 `ApiRequestAssertion` - """ - model = ApiRequestAssertion() - if include_optional: - return ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200' - ) - else: - return ApiRequestAssertion( - ) - """ - - def testApiRequestAssertion(self): - """Test ApiRequestAssertion""" - # 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/thousandeyes-sdk-tests/test/test_api_request_assertion_name.py b/thousandeyes-sdk-tests/test/test_api_request_assertion_name.py deleted file mode 100644 index 5c1eaf34..00000000 --- a/thousandeyes-sdk-tests/test/test_api_request_assertion_name.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_request_assertion_name import ApiRequestAssertionName - -class TestApiRequestAssertionName(unittest.TestCase): - """ApiRequestAssertionName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiRequestAssertionName(self): - """Test ApiRequestAssertionName""" - # inst = ApiRequestAssertionName() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_api_request_assertion_operator.py b/thousandeyes-sdk-tests/test/test_api_request_assertion_operator.py deleted file mode 100644 index e16c65f5..00000000 --- a/thousandeyes-sdk-tests/test/test_api_request_assertion_operator.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_request_assertion_operator import ApiRequestAssertionOperator - -class TestApiRequestAssertionOperator(unittest.TestCase): - """ApiRequestAssertionOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiRequestAssertionOperator(self): - """Test ApiRequestAssertionOperator""" - # inst = ApiRequestAssertionOperator() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_api_request_auth_type.py b/thousandeyes-sdk-tests/test/test_api_request_auth_type.py deleted file mode 100644 index 868555b7..00000000 --- a/thousandeyes-sdk-tests/test/test_api_request_auth_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_request_auth_type import ApiRequestAuthType - -class TestApiRequestAuthType(unittest.TestCase): - """ApiRequestAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiRequestAuthType(self): - """Test ApiRequestAuthType""" - # inst = ApiRequestAuthType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_api_request_header.py b/thousandeyes-sdk-tests/test/test_api_request_header.py deleted file mode 100644 index 0624cf1a..00000000 --- a/thousandeyes-sdk-tests/test/test_api_request_header.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_request_header import ApiRequestHeader - -class TestApiRequestHeader(unittest.TestCase): - """ApiRequestHeader unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequestHeader: - """Test ApiRequestHeader - include_option 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 `ApiRequestHeader` - """ - model = ApiRequestHeader() - if include_optional: - return ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive' - ) - else: - return ApiRequestHeader( - ) - """ - - def testApiRequestHeader(self): - """Test ApiRequestHeader""" - # 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/thousandeyes-sdk-tests/test/test_api_request_method.py b/thousandeyes-sdk-tests/test/test_api_request_method.py deleted file mode 100644 index d59a03d9..00000000 --- a/thousandeyes-sdk-tests/test/test_api_request_method.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_request_method import ApiRequestMethod - -class TestApiRequestMethod(unittest.TestCase): - """ApiRequestMethod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApiRequestMethod(self): - """Test ApiRequestMethod""" - # inst = ApiRequestMethod() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_api_request_variable.py b/thousandeyes-sdk-tests/test/test_api_request_variable.py deleted file mode 100644 index 6fed39b6..00000000 --- a/thousandeyes-sdk-tests/test/test_api_request_variable.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_request_variable import ApiRequestVariable - -class TestApiRequestVariable(unittest.TestCase): - """ApiRequestVariable unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRequestVariable: - """Test ApiRequestVariable - include_option 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 `ApiRequestVariable` - """ - model = ApiRequestVariable() - if include_optional: - return ApiRequestVariable( - name = 'myTestName', - value = 'tests[0].name' - ) - else: - return ApiRequestVariable( - ) - """ - - def testApiRequestVariable(self): - """Test ApiRequestVariable""" - # 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/thousandeyes-sdk-tests/test/test_api_test.py b/thousandeyes-sdk-tests/test/test_api_test.py deleted file mode 100644 index 79379580..00000000 --- a/thousandeyes-sdk-tests/test/test_api_test.py +++ /dev/null @@ -1,178 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_test import ApiTest - -class TestApiTest(unittest.TestCase): - """ApiTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTest: - """Test ApiTest - include_option 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 `ApiTest` - """ - model = ApiTest() - if include_optional: - return ApiTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'api', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - follow_redirects = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - predefined_variables = [ - thousandeyes_sdk.tests.models.api_predefined_variable.ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName', ) - ], - probe_mode = 'auto', - protocol = 'tcp', - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - url = 'www.thousandeyes.com', - agents = [ - null - ], - credentials = ["3247","1051"], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return ApiTest( - interval = 120, - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - url = 'www.thousandeyes.com', - ) - """ - - def testApiTest(self): - """Test ApiTest""" - # 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/thousandeyes-sdk-tests/test/test_api_tests.py b/thousandeyes-sdk-tests/test/test_api_tests.py deleted file mode 100644 index 9bc525be..00000000 --- a/thousandeyes-sdk-tests/test/test_api_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.api_tests import ApiTests - -class TestApiTests(unittest.TestCase): - """ApiTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiTests: - """Test ApiTests - include_option 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 `ApiTests` - """ - model = ApiTests() - if include_optional: - return ApiTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return ApiTests( - ) - """ - - def testApiTests(self): - """Test ApiTests""" - # 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/thousandeyes-sdk-tests/test/test_base_bgp_test.py b/thousandeyes-sdk-tests/test/test_base_bgp_test.py deleted file mode 100644 index be5a9553..00000000 --- a/thousandeyes-sdk-tests/test/test_base_bgp_test.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.base_bgp_test import BaseBgpTest - -class TestBaseBgpTest(unittest.TestCase): - """BaseBgpTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseBgpTest: - """Test BaseBgpTest - include_option 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 `BaseBgpTest` - """ - model = BaseBgpTest() - if include_optional: - return BaseBgpTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'bgp', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - enabled = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ], - include_covered_prefixes = True, - use_public_bgp = True, - alerts_enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ] - ) - else: - return BaseBgpTest( - ) - """ - - def testBaseBgpTest(self): - """Test BaseBgpTest""" - # 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/thousandeyes-sdk-tests/test/test_base_request.py b/thousandeyes-sdk-tests/test/test_base_request.py deleted file mode 100644 index 250535de..00000000 --- a/thousandeyes-sdk-tests/test/test_base_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.base_request import BaseRequest - -class TestBaseRequest(unittest.TestCase): - """BaseRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseRequest: - """Test BaseRequest - include_option 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 `BaseRequest` - """ - model = BaseRequest() - if include_optional: - return BaseRequest( - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - alert_rules = ["344753","212697"] - ) - else: - return BaseRequest( - ) - """ - - def testBaseRequest(self): - """Test BaseRequest""" - # 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/thousandeyes-sdk-tests/test/test_base_test.py b/thousandeyes-sdk-tests/test/test_base_test.py deleted file mode 100644 index 5c50bbc0..00000000 --- a/thousandeyes-sdk-tests/test/test_base_test.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.base_test import BaseTest - -class TestBaseTest(unittest.TestCase): - """BaseTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseTest: - """Test BaseTest - include_option 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 `BaseTest` - """ - model = BaseTest() - if include_optional: - return BaseTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ] - ) - else: - return BaseTest( - ) - """ - - def testBaseTest(self): - """Test BaseTest""" - # 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/thousandeyes-sdk-tests/test/test_bgp_test.py b/thousandeyes-sdk-tests/test/test_bgp_test.py deleted file mode 100644 index f4b18bfe..00000000 --- a/thousandeyes-sdk-tests/test/test_bgp_test.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.bgp_test import BgpTest - -class TestBgpTest(unittest.TestCase): - """BgpTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BgpTest: - """Test BgpTest - include_option 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 `BgpTest` - """ - model = BgpTest() - if include_optional: - return BgpTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'bgp', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - enabled = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ], - include_covered_prefixes = True, - use_public_bgp = True, - alerts_enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - prefix = '' - ) - else: - return BgpTest( - prefix = '', - ) - """ - - def testBgpTest(self): - """Test BgpTest""" - # 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/thousandeyes-sdk-tests/test/test_bgp_tests.py b/thousandeyes-sdk-tests/test/test_bgp_tests.py deleted file mode 100644 index 96582e2b..00000000 --- a/thousandeyes-sdk-tests/test/test_bgp_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.bgp_tests import BgpTests - -class TestBgpTests(unittest.TestCase): - """BgpTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BgpTests: - """Test BgpTests - include_option 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 `BgpTests` - """ - model = BgpTests() - if include_optional: - return BgpTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return BgpTests( - ) - """ - - def testBgpTests(self): - """Test BgpTests""" - # 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/thousandeyes-sdk-tests/test/test_cloud_enterprise_agent_type.py b/thousandeyes-sdk-tests/test/test_cloud_enterprise_agent_type.py deleted file mode 100644 index 2cd2d530..00000000 --- a/thousandeyes-sdk-tests/test/test_cloud_enterprise_agent_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType - -class TestCloudEnterpriseAgentType(unittest.TestCase): - """CloudEnterpriseAgentType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEnterpriseAgentType(self): - """Test CloudEnterpriseAgentType""" - # inst = CloudEnterpriseAgentType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_dns_query_class.py b/thousandeyes-sdk-tests/test/test_dns_query_class.py deleted file mode 100644 index fc72dab2..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_query_class.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_query_class import DnsQueryClass - -class TestDnsQueryClass(unittest.TestCase): - """DnsQueryClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDnsQueryClass(self): - """Test DnsQueryClass""" - # inst = DnsQueryClass() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_dns_sec_instant_test.py b/thousandeyes-sdk-tests/test/test_dns_sec_instant_test.py deleted file mode 100644 index 30de2794..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_sec_instant_test.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_sec_instant_test import DnsSecInstantTest - -class TestDnsSecInstantTest(unittest.TestCase): - """DnsSecInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsSecInstantTest: - """Test DnsSecInstantTest - include_option 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 `DnsSecInstantTest` - """ - model = DnsSecInstantTest() - if include_optional: - return DnsSecInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dnssec', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - null - ] - ) - else: - return DnsSecInstantTest( - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsSecInstantTest(self): - """Test DnsSecInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_dns_sec_properties.py b/thousandeyes-sdk-tests/test/test_dns_sec_properties.py deleted file mode 100644 index 494071b8..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_sec_properties.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_sec_properties import DnsSecProperties - -class TestDnsSecProperties(unittest.TestCase): - """DnsSecProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsSecProperties: - """Test DnsSecProperties - include_option 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 `DnsSecProperties` - """ - model = DnsSecProperties() - if include_optional: - return DnsSecProperties( - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - type = 'dnssec' - ) - else: - return DnsSecProperties( - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsSecProperties(self): - """Test DnsSecProperties""" - # 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/thousandeyes-sdk-tests/test/test_dns_sec_test.py b/thousandeyes-sdk-tests/test/test_dns_sec_test.py deleted file mode 100644 index ba6a6ddd..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_sec_test.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_sec_test import DnsSecTest - -class TestDnsSecTest(unittest.TestCase): - """DnsSecTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsSecTest: - """Test DnsSecTest - include_option 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 `DnsSecTest` - """ - model = DnsSecTest() - if include_optional: - return DnsSecTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dnssec', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - null - ] - ) - else: - return DnsSecTest( - interval = 120, - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsSecTest(self): - """Test DnsSecTest""" - # 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/thousandeyes-sdk-tests/test/test_dns_sec_tests.py b/thousandeyes-sdk-tests/test/test_dns_sec_tests.py deleted file mode 100644 index c1f7ad00..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_sec_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_sec_tests import DnsSecTests - -class TestDnsSecTests(unittest.TestCase): - """DnsSecTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsSecTests: - """Test DnsSecTests - include_option 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 `DnsSecTests` - """ - model = DnsSecTests() - if include_optional: - return DnsSecTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return DnsSecTests( - ) - """ - - def testDnsSecTests(self): - """Test DnsSecTests""" - # 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/thousandeyes-sdk-tests/test/test_dns_server_instant_test.py b/thousandeyes-sdk-tests/test/test_dns_server_instant_test.py deleted file mode 100644 index 3c59e4e4..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_server_instant_test.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_server_instant_test import DnsServerInstantTest - -class TestDnsServerInstantTest(unittest.TestCase): - """DnsServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerInstantTest: - """Test DnsServerInstantTest - include_option 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 `DnsServerInstantTest` - """ - model = DnsServerInstantTest() - if include_optional: - return DnsServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - dns_servers = [ - thousandeyes_sdk.tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - recursive_queries = True, - ipv6_policy = 'use-agent-policy', - fixed_packet_rate = 50, - dns_query_class = 'in', - agents = [ - null - ] - ) - else: - return DnsServerInstantTest( - dns_servers = [ - thousandeyes_sdk.tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsServerInstantTest(self): - """Test DnsServerInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_dns_server_properties.py b/thousandeyes-sdk-tests/test/test_dns_server_properties.py deleted file mode 100644 index 0a926831..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_server_properties.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_server_properties import DnsServerProperties - -class TestDnsServerProperties(unittest.TestCase): - """DnsServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerProperties: - """Test DnsServerProperties - include_option 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 `DnsServerProperties` - """ - model = DnsServerProperties() - if include_optional: - return DnsServerProperties( - bandwidth_measurements = True, - dns_servers = [ - thousandeyes_sdk.tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - recursive_queries = True, - ipv6_policy = 'use-agent-policy', - fixed_packet_rate = 50, - dns_query_class = 'in', - type = 'dns-server' - ) - else: - return DnsServerProperties( - dns_servers = [ - thousandeyes_sdk.tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsServerProperties(self): - """Test DnsServerProperties""" - # 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/thousandeyes-sdk-tests/test/test_dns_server_test.py b/thousandeyes-sdk-tests/test/test_dns_server_test.py deleted file mode 100644 index 0b75cab1..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_server_test.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_server_test import DnsServerTest - -class TestDnsServerTest(unittest.TestCase): - """DnsServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerTest: - """Test DnsServerTest - include_option 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 `DnsServerTest` - """ - model = DnsServerTest() - if include_optional: - return DnsServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - dns_servers = [ - thousandeyes_sdk.tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - recursive_queries = True, - ipv6_policy = 'use-agent-policy', - fixed_packet_rate = 50, - dns_query_class = 'in', - agents = [ - null - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return DnsServerTest( - interval = 120, - dns_servers = [ - thousandeyes_sdk.tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsServerTest(self): - """Test DnsServerTest""" - # 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/thousandeyes-sdk-tests/test/test_dns_server_tests.py b/thousandeyes-sdk-tests/test/test_dns_server_tests.py deleted file mode 100644 index 79362bdb..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_server_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_server_tests import DnsServerTests - -class TestDnsServerTests(unittest.TestCase): - """DnsServerTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServerTests: - """Test DnsServerTests - include_option 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 `DnsServerTests` - """ - model = DnsServerTests() - if include_optional: - return DnsServerTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return DnsServerTests( - ) - """ - - def testDnsServerTests(self): - """Test DnsServerTests""" - # 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/thousandeyes-sdk-tests/test/test_dns_servers_request.py b/thousandeyes-sdk-tests/test/test_dns_servers_request.py deleted file mode 100644 index 51302922..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_servers_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_servers_request import DnsServersRequest - -class TestDnsServersRequest(unittest.TestCase): - """DnsServersRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsServersRequest: - """Test DnsServersRequest - include_option 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 `DnsServersRequest` - """ - model = DnsServersRequest() - if include_optional: - return DnsServersRequest( - dns_servers = ["dns-example.net","8.8.8.8"] - ) - else: - return DnsServersRequest( - ) - """ - - def testDnsServersRequest(self): - """Test DnsServersRequest""" - # 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/thousandeyes-sdk-tests/test/test_dns_trace_instant_test.py b/thousandeyes-sdk-tests/test/test_dns_trace_instant_test.py deleted file mode 100644 index 0959d77d..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_trace_instant_test.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_trace_instant_test import DnsTraceInstantTest - -class TestDnsTraceInstantTest(unittest.TestCase): - """DnsTraceInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceInstantTest: - """Test DnsTraceInstantTest - include_option 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 `DnsTraceInstantTest` - """ - model = DnsTraceInstantTest() - if include_optional: - return DnsTraceInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-trace', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - null - ] - ) - else: - return DnsTraceInstantTest( - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsTraceInstantTest(self): - """Test DnsTraceInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_dns_trace_properties.py b/thousandeyes-sdk-tests/test/test_dns_trace_properties.py deleted file mode 100644 index 42dc8159..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_trace_properties.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_trace_properties import DnsTraceProperties - -class TestDnsTraceProperties(unittest.TestCase): - """DnsTraceProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceProperties: - """Test DnsTraceProperties - include_option 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 `DnsTraceProperties` - """ - model = DnsTraceProperties() - if include_optional: - return DnsTraceProperties( - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - type = 'dns-trace' - ) - else: - return DnsTraceProperties( - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsTraceProperties(self): - """Test DnsTraceProperties""" - # 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/thousandeyes-sdk-tests/test/test_dns_trace_test.py b/thousandeyes-sdk-tests/test/test_dns_trace_test.py deleted file mode 100644 index 29cc06d2..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_trace_test.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_trace_test import DnsTraceTest - -class TestDnsTraceTest(unittest.TestCase): - """DnsTraceTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceTest: - """Test DnsTraceTest - include_option 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 `DnsTraceTest` - """ - model = DnsTraceTest() - if include_optional: - return DnsTraceTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-trace', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - null - ] - ) - else: - return DnsTraceTest( - interval = 120, - domain = 'www.thousandeyes.com', - ) - """ - - def testDnsTraceTest(self): - """Test DnsTraceTest""" - # 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/thousandeyes-sdk-tests/test/test_dns_trace_tests.py b/thousandeyes-sdk-tests/test/test_dns_trace_tests.py deleted file mode 100644 index 7a52533b..00000000 --- a/thousandeyes-sdk-tests/test/test_dns_trace_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.dns_trace_tests import DnsTraceTests - -class TestDnsTraceTests(unittest.TestCase): - """DnsTraceTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsTraceTests: - """Test DnsTraceTests - include_option 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 `DnsTraceTests` - """ - model = DnsTraceTests() - if include_optional: - return DnsTraceTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return DnsTraceTests( - ) - """ - - def testDnsTraceTests(self): - """Test DnsTraceTests""" - # 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/thousandeyes-sdk-tests/test/test_error.py b/thousandeyes-sdk-tests/test/test_error.py deleted file mode 100644 index bf9bef70..00000000 --- a/thousandeyes-sdk-tests/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-tests/test/test_expand.py b/thousandeyes-sdk-tests/test/test_expand.py deleted file mode 100644 index 0a2bf0eb..00000000 --- a/thousandeyes-sdk-tests/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_ftp_server_instant_test.py b/thousandeyes-sdk-tests/test/test_ftp_server_instant_test.py deleted file mode 100644 index 76c4a676..00000000 --- a/thousandeyes-sdk-tests/test/test_ftp_server_instant_test.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.ftp_server_instant_test import FtpServerInstantTest - -class TestFtpServerInstantTest(unittest.TestCase): - """FtpServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FtpServerInstantTest: - """Test FtpServerInstantTest - include_option 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 `FtpServerInstantTest` - """ - model = FtpServerInstantTest() - if include_optional: - return FtpServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'ftp-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - download_limit = 1048576, - ftp_target_time = 1000, - ftp_time_limit = 10, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - request_type = 'download', - url = 'www.thousandeyes.com', - use_active_ftp = True, - use_explicit_ftps = False, - username = 'username', - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ] - ) - else: - return FtpServerInstantTest( - password = 'password', - request_type = 'download', - url = 'www.thousandeyes.com', - username = 'username', - ) - """ - - def testFtpServerInstantTest(self): - """Test FtpServerInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_ftp_server_properties.py b/thousandeyes-sdk-tests/test/test_ftp_server_properties.py deleted file mode 100644 index e99eae1a..00000000 --- a/thousandeyes-sdk-tests/test/test_ftp_server_properties.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.ftp_server_properties import FtpServerProperties - -class TestFtpServerProperties(unittest.TestCase): - """FtpServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FtpServerProperties: - """Test FtpServerProperties - include_option 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 `FtpServerProperties` - """ - model = FtpServerProperties() - if include_optional: - return FtpServerProperties( - bandwidth_measurements = True, - download_limit = 1048576, - ftp_target_time = 1000, - ftp_time_limit = 10, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - request_type = 'download', - url = 'www.thousandeyes.com', - use_active_ftp = True, - use_explicit_ftps = False, - username = 'username', - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - type = 'ftp-server' - ) - else: - return FtpServerProperties( - password = 'password', - request_type = 'download', - url = 'www.thousandeyes.com', - username = 'username', - ) - """ - - def testFtpServerProperties(self): - """Test FtpServerProperties""" - # 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/thousandeyes-sdk-tests/test/test_ftp_server_request_type.py b/thousandeyes-sdk-tests/test/test_ftp_server_request_type.py deleted file mode 100644 index 82d425d0..00000000 --- a/thousandeyes-sdk-tests/test/test_ftp_server_request_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.ftp_server_request_type import FtpServerRequestType - -class TestFtpServerRequestType(unittest.TestCase): - """FtpServerRequestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFtpServerRequestType(self): - """Test FtpServerRequestType""" - # inst = FtpServerRequestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_ftp_server_test.py b/thousandeyes-sdk-tests/test/test_ftp_server_test.py deleted file mode 100644 index 4626b891..00000000 --- a/thousandeyes-sdk-tests/test/test_ftp_server_test.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.ftp_server_test import FtpServerTest - -class TestFtpServerTest(unittest.TestCase): - """FtpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FtpServerTest: - """Test FtpServerTest - include_option 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 `FtpServerTest` - """ - model = FtpServerTest() - if include_optional: - return FtpServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'ftp-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - bandwidth_measurements = True, - download_limit = 1048576, - ftp_target_time = 1000, - ftp_time_limit = 10, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - request_type = 'download', - url = 'www.thousandeyes.com', - use_active_ftp = True, - use_explicit_ftps = False, - username = 'username', - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return FtpServerTest( - interval = 120, - password = 'password', - request_type = 'download', - url = 'www.thousandeyes.com', - username = 'username', - ) - """ - - def testFtpServerTest(self): - """Test FtpServerTest""" - # 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/thousandeyes-sdk-tests/test/test_ftp_server_tests.py b/thousandeyes-sdk-tests/test/test_ftp_server_tests.py deleted file mode 100644 index b04cbf6c..00000000 --- a/thousandeyes-sdk-tests/test/test_ftp_server_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.ftp_server_tests import FtpServerTests - -class TestFtpServerTests(unittest.TestCase): - """FtpServerTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FtpServerTests: - """Test FtpServerTests - include_option 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 `FtpServerTests` - """ - model = FtpServerTests() - if include_optional: - return FtpServerTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return FtpServerTests( - ) - """ - - def testFtpServerTests(self): - """Test FtpServerTests""" - # 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/thousandeyes-sdk-tests/test/test_http_server_instant_test.py b/thousandeyes-sdk-tests/test/test_http_server_instant_test.py deleted file mode 100644 index aba8a8bb..00000000 --- a/thousandeyes-sdk-tests/test/test_http_server_instant_test.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.http_server_instant_test import HttpServerInstantTest - -class TestHttpServerInstantTest(unittest.TestCase): - """HttpServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpServerInstantTest: - """Test HttpServerInstantTest - include_option 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 `HttpServerInstantTest` - """ - model = HttpServerInstantTest() - if include_optional: - return HttpServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'http-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - headers = ["header1: value1","header2: value2"], - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - download_limit = 2048, - dns_override = '8.8.8.8', - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - post_body = '{ "example" : "value"}', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - ipv6_policy = 'use-agent-policy', - follow_redirects = True, - fixed_packet_rate = 50, - agents = [ - null - ] - ) - else: - return HttpServerInstantTest( - url = 'www.thousandeyes.com', - ) - """ - - def testHttpServerInstantTest(self): - """Test HttpServerInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_http_server_properties.py b/thousandeyes-sdk-tests/test/test_http_server_properties.py deleted file mode 100644 index 6d440b5b..00000000 --- a/thousandeyes-sdk-tests/test/test_http_server_properties.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.http_server_properties import HttpServerProperties - -class TestHttpServerProperties(unittest.TestCase): - """HttpServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpServerProperties: - """Test HttpServerProperties - include_option 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 `HttpServerProperties` - """ - model = HttpServerProperties() - if include_optional: - return HttpServerProperties( - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - headers = ["header1: value1","header2: value2"], - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - download_limit = 2048, - dns_override = '8.8.8.8', - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - post_body = '{ "example" : "value"}', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - ipv6_policy = 'use-agent-policy', - follow_redirects = True, - fixed_packet_rate = 50, - type = 'http-server' - ) - else: - return HttpServerProperties( - url = 'www.thousandeyes.com', - ) - """ - - def testHttpServerProperties(self): - """Test HttpServerProperties""" - # 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/thousandeyes-sdk-tests/test/test_http_server_test.py b/thousandeyes-sdk-tests/test/test_http_server_test.py deleted file mode 100644 index 09b6421f..00000000 --- a/thousandeyes-sdk-tests/test/test_http_server_test.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.http_server_test import HttpServerTest - -class TestHttpServerTest(unittest.TestCase): - """HttpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpServerTest: - """Test HttpServerTest - include_option 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 `HttpServerTest` - """ - model = HttpServerTest() - if include_optional: - return HttpServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'http-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - headers = ["header1: value1","header2: value2"], - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - download_limit = 2048, - dns_override = '8.8.8.8', - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - post_body = '{ "example" : "value"}', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - ipv6_policy = 'use-agent-policy', - follow_redirects = True, - fixed_packet_rate = 50, - agents = [ - null - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return HttpServerTest( - interval = 120, - url = 'www.thousandeyes.com', - ) - """ - - def testHttpServerTest(self): - """Test HttpServerTest""" - # 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/thousandeyes-sdk-tests/test/test_http_server_tests.py b/thousandeyes-sdk-tests/test/test_http_server_tests.py deleted file mode 100644 index 1928b38f..00000000 --- a/thousandeyes-sdk-tests/test/test_http_server_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.http_server_tests import HttpServerTests - -class TestHttpServerTests(unittest.TestCase): - """HttpServerTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpServerTests: - """Test HttpServerTests - include_option 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 `HttpServerTests` - """ - model = HttpServerTests() - if include_optional: - return HttpServerTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return HttpServerTests( - ) - """ - - def testHttpServerTests(self): - """Test HttpServerTests""" - # 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/thousandeyes-sdk-tests/test/test_instant_test.py b/thousandeyes-sdk-tests/test/test_instant_test.py deleted file mode 100644 index aa2e6d5c..00000000 --- a/thousandeyes-sdk-tests/test/test_instant_test.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.instant_test import InstantTest - -class TestInstantTest(unittest.TestCase): - """InstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InstantTest: - """Test InstantTest - include_option 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 `InstantTest` - """ - model = InstantTest() - if include_optional: - return InstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ] - ) - else: - return InstantTest( - ) - """ - - def testInstantTest(self): - """Test InstantTest""" - # 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/thousandeyes-sdk-tests/test/test_interface_group.py b/thousandeyes-sdk-tests/test/test_interface_group.py deleted file mode 100644 index e5449e67..00000000 --- a/thousandeyes-sdk-tests/test/test_interface_group.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.interface_group import InterfaceGroup - -class TestInterfaceGroup(unittest.TestCase): - """InterfaceGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InterfaceGroup: - """Test InterfaceGroup - include_option 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 `InterfaceGroup` - """ - model = InterfaceGroup() - if include_optional: - return InterfaceGroup( - aid = '1234', - group_id = '281474976710706', - group_name = 'PathVis Interface Group', - ip_addresses = ["1.1.1.1","8.8.8.8"], - rdns_regexes = ["aggr403b-1.iad3.rackspace.net","aggr403c-1.iad3.rackspace.net"] - ) - else: - return InterfaceGroup( - ) - """ - - def testInterfaceGroup(self): - """Test InterfaceGroup""" - # 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/thousandeyes-sdk-tests/test/test_interface_groups.py b/thousandeyes-sdk-tests/test/test_interface_groups.py deleted file mode 100644 index b13193d4..00000000 --- a/thousandeyes-sdk-tests/test/test_interface_groups.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.interface_groups import InterfaceGroups - -class TestInterfaceGroups(unittest.TestCase): - """InterfaceGroups unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InterfaceGroups: - """Test InterfaceGroups - include_option 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 `InterfaceGroups` - """ - model = InterfaceGroups() - if include_optional: - return InterfaceGroups( - path_vis_interface_groups = [ - thousandeyes_sdk.tests.models.interface_group.InterfaceGroup( - aid = '1234', - group_id = '281474976710706', - group_name = 'PathVis Interface Group', - ip_addresses = ["1.1.1.1","8.8.8.8"], - rdns_regexes = ["aggr403b-1.iad3.rackspace.net","aggr403c-1.iad3.rackspace.net"], ) - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return InterfaceGroups( - ) - """ - - def testInterfaceGroups(self): - """Test InterfaceGroups""" - # 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/thousandeyes-sdk-tests/test/test_link.py b/thousandeyes-sdk-tests/test/test_link.py deleted file mode 100644 index 46bc09cf..00000000 --- a/thousandeyes-sdk-tests/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-tests/test/test_monitor.py b/thousandeyes-sdk-tests/test/test_monitor.py deleted file mode 100644 index 80f97a71..00000000 --- a/thousandeyes-sdk-tests/test/test_monitor.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.monitor import Monitor - -class TestMonitor(unittest.TestCase): - """Monitor unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Monitor: - """Test Monitor - include_option 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 `Monitor` - """ - model = Monitor() - if include_optional: - return Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA' - ) - else: - return Monitor( - ) - """ - - def testMonitor(self): - """Test Monitor""" - # 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/thousandeyes-sdk-tests/test/test_monitor_type.py b/thousandeyes-sdk-tests/test/test_monitor_type.py deleted file mode 100644 index e09191c5..00000000 --- a/thousandeyes-sdk-tests/test/test_monitor_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.monitor_type import MonitorType - -class TestMonitorType(unittest.TestCase): - """MonitorType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMonitorType(self): - """Test MonitorType""" - # inst = MonitorType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_monitors_request.py b/thousandeyes-sdk-tests/test/test_monitors_request.py deleted file mode 100644 index d5855e90..00000000 --- a/thousandeyes-sdk-tests/test/test_monitors_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.monitors_request import MonitorsRequest - -class TestMonitorsRequest(unittest.TestCase): - """MonitorsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MonitorsRequest: - """Test MonitorsRequest - include_option 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 `MonitorsRequest` - """ - model = MonitorsRequest() - if include_optional: - return MonitorsRequest( - monitors = ["17410","5"] - ) - else: - return MonitorsRequest( - ) - """ - - def testMonitorsRequest(self): - """Test MonitorsRequest""" - # 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/thousandeyes-sdk-tests/test/test_page_load_instant_test.py b/thousandeyes-sdk-tests/test/test_page_load_instant_test.py deleted file mode 100644 index 73efe944..00000000 --- a/thousandeyes-sdk-tests/test/test_page_load_instant_test.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.page_load_instant_test import PageLoadInstantTest - -class TestPageLoadInstantTest(unittest.TestCase): - """PageLoadInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadInstantTest: - """Test PageLoadInstantTest - include_option 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 `PageLoadInstantTest` - """ - model = PageLoadInstantTest() - if include_optional: - return PageLoadInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'page-load', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - page_load_target_time = 10, - page_load_time_limit = 5, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - null - ] - ) - else: - return PageLoadInstantTest( - url = 'www.thousandeyes.com', - ) - """ - - def testPageLoadInstantTest(self): - """Test PageLoadInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_page_load_properties.py b/thousandeyes-sdk-tests/test/test_page_load_properties.py deleted file mode 100644 index 12b0a19a..00000000 --- a/thousandeyes-sdk-tests/test/test_page_load_properties.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.page_load_properties import PageLoadProperties - -class TestPageLoadProperties(unittest.TestCase): - """PageLoadProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadProperties: - """Test PageLoadProperties - include_option 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 `PageLoadProperties` - """ - model = PageLoadProperties() - if include_optional: - return PageLoadProperties( - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - page_load_target_time = 10, - page_load_time_limit = 5, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - type = 'page-load' - ) - else: - return PageLoadProperties( - url = 'www.thousandeyes.com', - ) - """ - - def testPageLoadProperties(self): - """Test PageLoadProperties""" - # 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/thousandeyes-sdk-tests/test/test_page_load_test.py b/thousandeyes-sdk-tests/test/test_page_load_test.py deleted file mode 100644 index a3c4de45..00000000 --- a/thousandeyes-sdk-tests/test/test_page_load_test.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.page_load_test import PageLoadTest - -class TestPageLoadTest(unittest.TestCase): - """PageLoadTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadTest: - """Test PageLoadTest - include_option 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 `PageLoadTest` - """ - model = PageLoadTest() - if include_optional: - return PageLoadTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'page-load', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - page_load_target_time = 10, - page_load_time_limit = 5, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - null - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ], - http_interval = 120, - subinterval = 60 - ) - else: - return PageLoadTest( - interval = 120, - url = 'www.thousandeyes.com', - ) - """ - - def testPageLoadTest(self): - """Test PageLoadTest""" - # 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/thousandeyes-sdk-tests/test/test_page_load_tests.py b/thousandeyes-sdk-tests/test/test_page_load_tests.py deleted file mode 100644 index ba10965f..00000000 --- a/thousandeyes-sdk-tests/test/test_page_load_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.page_load_tests import PageLoadTests - -class TestPageLoadTests(unittest.TestCase): - """PageLoadTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PageLoadTests: - """Test PageLoadTests - include_option 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 `PageLoadTests` - """ - model = PageLoadTests() - if include_optional: - return PageLoadTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return PageLoadTests( - ) - """ - - def testPageLoadTests(self): - """Test PageLoadTests""" - # 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/thousandeyes-sdk-tests/test/test_self_links.py b/thousandeyes-sdk-tests/test/test_self_links.py deleted file mode 100644 index 2652d1f2..00000000 --- a/thousandeyes-sdk-tests/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-tests/test/test_severity.py b/thousandeyes-sdk-tests/test/test_severity.py deleted file mode 100644 index e3477000..00000000 --- a/thousandeyes-sdk-tests/test/test_severity.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.severity import Severity - -class TestSeverity(unittest.TestCase): - """Severity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSeverity(self): - """Test Severity""" - # inst = Severity() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_shared_with_account.py b/thousandeyes-sdk-tests/test/test_shared_with_account.py deleted file mode 100644 index 7d80d04b..00000000 --- a/thousandeyes-sdk-tests/test/test_shared_with_account.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.shared_with_account import SharedWithAccount - -class TestSharedWithAccount(unittest.TestCase): - """SharedWithAccount unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SharedWithAccount: - """Test SharedWithAccount - include_option 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 `SharedWithAccount` - """ - model = SharedWithAccount() - if include_optional: - return SharedWithAccount( - aid = '1234', - name = 'Account name' - ) - else: - return SharedWithAccount( - ) - """ - - def testSharedWithAccount(self): - """Test SharedWithAccount""" - # 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/thousandeyes-sdk-tests/test/test_simple_agent.py b/thousandeyes-sdk-tests/test/test_simple_agent.py deleted file mode 100644 index 26113ae3..00000000 --- a/thousandeyes-sdk-tests/test/test_simple_agent.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.simple_agent import SimpleAgent - -class TestSimpleAgent(unittest.TestCase): - """SimpleAgent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimpleAgent: - """Test SimpleAgent - include_option 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 `SimpleAgent` - """ - model = SimpleAgent() - if include_optional: - return SimpleAgent( - ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"], - public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"], - network = 'AT&T Services, Inc. (AS 7018)', - agent_id = '281474976710706', - agent_name = 'thousandeyes-stg-va-254', - location = 'San Francisco Bay Area', - country_id = 'US', - enabled = True, - prefix = '99.128.0.0/11', - verify_ssl_certificates = True - ) - else: - return SimpleAgent( - ) - """ - - def testSimpleAgent(self): - """Test SimpleAgent""" - # 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/thousandeyes-sdk-tests/test/test_simple_test.py b/thousandeyes-sdk-tests/test/test_simple_test.py deleted file mode 100644 index 6e11cf10..00000000 --- a/thousandeyes-sdk-tests/test/test_simple_test.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.simple_test import SimpleTest - -class TestSimpleTest(unittest.TestCase): - """SimpleTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimpleTest: - """Test SimpleTest - include_option 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 `SimpleTest` - """ - model = SimpleTest() - if include_optional: - return SimpleTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ) - ) - else: - return SimpleTest( - ) - """ - - def testSimpleTest(self): - """Test SimpleTest""" - # 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/thousandeyes-sdk-tests/test/test_sip_server_instant_test.py b/thousandeyes-sdk-tests/test/test_sip_server_instant_test.py deleted file mode 100644 index 148423a4..00000000 --- a/thousandeyes-sdk-tests/test/test_sip_server_instant_test.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.sip_server_instant_test import SipServerInstantTest - -class TestSipServerInstantTest(unittest.TestCase): - """SipServerInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerInstantTest: - """Test SipServerInstantTest - include_option 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 `SipServerInstantTest` - """ - model = SipServerInstantTest() - if include_optional: - return SipServerInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ] - ) - else: - return SipServerInstantTest( - ) - """ - - def testSipServerInstantTest(self): - """Test SipServerInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_sip_server_instant_test_request.py b/thousandeyes-sdk-tests/test/test_sip_server_instant_test_request.py deleted file mode 100644 index a00fae0f..00000000 --- a/thousandeyes-sdk-tests/test/test_sip_server_instant_test_request.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.sip_server_instant_test_request import SipServerInstantTestRequest - -class TestSipServerInstantTestRequest(unittest.TestCase): - """SipServerInstantTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerInstantTestRequest: - """Test SipServerInstantTestRequest - include_option 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 `SipServerInstantTestRequest` - """ - model = SipServerInstantTestRequest() - if include_optional: - return SipServerInstantTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ], - target_sip_credentials = thousandeyes_sdk.tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ) - ) - else: - return SipServerInstantTestRequest( - target_sip_credentials = thousandeyes_sdk.tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ), - ) - """ - - def testSipServerInstantTestRequest(self): - """Test SipServerInstantTestRequest""" - # 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/thousandeyes-sdk-tests/test/test_sip_server_instant_test_response.py b/thousandeyes-sdk-tests/test/test_sip_server_instant_test_response.py deleted file mode 100644 index ba1a5f4e..00000000 --- a/thousandeyes-sdk-tests/test/test_sip_server_instant_test_response.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.sip_server_instant_test_response import SipServerInstantTestResponse - -class TestSipServerInstantTestResponse(unittest.TestCase): - """SipServerInstantTestResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerInstantTestResponse: - """Test SipServerInstantTestResponse - include_option 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 `SipServerInstantTestResponse` - """ - model = SipServerInstantTestResponse() - if include_optional: - return SipServerInstantTestResponse( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ], - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username' - ) - else: - return SipServerInstantTestResponse( - port = 1, - ) - """ - - def testSipServerInstantTestResponse(self): - """Test SipServerInstantTestResponse""" - # 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/thousandeyes-sdk-tests/test/test_sip_server_properties.py b/thousandeyes-sdk-tests/test/test_sip_server_properties.py deleted file mode 100644 index 773c4a61..00000000 --- a/thousandeyes-sdk-tests/test/test_sip_server_properties.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.sip_server_properties import SipServerProperties - -class TestSipServerProperties(unittest.TestCase): - """SipServerProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerProperties: - """Test SipServerProperties - include_option 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 `SipServerProperties` - """ - model = SipServerProperties() - if include_optional: - return SipServerProperties( - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - type = 'sip-server' - ) - else: - return SipServerProperties( - ) - """ - - def testSipServerProperties(self): - """Test SipServerProperties""" - # 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/thousandeyes-sdk-tests/test/test_sip_server_test.py b/thousandeyes-sdk-tests/test/test_sip_server_test.py deleted file mode 100644 index ebeae1fc..00000000 --- a/thousandeyes-sdk-tests/test/test_sip_server_test.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.sip_server_test import SipServerTest - -class TestSipServerTest(unittest.TestCase): - """SipServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerTest: - """Test SipServerTest - include_option 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 `SipServerTest` - """ - model = SipServerTest() - if include_optional: - return SipServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ], - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return SipServerTest( - interval = 120, - port = 1, - ) - """ - - def testSipServerTest(self): - """Test SipServerTest""" - # 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/thousandeyes-sdk-tests/test/test_sip_server_tests.py b/thousandeyes-sdk-tests/test/test_sip_server_tests.py deleted file mode 100644 index 0f457def..00000000 --- a/thousandeyes-sdk-tests/test/test_sip_server_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.sip_server_tests import SipServerTests - -class TestSipServerTests(unittest.TestCase): - """SipServerTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SipServerTests: - """Test SipServerTests - include_option 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 `SipServerTests` - """ - model = SipServerTests() - if include_optional: - return SipServerTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return SipServerTests( - ) - """ - - def testSipServerTests(self): - """Test SipServerTests""" - # 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/thousandeyes-sdk-tests/test/test_sip_test_protocol.py b/thousandeyes-sdk-tests/test/test_sip_test_protocol.py deleted file mode 100644 index 8c91b51d..00000000 --- a/thousandeyes-sdk-tests/test/test_sip_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.sip_test_protocol import SipTestProtocol - -class TestSipTestProtocol(unittest.TestCase): - """SipTestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSipTestProtocol(self): - """Test SipTestProtocol""" - # inst = SipTestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_auth_type.py b/thousandeyes-sdk-tests/test/test_test_auth_type.py deleted file mode 100644 index ca7db8f9..00000000 --- a/thousandeyes-sdk-tests/test/test_test_auth_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_auth_type import TestAuthType - -class TestTestAuthType(unittest.TestCase): - """TestAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestAuthType(self): - """Test TestAuthType""" - # inst = TestAuthType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_custom_headers.py b/thousandeyes-sdk-tests/test/test_test_custom_headers.py deleted file mode 100644 index df4ad166..00000000 --- a/thousandeyes-sdk-tests/test/test_test_custom_headers.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_custom_headers import TestCustomHeaders - -class TestTestCustomHeaders(unittest.TestCase): - """TestCustomHeaders unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestCustomHeaders: - """Test TestCustomHeaders - include_option 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 `TestCustomHeaders` - """ - model = TestCustomHeaders() - if include_optional: - return TestCustomHeaders( - root = { - 'key' : '' - }, - domains = { - 'key' : { - 'key' : '' - } - }, - all = { - 'key' : '' - } - ) - else: - return TestCustomHeaders( - ) - """ - - def testTestCustomHeaders(self): - """Test TestCustomHeaders""" - # 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/thousandeyes-sdk-tests/test/test_test_direction.py b/thousandeyes-sdk-tests/test/test_test_direction.py deleted file mode 100644 index 6efdbee5..00000000 --- a/thousandeyes-sdk-tests/test/test_test_direction.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_direction import TestDirection - -class TestTestDirection(unittest.TestCase): - """TestDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestDirection(self): - """Test TestDirection""" - # inst = TestDirection() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_dns_server.py b/thousandeyes-sdk-tests/test/test_test_dns_server.py deleted file mode 100644 index ab83d4c0..00000000 --- a/thousandeyes-sdk-tests/test/test_test_dns_server.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_dns_server import TestDnsServer - -class TestTestDnsServer(unittest.TestCase): - """TestDnsServer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestDnsServer: - """Test TestDnsServer - include_option 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 `TestDnsServer` - """ - model = TestDnsServer() - if include_optional: - return TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net' - ) - else: - return TestDnsServer( - ) - """ - - def testTestDnsServer(self): - """Test TestDnsServer""" - # 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/thousandeyes-sdk-tests/test/test_test_dns_transport_protocol.py b/thousandeyes-sdk-tests/test/test_test_dns_transport_protocol.py deleted file mode 100644 index 88953338..00000000 --- a/thousandeyes-sdk-tests/test/test_test_dns_transport_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_dns_transport_protocol import TestDnsTransportProtocol - -class TestTestDnsTransportProtocol(unittest.TestCase): - """TestDnsTransportProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestDnsTransportProtocol(self): - """Test TestDnsTransportProtocol""" - # inst = TestDnsTransportProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_dscp_id.py b/thousandeyes-sdk-tests/test/test_test_dscp_id.py deleted file mode 100644 index bc3646e3..00000000 --- a/thousandeyes-sdk-tests/test/test_test_dscp_id.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_dscp_id import TestDscpId - -class TestTestDscpId(unittest.TestCase): - """TestDscpId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestDscpId(self): - """Test TestDscpId""" - # inst = TestDscpId() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_http_interval.py b/thousandeyes-sdk-tests/test/test_test_http_interval.py deleted file mode 100644 index e0029d6f..00000000 --- a/thousandeyes-sdk-tests/test/test_test_http_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_http_interval import TestHttpInterval - -class TestTestHttpInterval(unittest.TestCase): - """TestHttpInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestHttpInterval(self): - """Test TestHttpInterval""" - # inst = TestHttpInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_interval.py b/thousandeyes-sdk-tests/test/test_test_interval.py deleted file mode 100644 index 9a0560a0..00000000 --- a/thousandeyes-sdk-tests/test/test_test_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_interval import TestInterval - -class TestTestInterval(unittest.TestCase): - """TestInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestInterval(self): - """Test TestInterval""" - # inst = TestInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_ipv6_policy.py b/thousandeyes-sdk-tests/test/test_test_ipv6_policy.py deleted file mode 100644 index 4e823f27..00000000 --- a/thousandeyes-sdk-tests/test/test_test_ipv6_policy.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_ipv6_policy import TestIpv6Policy - -class TestTestIpv6Policy(unittest.TestCase): - """TestIpv6Policy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestIpv6Policy(self): - """Test TestIpv6Policy""" - # inst = TestIpv6Policy() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_label.py b/thousandeyes-sdk-tests/test/test_test_label.py deleted file mode 100644 index 14e12f87..00000000 --- a/thousandeyes-sdk-tests/test/test_test_label.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_label import TestLabel - -class TestTestLabel(unittest.TestCase): - """TestLabel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLabel: - """Test TestLabel - include_option 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 `TestLabel` - """ - model = TestLabel() - if include_optional: - return TestLabel( - label_id = '', - name = '', - is_builtin = True - ) - else: - return TestLabel( - ) - """ - - def testTestLabel(self): - """Test TestLabel""" - # 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/thousandeyes-sdk-tests/test/test_test_links.py b/thousandeyes-sdk-tests/test/test_test_links.py deleted file mode 100644 index b47ab00a..00000000 --- a/thousandeyes-sdk-tests/test/test_test_links.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_links import TestLinks - -class TestTestLinks(unittest.TestCase): - """TestLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestLinks: - """Test TestLinks - include_option 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 `TestLinks` - """ - model = TestLinks() - if include_optional: - return TestLinks( - var_self = None, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}] - ) - else: - return TestLinks( - ) - """ - - def testTestLinks(self): - """Test TestLinks""" - # 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/thousandeyes-sdk-tests/test/test_test_monitors_properties.py b/thousandeyes-sdk-tests/test/test_test_monitors_properties.py deleted file mode 100644 index 6e0fc8d0..00000000 --- a/thousandeyes-sdk-tests/test/test_test_monitors_properties.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_monitors_properties import TestMonitorsProperties - -class TestTestMonitorsProperties(unittest.TestCase): - """TestMonitorsProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestMonitorsProperties: - """Test TestMonitorsProperties - include_option 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 `TestMonitorsProperties` - """ - model = TestMonitorsProperties() - if include_optional: - return TestMonitorsProperties( - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return TestMonitorsProperties( - ) - """ - - def testTestMonitorsProperties(self): - """Test TestMonitorsProperties""" - # 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/thousandeyes-sdk-tests/test/test_test_page_loading_strategy.py b/thousandeyes-sdk-tests/test/test_test_page_loading_strategy.py deleted file mode 100644 index b48cc509..00000000 --- a/thousandeyes-sdk-tests/test/test_test_page_loading_strategy.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_page_loading_strategy import TestPageLoadingStrategy - -class TestTestPageLoadingStrategy(unittest.TestCase): - """TestPageLoadingStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestPageLoadingStrategy(self): - """Test TestPageLoadingStrategy""" - # inst = TestPageLoadingStrategy() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_path_trace_mode.py b/thousandeyes-sdk-tests/test/test_test_path_trace_mode.py deleted file mode 100644 index 022b2bb8..00000000 --- a/thousandeyes-sdk-tests/test/test_test_path_trace_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_path_trace_mode import TestPathTraceMode - -class TestTestPathTraceMode(unittest.TestCase): - """TestPathTraceMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestPathTraceMode(self): - """Test TestPathTraceMode""" - # inst = TestPathTraceMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_probe_mode.py b/thousandeyes-sdk-tests/test/test_test_probe_mode.py deleted file mode 100644 index fb41b339..00000000 --- a/thousandeyes-sdk-tests/test/test_test_probe_mode.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_probe_mode import TestProbeMode - -class TestTestProbeMode(unittest.TestCase): - """TestProbeMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProbeMode(self): - """Test TestProbeMode""" - # inst = TestProbeMode() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_protocol.py b/thousandeyes-sdk-tests/test/test_test_protocol.py deleted file mode 100644 index b79d2e9f..00000000 --- a/thousandeyes-sdk-tests/test/test_test_protocol.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_protocol import TestProtocol - -class TestTestProtocol(unittest.TestCase): - """TestProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestProtocol(self): - """Test TestProtocol""" - # inst = TestProtocol() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_request.py b/thousandeyes-sdk-tests/test/test_test_request.py deleted file mode 100644 index 08b46e29..00000000 --- a/thousandeyes-sdk-tests/test/test_test_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_request import TestRequest - -class TestTestRequest(unittest.TestCase): - """TestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestRequest: - """Test TestRequest - include_option 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 `TestRequest` - """ - model = TestRequest() - if include_optional: - return TestRequest( - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - alert_rules = ["344753","212697"], - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return TestRequest( - ) - """ - - def testTestRequest(self): - """Test TestRequest""" - # 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/thousandeyes-sdk-tests/test/test_test_self_link.py b/thousandeyes-sdk-tests/test/test_test_self_link.py deleted file mode 100644 index e5a0d0a9..00000000 --- a/thousandeyes-sdk-tests/test/test_test_self_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_self_link import TestSelfLink - -class TestTestSelfLink(unittest.TestCase): - """TestSelfLink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestSelfLink: - """Test TestSelfLink - include_option 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 `TestSelfLink` - """ - model = TestSelfLink() - if include_optional: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return TestSelfLink( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testTestSelfLink(self): - """Test TestSelfLink""" - # 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/thousandeyes-sdk-tests/test/test_test_sip_credentials.py b/thousandeyes-sdk-tests/test/test_test_sip_credentials.py deleted file mode 100644 index 8298badb..00000000 --- a/thousandeyes-sdk-tests/test/test_test_sip_credentials.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_sip_credentials import TestSipCredentials - -class TestTestSipCredentials(unittest.TestCase): - """TestSipCredentials unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestSipCredentials: - """Test TestSipCredentials - include_option 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 `TestSipCredentials` - """ - model = TestSipCredentials() - if include_optional: - return TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username' - ) - else: - return TestSipCredentials( - port = 1, - ) - """ - - def testTestSipCredentials(self): - """Test TestSipCredentials""" - # 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/thousandeyes-sdk-tests/test/test_test_ssl_version_id.py b/thousandeyes-sdk-tests/test/test_test_ssl_version_id.py deleted file mode 100644 index cbb6117b..00000000 --- a/thousandeyes-sdk-tests/test/test_test_ssl_version_id.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_ssl_version_id import TestSslVersionId - -class TestTestSslVersionId(unittest.TestCase): - """TestSslVersionId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestSslVersionId(self): - """Test TestSslVersionId""" - # inst = TestSslVersionId() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_sub_interval.py b/thousandeyes-sdk-tests/test/test_test_sub_interval.py deleted file mode 100644 index db23fc0f..00000000 --- a/thousandeyes-sdk-tests/test/test_test_sub_interval.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_sub_interval import TestSubInterval - -class TestTestSubInterval(unittest.TestCase): - """TestSubInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestSubInterval(self): - """Test TestSubInterval""" - # inst = TestSubInterval() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_test_type.py b/thousandeyes-sdk-tests/test/test_test_type.py deleted file mode 100644 index be011895..00000000 --- a/thousandeyes-sdk-tests/test/test_test_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.test_type import TestType - -class TestTestType(unittest.TestCase): - """TestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTestType(self): - """Test TestType""" - # inst = TestType() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-tests/test/test_tests.py b/thousandeyes-sdk-tests/test/test_tests.py deleted file mode 100644 index a4ce6cbf..00000000 --- a/thousandeyes-sdk-tests/test/test_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.tests import Tests - -class TestTests(unittest.TestCase): - """Tests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Tests: - """Test Tests - include_option 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 `Tests` - """ - model = Tests() - if include_optional: - return Tests( - tests = [ - { } - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Tests( - ) - """ - - def testTests(self): - """Test Tests""" - # 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/thousandeyes-sdk-tests/test/test_unauthorized_error.py b/thousandeyes-sdk-tests/test/test_unauthorized_error.py deleted file mode 100644 index e7b2448c..00000000 --- a/thousandeyes-sdk-tests/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_agent_to_agent_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_agent_to_agent_test.py deleted file mode 100644 index ad201545..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_agent_to_agent_test.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_agent_to_agent_test import UnexpandedAgentToAgentTest - -class TestUnexpandedAgentToAgentTest(unittest.TestCase): - """UnexpandedAgentToAgentTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedAgentToAgentTest: - """Test UnexpandedAgentToAgentTest - include_option 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 `UnexpandedAgentToAgentTest` - """ - model = UnexpandedAgentToAgentTest() - if include_optional: - return UnexpandedAgentToAgentTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-agent', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - direction = 'to-target', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - mss = 20, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - protocol = 'tcp', - target_agent_id = '2954', - throughput_measurements = True, - throughput_duration = 5000, - throughput_rate = 8, - fixed_packet_rate = 50, - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedAgentToAgentTest( - interval = 120, - target_agent_id = '2954', - ) - """ - - def testUnexpandedAgentToAgentTest(self): - """Test UnexpandedAgentToAgentTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_agent_to_server_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_agent_to_server_test.py deleted file mode 100644 index 4d827c3c..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_agent_to_server_test.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_agent_to_server_test import UnexpandedAgentToServerTest - -class TestUnexpandedAgentToServerTest(unittest.TestCase): - """UnexpandedAgentToServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedAgentToServerTest: - """Test UnexpandedAgentToServerTest - include_option 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 `UnexpandedAgentToServerTest` - """ - model = UnexpandedAgentToServerTest() - if include_optional: - return UnexpandedAgentToServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - bandwidth_measurements = True, - continuous_mode = False, - fixed_packet_rate = 25, - mtu_measurements = False, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - probe_mode = 'auto', - protocol = 'tcp', - server = 'www.thousandeyes.com', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - ipv6_policy = 'use-agent-policy', - ping_payload_size = 0, - network_measurements = True, - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedAgentToServerTest( - interval = 120, - server = 'www.thousandeyes.com', - ) - """ - - def testUnexpandedAgentToServerTest(self): - """Test UnexpandedAgentToServerTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_api_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_api_test.py deleted file mode 100644 index 68f20af5..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_api_test.py +++ /dev/null @@ -1,142 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_api_test import UnexpandedApiTest - -class TestUnexpandedApiTest(unittest.TestCase): - """UnexpandedApiTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedApiTest: - """Test UnexpandedApiTest - include_option 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 `UnexpandedApiTest` - """ - model = UnexpandedApiTest() - if include_optional: - return UnexpandedApiTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'api', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - follow_redirects = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - predefined_variables = [ - thousandeyes_sdk.tests.models.api_predefined_variable.ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName', ) - ], - probe_mode = 'auto', - protocol = 'tcp', - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - url = 'www.thousandeyes.com', - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedApiTest( - interval = 120, - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - url = 'www.thousandeyes.com', - ) - """ - - def testUnexpandedApiTest(self): - """Test UnexpandedApiTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_bgp_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_bgp_test.py deleted file mode 100644 index 8ec95bb9..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_bgp_test.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_bgp_test import UnexpandedBgpTest - -class TestUnexpandedBgpTest(unittest.TestCase): - """UnexpandedBgpTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedBgpTest: - """Test UnexpandedBgpTest - include_option 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 `UnexpandedBgpTest` - """ - model = UnexpandedBgpTest() - if include_optional: - return UnexpandedBgpTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'bgp', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - enabled = True, - include_covered_prefixes = True, - use_public_bgp = True, - alerts_enabled = True, - prefix = '' - ) - else: - return UnexpandedBgpTest( - prefix = '', - ) - """ - - def testUnexpandedBgpTest(self): - """Test UnexpandedBgpTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_dns_sec_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_dns_sec_test.py deleted file mode 100644 index 2d08098b..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_dns_sec_test.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_dns_sec_test import UnexpandedDnsSecTest - -class TestUnexpandedDnsSecTest(unittest.TestCase): - """UnexpandedDnsSecTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedDnsSecTest: - """Test UnexpandedDnsSecTest - include_option 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 `UnexpandedDnsSecTest` - """ - model = UnexpandedDnsSecTest() - if include_optional: - return UnexpandedDnsSecTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dnssec', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - domain = 'www.thousandeyes.com', - dns_query_class = 'in' - ) - else: - return UnexpandedDnsSecTest( - interval = 120, - domain = 'www.thousandeyes.com', - ) - """ - - def testUnexpandedDnsSecTest(self): - """Test UnexpandedDnsSecTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_dns_server_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_dns_server_test.py deleted file mode 100644 index f50a67b4..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_dns_server_test.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_dns_server_test import UnexpandedDnsServerTest - -class TestUnexpandedDnsServerTest(unittest.TestCase): - """UnexpandedDnsServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedDnsServerTest: - """Test UnexpandedDnsServerTest - include_option 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 `UnexpandedDnsServerTest` - """ - model = UnexpandedDnsServerTest() - if include_optional: - return UnexpandedDnsServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - bandwidth_measurements = True, - dns_servers = [ - thousandeyes_sdk.tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - recursive_queries = True, - ipv6_policy = 'use-agent-policy', - fixed_packet_rate = 50, - dns_query_class = 'in', - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedDnsServerTest( - interval = 120, - dns_servers = [ - thousandeyes_sdk.tests.models.test_dns_server.TestDnsServer( - server_id = '1447', - server_name = 'dns-example.net', ) - ], - domain = 'www.thousandeyes.com', - ) - """ - - def testUnexpandedDnsServerTest(self): - """Test UnexpandedDnsServerTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_dns_trace_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_dns_trace_test.py deleted file mode 100644 index 73f5de5d..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_dns_trace_test.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_dns_trace_test import UnexpandedDnsTraceTest - -class TestUnexpandedDnsTraceTest(unittest.TestCase): - """UnexpandedDnsTraceTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedDnsTraceTest: - """Test UnexpandedDnsTraceTest - include_option 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 `UnexpandedDnsTraceTest` - """ - model = UnexpandedDnsTraceTest() - if include_optional: - return UnexpandedDnsTraceTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-trace', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - dns_query_class = 'in' - ) - else: - return UnexpandedDnsTraceTest( - interval = 120, - domain = 'www.thousandeyes.com', - ) - """ - - def testUnexpandedDnsTraceTest(self): - """Test UnexpandedDnsTraceTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_ftp_server_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_ftp_server_test.py deleted file mode 100644 index 813f74f4..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_ftp_server_test.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_ftp_server_test import UnexpandedFtpServerTest - -class TestUnexpandedFtpServerTest(unittest.TestCase): - """UnexpandedFtpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedFtpServerTest: - """Test UnexpandedFtpServerTest - include_option 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 `UnexpandedFtpServerTest` - """ - model = UnexpandedFtpServerTest() - if include_optional: - return UnexpandedFtpServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'ftp-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - bandwidth_measurements = True, - download_limit = 1048576, - ftp_target_time = 1000, - ftp_time_limit = 10, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - request_type = 'download', - url = 'www.thousandeyes.com', - use_active_ftp = True, - use_explicit_ftps = False, - username = 'username', - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedFtpServerTest( - interval = 120, - password = 'password', - request_type = 'download', - url = 'www.thousandeyes.com', - username = 'username', - ) - """ - - def testUnexpandedFtpServerTest(self): - """Test UnexpandedFtpServerTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_http_server_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_http_server_test.py deleted file mode 100644 index d982f8ed..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_http_server_test.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_http_server_test import UnexpandedHttpServerTest - -class TestUnexpandedHttpServerTest(unittest.TestCase): - """UnexpandedHttpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedHttpServerTest: - """Test UnexpandedHttpServerTest - include_option 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 `UnexpandedHttpServerTest` - """ - model = UnexpandedHttpServerTest() - if include_optional: - return UnexpandedHttpServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'http-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - headers = ["header1: value1","header2: value2"], - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - download_limit = 2048, - dns_override = '8.8.8.8', - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - post_body = '{ "example" : "value"}', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - ipv6_policy = 'use-agent-policy', - follow_redirects = True, - fixed_packet_rate = 50, - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedHttpServerTest( - interval = 120, - url = 'www.thousandeyes.com', - ) - """ - - def testUnexpandedHttpServerTest(self): - """Test UnexpandedHttpServerTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_instant_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_instant_test.py deleted file mode 100644 index 719937c0..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_instant_test.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_instant_test import UnexpandedInstantTest - -class TestUnexpandedInstantTest(unittest.TestCase): - """UnexpandedInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedInstantTest: - """Test UnexpandedInstantTest - include_option 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 `UnexpandedInstantTest` - """ - model = UnexpandedInstantTest() - if include_optional: - return UnexpandedInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ) - ) - else: - return UnexpandedInstantTest( - ) - """ - - def testUnexpandedInstantTest(self): - """Test UnexpandedInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_page_load_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_page_load_test.py deleted file mode 100644 index 48eaee24..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_page_load_test.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_page_load_test import UnexpandedPageLoadTest - -class TestUnexpandedPageLoadTest(unittest.TestCase): - """UnexpandedPageLoadTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedPageLoadTest: - """Test UnexpandedPageLoadTest - include_option 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 `UnexpandedPageLoadTest` - """ - model = UnexpandedPageLoadTest() - if include_optional: - return UnexpandedPageLoadTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'page-load', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - page_load_target_time = 10, - page_load_time_limit = 5, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - http_interval = 120, - subinterval = 60, - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedPageLoadTest( - interval = 120, - url = 'www.thousandeyes.com', - ) - """ - - def testUnexpandedPageLoadTest(self): - """Test UnexpandedPageLoadTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_sip_server_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_sip_server_test.py deleted file mode 100644 index a0608c5e..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_sip_server_test.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_sip_server_test import UnexpandedSipServerTest - -class TestUnexpandedSipServerTest(unittest.TestCase): - """UnexpandedSipServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedSipServerTest: - """Test UnexpandedSipServerTest - include_option 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 `UnexpandedSipServerTest` - """ - model = UnexpandedSipServerTest() - if include_optional: - return UnexpandedSipServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedSipServerTest( - interval = 120, - port = 1, - ) - """ - - def testUnexpandedSipServerTest(self): - """Test UnexpandedSipServerTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_test.py deleted file mode 100644 index 8f486ba3..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_test.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_test import UnexpandedTest - -class TestUnexpandedTest(unittest.TestCase): - """UnexpandedTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedTest: - """Test UnexpandedTest - include_option 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 `UnexpandedTest` - """ - model = UnexpandedTest() - if include_optional: - return UnexpandedTest( - interval = 120, - alerts_enabled = True, - enabled = True - ) - else: - return UnexpandedTest( - ) - """ - - def testUnexpandedTest(self): - """Test UnexpandedTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_voice_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_voice_test.py deleted file mode 100644 index ba512e00..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_voice_test.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_voice_test import UnexpandedVoiceTest - -class TestUnexpandedVoiceTest(unittest.TestCase): - """UnexpandedVoiceTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedVoiceTest: - """Test UnexpandedVoiceTest - include_option 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 `UnexpandedVoiceTest` - """ - model = UnexpandedVoiceTest() - if include_optional: - return UnexpandedVoiceTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'voice', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - codec = 'G.711 @ 64 Kbps', - codec_id = '0', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - duration = 5, - jitter_buffer = 0, - num_path_traces = 1, - port = 1024, - target_agent_id = '281474976710706', - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedVoiceTest( - interval = 120, - target_agent_id = '281474976710706', - ) - """ - - def testUnexpandedVoiceTest(self): - """Test UnexpandedVoiceTest""" - # 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/thousandeyes-sdk-tests/test/test_unexpanded_web_transaction_test.py b/thousandeyes-sdk-tests/test/test_unexpanded_web_transaction_test.py deleted file mode 100644 index 03a78236..00000000 --- a/thousandeyes-sdk-tests/test/test_unexpanded_web_transaction_test.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.unexpanded_web_transaction_test import UnexpandedWebTransactionTest - -class TestUnexpandedWebTransactionTest(unittest.TestCase): - """UnexpandedWebTransactionTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnexpandedWebTransactionTest: - """Test UnexpandedWebTransactionTest - include_option 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 `UnexpandedWebTransactionTest` - """ - model = UnexpandedWebTransactionTest() - if include_optional: - return UnexpandedWebTransactionTest( - interval = 120, - alerts_enabled = True, - enabled = True, - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'web-transactions', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - subinterval = 60, - bgp_measurements = True, - use_public_bgp = True - ) - else: - return UnexpandedWebTransactionTest( - interval = 120, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - ) - """ - - def testUnexpandedWebTransactionTest(self): - """Test UnexpandedWebTransactionTest""" - # 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/thousandeyes-sdk-tests/test/test_update_agent_to_agent_test.py b/thousandeyes-sdk-tests/test/test_update_agent_to_agent_test.py deleted file mode 100644 index 548d7b1e..00000000 --- a/thousandeyes-sdk-tests/test/test_update_agent_to_agent_test.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_agent_to_agent_test import UpdateAgentToAgentTest - -class TestUpdateAgentToAgentTest(unittest.TestCase): - """UpdateAgentToAgentTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateAgentToAgentTest: - """Test UpdateAgentToAgentTest - include_option 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 `UpdateAgentToAgentTest` - """ - model = UpdateAgentToAgentTest() - if include_optional: - return UpdateAgentToAgentTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-agent', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - direction = 'to-target', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - mss = 20, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - protocol = 'tcp', - target_agent_id = '2954', - throughput_measurements = True, - throughput_duration = 5000, - throughput_rate = 8, - fixed_packet_rate = 50, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = ["17410","5"] - ) - else: - return UpdateAgentToAgentTest( - interval = 120, - target_agent_id = '2954', - ) - """ - - def testUpdateAgentToAgentTest(self): - """Test UpdateAgentToAgentTest""" - # 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/thousandeyes-sdk-tests/test/test_update_agent_to_server_test.py b/thousandeyes-sdk-tests/test/test_update_agent_to_server_test.py deleted file mode 100644 index 65101766..00000000 --- a/thousandeyes-sdk-tests/test/test_update_agent_to_server_test.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_agent_to_server_test import UpdateAgentToServerTest - -class TestUpdateAgentToServerTest(unittest.TestCase): - """UpdateAgentToServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateAgentToServerTest: - """Test UpdateAgentToServerTest - include_option 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 `UpdateAgentToServerTest` - """ - model = UpdateAgentToServerTest() - if include_optional: - return UpdateAgentToServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'agent-to-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - bandwidth_measurements = True, - continuous_mode = False, - fixed_packet_rate = 25, - mtu_measurements = False, - num_path_traces = 1, - path_trace_mode = 'classic', - port = 1, - probe_mode = 'auto', - protocol = 'tcp', - server = 'www.thousandeyes.com', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - ipv6_policy = 'use-agent-policy', - ping_payload_size = 0, - network_measurements = True, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = ["17410","5"] - ) - else: - return UpdateAgentToServerTest( - interval = 120, - server = 'www.thousandeyes.com', - ) - """ - - def testUpdateAgentToServerTest(self): - """Test UpdateAgentToServerTest""" - # 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/thousandeyes-sdk-tests/test/test_update_api_test.py b/thousandeyes-sdk-tests/test/test_update_api_test.py deleted file mode 100644 index cdfbdf64..00000000 --- a/thousandeyes-sdk-tests/test/test_update_api_test.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_api_test import UpdateApiTest - -class TestUpdateApiTest(unittest.TestCase): - """UpdateApiTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateApiTest: - """Test UpdateApiTest - include_option 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 `UpdateApiTest` - """ - model = UpdateApiTest() - if include_optional: - return UpdateApiTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'api', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - follow_redirects = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - predefined_variables = [ - thousandeyes_sdk.tests.models.api_predefined_variable.ApiPredefinedVariable( - name = 'myUsername', - value = 'ThousandEyesAccountUserName', ) - ], - probe_mode = 'auto', - protocol = 'tcp', - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - url = 'www.thousandeyes.com', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - credentials = ["3247","1051"], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return UpdateApiTest( - interval = 120, - requests = [ - thousandeyes_sdk.tests.models.api_request.ApiRequest( - assertions = [ - thousandeyes_sdk.tests.models.api_request_assertion.ApiRequestAssertion( - name = 'status-code', - operator = 'is', - value = '200', ) - ], - auth_type = 'none', - bearer_token = 'abcd-1234-...', - body = '', - collect_api_response = 'true', - headers = [ - thousandeyes_sdk.tests.models.api_request_header.ApiRequestHeader( - key = 'x-custom-header', - value = 'keep-alive', ) - ], - method = 'get', - name = 'Step 1', - password = 'basic_pw123', - url = 'https://api.thousandeyes.com/v7/status', - username = 'ThousandEyesUserName', - variables = [ - thousandeyes_sdk.tests.models.api_request_variable.ApiRequestVariable( - value = 'tests[0].name', ) - ], - wait_time_ms = 0, ) - ], - url = 'www.thousandeyes.com', - ) - """ - - def testUpdateApiTest(self): - """Test UpdateApiTest""" - # 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/thousandeyes-sdk-tests/test/test_update_bgp_test.py b/thousandeyes-sdk-tests/test/test_update_bgp_test.py deleted file mode 100644 index 9d565e1e..00000000 --- a/thousandeyes-sdk-tests/test/test_update_bgp_test.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_bgp_test import UpdateBgpTest - -class TestUpdateBgpTest(unittest.TestCase): - """UpdateBgpTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateBgpTest: - """Test UpdateBgpTest - include_option 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 `UpdateBgpTest` - """ - model = UpdateBgpTest() - if include_optional: - return UpdateBgpTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'bgp', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - enabled = True, - monitors = ["17410","5"], - include_covered_prefixes = True, - use_public_bgp = True, - alerts_enabled = True, - alert_rules = ["344753","212697"], - prefix = '' - ) - else: - return UpdateBgpTest( - prefix = '', - ) - """ - - def testUpdateBgpTest(self): - """Test UpdateBgpTest""" - # 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/thousandeyes-sdk-tests/test/test_update_bgp_test_request.py b/thousandeyes-sdk-tests/test/test_update_bgp_test_request.py deleted file mode 100644 index 72cfabe7..00000000 --- a/thousandeyes-sdk-tests/test/test_update_bgp_test_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_bgp_test_request import UpdateBgpTestRequest - -class TestUpdateBgpTestRequest(unittest.TestCase): - """UpdateBgpTestRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateBgpTestRequest: - """Test UpdateBgpTestRequest - include_option 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 `UpdateBgpTestRequest` - """ - model = UpdateBgpTestRequest() - if include_optional: - return UpdateBgpTestRequest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'bgp', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - enabled = True, - monitors = ["17410","5"], - include_covered_prefixes = True, - use_public_bgp = True, - alerts_enabled = True, - alert_rules = ["344753","212697"] - ) - else: - return UpdateBgpTestRequest( - ) - """ - - def testUpdateBgpTestRequest(self): - """Test UpdateBgpTestRequest""" - # 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/thousandeyes-sdk-tests/test/test_update_dns_sec_test.py b/thousandeyes-sdk-tests/test/test_update_dns_sec_test.py deleted file mode 100644 index de502c11..00000000 --- a/thousandeyes-sdk-tests/test/test_update_dns_sec_test.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_dns_sec_test import UpdateDnsSecTest - -class TestUpdateDnsSecTest(unittest.TestCase): - """UpdateDnsSecTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateDnsSecTest: - """Test UpdateDnsSecTest - include_option 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 `UpdateDnsSecTest` - """ - model = UpdateDnsSecTest() - if include_optional: - return UpdateDnsSecTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dnssec', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return UpdateDnsSecTest( - interval = 120, - domain = 'www.thousandeyes.com', - ) - """ - - def testUpdateDnsSecTest(self): - """Test UpdateDnsSecTest""" - # 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/thousandeyes-sdk-tests/test/test_update_dns_server_test.py b/thousandeyes-sdk-tests/test/test_update_dns_server_test.py deleted file mode 100644 index 118781ed..00000000 --- a/thousandeyes-sdk-tests/test/test_update_dns_server_test.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_dns_server_test import UpdateDnsServerTest - -class TestUpdateDnsServerTest(unittest.TestCase): - """UpdateDnsServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateDnsServerTest: - """Test UpdateDnsServerTest - include_option 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 `UpdateDnsServerTest` - """ - model = UpdateDnsServerTest() - if include_optional: - return UpdateDnsServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - bandwidth_measurements = True, - dns_servers = ["dns-example.net","8.8.8.8"], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - recursive_queries = True, - ipv6_policy = 'use-agent-policy', - fixed_packet_rate = 50, - dns_query_class = 'in', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = ["17410","5"] - ) - else: - return UpdateDnsServerTest( - interval = 120, - dns_servers = ["dns-example.net","8.8.8.8"], - domain = 'www.thousandeyes.com', - ) - """ - - def testUpdateDnsServerTest(self): - """Test UpdateDnsServerTest""" - # 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/thousandeyes-sdk-tests/test/test_update_dns_trace_test.py b/thousandeyes-sdk-tests/test/test_update_dns_trace_test.py deleted file mode 100644 index f4ad901c..00000000 --- a/thousandeyes-sdk-tests/test/test_update_dns_trace_test.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_dns_trace_test import UpdateDnsTraceTest - -class TestUpdateDnsTraceTest(unittest.TestCase): - """UpdateDnsTraceTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateDnsTraceTest: - """Test UpdateDnsTraceTest - include_option 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 `UpdateDnsTraceTest` - """ - model = UpdateDnsTraceTest() - if include_optional: - return UpdateDnsTraceTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'dns-trace', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - dns_transport_protocol = 'udp', - domain = 'www.thousandeyes.com', - dns_query_class = 'in', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ] - ) - else: - return UpdateDnsTraceTest( - interval = 120, - domain = 'www.thousandeyes.com', - ) - """ - - def testUpdateDnsTraceTest(self): - """Test UpdateDnsTraceTest""" - # 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/thousandeyes-sdk-tests/test/test_update_ftp_server_test.py b/thousandeyes-sdk-tests/test/test_update_ftp_server_test.py deleted file mode 100644 index fd672df3..00000000 --- a/thousandeyes-sdk-tests/test/test_update_ftp_server_test.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_ftp_server_test import UpdateFtpServerTest - -class TestUpdateFtpServerTest(unittest.TestCase): - """UpdateFtpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateFtpServerTest: - """Test UpdateFtpServerTest - include_option 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 `UpdateFtpServerTest` - """ - model = UpdateFtpServerTest() - if include_optional: - return UpdateFtpServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'ftp-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - bandwidth_measurements = True, - download_limit = 1048576, - ftp_target_time = 1000, - ftp_time_limit = 10, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - request_type = 'download', - url = 'www.thousandeyes.com', - use_active_ftp = True, - use_explicit_ftps = False, - username = 'username', - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = ["17410","5"] - ) - else: - return UpdateFtpServerTest( - interval = 120, - password = 'password', - request_type = 'download', - url = 'www.thousandeyes.com', - username = 'username', - ) - """ - - def testUpdateFtpServerTest(self): - """Test UpdateFtpServerTest""" - # 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/thousandeyes-sdk-tests/test/test_update_http_server_test.py b/thousandeyes-sdk-tests/test/test_update_http_server_test.py deleted file mode 100644 index d66ff2ef..00000000 --- a/thousandeyes-sdk-tests/test/test_update_http_server_test.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_http_server_test import UpdateHttpServerTest - -class TestUpdateHttpServerTest(unittest.TestCase): - """UpdateHttpServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateHttpServerTest: - """Test UpdateHttpServerTest - include_option 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 `UpdateHttpServerTest` - """ - model = UpdateHttpServerTest() - if include_optional: - return UpdateHttpServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'http-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - headers = ["header1: value1","header2: value2"], - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - download_limit = 2048, - dns_override = '8.8.8.8', - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - post_body = '{ "example" : "value"}', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - ipv6_policy = 'use-agent-policy', - follow_redirects = True, - fixed_packet_rate = 50, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = ["17410","5"] - ) - else: - return UpdateHttpServerTest( - interval = 120, - url = 'www.thousandeyes.com', - ) - """ - - def testUpdateHttpServerTest(self): - """Test UpdateHttpServerTest""" - # 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/thousandeyes-sdk-tests/test/test_update_page_load_test.py b/thousandeyes-sdk-tests/test/test_update_page_load_test.py deleted file mode 100644 index eec7510e..00000000 --- a/thousandeyes-sdk-tests/test/test_update_page_load_test.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_page_load_test import UpdatePageLoadTest - -class TestUpdatePageLoadTest(unittest.TestCase): - """UpdatePageLoadTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdatePageLoadTest: - """Test UpdatePageLoadTest - include_option 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 `UpdatePageLoadTest` - """ - model = UpdatePageLoadTest() - if include_optional: - return UpdatePageLoadTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'page-load', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - page_load_target_time = 10, - page_load_time_limit = 5, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = ["17410","5"], - http_interval = 120, - subinterval = 60 - ) - else: - return UpdatePageLoadTest( - interval = 120, - url = 'www.thousandeyes.com', - ) - """ - - def testUpdatePageLoadTest(self): - """Test UpdatePageLoadTest""" - # 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/thousandeyes-sdk-tests/test/test_update_sip_server_test.py b/thousandeyes-sdk-tests/test/test_update_sip_server_test.py deleted file mode 100644 index 09976733..00000000 --- a/thousandeyes-sdk-tests/test/test_update_sip_server_test.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_sip_server_test import UpdateSipServerTest - -class TestUpdateSipServerTest(unittest.TestCase): - """UpdateSipServerTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateSipServerTest: - """Test UpdateSipServerTest - include_option 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 `UpdateSipServerTest` - """ - model = UpdateSipServerTest() - if include_optional: - return UpdateSipServerTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - target_sip_credentials = thousandeyes_sdk.tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ), - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return UpdateSipServerTest( - interval = 120, - target_sip_credentials = thousandeyes_sdk.tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ), - ) - """ - - def testUpdateSipServerTest(self): - """Test UpdateSipServerTest""" - # 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/thousandeyes-sdk-tests/test/test_update_sip_server_test1.py b/thousandeyes-sdk-tests/test/test_update_sip_server_test1.py deleted file mode 100644 index 9041a3b8..00000000 --- a/thousandeyes-sdk-tests/test/test_update_sip_server_test1.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_sip_server_test1 import UpdateSipServerTest1 - -class TestUpdateSipServerTest1(unittest.TestCase): - """UpdateSipServerTest1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateSipServerTest1: - """Test UpdateSipServerTest1 - include_option 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 `UpdateSipServerTest1` - """ - model = UpdateSipServerTest1() - if include_optional: - return UpdateSipServerTest1( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'sip-server', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - options_regex = '["a-z"]', - path_trace_mode = 'classic', - probe_mode = 'auto', - register_enabled = True, - sip_target_time = 100, - sip_time_limit = 5, - fixed_packet_rate = 50, - ipv6_policy = 'use-agent-policy', - agents = [ - null - ], - target_sip_credentials = thousandeyes_sdk.tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ), - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return UpdateSipServerTest1( - interval = 120, - target_sip_credentials = thousandeyes_sdk.tests.models.test_sip_credentials.TestSipCredentials( - auth_user = 'username', - password = 'password', - port = 1, - protocol = 'tcp', - sip_registrar = 'voice.thousandeyes.com', - user = 'username', ), - ) - """ - - def testUpdateSipServerTest1(self): - """Test UpdateSipServerTest1""" - # 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/thousandeyes-sdk-tests/test/test_update_voice_test.py b/thousandeyes-sdk-tests/test/test_update_voice_test.py deleted file mode 100644 index d9931da6..00000000 --- a/thousandeyes-sdk-tests/test/test_update_voice_test.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_voice_test import UpdateVoiceTest - -class TestUpdateVoiceTest(unittest.TestCase): - """UpdateVoiceTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateVoiceTest: - """Test UpdateVoiceTest - include_option 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 `UpdateVoiceTest` - """ - model = UpdateVoiceTest() - if include_optional: - return UpdateVoiceTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'voice', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - codec = 'G.711 @ 64 Kbps', - codec_id = '0', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - duration = 5, - jitter_buffer = 0, - num_path_traces = 1, - port = 1024, - target_agent_id = '281474976710706', - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return UpdateVoiceTest( - interval = 120, - target_agent_id = '281474976710706', - ) - """ - - def testUpdateVoiceTest(self): - """Test UpdateVoiceTest""" - # 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/thousandeyes-sdk-tests/test/test_update_web_transaction_test.py b/thousandeyes-sdk-tests/test/test_update_web_transaction_test.py deleted file mode 100644 index 1d82b0bc..00000000 --- a/thousandeyes-sdk-tests/test/test_update_web_transaction_test.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.update_web_transaction_test import UpdateWebTransactionTest - -class TestUpdateWebTransactionTest(unittest.TestCase): - """UpdateWebTransactionTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateWebTransactionTest: - """Test UpdateWebTransactionTest - include_option 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 `UpdateWebTransactionTest` - """ - model = UpdateWebTransactionTest() - if include_optional: - return UpdateWebTransactionTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = ["344753","212697"], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'web-transactions', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = ["9842","1283"], - shared_with_accounts = ["1234","12345"], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - {"agentId":"125","sourceIpAddress":"1.1.1.1"} - ], - credentials = ["3247","1051"], - bgp_measurements = True, - use_public_bgp = True, - monitors = ["17410","5"], - subinterval = 60 - ) - else: - return UpdateWebTransactionTest( - interval = 120, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - ) - """ - - def testUpdateWebTransactionTest(self): - """Test UpdateWebTransactionTest""" - # 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/thousandeyes-sdk-tests/test/test_validation_error.py b/thousandeyes-sdk-tests/test/test_validation_error.py deleted file mode 100644 index 8b961cd8..00000000 --- a/thousandeyes-sdk-tests/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.tests.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-tests/test/test_validation_error_item.py b/thousandeyes-sdk-tests/test/test_validation_error_item.py deleted file mode 100644 index 213cb352..00000000 --- a/thousandeyes-sdk-tests/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # 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/thousandeyes-sdk-tests/test/test_voice_instant_test.py b/thousandeyes-sdk-tests/test/test_voice_instant_test.py deleted file mode 100644 index 66d705a6..00000000 --- a/thousandeyes-sdk-tests/test/test_voice_instant_test.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.voice_instant_test import VoiceInstantTest - -class TestVoiceInstantTest(unittest.TestCase): - """VoiceInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VoiceInstantTest: - """Test VoiceInstantTest - include_option 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 `VoiceInstantTest` - """ - model = VoiceInstantTest() - if include_optional: - return VoiceInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'voice', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - codec = 'G.711 @ 64 Kbps', - codec_id = '0', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - duration = 5, - jitter_buffer = 0, - num_path_traces = 1, - port = 1024, - target_agent_id = '281474976710706', - agents = [ - null - ] - ) - else: - return VoiceInstantTest( - target_agent_id = '281474976710706', - ) - """ - - def testVoiceInstantTest(self): - """Test VoiceInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_voice_properties.py b/thousandeyes-sdk-tests/test/test_voice_properties.py deleted file mode 100644 index 8bb952cf..00000000 --- a/thousandeyes-sdk-tests/test/test_voice_properties.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.voice_properties import VoiceProperties - -class TestVoiceProperties(unittest.TestCase): - """VoiceProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VoiceProperties: - """Test VoiceProperties - include_option 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 `VoiceProperties` - """ - model = VoiceProperties() - if include_optional: - return VoiceProperties( - codec = 'G.711 @ 64 Kbps', - codec_id = '0', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - duration = 5, - jitter_buffer = 0, - num_path_traces = 1, - port = 1024, - target_agent_id = '281474976710706', - type = 'voice' - ) - else: - return VoiceProperties( - target_agent_id = '281474976710706', - ) - """ - - def testVoiceProperties(self): - """Test VoiceProperties""" - # 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/thousandeyes-sdk-tests/test/test_voice_test.py b/thousandeyes-sdk-tests/test/test_voice_test.py deleted file mode 100644 index f3146811..00000000 --- a/thousandeyes-sdk-tests/test/test_voice_test.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.voice_test import VoiceTest - -class TestVoiceTest(unittest.TestCase): - """VoiceTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VoiceTest: - """Test VoiceTest - include_option 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 `VoiceTest` - """ - model = VoiceTest() - if include_optional: - return VoiceTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'voice', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - codec = 'G.711 @ 64 Kbps', - codec_id = '0', - dscp = 'Best Effort (DSCP 0)', - dscp_id = '0', - duration = 5, - jitter_buffer = 0, - num_path_traces = 1, - port = 1024, - target_agent_id = '281474976710706', - agents = [ - null - ], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ] - ) - else: - return VoiceTest( - interval = 120, - target_agent_id = '281474976710706', - ) - """ - - def testVoiceTest(self): - """Test VoiceTest""" - # 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/thousandeyes-sdk-tests/test/test_voice_tests.py b/thousandeyes-sdk-tests/test/test_voice_tests.py deleted file mode 100644 index 01f15b4f..00000000 --- a/thousandeyes-sdk-tests/test/test_voice_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.voice_tests import VoiceTests - -class TestVoiceTests(unittest.TestCase): - """VoiceTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VoiceTests: - """Test VoiceTests - include_option 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 `VoiceTests` - """ - model = VoiceTests() - if include_optional: - return VoiceTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return VoiceTests( - ) - """ - - def testVoiceTests(self): - """Test VoiceTests""" - # 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/thousandeyes-sdk-tests/test/test_web_transaction_instant_test.py b/thousandeyes-sdk-tests/test/test_web_transaction_instant_test.py deleted file mode 100644 index 32a91ad2..00000000 --- a/thousandeyes-sdk-tests/test/test_web_transaction_instant_test.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.web_transaction_instant_test import WebTransactionInstantTest - -class TestWebTransactionInstantTest(unittest.TestCase): - """WebTransactionInstantTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionInstantTest: - """Test WebTransactionInstantTest - include_option 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 `WebTransactionInstantTest` - """ - model = WebTransactionInstantTest() - if include_optional: - return WebTransactionInstantTest( - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'web-transactions', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - null - ], - credentials = ["3247","1051"] - ) - else: - return WebTransactionInstantTest( - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - ) - """ - - def testWebTransactionInstantTest(self): - """Test WebTransactionInstantTest""" - # 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/thousandeyes-sdk-tests/test/test_web_transaction_properties.py b/thousandeyes-sdk-tests/test/test_web_transaction_properties.py deleted file mode 100644 index b60a3aad..00000000 --- a/thousandeyes-sdk-tests/test/test_web_transaction_properties.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.web_transaction_properties import WebTransactionProperties - -class TestWebTransactionProperties(unittest.TestCase): - """WebTransactionProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionProperties: - """Test WebTransactionProperties - include_option 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 `WebTransactionProperties` - """ - model = WebTransactionProperties() - if include_optional: - return WebTransactionProperties( - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - type = 'web-transactions' - ) - else: - return WebTransactionProperties( - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - ) - """ - - def testWebTransactionProperties(self): - """Test WebTransactionProperties""" - # 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/thousandeyes-sdk-tests/test/test_web_transaction_test.py b/thousandeyes-sdk-tests/test/test_web_transaction_test.py deleted file mode 100644 index 63b211d7..00000000 --- a/thousandeyes-sdk-tests/test/test_web_transaction_test.py +++ /dev/null @@ -1,151 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.web_transaction_test import WebTransactionTest - -class TestWebTransactionTest(unittest.TestCase): - """WebTransactionTest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionTest: - """Test WebTransactionTest - include_option 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 `WebTransactionTest` - """ - model = WebTransactionTest() - if include_optional: - return WebTransactionTest( - interval = 120, - alerts_enabled = True, - enabled = True, - alert_rules = [ - thousandeyes_sdk.tests.models.alert_rule.AlertRule( - rule_id = '127094', - rule_name = 'The End of the Internet', - expression = '((hops((hopDelay >= 100 ms))))', - direction = 'to-target', - is_default = True, - alert_type = 'http-server', - minimum_sources = 10, - minimum_sources_pct = 99, - rounds_violating_mode = 'exact', - rounds_violating_out_of = 5, - rounds_violating_required = 2, - severity = 'major', ) - ], - created_by = 'user@user.com', - created_date = '2022-07-17T22:00:54Z', - description = 'ThousandEyes Test', - live_share = False, - modified_by = 'user@user.com', - modified_date = '2022-07-17T22:00:54Z', - saved_event = True, - test_id = '281474976710706', - test_name = 'ThousandEyes Test', - type = 'web-transactions', - links = thousandeyes_sdk.tests.models.test_links.TestLinks( - self = null, - test_results = [{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}], ), - labels = [ - {"labelId":"961","name":"Artem label","isBuiltin":false} - ], - shared_with_accounts = [ - thousandeyes_sdk.tests.models.shared_with_account.SharedWithAccount( - aid = '1234', - name = 'Account name', ) - ], - auth_type = 'none', - bandwidth_measurements = True, - client_certificate = '-----BEGIN PRIVATE KEY----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END PRIVATE KEY----- ------BEGIN CERTIFICATE----- -MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL ------END CERTIFICATE----- -', - content_regex = '(regex)+', - custom_headers = {"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}}, - desired_status_code = '200', - emulated_device_id = '2', - follow_redirects = True, - http_target_time = 100, - http_time_limit = 5, - http_version = 1, - include_headers = True, - mtu_measurements = False, - network_measurements = True, - num_path_traces = 1, - password = 'password', - path_trace_mode = 'classic', - probe_mode = 'auto', - protocol = 'tcp', - ssl_version = 'Auto', - ssl_version_id = '0', - target_time = 1, - time_limit = 5, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - use_ntlm = False, - user_agent = 'curl', - username = 'username', - verify_certificate = True, - allow_unsafe_legacy_renegotiation = True, - block_domains = 'domain.com/', - disable_screenshot = True, - allow_mic_and_camera = True, - allow_geolocation = True, - browser_language = 'en-US', - page_loading_strategy = 'normal', - fixed_packet_rate = 50, - agents = [ - null - ], - credentials = ["3247","1051"], - bgp_measurements = True, - use_public_bgp = True, - monitors = [ - thousandeyes_sdk.tests.models.monitor.Monitor( - country_id = 'GB', - monitor_id = '1234', - ip_address = '4.69.184.193', - network = 'Level 3 Communications, Inc. (AS 3356)', - monitor_type = 'public', - monitor_name = 'Seattle, WA', ) - ], - subinterval = 60 - ) - else: - return WebTransactionTest( - interval = 120, - transaction_script = 'if (true) { return true; }', - url = 'www.thousandeyes.com', - ) - """ - - def testWebTransactionTest(self): - """Test WebTransactionTest""" - # 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/thousandeyes-sdk-tests/test/test_web_transaction_tests.py b/thousandeyes-sdk-tests/test/test_web_transaction_tests.py deleted file mode 100644 index c2576d53..00000000 --- a/thousandeyes-sdk-tests/test/test_web_transaction_tests.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Tests API - - This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.tests.models.web_transaction_tests import WebTransactionTests - -class TestWebTransactionTests(unittest.TestCase): - """WebTransactionTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WebTransactionTests: - """Test WebTransactionTests - include_option 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 `WebTransactionTests` - """ - model = WebTransactionTests() - if include_optional: - return WebTransactionTests( - tests = [ - null - ], - links = thousandeyes_sdk.tests.models.self_links.SelfLinks( - self = thousandeyes_sdk.tests.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return WebTransactionTests( - ) - """ - - def testWebTransactionTests(self): - """Test WebTransactionTests""" - # 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/thousandeyes-sdk-usage/test/test_account_group_quota.py b/thousandeyes-sdk-usage/test/test_account_group_quota.py deleted file mode 100644 index 7d7879bc..00000000 --- a/thousandeyes-sdk-usage/test/test_account_group_quota.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.account_group_quota import AccountGroupQuota - -class TestAccountGroupQuota(unittest.TestCase): - """AccountGroupQuota unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AccountGroupQuota: - """Test AccountGroupQuota - include_option 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 `AccountGroupQuota` - """ - model = AccountGroupQuota() - if include_optional: - return AccountGroupQuota( - value = 12000, - aid = '1234' - ) - else: - return AccountGroupQuota( - ) - """ - - def testAccountGroupQuota(self): - """Test AccountGroupQuota""" - # 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/thousandeyes-sdk-usage/test/test_endpoint_agents.py b/thousandeyes-sdk-usage/test/test_endpoint_agents.py deleted file mode 100644 index 560c2a27..00000000 --- a/thousandeyes-sdk-usage/test/test_endpoint_agents.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.endpoint_agents import EndpointAgents - -class TestEndpointAgents(unittest.TestCase): - """EndpointAgents unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgents: - """Test EndpointAgents - include_option 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 `EndpointAgents` - """ - model = EndpointAgents() - if include_optional: - return EndpointAgents( - aid = '1234', - account_group_name = 'Account A', - endpoint_agents_used = 56 - ) - else: - return EndpointAgents( - ) - """ - - def testEndpointAgents(self): - """Test EndpointAgents""" - # 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/thousandeyes-sdk-usage/test/test_endpoint_agents_embedded.py b/thousandeyes-sdk-usage/test/test_endpoint_agents_embedded.py deleted file mode 100644 index 14be2faa..00000000 --- a/thousandeyes-sdk-usage/test/test_endpoint_agents_embedded.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.endpoint_agents_embedded import EndpointAgentsEmbedded - -class TestEndpointAgentsEmbedded(unittest.TestCase): - """EndpointAgentsEmbedded unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentsEmbedded: - """Test EndpointAgentsEmbedded - include_option 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 `EndpointAgentsEmbedded` - """ - model = EndpointAgentsEmbedded() - if include_optional: - return EndpointAgentsEmbedded( - aid = '1234', - account_group_name = 'Account A', - endpoint_agents_embedded_used = 56 - ) - else: - return EndpointAgentsEmbedded( - ) - """ - - def testEndpointAgentsEmbedded(self): - """Test EndpointAgentsEmbedded""" - # 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/thousandeyes-sdk-usage/test/test_endpoint_agents_essentials.py b/thousandeyes-sdk-usage/test/test_endpoint_agents_essentials.py deleted file mode 100644 index b564fc4e..00000000 --- a/thousandeyes-sdk-usage/test/test_endpoint_agents_essentials.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.endpoint_agents_essentials import EndpointAgentsEssentials - -class TestEndpointAgentsEssentials(unittest.TestCase): - """EndpointAgentsEssentials unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EndpointAgentsEssentials: - """Test EndpointAgentsEssentials - include_option 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 `EndpointAgentsEssentials` - """ - model = EndpointAgentsEssentials() - if include_optional: - return EndpointAgentsEssentials( - aid = '1234', - account_group_name = 'Account A', - endpoint_agents_essentials_used = 56 - ) - else: - return EndpointAgentsEssentials( - ) - """ - - def testEndpointAgentsEssentials(self): - """Test EndpointAgentsEssentials""" - # 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/thousandeyes-sdk-usage/test/test_enterprise_agent_units.py b/thousandeyes-sdk-usage/test/test_enterprise_agent_units.py deleted file mode 100644 index 4e7d5ba6..00000000 --- a/thousandeyes-sdk-usage/test/test_enterprise_agent_units.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.enterprise_agent_units import EnterpriseAgentUnits - -class TestEnterpriseAgentUnits(unittest.TestCase): - """EnterpriseAgentUnits unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgentUnits: - """Test EnterpriseAgentUnits - include_option 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 `EnterpriseAgentUnits` - """ - model = EnterpriseAgentUnits() - if include_optional: - return EnterpriseAgentUnits( - aid = '1234', - account_group_name = 'Account A', - agent_id = '', - agent_name = '', - enterprise_units_used = 56, - enterprise_units_projected = 56, - vagent_id = '' - ) - else: - return EnterpriseAgentUnits( - ) - """ - - def testEnterpriseAgentUnits(self): - """Test EnterpriseAgentUnits""" - # 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/thousandeyes-sdk-usage/test/test_enterprise_agent_units_by_test_owner_account_group.py b/thousandeyes-sdk-usage/test/test_enterprise_agent_units_by_test_owner_account_group.py deleted file mode 100644 index fbb07299..00000000 --- a/thousandeyes-sdk-usage/test/test_enterprise_agent_units_by_test_owner_account_group.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.enterprise_agent_units_by_test_owner_account_group import EnterpriseAgentUnitsByTestOwnerAccountGroup - -class TestEnterpriseAgentUnitsByTestOwnerAccountGroup(unittest.TestCase): - """EnterpriseAgentUnitsByTestOwnerAccountGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgentUnitsByTestOwnerAccountGroup: - """Test EnterpriseAgentUnitsByTestOwnerAccountGroup - include_option 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 `EnterpriseAgentUnitsByTestOwnerAccountGroup` - """ - model = EnterpriseAgentUnitsByTestOwnerAccountGroup() - if include_optional: - return EnterpriseAgentUnitsByTestOwnerAccountGroup( - aid = '1234', - account_group_name = 'Account A', - agent_id = '', - agent_name = '', - enterprise_units_used = 56, - enterprise_units_projected = 56, - vagent_id = '' - ) - else: - return EnterpriseAgentUnitsByTestOwnerAccountGroup( - ) - """ - - def testEnterpriseAgentUnitsByTestOwnerAccountGroup(self): - """Test EnterpriseAgentUnitsByTestOwnerAccountGroup""" - # 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/thousandeyes-sdk-usage/test/test_enterprise_agents.py b/thousandeyes-sdk-usage/test/test_enterprise_agents.py deleted file mode 100644 index 98931bd5..00000000 --- a/thousandeyes-sdk-usage/test/test_enterprise_agents.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.enterprise_agents import EnterpriseAgents - -class TestEnterpriseAgents(unittest.TestCase): - """EnterpriseAgents unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgents: - """Test EnterpriseAgents - include_option 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 `EnterpriseAgents` - """ - model = EnterpriseAgents() - if include_optional: - return EnterpriseAgents( - aid = '1234', - account_group_name = 'Account A', - enterprise_agents_used = 56 - ) - else: - return EnterpriseAgents( - ) - """ - - def testEnterpriseAgents(self): - """Test EnterpriseAgents""" - # 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/thousandeyes-sdk-usage/test/test_enterprise_agents_usage.py b/thousandeyes-sdk-usage/test/test_enterprise_agents_usage.py deleted file mode 100644 index e8f20d49..00000000 --- a/thousandeyes-sdk-usage/test/test_enterprise_agents_usage.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.enterprise_agents_usage import EnterpriseAgentsUsage - -class TestEnterpriseAgentsUsage(unittest.TestCase): - """EnterpriseAgentsUsage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EnterpriseAgentsUsage: - """Test EnterpriseAgentsUsage - include_option 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 `EnterpriseAgentsUsage` - """ - model = EnterpriseAgentsUsage() - if include_optional: - return EnterpriseAgentsUsage( - breakdowns = [{"aid":"1234","agentId":"121404","accountGroupName":"Support","agentName":"TEVA-test-agent","enterpriseUnitsUsed":599878,"enterpriseUnitsProjected":597808,"vagentId":"123456"},{"aid":"315","agentId":"121404","accountGroupName":"Documentation","agentName":"lab-physical-appliance-1","enterpriseUnitsUsed":597123,"enterpriseUnitsProjected":597808,"vagentId":"789"}], - links = thousandeyes_sdk.usage.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return EnterpriseAgentsUsage( - ) - """ - - def testEnterpriseAgentsUsage(self): - """Test EnterpriseAgentsUsage""" - # 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/thousandeyes-sdk-usage/test/test_error.py b/thousandeyes-sdk-usage/test/test_error.py deleted file mode 100644 index 1c2a2273..00000000 --- a/thousandeyes-sdk-usage/test/test_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.error import Error - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Error: - """Test Error - include_option 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 `Error` - """ - model = Error() - if include_optional: - return Error( - type = '', - title = '', - status = 56, - detail = '', - instance = '' - ) - else: - return Error( - ) - """ - - def testError(self): - """Test Error""" - # 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/thousandeyes-sdk-usage/test/test_expand.py b/thousandeyes-sdk-usage/test/test_expand.py deleted file mode 100644 index f348fec6..00000000 --- a/thousandeyes-sdk-usage/test/test_expand.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.expand import Expand - -class TestExpand(unittest.TestCase): - """Expand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExpand(self): - """Test Expand""" - # inst = Expand() - -if __name__ == '__main__': - unittest.main() diff --git a/thousandeyes-sdk-usage/test/test_link.py b/thousandeyes-sdk-usage/test/test_link.py deleted file mode 100644 index c343f774..00000000 --- a/thousandeyes-sdk-usage/test/test_link.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.link import Link - -class TestLink(unittest.TestCase): - """Link unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Link: - """Test Link - include_option 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 `Link` - """ - model = Link() - if include_optional: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '' - ) - else: - return Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - ) - """ - - def testLink(self): - """Test Link""" - # 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/thousandeyes-sdk-usage/test/test_organization_quota.py b/thousandeyes-sdk-usage/test/test_organization_quota.py deleted file mode 100644 index 921d5380..00000000 --- a/thousandeyes-sdk-usage/test/test_organization_quota.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.organization_quota import OrganizationQuota - -class TestOrganizationQuota(unittest.TestCase): - """OrganizationQuota unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> OrganizationQuota: - """Test OrganizationQuota - include_option 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 `OrganizationQuota` - """ - model = OrganizationQuota() - if include_optional: - return OrganizationQuota( - value = 22500, - org_id = '10' - ) - else: - return OrganizationQuota( - value = 22500, - ) - """ - - def testOrganizationQuota(self): - """Test OrganizationQuota""" - # 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/thousandeyes-sdk-usage/test/test_organization_quota_assignment.py b/thousandeyes-sdk-usage/test/test_organization_quota_assignment.py deleted file mode 100644 index 345f283f..00000000 --- a/thousandeyes-sdk-usage/test/test_organization_quota_assignment.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.organization_quota_assignment import OrganizationQuotaAssignment - -class TestOrganizationQuotaAssignment(unittest.TestCase): - """OrganizationQuotaAssignment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> OrganizationQuotaAssignment: - """Test OrganizationQuotaAssignment - include_option 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 `OrganizationQuotaAssignment` - """ - model = OrganizationQuotaAssignment() - if include_optional: - return OrganizationQuotaAssignment( - org_id = '1234', - account_groups = [ - thousandeyes_sdk.usage.models.account_group_quota.AccountGroupQuota( - value = 12000, - aid = '1234', ) - ] - ) - else: - return OrganizationQuotaAssignment( - ) - """ - - def testOrganizationQuotaAssignment(self): - """Test OrganizationQuotaAssignment""" - # 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/thousandeyes-sdk-usage/test/test_organization_quota_unassignment.py b/thousandeyes-sdk-usage/test/test_organization_quota_unassignment.py deleted file mode 100644 index daf2b5be..00000000 --- a/thousandeyes-sdk-usage/test/test_organization_quota_unassignment.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.organization_quota_unassignment import OrganizationQuotaUnassignment - -class TestOrganizationQuotaUnassignment(unittest.TestCase): - """OrganizationQuotaUnassignment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> OrganizationQuotaUnassignment: - """Test OrganizationQuotaUnassignment - include_option 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 `OrganizationQuotaUnassignment` - """ - model = OrganizationQuotaUnassignment() - if include_optional: - return OrganizationQuotaUnassignment( - org_id = '1234', - account_groups = ["1234","12345"] - ) - else: - return OrganizationQuotaUnassignment( - ) - """ - - def testOrganizationQuotaUnassignment(self): - """Test OrganizationQuotaUnassignment""" - # 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/thousandeyes-sdk-usage/test/test_organizations_quotas_assign.py b/thousandeyes-sdk-usage/test/test_organizations_quotas_assign.py deleted file mode 100644 index 9e8177b6..00000000 --- a/thousandeyes-sdk-usage/test/test_organizations_quotas_assign.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.organizations_quotas_assign import OrganizationsQuotasAssign - -class TestOrganizationsQuotasAssign(unittest.TestCase): - """OrganizationsQuotasAssign unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> OrganizationsQuotasAssign: - """Test OrganizationsQuotasAssign - include_option 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 `OrganizationsQuotasAssign` - """ - model = OrganizationsQuotasAssign() - if include_optional: - return OrganizationsQuotasAssign( - organizations = [ - thousandeyes_sdk.usage.models.organization_quota_assignment.OrganizationQuotaAssignment( - org_id = '1234', - account_groups = [ - thousandeyes_sdk.usage.models.account_group_quota.AccountGroupQuota( - value = 12000, - aid = '1234', ) - ], ) - ] - ) - else: - return OrganizationsQuotasAssign( - ) - """ - - def testOrganizationsQuotasAssign(self): - """Test OrganizationsQuotasAssign""" - # 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/thousandeyes-sdk-usage/test/test_organizations_quotas_unassign.py b/thousandeyes-sdk-usage/test/test_organizations_quotas_unassign.py deleted file mode 100644 index 15f33b50..00000000 --- a/thousandeyes-sdk-usage/test/test_organizations_quotas_unassign.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.organizations_quotas_unassign import OrganizationsQuotasUnassign - -class TestOrganizationsQuotasUnassign(unittest.TestCase): - """OrganizationsQuotasUnassign unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> OrganizationsQuotasUnassign: - """Test OrganizationsQuotasUnassign - include_option 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 `OrganizationsQuotasUnassign` - """ - model = OrganizationsQuotasUnassign() - if include_optional: - return OrganizationsQuotasUnassign( - organizations = [ - thousandeyes_sdk.usage.models.organization_quota_unassignment.OrganizationQuotaUnassignment( - org_id = '1234', - account_groups = ["1234","12345"], ) - ] - ) - else: - return OrganizationsQuotasUnassign( - ) - """ - - def testOrganizationsQuotasUnassign(self): - """Test OrganizationsQuotasUnassign""" - # 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/thousandeyes-sdk-usage/test/test_pagination_links.py b/thousandeyes-sdk-usage/test/test_pagination_links.py deleted file mode 100644 index 2fb98afe..00000000 --- a/thousandeyes-sdk-usage/test/test_pagination_links.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.pagination_links import PaginationLinks - -class TestPaginationLinks(unittest.TestCase): - """PaginationLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationLinks: - """Test PaginationLinks - include_option 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 `PaginationLinks` - """ - model = PaginationLinks() - if include_optional: - return PaginationLinks( - previous = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - var_self = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return PaginationLinks( - ) - """ - - def testPaginationLinks(self): - """Test PaginationLinks""" - # 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/thousandeyes-sdk-usage/test/test_quota.py b/thousandeyes-sdk-usage/test/test_quota.py deleted file mode 100644 index ef967a77..00000000 --- a/thousandeyes-sdk-usage/test/test_quota.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.quota import Quota - -class TestQuota(unittest.TestCase): - """Quota unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Quota: - """Test Quota - include_option 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 `Quota` - """ - model = Quota() - if include_optional: - return Quota( - organization_quota = thousandeyes_sdk.usage.models.organization_quota.OrganizationQuota( - value = 22500, - org_id = '10', ), - account_group_quotas = [{"value":12000,"aid":"1234"},{"value":10000,"aid":"12345"}] - ) - else: - return Quota( - ) - """ - - def testQuota(self): - """Test Quota""" - # 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/thousandeyes-sdk-usage/test/test_quotas.py b/thousandeyes-sdk-usage/test/test_quotas.py deleted file mode 100644 index 575ed481..00000000 --- a/thousandeyes-sdk-usage/test/test_quotas.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.quotas import Quotas - -class TestQuotas(unittest.TestCase): - """Quotas unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Quotas: - """Test Quotas - include_option 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 `Quotas` - """ - model = Quotas() - if include_optional: - return Quotas( - quotas = [ - thousandeyes_sdk.usage.models.quota.Quota( - organization_quota = thousandeyes_sdk.usage.models.organization_quota.OrganizationQuota( - value = 22500, - org_id = '10', ), - account_group_quotas = [{"value":12000,"aid":"1234"},{"value":10000,"aid":"12345"}], ) - ], - links = thousandeyes_sdk.usage.models.self_links.SelfLinks( - self = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Quotas( - ) - """ - - def testQuotas(self): - """Test Quotas""" - # 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/thousandeyes-sdk-usage/test/test_quotas_assign_request.py b/thousandeyes-sdk-usage/test/test_quotas_assign_request.py deleted file mode 100644 index 53fea74b..00000000 --- a/thousandeyes-sdk-usage/test/test_quotas_assign_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.quotas_assign_request import QuotasAssignRequest - -class TestQuotasAssignRequest(unittest.TestCase): - """QuotasAssignRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> QuotasAssignRequest: - """Test QuotasAssignRequest - include_option 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 `QuotasAssignRequest` - """ - model = QuotasAssignRequest() - if include_optional: - return QuotasAssignRequest( - organizations = [{"value":12000},{"orgId":"1234","value":10000}] - ) - else: - return QuotasAssignRequest( - ) - """ - - def testQuotasAssignRequest(self): - """Test QuotasAssignRequest""" - # 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/thousandeyes-sdk-usage/test/test_quotas_assign_response.py b/thousandeyes-sdk-usage/test/test_quotas_assign_response.py deleted file mode 100644 index 06df2b90..00000000 --- a/thousandeyes-sdk-usage/test/test_quotas_assign_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.quotas_assign_response import QuotasAssignResponse - -class TestQuotasAssignResponse(unittest.TestCase): - """QuotasAssignResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> QuotasAssignResponse: - """Test QuotasAssignResponse - include_option 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 `QuotasAssignResponse` - """ - model = QuotasAssignResponse() - if include_optional: - return QuotasAssignResponse( - organizations = [{"orgId":"1234","value":12000},{"orgId":"12345","value":10000}] - ) - else: - return QuotasAssignResponse( - ) - """ - - def testQuotasAssignResponse(self): - """Test QuotasAssignResponse""" - # 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/thousandeyes-sdk-usage/test/test_quotas_unassign.py b/thousandeyes-sdk-usage/test/test_quotas_unassign.py deleted file mode 100644 index f0a6d32d..00000000 --- a/thousandeyes-sdk-usage/test/test_quotas_unassign.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.quotas_unassign import QuotasUnassign - -class TestQuotasUnassign(unittest.TestCase): - """QuotasUnassign unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> QuotasUnassign: - """Test QuotasUnassign - include_option 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 `QuotasUnassign` - """ - model = QuotasUnassign() - if include_optional: - return QuotasUnassign( - organizations = ["1234","12345"] - ) - else: - return QuotasUnassign( - ) - """ - - def testQuotasUnassign(self): - """Test QuotasUnassign""" - # 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/thousandeyes-sdk-usage/test/test_self_links.py b/thousandeyes-sdk-usage/test/test_self_links.py deleted file mode 100644 index d1b3c914..00000000 --- a/thousandeyes-sdk-usage/test/test_self_links.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.self_links import SelfLinks - -class TestSelfLinks(unittest.TestCase): - """SelfLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SelfLinks: - """Test SelfLinks - include_option 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 `SelfLinks` - """ - model = SelfLinks() - if include_optional: - return SelfLinks( - var_self = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ) - ) - else: - return SelfLinks( - ) - """ - - def testSelfLinks(self): - """Test SelfLinks""" - # 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/thousandeyes-sdk-usage/test/test_tests.py b/thousandeyes-sdk-usage/test/test_tests.py deleted file mode 100644 index 116277a2..00000000 --- a/thousandeyes-sdk-usage/test/test_tests.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.tests import Tests - -class TestTests(unittest.TestCase): - """Tests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Tests: - """Test Tests - include_option 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 `Tests` - """ - model = Tests() - if include_optional: - return Tests( - aid = '1234', - account_group_name = 'Account A', - test_id = '', - test_name = '', - test_type = '', - cloud_units_used = 56, - cloud_units_projected = 56 - ) - else: - return Tests( - ) - """ - - def testTests(self): - """Test Tests""" - # 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/thousandeyes-sdk-usage/test/test_tests_usage.py b/thousandeyes-sdk-usage/test/test_tests_usage.py deleted file mode 100644 index 24c2c78d..00000000 --- a/thousandeyes-sdk-usage/test/test_tests_usage.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.tests_usage import TestsUsage - -class TestTestsUsage(unittest.TestCase): - """TestsUsage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TestsUsage: - """Test TestsUsage - include_option 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 `TestsUsage` - """ - model = TestsUsage() - if include_optional: - return TestsUsage( - breakdowns = [{"testId":"1158","testName":"https://app.thousandeyes.com","testType":"Web-Page Load","enterpriseUnitsUsed":14050,"enterpriseUnitsProjected":340674,"cloudUnitsUsed":10000,"cloudUnitsProjected":12000,"aid":"1234","accountGroupName":"Support"},{"testId":"1221","testName":"https://app.thousandeyes.com","testType":"Web - HTTP Server","enterpriseUnitsUsed":194051,"enterpriseUnitsProjected":30622,"cloudUnitsUsed":12000,"cloudUnitsProjected":13000,"aid":"1234","accountGroupName":"Support"}], - links = thousandeyes_sdk.usage.models.pagination_links.PaginationLinks( - previous = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - next = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), - self = , ) - ) - else: - return TestsUsage( - ) - """ - - def testTestsUsage(self): - """Test TestsUsage""" - # 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/thousandeyes-sdk-usage/test/test_unauthorized_error.py b/thousandeyes-sdk-usage/test/test_unauthorized_error.py deleted file mode 100644 index 9246cbf6..00000000 --- a/thousandeyes-sdk-usage/test/test_unauthorized_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.unauthorized_error import UnauthorizedError - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnauthorizedError: - """Test UnauthorizedError - include_option 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 `UnauthorizedError` - """ - model = UnauthorizedError() - if include_optional: - return UnauthorizedError( - error = 'invalid_token', - error_description = 'Invalid access token' - ) - else: - return UnauthorizedError( - ) - """ - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # 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/thousandeyes-sdk-usage/test/test_units_by_tests.py b/thousandeyes-sdk-usage/test/test_units_by_tests.py deleted file mode 100644 index e4b21484..00000000 --- a/thousandeyes-sdk-usage/test/test_units_by_tests.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.units_by_tests import UnitsByTests - -class TestUnitsByTests(unittest.TestCase): - """UnitsByTests unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UnitsByTests: - """Test UnitsByTests - include_option 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 `UnitsByTests` - """ - model = UnitsByTests() - if include_optional: - return UnitsByTests( - aid = '1234', - account_group_name = 'Account A', - enterprise_units_used = 56, - enterprise_units_projected = 56, - cloud_units_used = 56, - cloud_units_projected = 56, - test_id = '', - test_name = '', - test_type = '', - is_instant_test = True - ) - else: - return UnitsByTests( - ) - """ - - def testUnitsByTests(self): - """Test UnitsByTests""" - # 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/thousandeyes-sdk-usage/test/test_usage.py b/thousandeyes-sdk-usage/test/test_usage.py deleted file mode 100644 index be1e244f..00000000 --- a/thousandeyes-sdk-usage/test/test_usage.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.usage import Usage - -class TestUsage(unittest.TestCase): - """Usage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Usage: - """Test Usage - include_option 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 `Usage` - """ - model = Usage() - if include_optional: - return Usage( - usage = thousandeyes_sdk.usage.models.usage_details.UsageDetails( - quota = thousandeyes_sdk.usage.models.usage_quota.UsageQuota( - month_start = '2020-01-05T08:00Z', - month_end = '2020-02-05T08:00Z', - cloud_units_included = 4320000000, - endpoint_agents_included = 200, - endpoint_agents_essentials_included = 10, - endpoint_agents_embedded_included = 10, - enterprise_agents_included = 25, ), - cloud_units_used = 8500489, - cloud_units_projected = 20993812, - cloud_units_next_billing_period = 25123456, - enterprise_units_used = 79640902, - enterprise_units_projected = 108016317, - enterprise_units_next_billing_period = 0, - endpoint_agents_used = 42, - endpoint_agents_essentials_used = 5, - endpoint_agents_embedded_used = 5, - enterprise_agents_used = 58, - enterprise_agent_units = [{"aid":"1234","agentId":"121404","accountGroupName":"Support","agentName":"TEVA-test-agent","enterpriseUnitsUsed":599878,"enterpriseUnitsProjected":597808,"vagentId":"123456"},{"aid":"315","agentId":"121404","accountGroupName":"Documentation","agentName":"lab-physical-appliance-1","enterpriseUnitsUsed":597123,"enterpriseUnitsProjected":597808,"vagentId":"789"}], - tests = [{"aid":"1234","testId":"1158","accountGroupName":"Documentation","testName":"https://app.thousandeyes.com","testType":"Web-Page Load","cloudUnitsUsed":14050,"cloudUnitsProjected":340674},{"aid":"12345","testId":"1159","accountGroupName":"Documentation","testName":"https://support.thousandeyes.com","testType":"Web - HTTP Server","cloudUnitsUsed":64390,"cloudUnitsProjected":164457}], - endpoint_agents = [{"aid":"1234","accountGroupName":"Support","endpointAgentsUsed":22},{"aid":"12345","accountGroupName":"Documentation","endpointAgentsUsed":14}], - endpoint_agents_essentials = [{"aid":"1234","accountGroupName":"Support","endpointAgentsEssentialsUsed":2},{"aid":"12345","accountGroupName":"Documentation","endpointAgentsEssentialsUsed":3}], - endpoint_agents_embedded = [{"aid":"1234","accountGroupName":"Support","endpointAgentsEmbeddedUsed":2},{"aid":"12345","accountGroupName":"Documentation","endpointAgentsEmbeddedUsed":3}], - enterprise_agents = [{"aid":"1234","accountGroupName":"Support","enterpriseAgentsUsed":7},{"aid":"12345","accountGroupName":"Documentation","enterpriseAgentsUsed":1}], ), - links = thousandeyes_sdk.usage.models.self_links.SelfLinks( - self = thousandeyes_sdk.usage.models.link.Link( - href = 'https://api.thousandeyes.com/v7/link/to/resource/id', - templated = True, - type = '', - deprecation = '', - name = '', - profile = '', - title = '', - hreflang = '', ), ) - ) - else: - return Usage( - ) - """ - - def testUsage(self): - """Test Usage""" - # 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/thousandeyes-sdk-usage/test/test_usage_details.py b/thousandeyes-sdk-usage/test/test_usage_details.py deleted file mode 100644 index f85d4a41..00000000 --- a/thousandeyes-sdk-usage/test/test_usage_details.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.usage_details import UsageDetails - -class TestUsageDetails(unittest.TestCase): - """UsageDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UsageDetails: - """Test UsageDetails - include_option 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 `UsageDetails` - """ - model = UsageDetails() - if include_optional: - return UsageDetails( - quota = thousandeyes_sdk.usage.models.usage_quota.UsageQuota( - month_start = '2020-01-05T08:00Z', - month_end = '2020-02-05T08:00Z', - cloud_units_included = 4320000000, - endpoint_agents_included = 200, - endpoint_agents_essentials_included = 10, - endpoint_agents_embedded_included = 10, - enterprise_agents_included = 25, ), - cloud_units_used = 8500489, - cloud_units_projected = 20993812, - cloud_units_next_billing_period = 25123456, - enterprise_units_used = 79640902, - enterprise_units_projected = 108016317, - enterprise_units_next_billing_period = 0, - endpoint_agents_used = 42, - endpoint_agents_essentials_used = 5, - endpoint_agents_embedded_used = 5, - enterprise_agents_used = 58, - enterprise_agent_units = [{"aid":"1234","agentId":"121404","accountGroupName":"Support","agentName":"TEVA-test-agent","enterpriseUnitsUsed":599878,"enterpriseUnitsProjected":597808,"vagentId":"123456"},{"aid":"315","agentId":"121404","accountGroupName":"Documentation","agentName":"lab-physical-appliance-1","enterpriseUnitsUsed":597123,"enterpriseUnitsProjected":597808,"vagentId":"789"}], - tests = [{"aid":"1234","testId":"1158","accountGroupName":"Documentation","testName":"https://app.thousandeyes.com","testType":"Web-Page Load","cloudUnitsUsed":14050,"cloudUnitsProjected":340674},{"aid":"12345","testId":"1159","accountGroupName":"Documentation","testName":"https://support.thousandeyes.com","testType":"Web - HTTP Server","cloudUnitsUsed":64390,"cloudUnitsProjected":164457}], - endpoint_agents = [{"aid":"1234","accountGroupName":"Support","endpointAgentsUsed":22},{"aid":"12345","accountGroupName":"Documentation","endpointAgentsUsed":14}], - endpoint_agents_essentials = [{"aid":"1234","accountGroupName":"Support","endpointAgentsEssentialsUsed":2},{"aid":"12345","accountGroupName":"Documentation","endpointAgentsEssentialsUsed":3}], - endpoint_agents_embedded = [{"aid":"1234","accountGroupName":"Support","endpointAgentsEmbeddedUsed":2},{"aid":"12345","accountGroupName":"Documentation","endpointAgentsEmbeddedUsed":3}], - enterprise_agents = [{"aid":"1234","accountGroupName":"Support","enterpriseAgentsUsed":7},{"aid":"12345","accountGroupName":"Documentation","enterpriseAgentsUsed":1}] - ) - else: - return UsageDetails( - ) - """ - - def testUsageDetails(self): - """Test UsageDetails""" - # 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/thousandeyes-sdk-usage/test/test_usage_quota.py b/thousandeyes-sdk-usage/test/test_usage_quota.py deleted file mode 100644 index 80c15b62..00000000 --- a/thousandeyes-sdk-usage/test/test_usage_quota.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.usage_quota import UsageQuota - -class TestUsageQuota(unittest.TestCase): - """UsageQuota unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UsageQuota: - """Test UsageQuota - include_option 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 `UsageQuota` - """ - model = UsageQuota() - if include_optional: - return UsageQuota( - month_start = '2020-01-05T08:00Z', - month_end = '2020-02-05T08:00Z', - cloud_units_included = 4320000000, - endpoint_agents_included = 200, - endpoint_agents_essentials_included = 10, - endpoint_agents_embedded_included = 10, - enterprise_agents_included = 25 - ) - else: - return UsageQuota( - ) - """ - - def testUsageQuota(self): - """Test UsageQuota""" - # 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/thousandeyes-sdk-usage/test/test_validation_error.py b/thousandeyes-sdk-usage/test/test_validation_error.py deleted file mode 100644 index 7d8610a0..00000000 --- a/thousandeyes-sdk-usage/test/test_validation_error.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.validation_error import ValidationError - -class TestValidationError(unittest.TestCase): - """ValidationError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationError: - """Test ValidationError - include_option 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 `ValidationError` - """ - model = ValidationError() - if include_optional: - return ValidationError( - type = '', - title = '', - status = 56, - detail = '', - instance = '', - errors = [ - thousandeyes_sdk.usage.models.validation_error_item.ValidationErrorItem( - code = '', - field = 56, - message = '', ) - ] - ) - else: - return ValidationError( - ) - """ - - def testValidationError(self): - """Test ValidationError""" - # 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/thousandeyes-sdk-usage/test/test_validation_error_item.py b/thousandeyes-sdk-usage/test/test_validation_error_item.py deleted file mode 100644 index 11786987..00000000 --- a/thousandeyes-sdk-usage/test/test_validation_error_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Usage API - - These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the Usage API endpoints for detailed usage instructions and optional parameters. - - The version of the OpenAPI document: 7.0.4 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from thousandeyes_sdk.usage.models.validation_error_item import ValidationErrorItem - -class TestValidationErrorItem(unittest.TestCase): - """ValidationErrorItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidationErrorItem: - """Test ValidationErrorItem - include_option 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 `ValidationErrorItem` - """ - model = ValidationErrorItem() - if include_optional: - return ValidationErrorItem( - code = '', - var_field = 56, - message = '' - ) - else: - return ValidationErrorItem( - ) - """ - - def testValidationErrorItem(self): - """Test ValidationErrorItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main()