revengai 1.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- revengai/__init__.py +1035 -0
- revengai/api/__init__.py +58 -0
- revengai/api/analyses_comments_api.py +1260 -0
- revengai/api/analyses_core_api.py +4305 -0
- revengai/api/analyses_dynamic_execution_api.py +1991 -0
- revengai/api/analyses_results_metadata_api.py +2324 -0
- revengai/api/analyses_security_checks_api.py +909 -0
- revengai/api/authentication_users_api.py +1386 -0
- revengai/api/binaries_api.py +1702 -0
- revengai/api/collections_api.py +2222 -0
- revengai/api/confidence_api.py +1214 -0
- revengai/api/external_sources_api.py +1709 -0
- revengai/api/firmware_api.py +624 -0
- revengai/api/functions_ai_decompilation_api.py +2728 -0
- revengai/api/functions_block_comments_api.py +897 -0
- revengai/api/functions_core_api.py +2216 -0
- revengai/api/functions_data_types_api.py +1838 -0
- revengai/api/functions_decompilation_api.py +2097 -0
- revengai/api/functions_renaming_history_api.py +1214 -0
- revengai/api/functions_threat_score_api.py +610 -0
- revengai/api/models_api.py +303 -0
- revengai/api/search_api.py +1483 -0
- revengai/api/v1_api.py +6373 -0
- revengai/api_client.py +804 -0
- revengai/api_response.py +21 -0
- revengai/configuration.py +602 -0
- revengai/exceptions.py +216 -0
- revengai/models/__init__.py +631 -0
- revengai/models/addr.py +144 -0
- revengai/models/ai_decompilation_rating.py +37 -0
- revengai/models/analyse_created.py +99 -0
- revengai/models/analysis_access_info.py +89 -0
- revengai/models/analysis_config.py +107 -0
- revengai/models/analysis_create_request.py +132 -0
- revengai/models/analysis_create_response.py +89 -0
- revengai/models/analysis_detail_response.py +122 -0
- revengai/models/analysis_form.py +138 -0
- revengai/models/analysis_functions.py +95 -0
- revengai/models/analysis_record.py +123 -0
- revengai/models/analysis_scope.py +37 -0
- revengai/models/analysis_status.py +94 -0
- revengai/models/analysis_strings_response.py +97 -0
- revengai/models/analysis_threat_score_data.py +99 -0
- revengai/models/analysis_update_request.py +109 -0
- revengai/models/analysis_update_tags_request.py +87 -0
- revengai/models/analysis_update_tags_response.py +95 -0
- revengai/models/ann_function.py +121 -0
- revengai/models/ann_input.py +108 -0
- revengai/models/app_api_rest_v1_analyse_schema_model_name.py +44 -0
- revengai/models/app_api_rest_v1_analyse_schema_status.py +40 -0
- revengai/models/app_api_rest_v1_analyse_schema_symbols.py +97 -0
- revengai/models/app_api_rest_v1_analysis_info_responses_logs.py +99 -0
- revengai/models/app_api_rest_v1_analysis_info_schema_function_rename.py +88 -0
- revengai/models/app_api_rest_v1_ann_schema_ann_function.py +135 -0
- revengai/models/app_api_rest_v2_analyses_enums_dynamic_execution_status.py +39 -0
- revengai/models/app_api_rest_v2_analyses_enums_model_name.py +43 -0
- revengai/models/app_api_rest_v2_analyses_enums_order_by.py +38 -0
- revengai/models/app_api_rest_v2_analyses_enums_status.py +41 -0
- revengai/models/app_api_rest_v2_analyses_responses_analysis_tags.py +104 -0
- revengai/models/app_api_rest_v2_analyses_responses_logs.py +87 -0
- revengai/models/app_api_rest_v2_analyses_responses_tag_item.py +96 -0
- revengai/models/app_api_rest_v2_analyses_schemas_symbols.py +97 -0
- revengai/models/app_api_rest_v2_collections_enums_order_by.py +41 -0
- revengai/models/app_api_rest_v2_functions_rename_schema_function_rename.py +94 -0
- revengai/models/app_api_rest_v2_functions_responses_function.py +89 -0
- revengai/models/app_api_rest_v2_functions_types_function.py +109 -0
- revengai/models/app_api_rest_v2_info_responses_analysis_tags.py +104 -0
- revengai/models/app_api_rest_v2_similarity_schema_ann_function.py +121 -0
- revengai/models/app_core_responses_base_base_response_analysis_tags1.py +126 -0
- revengai/models/app_core_responses_base_base_response_analysis_tags2.py +126 -0
- revengai/models/app_services_binary_ann_schema_tag_item.py +99 -0
- revengai/models/app_services_dynamic_execution_schemas_dynamic_execution_status.py +87 -0
- revengai/models/argument.py +100 -0
- revengai/models/base_response.py +125 -0
- revengai/models/base_response_analysis_create_response.py +126 -0
- revengai/models/base_response_analysis_detail_response.py +126 -0
- revengai/models/base_response_analysis_functions.py +126 -0
- revengai/models/base_response_analysis_strings_response.py +126 -0
- revengai/models/base_response_analysis_threat_score_data.py +126 -0
- revengai/models/base_response_analysis_update_tags_response.py +126 -0
- revengai/models/base_response_basic.py +126 -0
- revengai/models/base_response_binary_additional_response.py +126 -0
- revengai/models/base_response_binary_ann_list_response.py +126 -0
- revengai/models/base_response_binary_details_response.py +126 -0
- revengai/models/base_response_binary_externals_response.py +126 -0
- revengai/models/base_response_binary_search_response.py +126 -0
- revengai/models/base_response_block_comments_generation_for_function_response.py +126 -0
- revengai/models/base_response_block_comments_overview_generation_response.py +117 -0
- revengai/models/base_response_bool.py +122 -0
- revengai/models/base_response_box_plot_confidence.py +126 -0
- revengai/models/base_response_callees_caller_functions_response.py +126 -0
- revengai/models/base_response_capabilities.py +126 -0
- revengai/models/base_response_check_security_checks_task_response.py +126 -0
- revengai/models/base_response_child_binaries_response.py +126 -0
- revengai/models/base_response_collection_binaries_update_response.py +126 -0
- revengai/models/base_response_collection_response.py +126 -0
- revengai/models/base_response_collection_search_response.py +126 -0
- revengai/models/base_response_collection_tags_update_response.py +126 -0
- revengai/models/base_response_comment_response.py +126 -0
- revengai/models/base_response_communities.py +126 -0
- revengai/models/base_response_created.py +126 -0
- revengai/models/base_response_decompilation_response.py +126 -0
- revengai/models/base_response_dict.py +122 -0
- revengai/models/base_response_dynamic_execution_status.py +126 -0
- revengai/models/base_response_external_response.py +126 -0
- revengai/models/base_response_function_analysis_threat_score_data.py +126 -0
- revengai/models/base_response_function_blocks_response.py +126 -0
- revengai/models/base_response_function_capability_response.py +126 -0
- revengai/models/base_response_function_data_types.py +126 -0
- revengai/models/base_response_function_data_types_list.py +126 -0
- revengai/models/base_response_function_search_response.py +126 -0
- revengai/models/base_response_function_strings_response.py +126 -0
- revengai/models/base_response_function_task_response.py +126 -0
- revengai/models/base_response_function_threat_score.py +126 -0
- revengai/models/base_response_functions_detail_response.py +126 -0
- revengai/models/base_response_generate_function_data_types.py +126 -0
- revengai/models/base_response_generation_status_list.py +126 -0
- revengai/models/base_response_get_ai_decompilation_rating_response.py +126 -0
- revengai/models/base_response_get_ai_decompilation_task.py +126 -0
- revengai/models/base_response_get_public_user_response.py +126 -0
- revengai/models/base_response_get_user_response.py +126 -0
- revengai/models/base_response_list_collection_results.py +126 -0
- revengai/models/base_response_list_comment_response.py +130 -0
- revengai/models/base_response_list_die_match.py +130 -0
- revengai/models/base_response_list_function_box_plot_confidence.py +130 -0
- revengai/models/base_response_list_function_name_history.py +130 -0
- revengai/models/base_response_list_sbom.py +130 -0
- revengai/models/base_response_list_similar_functions_response.py +130 -0
- revengai/models/base_response_list_tag_origin_box_plot_confidence.py +130 -0
- revengai/models/base_response_list_user_activity_response.py +130 -0
- revengai/models/base_response_login_response.py +126 -0
- revengai/models/base_response_logs.py +126 -0
- revengai/models/base_response_models_response.py +126 -0
- revengai/models/base_response_nearest_neighbor_analysis.py +136 -0
- revengai/models/base_response_network_overview_response.py +126 -0
- revengai/models/base_response_params.py +126 -0
- revengai/models/base_response_process_dumps.py +126 -0
- revengai/models/base_response_process_registry.py +126 -0
- revengai/models/base_response_process_tree.py +126 -0
- revengai/models/base_response_queued_security_checks_task_response.py +126 -0
- revengai/models/base_response_recent.py +126 -0
- revengai/models/base_response_security_checks_response.py +126 -0
- revengai/models/base_response_status.py +126 -0
- revengai/models/base_response_str.py +122 -0
- revengai/models/base_response_symbols_info.py +126 -0
- revengai/models/base_response_tag_search_response.py +126 -0
- revengai/models/base_response_task_response.py +126 -0
- revengai/models/base_response_ttps.py +126 -0
- revengai/models/base_response_vulnerabilities.py +126 -0
- revengai/models/basic.py +108 -0
- revengai/models/batch_ann.py +106 -0
- revengai/models/batch_function_rename.py +95 -0
- revengai/models/batch_function_rename_record.py +90 -0
- revengai/models/binary_additional_details_data_response.py +113 -0
- revengai/models/binary_additional_response.py +106 -0
- revengai/models/binary_ann_form.py +94 -0
- revengai/models/binary_ann_list_response.py +95 -0
- revengai/models/binary_config.py +109 -0
- revengai/models/binary_details_response.py +126 -0
- revengai/models/binary_externals_response.py +96 -0
- revengai/models/binary_search_response.py +95 -0
- revengai/models/binary_search_result.py +109 -0
- revengai/models/binary_task_status.py +40 -0
- revengai/models/block.py +87 -0
- revengai/models/block_comments_generation_for_function_response.py +87 -0
- revengai/models/boundary.py +91 -0
- revengai/models/box_plot_confidence.py +99 -0
- revengai/models/callee_function_info.py +107 -0
- revengai/models/callees_caller_functions_response.py +107 -0
- revengai/models/caller_function_info.py +107 -0
- revengai/models/capabilities.py +95 -0
- revengai/models/capability.py +91 -0
- revengai/models/check_security_checks_task_response.py +88 -0
- revengai/models/child_binaries_response.py +105 -0
- revengai/models/code_signature_model.py +99 -0
- revengai/models/collection_binaries_update_request.py +87 -0
- revengai/models/collection_binaries_update_response.py +95 -0
- revengai/models/collection_binary_response.py +98 -0
- revengai/models/collection_count.py +99 -0
- revengai/models/collection_create_request.py +108 -0
- revengai/models/collection_list_item.py +113 -0
- revengai/models/collection_response.py +132 -0
- revengai/models/collection_response_binaries_inner.py +136 -0
- revengai/models/collection_scope.py +39 -0
- revengai/models/collection_search_response.py +95 -0
- revengai/models/collection_search_result.py +125 -0
- revengai/models/collection_tags_update_request.py +87 -0
- revengai/models/collection_tags_update_response.py +87 -0
- revengai/models/collection_update_request.py +107 -0
- revengai/models/collections_count_form.py +88 -0
- revengai/models/comment_base.py +87 -0
- revengai/models/comment_response.py +111 -0
- revengai/models/comment_update_request.py +87 -0
- revengai/models/communities.py +101 -0
- revengai/models/community_match_percentages.py +93 -0
- revengai/models/confidence_type.py +40 -0
- revengai/models/config_settings.py +101 -0
- revengai/models/context.py +142 -0
- revengai/models/create_ai_decompilation_request.py +87 -0
- revengai/models/created.py +91 -0
- revengai/models/decompilation_comment_context.py +99 -0
- revengai/models/decompilation_response.py +91 -0
- revengai/models/deleted_analysis.py +99 -0
- revengai/models/die_match.py +93 -0
- revengai/models/dynamic_execution_status_input.py +39 -0
- revengai/models/elf_dynamic_entry.py +89 -0
- revengai/models/elf_import_model.py +89 -0
- revengai/models/elf_model.py +180 -0
- revengai/models/elf_relocation.py +99 -0
- revengai/models/elf_section.py +105 -0
- revengai/models/elf_security.py +95 -0
- revengai/models/elf_segment.py +103 -0
- revengai/models/elf_symbol.py +99 -0
- revengai/models/entrypoint_model.py +89 -0
- revengai/models/enumeration.py +98 -0
- revengai/models/error_model.py +89 -0
- revengai/models/export_model.py +89 -0
- revengai/models/exported_binary_ann_result.py +111 -0
- revengai/models/external_response.py +92 -0
- revengai/models/file_format.py +38 -0
- revengai/models/file_hashes.py +141 -0
- revengai/models/file_metadata.py +97 -0
- revengai/models/file_options.py +41 -0
- revengai/models/filters.py +40 -0
- revengai/models/function_analysis_threat_score_data.py +99 -0
- revengai/models/function_batch_ann.py +106 -0
- revengai/models/function_block_destination_response.py +96 -0
- revengai/models/function_block_response.py +110 -0
- revengai/models/function_blocks_response.py +122 -0
- revengai/models/function_boundary.py +91 -0
- revengai/models/function_box_plot_confidence.py +93 -0
- revengai/models/function_capability_response.py +87 -0
- revengai/models/function_comment_create_request.py +93 -0
- revengai/models/function_data_types.py +107 -0
- revengai/models/function_data_types_list.py +99 -0
- revengai/models/function_data_types_list_item.py +109 -0
- revengai/models/function_data_types_params.py +87 -0
- revengai/models/function_data_types_status.py +91 -0
- revengai/models/function_dump.py +106 -0
- revengai/models/function_header.py +113 -0
- revengai/models/function_info_input.py +106 -0
- revengai/models/function_info_input_func_deps_inner.py +164 -0
- revengai/models/function_info_output.py +106 -0
- revengai/models/function_list.py +87 -0
- revengai/models/function_list_basic.py +99 -0
- revengai/models/function_local_variable_response.py +95 -0
- revengai/models/function_mapping_full.py +248 -0
- revengai/models/function_name_confidence_body.py +98 -0
- revengai/models/function_name_history.py +97 -0
- revengai/models/function_name_input.py +89 -0
- revengai/models/function_param_mapping.py +89 -0
- revengai/models/function_param_response.py +95 -0
- revengai/models/function_params.py +95 -0
- revengai/models/function_rename.py +94 -0
- revengai/models/function_rename_map.py +96 -0
- revengai/models/function_search_response.py +95 -0
- revengai/models/function_search_result.py +100 -0
- revengai/models/function_string.py +89 -0
- revengai/models/function_strings_response.py +97 -0
- revengai/models/function_task_response.py +95 -0
- revengai/models/function_task_status.py +40 -0
- revengai/models/function_threat_score.py +100 -0
- revengai/models/function_type_input.py +128 -0
- revengai/models/function_type_output.py +128 -0
- revengai/models/functions_detail_response.py +122 -0
- revengai/models/functions_list_rename.py +95 -0
- revengai/models/generate_function_data_types.py +95 -0
- revengai/models/generation_status_list.py +99 -0
- revengai/models/get_ai_decompilation_rating_response.py +88 -0
- revengai/models/get_ai_decompilation_task.py +153 -0
- revengai/models/get_public_user_response.py +89 -0
- revengai/models/get_user_response.py +100 -0
- revengai/models/global_variable.py +102 -0
- revengai/models/icon_model.py +92 -0
- revengai/models/import_model.py +89 -0
- revengai/models/inverse_function_map_item.py +100 -0
- revengai/models/inverse_string_map_item.py +94 -0
- revengai/models/inverse_value.py +87 -0
- revengai/models/isa.py +38 -0
- revengai/models/isa_options.py +39 -0
- revengai/models/list_collection_results.py +95 -0
- revengai/models/login_request.py +90 -0
- revengai/models/login_response.py +87 -0
- revengai/models/logs.py +87 -0
- revengai/models/meta_model.py +96 -0
- revengai/models/model_list.py +99 -0
- revengai/models/model_name.py +43 -0
- revengai/models/models_response.py +87 -0
- revengai/models/nearest_neighbor.py +106 -0
- revengai/models/network_overview_dns.py +99 -0
- revengai/models/network_overview_dns_answer.py +89 -0
- revengai/models/network_overview_metadata.py +100 -0
- revengai/models/network_overview_response.py +105 -0
- revengai/models/order.py +37 -0
- revengai/models/origin.py +43 -0
- revengai/models/pagination_model.py +91 -0
- revengai/models/params.py +104 -0
- revengai/models/pdb_debug_model.py +95 -0
- revengai/models/pe_model.py +216 -0
- revengai/models/platform.py +37 -0
- revengai/models/platform_options.py +40 -0
- revengai/models/process.py +104 -0
- revengai/models/process_dump.py +97 -0
- revengai/models/process_dump_metadata.py +91 -0
- revengai/models/process_dumps.py +93 -0
- revengai/models/process_dumps_data.py +97 -0
- revengai/models/process_registry.py +106 -0
- revengai/models/process_tree.py +97 -0
- revengai/models/queued_security_checks_task_response.py +87 -0
- revengai/models/quick_search.py +99 -0
- revengai/models/re_analysis_form.py +102 -0
- revengai/models/recent.py +95 -0
- revengai/models/recent_analysis.py +99 -0
- revengai/models/recent_analysis_form.py +92 -0
- revengai/models/registry.py +103 -0
- revengai/models/relative_binary_response.py +91 -0
- revengai/models/rename.py +99 -0
- revengai/models/sandbox_options.py +89 -0
- revengai/models/sbom.py +97 -0
- revengai/models/sbom_package.py +89 -0
- revengai/models/scope.py +39 -0
- revengai/models/scrape_third_party_config.py +87 -0
- revengai/models/search_binary_ids.py +138 -0
- revengai/models/search_form.py +97 -0
- revengai/models/search_function_ids.py +138 -0
- revengai/models/search_query.py +99 -0
- revengai/models/section_model.py +97 -0
- revengai/models/security_checks_response.py +99 -0
- revengai/models/security_checks_result.py +104 -0
- revengai/models/security_model.py +107 -0
- revengai/models/severity_type.py +41 -0
- revengai/models/similar_functions_response.py +101 -0
- revengai/models/single_code_certificate_model.py +97 -0
- revengai/models/single_code_signature_model.py +97 -0
- revengai/models/single_pdb_entry_model.py +91 -0
- revengai/models/single_section_model.py +99 -0
- revengai/models/stack_variable.py +102 -0
- revengai/models/status_input.py +41 -0
- revengai/models/status_output.py +89 -0
- revengai/models/string_functions.py +97 -0
- revengai/models/structure.py +118 -0
- revengai/models/structure_member.py +100 -0
- revengai/models/symbols.py +97 -0
- revengai/models/symbols_info.py +103 -0
- revengai/models/tag_confidence_body.py +96 -0
- revengai/models/tag_input.py +87 -0
- revengai/models/tag_origin_box_plot_confidence.py +97 -0
- revengai/models/tag_output.py +89 -0
- revengai/models/tag_response.py +89 -0
- revengai/models/tag_search_response.py +95 -0
- revengai/models/tag_search_result.py +89 -0
- revengai/models/tags.py +90 -0
- revengai/models/task_response.py +95 -0
- revengai/models/task_status.py +40 -0
- revengai/models/threat_score_function_body.py +88 -0
- revengai/models/timestamp_model.py +91 -0
- revengai/models/ttps.py +93 -0
- revengai/models/ttps_attack.py +89 -0
- revengai/models/ttps_data.py +97 -0
- revengai/models/ttps_element.py +109 -0
- revengai/models/ttps_occurance.py +89 -0
- revengai/models/type_definition.py +98 -0
- revengai/models/update_function_data_types.py +93 -0
- revengai/models/upload_success.py +106 -0
- revengai/models/upsert_ai_decomplation_rating_request.py +88 -0
- revengai/models/user_activity_response.py +98 -0
- revengai/models/user_boundaries.py +91 -0
- revengai/models/vulnerabilities.py +95 -0
- revengai/models/vulnerability.py +114 -0
- revengai/models/vulnerability_type.py +41 -0
- revengai/models/workspace.py +38 -0
- revengai/py.typed +0 -0
- revengai/rest.py +258 -0
- revengai/test/__init__.py +0 -0
- revengai/test/test_addr.py +50 -0
- revengai/test/test_ai_decompilation_rating.py +33 -0
- revengai/test/test_analyse_created.py +53 -0
- revengai/test/test_analyses_comments_api.py +59 -0
- revengai/test/test_analyses_core_api.py +136 -0
- revengai/test/test_analyses_dynamic_execution_api.py +80 -0
- revengai/test/test_analyses_results_metadata_api.py +143 -0
- revengai/test/test_analyses_security_checks_api.py +52 -0
- revengai/test/test_analysis_access_info.py +54 -0
- revengai/test/test_analysis_config.py +60 -0
- revengai/test/test_analysis_create_request.py +83 -0
- revengai/test/test_analysis_create_response.py +54 -0
- revengai/test/test_analysis_detail_response.py +83 -0
- revengai/test/test_analysis_form.py +81 -0
- revengai/test/test_analysis_functions.py +78 -0
- revengai/test/test_analysis_record.py +74 -0
- revengai/test/test_analysis_scope.py +33 -0
- revengai/test/test_analysis_status.py +53 -0
- revengai/test/test_analysis_strings_response.py +70 -0
- revengai/test/test_analysis_threat_score_data.py +64 -0
- revengai/test/test_analysis_update_request.py +52 -0
- revengai/test/test_analysis_update_tags_request.py +56 -0
- revengai/test/test_analysis_update_tags_response.py +60 -0
- revengai/test/test_ann_function.py +61 -0
- revengai/test/test_ann_input.py +56 -0
- revengai/test/test_app_api_rest_v1_analyse_schema_model_name.py +33 -0
- revengai/test/test_app_api_rest_v1_analyse_schema_status.py +33 -0
- revengai/test/test_app_api_rest_v1_analyse_schema_symbols.py +57 -0
- revengai/test/test_app_api_rest_v1_analysis_info_responses_logs.py +53 -0
- revengai/test/test_app_api_rest_v1_analysis_info_schema_function_rename.py +52 -0
- revengai/test/test_app_api_rest_v1_ann_schema_ann_function.py +74 -0
- revengai/test/test_app_api_rest_v2_analyses_enums_dynamic_execution_status.py +33 -0
- revengai/test/test_app_api_rest_v2_analyses_enums_model_name.py +33 -0
- revengai/test/test_app_api_rest_v2_analyses_enums_order_by.py +33 -0
- revengai/test/test_app_api_rest_v2_analyses_enums_status.py +33 -0
- revengai/test/test_app_api_rest_v2_analyses_responses_analysis_tags.py +74 -0
- revengai/test/test_app_api_rest_v2_analyses_responses_logs.py +52 -0
- revengai/test/test_app_api_rest_v2_analyses_responses_tag_item.py +55 -0
- revengai/test/test_app_api_rest_v2_analyses_schemas_symbols.py +57 -0
- revengai/test/test_app_api_rest_v2_collections_enums_order_by.py +33 -0
- revengai/test/test_app_api_rest_v2_functions_rename_schema_function_rename.py +52 -0
- revengai/test/test_app_api_rest_v2_functions_responses_function.py +54 -0
- revengai/test/test_app_api_rest_v2_functions_types_function.py +72 -0
- revengai/test/test_app_api_rest_v2_info_responses_analysis_tags.py +70 -0
- revengai/test/test_app_api_rest_v2_similarity_schema_ann_function.py +61 -0
- revengai/test/test_app_core_responses_base_base_response_analysis_tags1.py +73 -0
- revengai/test/test_app_core_responses_base_base_response_analysis_tags2.py +75 -0
- revengai/test/test_app_services_binary_ann_schema_tag_item.py +52 -0
- revengai/test/test_app_services_dynamic_execution_schemas_dynamic_execution_status.py +52 -0
- revengai/test/test_argument.py +59 -0
- revengai/test/test_authentication_users_api.py +66 -0
- revengai/test/test_base_response.py +63 -0
- revengai/test/test_base_response_analysis_create_response.py +65 -0
- revengai/test/test_base_response_analysis_detail_response.py +81 -0
- revengai/test/test_base_response_analysis_functions.py +77 -0
- revengai/test/test_base_response_analysis_strings_response.py +73 -0
- revengai/test/test_base_response_analysis_threat_score_data.py +70 -0
- revengai/test/test_base_response_analysis_update_tags_response.py +68 -0
- revengai/test/test_base_response_basic.py +74 -0
- revengai/test/test_base_response_binary_additional_response.py +259 -0
- revengai/test/test_base_response_binary_ann_list_response.py +83 -0
- revengai/test/test_base_response_binary_details_response.py +83 -0
- revengai/test/test_base_response_binary_externals_response.py +72 -0
- revengai/test/test_base_response_binary_search_response.py +77 -0
- revengai/test/test_base_response_block_comments_generation_for_function_response.py +64 -0
- revengai/test/test_base_response_block_comments_overview_generation_response.py +63 -0
- revengai/test/test_base_response_bool.py +63 -0
- revengai/test/test_base_response_box_plot_confidence.py +70 -0
- revengai/test/test_base_response_callees_caller_functions_response.py +82 -0
- revengai/test/test_base_response_capabilities.py +71 -0
- revengai/test/test_base_response_check_security_checks_task_response.py +64 -0
- revengai/test/test_base_response_child_binaries_response.py +73 -0
- revengai/test/test_base_response_collection_binaries_update_response.py +72 -0
- revengai/test/test_base_response_collection_response.py +78 -0
- revengai/test/test_base_response_collection_search_response.py +80 -0
- revengai/test/test_base_response_collection_tags_update_response.py +66 -0
- revengai/test/test_base_response_comment_response.py +71 -0
- revengai/test/test_base_response_communities.py +77 -0
- revengai/test/test_base_response_created.py +66 -0
- revengai/test/test_base_response_decompilation_response.py +66 -0
- revengai/test/test_base_response_dict.py +65 -0
- revengai/test/test_base_response_dynamic_execution_status.py +64 -0
- revengai/test/test_base_response_external_response.py +68 -0
- revengai/test/test_base_response_function_analysis_threat_score_data.py +70 -0
- revengai/test/test_base_response_function_blocks_response.py +96 -0
- revengai/test/test_base_response_function_capability_response.py +66 -0
- revengai/test/test_base_response_function_data_types.py +99 -0
- revengai/test/test_base_response_function_data_types_list.py +105 -0
- revengai/test/test_base_response_function_search_response.py +73 -0
- revengai/test/test_base_response_function_strings_response.py +69 -0
- revengai/test/test_base_response_function_task_response.py +65 -0
- revengai/test/test_base_response_function_threat_score.py +73 -0
- revengai/test/test_base_response_functions_detail_response.py +78 -0
- revengai/test/test_base_response_generate_function_data_types.py +74 -0
- revengai/test/test_base_response_generation_status_list.py +71 -0
- revengai/test/test_base_response_get_ai_decompilation_rating_response.py +64 -0
- revengai/test/test_base_response_get_ai_decompilation_task.py +118 -0
- revengai/test/test_base_response_get_public_user_response.py +65 -0
- revengai/test/test_base_response_get_user_response.py +70 -0
- revengai/test/test_base_response_list_collection_results.py +79 -0
- revengai/test/test_base_response_list_comment_response.py +73 -0
- revengai/test/test_base_response_list_die_match.py +69 -0
- revengai/test/test_base_response_list_function_box_plot_confidence.py +74 -0
- revengai/test/test_base_response_list_function_name_history.py +71 -0
- revengai/test/test_base_response_list_sbom.py +73 -0
- revengai/test/test_base_response_list_similar_functions_response.py +77 -0
- revengai/test/test_base_response_list_tag_origin_box_plot_confidence.py +76 -0
- revengai/test/test_base_response_list_user_activity_response.py +71 -0
- revengai/test/test_base_response_login_response.py +64 -0
- revengai/test/test_base_response_logs.py +64 -0
- revengai/test/test_base_response_models_response.py +66 -0
- revengai/test/test_base_response_nearest_neighbor_analysis.py +75 -0
- revengai/test/test_base_response_network_overview_response.py +80 -0
- revengai/test/test_base_response_params.py +70 -0
- revengai/test/test_base_response_process_dumps.py +76 -0
- revengai/test/test_base_response_process_registry.py +73 -0
- revengai/test/test_base_response_process_tree.py +78 -0
- revengai/test/test_base_response_queued_security_checks_task_response.py +64 -0
- revengai/test/test_base_response_recent.py +79 -0
- revengai/test/test_base_response_security_checks_response.py +76 -0
- revengai/test/test_base_response_status.py +65 -0
- revengai/test/test_base_response_str.py +63 -0
- revengai/test/test_base_response_symbols_info.py +68 -0
- revengai/test/test_base_response_tag_search_response.py +68 -0
- revengai/test/test_base_response_task_response.py +65 -0
- revengai/test/test_base_response_ttps.py +81 -0
- revengai/test/test_base_response_vulnerabilities.py +77 -0
- revengai/test/test_basic.py +72 -0
- revengai/test/test_batch_ann.py +55 -0
- revengai/test/test_batch_function_rename.py +60 -0
- revengai/test/test_batch_function_rename_record.py +54 -0
- revengai/test/test_binaries_api.py +73 -0
- revengai/test/test_binary_additional_details_data_response.py +256 -0
- revengai/test/test_binary_additional_response.py +441 -0
- revengai/test/test_binary_ann_form.py +58 -0
- revengai/test/test_binary_ann_list_response.py +90 -0
- revengai/test/test_binary_config.py +53 -0
- revengai/test/test_binary_details_response.py +90 -0
- revengai/test/test_binary_externals_response.py +68 -0
- revengai/test/test_binary_search_response.py +78 -0
- revengai/test/test_binary_search_result.py +72 -0
- revengai/test/test_binary_task_status.py +33 -0
- revengai/test/test_block.py +52 -0
- revengai/test/test_block_comments_generation_for_function_response.py +52 -0
- revengai/test/test_boundary.py +56 -0
- revengai/test/test_box_plot_confidence.py +64 -0
- revengai/test/test_callee_function_info.py +61 -0
- revengai/test/test_callees_caller_functions_response.py +87 -0
- revengai/test/test_caller_function_info.py +61 -0
- revengai/test/test_capabilities.py +66 -0
- revengai/test/test_capability.py +60 -0
- revengai/test/test_check_security_checks_task_response.py +52 -0
- revengai/test/test_child_binaries_response.py +66 -0
- revengai/test/test_code_signature_model.py +80 -0
- revengai/test/test_collection_binaries_update_request.py +56 -0
- revengai/test/test_collection_binaries_update_response.py +68 -0
- revengai/test/test_collection_binary_response.py +62 -0
- revengai/test/test_collection_count.py +53 -0
- revengai/test/test_collection_create_request.py +63 -0
- revengai/test/test_collection_list_item.py +72 -0
- revengai/test/test_collection_response.py +73 -0
- revengai/test/test_collection_response_binaries_inner.py +62 -0
- revengai/test/test_collection_scope.py +33 -0
- revengai/test/test_collection_search_response.py +84 -0
- revengai/test/test_collection_search_result.py +73 -0
- revengai/test/test_collection_tags_update_request.py +56 -0
- revengai/test/test_collection_tags_update_response.py +56 -0
- revengai/test/test_collection_update_request.py +53 -0
- revengai/test/test_collections_api.py +80 -0
- revengai/test/test_collections_count_form.py +52 -0
- revengai/test/test_comment_base.py +52 -0
- revengai/test/test_comment_response.py +65 -0
- revengai/test/test_comment_update_request.py +52 -0
- revengai/test/test_communities.py +78 -0
- revengai/test/test_community_match_percentages.py +58 -0
- revengai/test/test_confidence_api.py +59 -0
- revengai/test/test_confidence_type.py +33 -0
- revengai/test/test_config_settings.py +70 -0
- revengai/test/test_context.py +54 -0
- revengai/test/test_create_ai_decompilation_request.py +52 -0
- revengai/test/test_created.py +56 -0
- revengai/test/test_decompilation_comment_context.py +54 -0
- revengai/test/test_decompilation_response.py +56 -0
- revengai/test/test_deleted_analysis.py +52 -0
- revengai/test/test_die_match.py +58 -0
- revengai/test/test_dynamic_execution_status_input.py +33 -0
- revengai/test/test_elf_dynamic_entry.py +54 -0
- revengai/test/test_elf_import_model.py +58 -0
- revengai/test/test_elf_model.py +236 -0
- revengai/test/test_elf_relocation.py +64 -0
- revengai/test/test_elf_section.py +70 -0
- revengai/test/test_elf_security.py +60 -0
- revengai/test/test_elf_segment.py +68 -0
- revengai/test/test_elf_symbol.py +64 -0
- revengai/test/test_entrypoint_model.py +54 -0
- revengai/test/test_enumeration.py +60 -0
- revengai/test/test_error_model.py +54 -0
- revengai/test/test_export_model.py +62 -0
- revengai/test/test_exported_binary_ann_result.py +79 -0
- revengai/test/test_external_response.py +60 -0
- revengai/test/test_external_sources_api.py +73 -0
- revengai/test/test_file_format.py +33 -0
- revengai/test/test_file_hashes.py +66 -0
- revengai/test/test_file_metadata.py +74 -0
- revengai/test/test_file_options.py +33 -0
- revengai/test/test_filters.py +33 -0
- revengai/test/test_firmware_api.py +45 -0
- revengai/test/test_function_analysis_threat_score_data.py +64 -0
- revengai/test/test_function_batch_ann.py +55 -0
- revengai/test/test_function_block_destination_response.py +56 -0
- revengai/test/test_function_block_response.py +75 -0
- revengai/test/test_function_blocks_response.py +116 -0
- revengai/test/test_function_boundary.py +56 -0
- revengai/test/test_function_box_plot_confidence.py +68 -0
- revengai/test/test_function_capability_response.py +56 -0
- revengai/test/test_function_comment_create_request.py +55 -0
- revengai/test/test_function_data_types.py +88 -0
- revengai/test/test_function_data_types_list.py +132 -0
- revengai/test/test_function_data_types_list_item.py +90 -0
- revengai/test/test_function_data_types_params.py +56 -0
- revengai/test/test_function_data_types_status.py +56 -0
- revengai/test/test_function_dump.py +55 -0
- revengai/test/test_function_header.py +73 -0
- revengai/test/test_function_info_input.py +85 -0
- revengai/test/test_function_info_input_func_deps_inner.py +66 -0
- revengai/test/test_function_info_output.py +85 -0
- revengai/test/test_function_list.py +56 -0
- revengai/test/test_function_list_basic.py +53 -0
- revengai/test/test_function_local_variable_response.py +60 -0
- revengai/test/test_function_mapping_full.py +148 -0
- revengai/test/test_function_name_confidence_body.py +56 -0
- revengai/test/test_function_name_history.py +62 -0
- revengai/test/test_function_name_input.py +54 -0
- revengai/test/test_function_param_mapping.py +54 -0
- revengai/test/test_function_param_response.py +60 -0
- revengai/test/test_function_params.py +60 -0
- revengai/test/test_function_rename.py +52 -0
- revengai/test/test_function_rename_map.py +55 -0
- revengai/test/test_function_search_response.py +70 -0
- revengai/test/test_function_search_result.py +64 -0
- revengai/test/test_function_string.py +54 -0
- revengai/test/test_function_strings_response.py +62 -0
- revengai/test/test_function_task_response.py +52 -0
- revengai/test/test_function_task_status.py +33 -0
- revengai/test/test_function_threat_score.py +70 -0
- revengai/test/test_function_type_input.py +95 -0
- revengai/test/test_function_type_output.py +95 -0
- revengai/test/test_functions_ai_decompilation_api.py +108 -0
- revengai/test/test_functions_block_comments_api.py +73 -0
- revengai/test/test_functions_core_api.py +87 -0
- revengai/test/test_functions_data_types_api.py +101 -0
- revengai/test/test_functions_decompilation_api.py +80 -0
- revengai/test/test_functions_detail_response.py +74 -0
- revengai/test/test_functions_list_rename.py +62 -0
- revengai/test/test_functions_renaming_history_api.py +59 -0
- revengai/test/test_functions_threat_score_api.py +59 -0
- revengai/test/test_generate_function_data_types.py +72 -0
- revengai/test/test_generation_status_list.py +64 -0
- revengai/test/test_get_ai_decompilation_rating_response.py +52 -0
- revengai/test/test_get_ai_decompilation_task.py +157 -0
- revengai/test/test_get_public_user_response.py +54 -0
- revengai/test/test_get_user_response.py +64 -0
- revengai/test/test_global_variable.py +60 -0
- revengai/test/test_icon_model.py +52 -0
- revengai/test/test_import_model.py +66 -0
- revengai/test/test_inverse_function_map_item.py +55 -0
- revengai/test/test_inverse_string_map_item.py +54 -0
- revengai/test/test_inverse_value.py +52 -0
- revengai/test/test_isa.py +33 -0
- revengai/test/test_isa_options.py +33 -0
- revengai/test/test_list_collection_results.py +82 -0
- revengai/test/test_login_request.py +54 -0
- revengai/test/test_login_response.py +52 -0
- revengai/test/test_logs.py +52 -0
- revengai/test/test_meta_model.py +54 -0
- revengai/test/test_model_list.py +53 -0
- revengai/test/test_model_name.py +33 -0
- revengai/test/test_models_api.py +38 -0
- revengai/test/test_models_response.py +56 -0
- revengai/test/test_nearest_neighbor.py +66 -0
- revengai/test/test_network_overview_dns.py +64 -0
- revengai/test/test_network_overview_dns_answer.py +54 -0
- revengai/test/test_network_overview_metadata.py +58 -0
- revengai/test/test_network_overview_response.py +84 -0
- revengai/test/test_order.py +33 -0
- revengai/test/test_origin.py +33 -0
- revengai/test/test_pagination_model.py +56 -0
- revengai/test/test_params.py +64 -0
- revengai/test/test_pdb_debug_model.py +62 -0
- revengai/test/test_pe_model.py +220 -0
- revengai/test/test_platform.py +33 -0
- revengai/test/test_platform_options.py +33 -0
- revengai/test/test_process.py +72 -0
- revengai/test/test_process_dump.py +64 -0
- revengai/test/test_process_dump_metadata.py +56 -0
- revengai/test/test_process_dumps.py +76 -0
- revengai/test/test_process_dumps_data.py +72 -0
- revengai/test/test_process_registry.py +70 -0
- revengai/test/test_process_tree.py +80 -0
- revengai/test/test_queued_security_checks_task_response.py +52 -0
- revengai/test/test_quick_search.py +53 -0
- revengai/test/test_re_analysis_form.py +58 -0
- revengai/test/test_recent.py +82 -0
- revengai/test/test_recent_analysis.py +53 -0
- revengai/test/test_recent_analysis_form.py +53 -0
- revengai/test/test_registry.py +58 -0
- revengai/test/test_relative_binary_response.py +56 -0
- revengai/test/test_rename.py +53 -0
- revengai/test/test_sandbox_options.py +52 -0
- revengai/test/test_sbom.py +66 -0
- revengai/test/test_sbom_package.py +54 -0
- revengai/test/test_scope.py +33 -0
- revengai/test/test_scrape_third_party_config.py +51 -0
- revengai/test/test_search_api.py +59 -0
- revengai/test/test_search_binary_ids.py +50 -0
- revengai/test/test_search_form.py +56 -0
- revengai/test/test_search_function_ids.py +50 -0
- revengai/test/test_search_query.py +52 -0
- revengai/test/test_section_model.py +72 -0
- revengai/test/test_security_checks_response.py +76 -0
- revengai/test/test_security_checks_result.py +66 -0
- revengai/test/test_security_model.py +72 -0
- revengai/test/test_severity_type.py +33 -0
- revengai/test/test_similar_functions_response.py +74 -0
- revengai/test/test_single_code_certificate_model.py +62 -0
- revengai/test/test_single_code_signature_model.py +70 -0
- revengai/test/test_single_pdb_entry_model.py +56 -0
- revengai/test/test_single_section_model.py +64 -0
- revengai/test/test_stack_variable.py +61 -0
- revengai/test/test_status_input.py +33 -0
- revengai/test/test_status_output.py +54 -0
- revengai/test/test_string_functions.py +62 -0
- revengai/test/test_structure.py +71 -0
- revengai/test/test_structure_member.py +59 -0
- revengai/test/test_symbols.py +57 -0
- revengai/test/test_symbols_info.py +55 -0
- revengai/test/test_tag_confidence_body.py +60 -0
- revengai/test/test_tag_input.py +52 -0
- revengai/test/test_tag_origin_box_plot_confidence.py +72 -0
- revengai/test/test_tag_output.py +54 -0
- revengai/test/test_tag_response.py +54 -0
- revengai/test/test_tag_search_response.py +60 -0
- revengai/test/test_tag_search_result.py +54 -0
- revengai/test/test_tags.py +54 -0
- revengai/test/test_task_response.py +52 -0
- revengai/test/test_task_status.py +33 -0
- revengai/test/test_threat_score_function_body.py +53 -0
- revengai/test/test_timestamp_model.py +56 -0
- revengai/test/test_ttps.py +86 -0
- revengai/test/test_ttps_attack.py +54 -0
- revengai/test/test_ttps_data.py +82 -0
- revengai/test/test_ttps_element.py +74 -0
- revengai/test/test_ttps_occurance.py +54 -0
- revengai/test/test_type_definition.py +56 -0
- revengai/test/test_update_function_data_types.py +118 -0
- revengai/test/test_upload_success.py +54 -0
- revengai/test/test_upsert_ai_decomplation_rating_request.py +52 -0
- revengai/test/test_user_activity_response.py +62 -0
- revengai/test/test_user_boundaries.py +56 -0
- revengai/test/test_v1_api.py +185 -0
- revengai/test/test_vulnerabilities.py +78 -0
- revengai/test/test_vulnerability.py +71 -0
- revengai/test/test_vulnerability_type.py +33 -0
- revengai/test/test_workspace.py +33 -0
- revengai-1.1.1.dist-info/METADATA +470 -0
- revengai-1.1.1.dist-info/RECORD +741 -0
- revengai-1.1.1.dist-info/WHEEL +4 -0
@@ -0,0 +1,1702 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
RevEng.AI API
|
5
|
+
|
6
|
+
RevEng.AI is Similarity Search Engine for executable binaries
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.0.1
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
import warnings
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
|
+
from typing_extensions import Annotated
|
18
|
+
|
19
|
+
from pydantic import Field, StrictInt, StrictStr
|
20
|
+
from typing import Any, Optional
|
21
|
+
from typing_extensions import Annotated
|
22
|
+
from revengai.models.base_response_binary_additional_response import BaseResponseBinaryAdditionalResponse
|
23
|
+
from revengai.models.base_response_binary_details_response import BaseResponseBinaryDetailsResponse
|
24
|
+
from revengai.models.base_response_binary_externals_response import BaseResponseBinaryExternalsResponse
|
25
|
+
from revengai.models.base_response_child_binaries_response import BaseResponseChildBinariesResponse
|
26
|
+
from revengai.models.base_response_list_die_match import BaseResponseListDieMatch
|
27
|
+
|
28
|
+
from revengai.api_client import ApiClient, RequestSerialized
|
29
|
+
from revengai.api_response import ApiResponse
|
30
|
+
from revengai.rest import RESTResponseType
|
31
|
+
|
32
|
+
|
33
|
+
class BinariesApi:
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
35
|
+
Ref: https://openapi-generator.tech
|
36
|
+
|
37
|
+
Do not edit the class manually.
|
38
|
+
"""
|
39
|
+
|
40
|
+
def __init__(self, api_client=None) -> None:
|
41
|
+
if api_client is None:
|
42
|
+
api_client = ApiClient.get_default()
|
43
|
+
self.api_client = api_client
|
44
|
+
|
45
|
+
|
46
|
+
@validate_call
|
47
|
+
def download_zipped_binary(
|
48
|
+
self,
|
49
|
+
binary_id: StrictInt,
|
50
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
51
|
+
_request_timeout: Union[
|
52
|
+
None,
|
53
|
+
Annotated[StrictFloat, Field(gt=0)],
|
54
|
+
Tuple[
|
55
|
+
Annotated[StrictFloat, Field(gt=0)],
|
56
|
+
Annotated[StrictFloat, Field(gt=0)]
|
57
|
+
]
|
58
|
+
] = None,
|
59
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
60
|
+
_content_type: Optional[StrictStr] = None,
|
61
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
62
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
63
|
+
) -> object:
|
64
|
+
"""Downloads a zipped binary with password protection
|
65
|
+
|
66
|
+
|
67
|
+
:param binary_id: (required)
|
68
|
+
:type binary_id: int
|
69
|
+
:param authorization: API Key bearer token
|
70
|
+
:type authorization: str
|
71
|
+
:param _request_timeout: timeout setting for this request. If one
|
72
|
+
number provided, it will be total request
|
73
|
+
timeout. It can also be a pair (tuple) of
|
74
|
+
(connection, read) timeouts.
|
75
|
+
:type _request_timeout: int, tuple(int, int), optional
|
76
|
+
:param _request_auth: set to override the auth_settings for an a single
|
77
|
+
request; this effectively ignores the
|
78
|
+
authentication in the spec for a single request.
|
79
|
+
:type _request_auth: dict, optional
|
80
|
+
:param _content_type: force content-type for the request.
|
81
|
+
:type _content_type: str, Optional
|
82
|
+
:param _headers: set to override the headers for a single
|
83
|
+
request; this effectively ignores the headers
|
84
|
+
in the spec for a single request.
|
85
|
+
:type _headers: dict, optional
|
86
|
+
:param _host_index: set to override the host_index for a single
|
87
|
+
request; this effectively ignores the host_index
|
88
|
+
in the spec for a single request.
|
89
|
+
:type _host_index: int, optional
|
90
|
+
:return: Returns the result object.
|
91
|
+
""" # noqa: E501
|
92
|
+
|
93
|
+
_param = self._download_zipped_binary_serialize(
|
94
|
+
binary_id=binary_id,
|
95
|
+
authorization=authorization,
|
96
|
+
_request_auth=_request_auth,
|
97
|
+
_content_type=_content_type,
|
98
|
+
_headers=_headers,
|
99
|
+
_host_index=_host_index
|
100
|
+
)
|
101
|
+
|
102
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
103
|
+
'200': "object",
|
104
|
+
'422': "BaseResponse",
|
105
|
+
}
|
106
|
+
response_data = self.api_client.call_api(
|
107
|
+
*_param,
|
108
|
+
_request_timeout=_request_timeout
|
109
|
+
)
|
110
|
+
response_data.read()
|
111
|
+
return self.api_client.response_deserialize(
|
112
|
+
response_data=response_data,
|
113
|
+
response_types_map=_response_types_map,
|
114
|
+
).data
|
115
|
+
|
116
|
+
|
117
|
+
@validate_call
|
118
|
+
def download_zipped_binary_with_http_info(
|
119
|
+
self,
|
120
|
+
binary_id: StrictInt,
|
121
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
122
|
+
_request_timeout: Union[
|
123
|
+
None,
|
124
|
+
Annotated[StrictFloat, Field(gt=0)],
|
125
|
+
Tuple[
|
126
|
+
Annotated[StrictFloat, Field(gt=0)],
|
127
|
+
Annotated[StrictFloat, Field(gt=0)]
|
128
|
+
]
|
129
|
+
] = None,
|
130
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
131
|
+
_content_type: Optional[StrictStr] = None,
|
132
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
133
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
134
|
+
) -> ApiResponse[object]:
|
135
|
+
"""Downloads a zipped binary with password protection
|
136
|
+
|
137
|
+
|
138
|
+
:param binary_id: (required)
|
139
|
+
:type binary_id: int
|
140
|
+
:param authorization: API Key bearer token
|
141
|
+
:type authorization: str
|
142
|
+
:param _request_timeout: timeout setting for this request. If one
|
143
|
+
number provided, it will be total request
|
144
|
+
timeout. It can also be a pair (tuple) of
|
145
|
+
(connection, read) timeouts.
|
146
|
+
:type _request_timeout: int, tuple(int, int), optional
|
147
|
+
:param _request_auth: set to override the auth_settings for an a single
|
148
|
+
request; this effectively ignores the
|
149
|
+
authentication in the spec for a single request.
|
150
|
+
:type _request_auth: dict, optional
|
151
|
+
:param _content_type: force content-type for the request.
|
152
|
+
:type _content_type: str, Optional
|
153
|
+
:param _headers: set to override the headers for a single
|
154
|
+
request; this effectively ignores the headers
|
155
|
+
in the spec for a single request.
|
156
|
+
:type _headers: dict, optional
|
157
|
+
:param _host_index: set to override the host_index for a single
|
158
|
+
request; this effectively ignores the host_index
|
159
|
+
in the spec for a single request.
|
160
|
+
:type _host_index: int, optional
|
161
|
+
:return: Returns the result object.
|
162
|
+
""" # noqa: E501
|
163
|
+
|
164
|
+
_param = self._download_zipped_binary_serialize(
|
165
|
+
binary_id=binary_id,
|
166
|
+
authorization=authorization,
|
167
|
+
_request_auth=_request_auth,
|
168
|
+
_content_type=_content_type,
|
169
|
+
_headers=_headers,
|
170
|
+
_host_index=_host_index
|
171
|
+
)
|
172
|
+
|
173
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
174
|
+
'200': "object",
|
175
|
+
'422': "BaseResponse",
|
176
|
+
}
|
177
|
+
response_data = self.api_client.call_api(
|
178
|
+
*_param,
|
179
|
+
_request_timeout=_request_timeout
|
180
|
+
)
|
181
|
+
response_data.read()
|
182
|
+
return self.api_client.response_deserialize(
|
183
|
+
response_data=response_data,
|
184
|
+
response_types_map=_response_types_map,
|
185
|
+
)
|
186
|
+
|
187
|
+
|
188
|
+
@validate_call
|
189
|
+
def download_zipped_binary_without_preload_content(
|
190
|
+
self,
|
191
|
+
binary_id: StrictInt,
|
192
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
193
|
+
_request_timeout: Union[
|
194
|
+
None,
|
195
|
+
Annotated[StrictFloat, Field(gt=0)],
|
196
|
+
Tuple[
|
197
|
+
Annotated[StrictFloat, Field(gt=0)],
|
198
|
+
Annotated[StrictFloat, Field(gt=0)]
|
199
|
+
]
|
200
|
+
] = None,
|
201
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
202
|
+
_content_type: Optional[StrictStr] = None,
|
203
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
204
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
205
|
+
) -> RESTResponseType:
|
206
|
+
"""Downloads a zipped binary with password protection
|
207
|
+
|
208
|
+
|
209
|
+
:param binary_id: (required)
|
210
|
+
:type binary_id: int
|
211
|
+
:param authorization: API Key bearer token
|
212
|
+
:type authorization: str
|
213
|
+
:param _request_timeout: timeout setting for this request. If one
|
214
|
+
number provided, it will be total request
|
215
|
+
timeout. It can also be a pair (tuple) of
|
216
|
+
(connection, read) timeouts.
|
217
|
+
:type _request_timeout: int, tuple(int, int), optional
|
218
|
+
:param _request_auth: set to override the auth_settings for an a single
|
219
|
+
request; this effectively ignores the
|
220
|
+
authentication in the spec for a single request.
|
221
|
+
:type _request_auth: dict, optional
|
222
|
+
:param _content_type: force content-type for the request.
|
223
|
+
:type _content_type: str, Optional
|
224
|
+
:param _headers: set to override the headers for a single
|
225
|
+
request; this effectively ignores the headers
|
226
|
+
in the spec for a single request.
|
227
|
+
:type _headers: dict, optional
|
228
|
+
:param _host_index: set to override the host_index for a single
|
229
|
+
request; this effectively ignores the host_index
|
230
|
+
in the spec for a single request.
|
231
|
+
:type _host_index: int, optional
|
232
|
+
:return: Returns the result object.
|
233
|
+
""" # noqa: E501
|
234
|
+
|
235
|
+
_param = self._download_zipped_binary_serialize(
|
236
|
+
binary_id=binary_id,
|
237
|
+
authorization=authorization,
|
238
|
+
_request_auth=_request_auth,
|
239
|
+
_content_type=_content_type,
|
240
|
+
_headers=_headers,
|
241
|
+
_host_index=_host_index
|
242
|
+
)
|
243
|
+
|
244
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
245
|
+
'200': "object",
|
246
|
+
'422': "BaseResponse",
|
247
|
+
}
|
248
|
+
response_data = self.api_client.call_api(
|
249
|
+
*_param,
|
250
|
+
_request_timeout=_request_timeout
|
251
|
+
)
|
252
|
+
return response_data.response
|
253
|
+
|
254
|
+
|
255
|
+
def _download_zipped_binary_serialize(
|
256
|
+
self,
|
257
|
+
binary_id,
|
258
|
+
authorization,
|
259
|
+
_request_auth,
|
260
|
+
_content_type,
|
261
|
+
_headers,
|
262
|
+
_host_index,
|
263
|
+
) -> RequestSerialized:
|
264
|
+
|
265
|
+
_host = None
|
266
|
+
|
267
|
+
_collection_formats: Dict[str, str] = {
|
268
|
+
}
|
269
|
+
|
270
|
+
_path_params: Dict[str, str] = {}
|
271
|
+
_query_params: List[Tuple[str, str]] = []
|
272
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
273
|
+
_form_params: List[Tuple[str, str]] = []
|
274
|
+
_files: Dict[
|
275
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
276
|
+
] = {}
|
277
|
+
_body_params: Optional[bytes] = None
|
278
|
+
|
279
|
+
# process the path parameters
|
280
|
+
if binary_id is not None:
|
281
|
+
_path_params['binary_id'] = binary_id
|
282
|
+
# process the query parameters
|
283
|
+
# process the header parameters
|
284
|
+
if authorization is not None:
|
285
|
+
_header_params['authorization'] = authorization
|
286
|
+
# process the form parameters
|
287
|
+
# process the body parameter
|
288
|
+
|
289
|
+
|
290
|
+
# set the HTTP header `Accept`
|
291
|
+
if 'Accept' not in _header_params:
|
292
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
293
|
+
[
|
294
|
+
'application/json'
|
295
|
+
]
|
296
|
+
)
|
297
|
+
|
298
|
+
|
299
|
+
# authentication setting
|
300
|
+
_auth_settings: List[str] = [
|
301
|
+
'APIKey'
|
302
|
+
]
|
303
|
+
|
304
|
+
return self.api_client.param_serialize(
|
305
|
+
method='GET',
|
306
|
+
resource_path='/v2/binaries/{binary_id}/download-zipped',
|
307
|
+
path_params=_path_params,
|
308
|
+
query_params=_query_params,
|
309
|
+
header_params=_header_params,
|
310
|
+
body=_body_params,
|
311
|
+
post_params=_form_params,
|
312
|
+
files=_files,
|
313
|
+
auth_settings=_auth_settings,
|
314
|
+
collection_formats=_collection_formats,
|
315
|
+
_host=_host,
|
316
|
+
_request_auth=_request_auth
|
317
|
+
)
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
@validate_call
|
323
|
+
def get_binary_additional_details(
|
324
|
+
self,
|
325
|
+
binary_id: StrictInt,
|
326
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
327
|
+
_request_timeout: Union[
|
328
|
+
None,
|
329
|
+
Annotated[StrictFloat, Field(gt=0)],
|
330
|
+
Tuple[
|
331
|
+
Annotated[StrictFloat, Field(gt=0)],
|
332
|
+
Annotated[StrictFloat, Field(gt=0)]
|
333
|
+
]
|
334
|
+
] = None,
|
335
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
336
|
+
_content_type: Optional[StrictStr] = None,
|
337
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
338
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
339
|
+
) -> BaseResponseBinaryAdditionalResponse:
|
340
|
+
"""Gets the additional details of a binary
|
341
|
+
|
342
|
+
|
343
|
+
:param binary_id: (required)
|
344
|
+
:type binary_id: int
|
345
|
+
:param authorization: API Key bearer token
|
346
|
+
:type authorization: str
|
347
|
+
:param _request_timeout: timeout setting for this request. If one
|
348
|
+
number provided, it will be total request
|
349
|
+
timeout. It can also be a pair (tuple) of
|
350
|
+
(connection, read) timeouts.
|
351
|
+
:type _request_timeout: int, tuple(int, int), optional
|
352
|
+
:param _request_auth: set to override the auth_settings for an a single
|
353
|
+
request; this effectively ignores the
|
354
|
+
authentication in the spec for a single request.
|
355
|
+
:type _request_auth: dict, optional
|
356
|
+
:param _content_type: force content-type for the request.
|
357
|
+
:type _content_type: str, Optional
|
358
|
+
:param _headers: set to override the headers for a single
|
359
|
+
request; this effectively ignores the headers
|
360
|
+
in the spec for a single request.
|
361
|
+
:type _headers: dict, optional
|
362
|
+
:param _host_index: set to override the host_index for a single
|
363
|
+
request; this effectively ignores the host_index
|
364
|
+
in the spec for a single request.
|
365
|
+
:type _host_index: int, optional
|
366
|
+
:return: Returns the result object.
|
367
|
+
""" # noqa: E501
|
368
|
+
|
369
|
+
_param = self._get_binary_additional_details_serialize(
|
370
|
+
binary_id=binary_id,
|
371
|
+
authorization=authorization,
|
372
|
+
_request_auth=_request_auth,
|
373
|
+
_content_type=_content_type,
|
374
|
+
_headers=_headers,
|
375
|
+
_host_index=_host_index
|
376
|
+
)
|
377
|
+
|
378
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
379
|
+
'200': "BaseResponseBinaryAdditionalResponse",
|
380
|
+
'422': "BaseResponse",
|
381
|
+
}
|
382
|
+
response_data = self.api_client.call_api(
|
383
|
+
*_param,
|
384
|
+
_request_timeout=_request_timeout
|
385
|
+
)
|
386
|
+
response_data.read()
|
387
|
+
return self.api_client.response_deserialize(
|
388
|
+
response_data=response_data,
|
389
|
+
response_types_map=_response_types_map,
|
390
|
+
).data
|
391
|
+
|
392
|
+
|
393
|
+
@validate_call
|
394
|
+
def get_binary_additional_details_with_http_info(
|
395
|
+
self,
|
396
|
+
binary_id: StrictInt,
|
397
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
398
|
+
_request_timeout: Union[
|
399
|
+
None,
|
400
|
+
Annotated[StrictFloat, Field(gt=0)],
|
401
|
+
Tuple[
|
402
|
+
Annotated[StrictFloat, Field(gt=0)],
|
403
|
+
Annotated[StrictFloat, Field(gt=0)]
|
404
|
+
]
|
405
|
+
] = None,
|
406
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
407
|
+
_content_type: Optional[StrictStr] = None,
|
408
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
409
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
410
|
+
) -> ApiResponse[BaseResponseBinaryAdditionalResponse]:
|
411
|
+
"""Gets the additional details of a binary
|
412
|
+
|
413
|
+
|
414
|
+
:param binary_id: (required)
|
415
|
+
:type binary_id: int
|
416
|
+
:param authorization: API Key bearer token
|
417
|
+
:type authorization: str
|
418
|
+
:param _request_timeout: timeout setting for this request. If one
|
419
|
+
number provided, it will be total request
|
420
|
+
timeout. It can also be a pair (tuple) of
|
421
|
+
(connection, read) timeouts.
|
422
|
+
:type _request_timeout: int, tuple(int, int), optional
|
423
|
+
:param _request_auth: set to override the auth_settings for an a single
|
424
|
+
request; this effectively ignores the
|
425
|
+
authentication in the spec for a single request.
|
426
|
+
:type _request_auth: dict, optional
|
427
|
+
:param _content_type: force content-type for the request.
|
428
|
+
:type _content_type: str, Optional
|
429
|
+
:param _headers: set to override the headers for a single
|
430
|
+
request; this effectively ignores the headers
|
431
|
+
in the spec for a single request.
|
432
|
+
:type _headers: dict, optional
|
433
|
+
:param _host_index: set to override the host_index for a single
|
434
|
+
request; this effectively ignores the host_index
|
435
|
+
in the spec for a single request.
|
436
|
+
:type _host_index: int, optional
|
437
|
+
:return: Returns the result object.
|
438
|
+
""" # noqa: E501
|
439
|
+
|
440
|
+
_param = self._get_binary_additional_details_serialize(
|
441
|
+
binary_id=binary_id,
|
442
|
+
authorization=authorization,
|
443
|
+
_request_auth=_request_auth,
|
444
|
+
_content_type=_content_type,
|
445
|
+
_headers=_headers,
|
446
|
+
_host_index=_host_index
|
447
|
+
)
|
448
|
+
|
449
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
450
|
+
'200': "BaseResponseBinaryAdditionalResponse",
|
451
|
+
'422': "BaseResponse",
|
452
|
+
}
|
453
|
+
response_data = self.api_client.call_api(
|
454
|
+
*_param,
|
455
|
+
_request_timeout=_request_timeout
|
456
|
+
)
|
457
|
+
response_data.read()
|
458
|
+
return self.api_client.response_deserialize(
|
459
|
+
response_data=response_data,
|
460
|
+
response_types_map=_response_types_map,
|
461
|
+
)
|
462
|
+
|
463
|
+
|
464
|
+
@validate_call
|
465
|
+
def get_binary_additional_details_without_preload_content(
|
466
|
+
self,
|
467
|
+
binary_id: StrictInt,
|
468
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
469
|
+
_request_timeout: Union[
|
470
|
+
None,
|
471
|
+
Annotated[StrictFloat, Field(gt=0)],
|
472
|
+
Tuple[
|
473
|
+
Annotated[StrictFloat, Field(gt=0)],
|
474
|
+
Annotated[StrictFloat, Field(gt=0)]
|
475
|
+
]
|
476
|
+
] = None,
|
477
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
478
|
+
_content_type: Optional[StrictStr] = None,
|
479
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
480
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
481
|
+
) -> RESTResponseType:
|
482
|
+
"""Gets the additional details of a binary
|
483
|
+
|
484
|
+
|
485
|
+
:param binary_id: (required)
|
486
|
+
:type binary_id: int
|
487
|
+
:param authorization: API Key bearer token
|
488
|
+
:type authorization: str
|
489
|
+
:param _request_timeout: timeout setting for this request. If one
|
490
|
+
number provided, it will be total request
|
491
|
+
timeout. It can also be a pair (tuple) of
|
492
|
+
(connection, read) timeouts.
|
493
|
+
:type _request_timeout: int, tuple(int, int), optional
|
494
|
+
:param _request_auth: set to override the auth_settings for an a single
|
495
|
+
request; this effectively ignores the
|
496
|
+
authentication in the spec for a single request.
|
497
|
+
:type _request_auth: dict, optional
|
498
|
+
:param _content_type: force content-type for the request.
|
499
|
+
:type _content_type: str, Optional
|
500
|
+
:param _headers: set to override the headers for a single
|
501
|
+
request; this effectively ignores the headers
|
502
|
+
in the spec for a single request.
|
503
|
+
:type _headers: dict, optional
|
504
|
+
:param _host_index: set to override the host_index for a single
|
505
|
+
request; this effectively ignores the host_index
|
506
|
+
in the spec for a single request.
|
507
|
+
:type _host_index: int, optional
|
508
|
+
:return: Returns the result object.
|
509
|
+
""" # noqa: E501
|
510
|
+
|
511
|
+
_param = self._get_binary_additional_details_serialize(
|
512
|
+
binary_id=binary_id,
|
513
|
+
authorization=authorization,
|
514
|
+
_request_auth=_request_auth,
|
515
|
+
_content_type=_content_type,
|
516
|
+
_headers=_headers,
|
517
|
+
_host_index=_host_index
|
518
|
+
)
|
519
|
+
|
520
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
521
|
+
'200': "BaseResponseBinaryAdditionalResponse",
|
522
|
+
'422': "BaseResponse",
|
523
|
+
}
|
524
|
+
response_data = self.api_client.call_api(
|
525
|
+
*_param,
|
526
|
+
_request_timeout=_request_timeout
|
527
|
+
)
|
528
|
+
return response_data.response
|
529
|
+
|
530
|
+
|
531
|
+
def _get_binary_additional_details_serialize(
|
532
|
+
self,
|
533
|
+
binary_id,
|
534
|
+
authorization,
|
535
|
+
_request_auth,
|
536
|
+
_content_type,
|
537
|
+
_headers,
|
538
|
+
_host_index,
|
539
|
+
) -> RequestSerialized:
|
540
|
+
|
541
|
+
_host = None
|
542
|
+
|
543
|
+
_collection_formats: Dict[str, str] = {
|
544
|
+
}
|
545
|
+
|
546
|
+
_path_params: Dict[str, str] = {}
|
547
|
+
_query_params: List[Tuple[str, str]] = []
|
548
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
549
|
+
_form_params: List[Tuple[str, str]] = []
|
550
|
+
_files: Dict[
|
551
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
552
|
+
] = {}
|
553
|
+
_body_params: Optional[bytes] = None
|
554
|
+
|
555
|
+
# process the path parameters
|
556
|
+
if binary_id is not None:
|
557
|
+
_path_params['binary_id'] = binary_id
|
558
|
+
# process the query parameters
|
559
|
+
# process the header parameters
|
560
|
+
if authorization is not None:
|
561
|
+
_header_params['authorization'] = authorization
|
562
|
+
# process the form parameters
|
563
|
+
# process the body parameter
|
564
|
+
|
565
|
+
|
566
|
+
# set the HTTP header `Accept`
|
567
|
+
if 'Accept' not in _header_params:
|
568
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
569
|
+
[
|
570
|
+
'application/json'
|
571
|
+
]
|
572
|
+
)
|
573
|
+
|
574
|
+
|
575
|
+
# authentication setting
|
576
|
+
_auth_settings: List[str] = [
|
577
|
+
'APIKey'
|
578
|
+
]
|
579
|
+
|
580
|
+
return self.api_client.param_serialize(
|
581
|
+
method='GET',
|
582
|
+
resource_path='/v2/binaries/{binary_id}/additional-details',
|
583
|
+
path_params=_path_params,
|
584
|
+
query_params=_query_params,
|
585
|
+
header_params=_header_params,
|
586
|
+
body=_body_params,
|
587
|
+
post_params=_form_params,
|
588
|
+
files=_files,
|
589
|
+
auth_settings=_auth_settings,
|
590
|
+
collection_formats=_collection_formats,
|
591
|
+
_host=_host,
|
592
|
+
_request_auth=_request_auth
|
593
|
+
)
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
@validate_call
|
599
|
+
def get_binary_details(
|
600
|
+
self,
|
601
|
+
binary_id: StrictInt,
|
602
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
603
|
+
_request_timeout: Union[
|
604
|
+
None,
|
605
|
+
Annotated[StrictFloat, Field(gt=0)],
|
606
|
+
Tuple[
|
607
|
+
Annotated[StrictFloat, Field(gt=0)],
|
608
|
+
Annotated[StrictFloat, Field(gt=0)]
|
609
|
+
]
|
610
|
+
] = None,
|
611
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
612
|
+
_content_type: Optional[StrictStr] = None,
|
613
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
614
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
615
|
+
) -> BaseResponseBinaryDetailsResponse:
|
616
|
+
"""Gets the details of a binary
|
617
|
+
|
618
|
+
|
619
|
+
:param binary_id: (required)
|
620
|
+
:type binary_id: int
|
621
|
+
:param authorization: API Key bearer token
|
622
|
+
:type authorization: str
|
623
|
+
:param _request_timeout: timeout setting for this request. If one
|
624
|
+
number provided, it will be total request
|
625
|
+
timeout. It can also be a pair (tuple) of
|
626
|
+
(connection, read) timeouts.
|
627
|
+
:type _request_timeout: int, tuple(int, int), optional
|
628
|
+
:param _request_auth: set to override the auth_settings for an a single
|
629
|
+
request; this effectively ignores the
|
630
|
+
authentication in the spec for a single request.
|
631
|
+
:type _request_auth: dict, optional
|
632
|
+
:param _content_type: force content-type for the request.
|
633
|
+
:type _content_type: str, Optional
|
634
|
+
:param _headers: set to override the headers for a single
|
635
|
+
request; this effectively ignores the headers
|
636
|
+
in the spec for a single request.
|
637
|
+
:type _headers: dict, optional
|
638
|
+
:param _host_index: set to override the host_index for a single
|
639
|
+
request; this effectively ignores the host_index
|
640
|
+
in the spec for a single request.
|
641
|
+
:type _host_index: int, optional
|
642
|
+
:return: Returns the result object.
|
643
|
+
""" # noqa: E501
|
644
|
+
|
645
|
+
_param = self._get_binary_details_serialize(
|
646
|
+
binary_id=binary_id,
|
647
|
+
authorization=authorization,
|
648
|
+
_request_auth=_request_auth,
|
649
|
+
_content_type=_content_type,
|
650
|
+
_headers=_headers,
|
651
|
+
_host_index=_host_index
|
652
|
+
)
|
653
|
+
|
654
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
655
|
+
'200': "BaseResponseBinaryDetailsResponse",
|
656
|
+
'422': "BaseResponse",
|
657
|
+
}
|
658
|
+
response_data = self.api_client.call_api(
|
659
|
+
*_param,
|
660
|
+
_request_timeout=_request_timeout
|
661
|
+
)
|
662
|
+
response_data.read()
|
663
|
+
return self.api_client.response_deserialize(
|
664
|
+
response_data=response_data,
|
665
|
+
response_types_map=_response_types_map,
|
666
|
+
).data
|
667
|
+
|
668
|
+
|
669
|
+
@validate_call
|
670
|
+
def get_binary_details_with_http_info(
|
671
|
+
self,
|
672
|
+
binary_id: StrictInt,
|
673
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
674
|
+
_request_timeout: Union[
|
675
|
+
None,
|
676
|
+
Annotated[StrictFloat, Field(gt=0)],
|
677
|
+
Tuple[
|
678
|
+
Annotated[StrictFloat, Field(gt=0)],
|
679
|
+
Annotated[StrictFloat, Field(gt=0)]
|
680
|
+
]
|
681
|
+
] = None,
|
682
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
683
|
+
_content_type: Optional[StrictStr] = None,
|
684
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
685
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
686
|
+
) -> ApiResponse[BaseResponseBinaryDetailsResponse]:
|
687
|
+
"""Gets the details of a binary
|
688
|
+
|
689
|
+
|
690
|
+
:param binary_id: (required)
|
691
|
+
:type binary_id: int
|
692
|
+
:param authorization: API Key bearer token
|
693
|
+
:type authorization: str
|
694
|
+
:param _request_timeout: timeout setting for this request. If one
|
695
|
+
number provided, it will be total request
|
696
|
+
timeout. It can also be a pair (tuple) of
|
697
|
+
(connection, read) timeouts.
|
698
|
+
:type _request_timeout: int, tuple(int, int), optional
|
699
|
+
:param _request_auth: set to override the auth_settings for an a single
|
700
|
+
request; this effectively ignores the
|
701
|
+
authentication in the spec for a single request.
|
702
|
+
:type _request_auth: dict, optional
|
703
|
+
:param _content_type: force content-type for the request.
|
704
|
+
:type _content_type: str, Optional
|
705
|
+
:param _headers: set to override the headers for a single
|
706
|
+
request; this effectively ignores the headers
|
707
|
+
in the spec for a single request.
|
708
|
+
:type _headers: dict, optional
|
709
|
+
:param _host_index: set to override the host_index for a single
|
710
|
+
request; this effectively ignores the host_index
|
711
|
+
in the spec for a single request.
|
712
|
+
:type _host_index: int, optional
|
713
|
+
:return: Returns the result object.
|
714
|
+
""" # noqa: E501
|
715
|
+
|
716
|
+
_param = self._get_binary_details_serialize(
|
717
|
+
binary_id=binary_id,
|
718
|
+
authorization=authorization,
|
719
|
+
_request_auth=_request_auth,
|
720
|
+
_content_type=_content_type,
|
721
|
+
_headers=_headers,
|
722
|
+
_host_index=_host_index
|
723
|
+
)
|
724
|
+
|
725
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
726
|
+
'200': "BaseResponseBinaryDetailsResponse",
|
727
|
+
'422': "BaseResponse",
|
728
|
+
}
|
729
|
+
response_data = self.api_client.call_api(
|
730
|
+
*_param,
|
731
|
+
_request_timeout=_request_timeout
|
732
|
+
)
|
733
|
+
response_data.read()
|
734
|
+
return self.api_client.response_deserialize(
|
735
|
+
response_data=response_data,
|
736
|
+
response_types_map=_response_types_map,
|
737
|
+
)
|
738
|
+
|
739
|
+
|
740
|
+
@validate_call
|
741
|
+
def get_binary_details_without_preload_content(
|
742
|
+
self,
|
743
|
+
binary_id: StrictInt,
|
744
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
745
|
+
_request_timeout: Union[
|
746
|
+
None,
|
747
|
+
Annotated[StrictFloat, Field(gt=0)],
|
748
|
+
Tuple[
|
749
|
+
Annotated[StrictFloat, Field(gt=0)],
|
750
|
+
Annotated[StrictFloat, Field(gt=0)]
|
751
|
+
]
|
752
|
+
] = None,
|
753
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
754
|
+
_content_type: Optional[StrictStr] = None,
|
755
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
756
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
757
|
+
) -> RESTResponseType:
|
758
|
+
"""Gets the details of a binary
|
759
|
+
|
760
|
+
|
761
|
+
:param binary_id: (required)
|
762
|
+
:type binary_id: int
|
763
|
+
:param authorization: API Key bearer token
|
764
|
+
:type authorization: str
|
765
|
+
:param _request_timeout: timeout setting for this request. If one
|
766
|
+
number provided, it will be total request
|
767
|
+
timeout. It can also be a pair (tuple) of
|
768
|
+
(connection, read) timeouts.
|
769
|
+
:type _request_timeout: int, tuple(int, int), optional
|
770
|
+
:param _request_auth: set to override the auth_settings for an a single
|
771
|
+
request; this effectively ignores the
|
772
|
+
authentication in the spec for a single request.
|
773
|
+
:type _request_auth: dict, optional
|
774
|
+
:param _content_type: force content-type for the request.
|
775
|
+
:type _content_type: str, Optional
|
776
|
+
:param _headers: set to override the headers for a single
|
777
|
+
request; this effectively ignores the headers
|
778
|
+
in the spec for a single request.
|
779
|
+
:type _headers: dict, optional
|
780
|
+
:param _host_index: set to override the host_index for a single
|
781
|
+
request; this effectively ignores the host_index
|
782
|
+
in the spec for a single request.
|
783
|
+
:type _host_index: int, optional
|
784
|
+
:return: Returns the result object.
|
785
|
+
""" # noqa: E501
|
786
|
+
|
787
|
+
_param = self._get_binary_details_serialize(
|
788
|
+
binary_id=binary_id,
|
789
|
+
authorization=authorization,
|
790
|
+
_request_auth=_request_auth,
|
791
|
+
_content_type=_content_type,
|
792
|
+
_headers=_headers,
|
793
|
+
_host_index=_host_index
|
794
|
+
)
|
795
|
+
|
796
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
797
|
+
'200': "BaseResponseBinaryDetailsResponse",
|
798
|
+
'422': "BaseResponse",
|
799
|
+
}
|
800
|
+
response_data = self.api_client.call_api(
|
801
|
+
*_param,
|
802
|
+
_request_timeout=_request_timeout
|
803
|
+
)
|
804
|
+
return response_data.response
|
805
|
+
|
806
|
+
|
807
|
+
def _get_binary_details_serialize(
|
808
|
+
self,
|
809
|
+
binary_id,
|
810
|
+
authorization,
|
811
|
+
_request_auth,
|
812
|
+
_content_type,
|
813
|
+
_headers,
|
814
|
+
_host_index,
|
815
|
+
) -> RequestSerialized:
|
816
|
+
|
817
|
+
_host = None
|
818
|
+
|
819
|
+
_collection_formats: Dict[str, str] = {
|
820
|
+
}
|
821
|
+
|
822
|
+
_path_params: Dict[str, str] = {}
|
823
|
+
_query_params: List[Tuple[str, str]] = []
|
824
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
825
|
+
_form_params: List[Tuple[str, str]] = []
|
826
|
+
_files: Dict[
|
827
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
828
|
+
] = {}
|
829
|
+
_body_params: Optional[bytes] = None
|
830
|
+
|
831
|
+
# process the path parameters
|
832
|
+
if binary_id is not None:
|
833
|
+
_path_params['binary_id'] = binary_id
|
834
|
+
# process the query parameters
|
835
|
+
# process the header parameters
|
836
|
+
if authorization is not None:
|
837
|
+
_header_params['authorization'] = authorization
|
838
|
+
# process the form parameters
|
839
|
+
# process the body parameter
|
840
|
+
|
841
|
+
|
842
|
+
# set the HTTP header `Accept`
|
843
|
+
if 'Accept' not in _header_params:
|
844
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
845
|
+
[
|
846
|
+
'application/json'
|
847
|
+
]
|
848
|
+
)
|
849
|
+
|
850
|
+
|
851
|
+
# authentication setting
|
852
|
+
_auth_settings: List[str] = [
|
853
|
+
'APIKey'
|
854
|
+
]
|
855
|
+
|
856
|
+
return self.api_client.param_serialize(
|
857
|
+
method='GET',
|
858
|
+
resource_path='/v2/binaries/{binary_id}/details',
|
859
|
+
path_params=_path_params,
|
860
|
+
query_params=_query_params,
|
861
|
+
header_params=_header_params,
|
862
|
+
body=_body_params,
|
863
|
+
post_params=_form_params,
|
864
|
+
files=_files,
|
865
|
+
auth_settings=_auth_settings,
|
866
|
+
collection_formats=_collection_formats,
|
867
|
+
_host=_host,
|
868
|
+
_request_auth=_request_auth
|
869
|
+
)
|
870
|
+
|
871
|
+
|
872
|
+
|
873
|
+
|
874
|
+
@validate_call
|
875
|
+
def get_binary_die_info(
|
876
|
+
self,
|
877
|
+
binary_id: StrictInt,
|
878
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
879
|
+
_request_timeout: Union[
|
880
|
+
None,
|
881
|
+
Annotated[StrictFloat, Field(gt=0)],
|
882
|
+
Tuple[
|
883
|
+
Annotated[StrictFloat, Field(gt=0)],
|
884
|
+
Annotated[StrictFloat, Field(gt=0)]
|
885
|
+
]
|
886
|
+
] = None,
|
887
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
888
|
+
_content_type: Optional[StrictStr] = None,
|
889
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
890
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
891
|
+
) -> BaseResponseListDieMatch:
|
892
|
+
"""Gets the die info of a binary
|
893
|
+
|
894
|
+
|
895
|
+
:param binary_id: (required)
|
896
|
+
:type binary_id: int
|
897
|
+
:param authorization: API Key bearer token
|
898
|
+
:type authorization: str
|
899
|
+
:param _request_timeout: timeout setting for this request. If one
|
900
|
+
number provided, it will be total request
|
901
|
+
timeout. It can also be a pair (tuple) of
|
902
|
+
(connection, read) timeouts.
|
903
|
+
:type _request_timeout: int, tuple(int, int), optional
|
904
|
+
:param _request_auth: set to override the auth_settings for an a single
|
905
|
+
request; this effectively ignores the
|
906
|
+
authentication in the spec for a single request.
|
907
|
+
:type _request_auth: dict, optional
|
908
|
+
:param _content_type: force content-type for the request.
|
909
|
+
:type _content_type: str, Optional
|
910
|
+
:param _headers: set to override the headers for a single
|
911
|
+
request; this effectively ignores the headers
|
912
|
+
in the spec for a single request.
|
913
|
+
:type _headers: dict, optional
|
914
|
+
:param _host_index: set to override the host_index for a single
|
915
|
+
request; this effectively ignores the host_index
|
916
|
+
in the spec for a single request.
|
917
|
+
:type _host_index: int, optional
|
918
|
+
:return: Returns the result object.
|
919
|
+
""" # noqa: E501
|
920
|
+
|
921
|
+
_param = self._get_binary_die_info_serialize(
|
922
|
+
binary_id=binary_id,
|
923
|
+
authorization=authorization,
|
924
|
+
_request_auth=_request_auth,
|
925
|
+
_content_type=_content_type,
|
926
|
+
_headers=_headers,
|
927
|
+
_host_index=_host_index
|
928
|
+
)
|
929
|
+
|
930
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
931
|
+
'200': "BaseResponseListDieMatch",
|
932
|
+
'422': "BaseResponse",
|
933
|
+
}
|
934
|
+
response_data = self.api_client.call_api(
|
935
|
+
*_param,
|
936
|
+
_request_timeout=_request_timeout
|
937
|
+
)
|
938
|
+
response_data.read()
|
939
|
+
return self.api_client.response_deserialize(
|
940
|
+
response_data=response_data,
|
941
|
+
response_types_map=_response_types_map,
|
942
|
+
).data
|
943
|
+
|
944
|
+
|
945
|
+
@validate_call
|
946
|
+
def get_binary_die_info_with_http_info(
|
947
|
+
self,
|
948
|
+
binary_id: StrictInt,
|
949
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
950
|
+
_request_timeout: Union[
|
951
|
+
None,
|
952
|
+
Annotated[StrictFloat, Field(gt=0)],
|
953
|
+
Tuple[
|
954
|
+
Annotated[StrictFloat, Field(gt=0)],
|
955
|
+
Annotated[StrictFloat, Field(gt=0)]
|
956
|
+
]
|
957
|
+
] = None,
|
958
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
959
|
+
_content_type: Optional[StrictStr] = None,
|
960
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
961
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
962
|
+
) -> ApiResponse[BaseResponseListDieMatch]:
|
963
|
+
"""Gets the die info of a binary
|
964
|
+
|
965
|
+
|
966
|
+
:param binary_id: (required)
|
967
|
+
:type binary_id: int
|
968
|
+
:param authorization: API Key bearer token
|
969
|
+
:type authorization: str
|
970
|
+
:param _request_timeout: timeout setting for this request. If one
|
971
|
+
number provided, it will be total request
|
972
|
+
timeout. It can also be a pair (tuple) of
|
973
|
+
(connection, read) timeouts.
|
974
|
+
:type _request_timeout: int, tuple(int, int), optional
|
975
|
+
:param _request_auth: set to override the auth_settings for an a single
|
976
|
+
request; this effectively ignores the
|
977
|
+
authentication in the spec for a single request.
|
978
|
+
:type _request_auth: dict, optional
|
979
|
+
:param _content_type: force content-type for the request.
|
980
|
+
:type _content_type: str, Optional
|
981
|
+
:param _headers: set to override the headers for a single
|
982
|
+
request; this effectively ignores the headers
|
983
|
+
in the spec for a single request.
|
984
|
+
:type _headers: dict, optional
|
985
|
+
:param _host_index: set to override the host_index for a single
|
986
|
+
request; this effectively ignores the host_index
|
987
|
+
in the spec for a single request.
|
988
|
+
:type _host_index: int, optional
|
989
|
+
:return: Returns the result object.
|
990
|
+
""" # noqa: E501
|
991
|
+
|
992
|
+
_param = self._get_binary_die_info_serialize(
|
993
|
+
binary_id=binary_id,
|
994
|
+
authorization=authorization,
|
995
|
+
_request_auth=_request_auth,
|
996
|
+
_content_type=_content_type,
|
997
|
+
_headers=_headers,
|
998
|
+
_host_index=_host_index
|
999
|
+
)
|
1000
|
+
|
1001
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1002
|
+
'200': "BaseResponseListDieMatch",
|
1003
|
+
'422': "BaseResponse",
|
1004
|
+
}
|
1005
|
+
response_data = self.api_client.call_api(
|
1006
|
+
*_param,
|
1007
|
+
_request_timeout=_request_timeout
|
1008
|
+
)
|
1009
|
+
response_data.read()
|
1010
|
+
return self.api_client.response_deserialize(
|
1011
|
+
response_data=response_data,
|
1012
|
+
response_types_map=_response_types_map,
|
1013
|
+
)
|
1014
|
+
|
1015
|
+
|
1016
|
+
@validate_call
|
1017
|
+
def get_binary_die_info_without_preload_content(
|
1018
|
+
self,
|
1019
|
+
binary_id: StrictInt,
|
1020
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1021
|
+
_request_timeout: Union[
|
1022
|
+
None,
|
1023
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1024
|
+
Tuple[
|
1025
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1026
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1027
|
+
]
|
1028
|
+
] = None,
|
1029
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1030
|
+
_content_type: Optional[StrictStr] = None,
|
1031
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1032
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1033
|
+
) -> RESTResponseType:
|
1034
|
+
"""Gets the die info of a binary
|
1035
|
+
|
1036
|
+
|
1037
|
+
:param binary_id: (required)
|
1038
|
+
:type binary_id: int
|
1039
|
+
:param authorization: API Key bearer token
|
1040
|
+
:type authorization: str
|
1041
|
+
:param _request_timeout: timeout setting for this request. If one
|
1042
|
+
number provided, it will be total request
|
1043
|
+
timeout. It can also be a pair (tuple) of
|
1044
|
+
(connection, read) timeouts.
|
1045
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1046
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1047
|
+
request; this effectively ignores the
|
1048
|
+
authentication in the spec for a single request.
|
1049
|
+
:type _request_auth: dict, optional
|
1050
|
+
:param _content_type: force content-type for the request.
|
1051
|
+
:type _content_type: str, Optional
|
1052
|
+
:param _headers: set to override the headers for a single
|
1053
|
+
request; this effectively ignores the headers
|
1054
|
+
in the spec for a single request.
|
1055
|
+
:type _headers: dict, optional
|
1056
|
+
:param _host_index: set to override the host_index for a single
|
1057
|
+
request; this effectively ignores the host_index
|
1058
|
+
in the spec for a single request.
|
1059
|
+
:type _host_index: int, optional
|
1060
|
+
:return: Returns the result object.
|
1061
|
+
""" # noqa: E501
|
1062
|
+
|
1063
|
+
_param = self._get_binary_die_info_serialize(
|
1064
|
+
binary_id=binary_id,
|
1065
|
+
authorization=authorization,
|
1066
|
+
_request_auth=_request_auth,
|
1067
|
+
_content_type=_content_type,
|
1068
|
+
_headers=_headers,
|
1069
|
+
_host_index=_host_index
|
1070
|
+
)
|
1071
|
+
|
1072
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1073
|
+
'200': "BaseResponseListDieMatch",
|
1074
|
+
'422': "BaseResponse",
|
1075
|
+
}
|
1076
|
+
response_data = self.api_client.call_api(
|
1077
|
+
*_param,
|
1078
|
+
_request_timeout=_request_timeout
|
1079
|
+
)
|
1080
|
+
return response_data.response
|
1081
|
+
|
1082
|
+
|
1083
|
+
def _get_binary_die_info_serialize(
|
1084
|
+
self,
|
1085
|
+
binary_id,
|
1086
|
+
authorization,
|
1087
|
+
_request_auth,
|
1088
|
+
_content_type,
|
1089
|
+
_headers,
|
1090
|
+
_host_index,
|
1091
|
+
) -> RequestSerialized:
|
1092
|
+
|
1093
|
+
_host = None
|
1094
|
+
|
1095
|
+
_collection_formats: Dict[str, str] = {
|
1096
|
+
}
|
1097
|
+
|
1098
|
+
_path_params: Dict[str, str] = {}
|
1099
|
+
_query_params: List[Tuple[str, str]] = []
|
1100
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1101
|
+
_form_params: List[Tuple[str, str]] = []
|
1102
|
+
_files: Dict[
|
1103
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1104
|
+
] = {}
|
1105
|
+
_body_params: Optional[bytes] = None
|
1106
|
+
|
1107
|
+
# process the path parameters
|
1108
|
+
if binary_id is not None:
|
1109
|
+
_path_params['binary_id'] = binary_id
|
1110
|
+
# process the query parameters
|
1111
|
+
# process the header parameters
|
1112
|
+
if authorization is not None:
|
1113
|
+
_header_params['authorization'] = authorization
|
1114
|
+
# process the form parameters
|
1115
|
+
# process the body parameter
|
1116
|
+
|
1117
|
+
|
1118
|
+
# set the HTTP header `Accept`
|
1119
|
+
if 'Accept' not in _header_params:
|
1120
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1121
|
+
[
|
1122
|
+
'application/json'
|
1123
|
+
]
|
1124
|
+
)
|
1125
|
+
|
1126
|
+
|
1127
|
+
# authentication setting
|
1128
|
+
_auth_settings: List[str] = [
|
1129
|
+
'APIKey'
|
1130
|
+
]
|
1131
|
+
|
1132
|
+
return self.api_client.param_serialize(
|
1133
|
+
method='GET',
|
1134
|
+
resource_path='/v2/binaries/{binary_id}/die-info',
|
1135
|
+
path_params=_path_params,
|
1136
|
+
query_params=_query_params,
|
1137
|
+
header_params=_header_params,
|
1138
|
+
body=_body_params,
|
1139
|
+
post_params=_form_params,
|
1140
|
+
files=_files,
|
1141
|
+
auth_settings=_auth_settings,
|
1142
|
+
collection_formats=_collection_formats,
|
1143
|
+
_host=_host,
|
1144
|
+
_request_auth=_request_auth
|
1145
|
+
)
|
1146
|
+
|
1147
|
+
|
1148
|
+
|
1149
|
+
|
1150
|
+
@validate_call
|
1151
|
+
def get_binary_externals(
|
1152
|
+
self,
|
1153
|
+
binary_id: StrictInt,
|
1154
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1155
|
+
_request_timeout: Union[
|
1156
|
+
None,
|
1157
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1158
|
+
Tuple[
|
1159
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1160
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1161
|
+
]
|
1162
|
+
] = None,
|
1163
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1164
|
+
_content_type: Optional[StrictStr] = None,
|
1165
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1166
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1167
|
+
) -> BaseResponseBinaryExternalsResponse:
|
1168
|
+
"""Gets the external details of a binary
|
1169
|
+
|
1170
|
+
|
1171
|
+
:param binary_id: (required)
|
1172
|
+
:type binary_id: int
|
1173
|
+
:param authorization: API Key bearer token
|
1174
|
+
:type authorization: str
|
1175
|
+
:param _request_timeout: timeout setting for this request. If one
|
1176
|
+
number provided, it will be total request
|
1177
|
+
timeout. It can also be a pair (tuple) of
|
1178
|
+
(connection, read) timeouts.
|
1179
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1180
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1181
|
+
request; this effectively ignores the
|
1182
|
+
authentication in the spec for a single request.
|
1183
|
+
:type _request_auth: dict, optional
|
1184
|
+
:param _content_type: force content-type for the request.
|
1185
|
+
:type _content_type: str, Optional
|
1186
|
+
:param _headers: set to override the headers for a single
|
1187
|
+
request; this effectively ignores the headers
|
1188
|
+
in the spec for a single request.
|
1189
|
+
:type _headers: dict, optional
|
1190
|
+
:param _host_index: set to override the host_index for a single
|
1191
|
+
request; this effectively ignores the host_index
|
1192
|
+
in the spec for a single request.
|
1193
|
+
:type _host_index: int, optional
|
1194
|
+
:return: Returns the result object.
|
1195
|
+
""" # noqa: E501
|
1196
|
+
|
1197
|
+
_param = self._get_binary_externals_serialize(
|
1198
|
+
binary_id=binary_id,
|
1199
|
+
authorization=authorization,
|
1200
|
+
_request_auth=_request_auth,
|
1201
|
+
_content_type=_content_type,
|
1202
|
+
_headers=_headers,
|
1203
|
+
_host_index=_host_index
|
1204
|
+
)
|
1205
|
+
|
1206
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1207
|
+
'200': "BaseResponseBinaryExternalsResponse",
|
1208
|
+
'422': "BaseResponse",
|
1209
|
+
}
|
1210
|
+
response_data = self.api_client.call_api(
|
1211
|
+
*_param,
|
1212
|
+
_request_timeout=_request_timeout
|
1213
|
+
)
|
1214
|
+
response_data.read()
|
1215
|
+
return self.api_client.response_deserialize(
|
1216
|
+
response_data=response_data,
|
1217
|
+
response_types_map=_response_types_map,
|
1218
|
+
).data
|
1219
|
+
|
1220
|
+
|
1221
|
+
@validate_call
|
1222
|
+
def get_binary_externals_with_http_info(
|
1223
|
+
self,
|
1224
|
+
binary_id: StrictInt,
|
1225
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1226
|
+
_request_timeout: Union[
|
1227
|
+
None,
|
1228
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1229
|
+
Tuple[
|
1230
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1231
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1232
|
+
]
|
1233
|
+
] = None,
|
1234
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1235
|
+
_content_type: Optional[StrictStr] = None,
|
1236
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1237
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1238
|
+
) -> ApiResponse[BaseResponseBinaryExternalsResponse]:
|
1239
|
+
"""Gets the external details of a binary
|
1240
|
+
|
1241
|
+
|
1242
|
+
:param binary_id: (required)
|
1243
|
+
:type binary_id: int
|
1244
|
+
:param authorization: API Key bearer token
|
1245
|
+
:type authorization: str
|
1246
|
+
:param _request_timeout: timeout setting for this request. If one
|
1247
|
+
number provided, it will be total request
|
1248
|
+
timeout. It can also be a pair (tuple) of
|
1249
|
+
(connection, read) timeouts.
|
1250
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1251
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1252
|
+
request; this effectively ignores the
|
1253
|
+
authentication in the spec for a single request.
|
1254
|
+
:type _request_auth: dict, optional
|
1255
|
+
:param _content_type: force content-type for the request.
|
1256
|
+
:type _content_type: str, Optional
|
1257
|
+
:param _headers: set to override the headers for a single
|
1258
|
+
request; this effectively ignores the headers
|
1259
|
+
in the spec for a single request.
|
1260
|
+
:type _headers: dict, optional
|
1261
|
+
:param _host_index: set to override the host_index for a single
|
1262
|
+
request; this effectively ignores the host_index
|
1263
|
+
in the spec for a single request.
|
1264
|
+
:type _host_index: int, optional
|
1265
|
+
:return: Returns the result object.
|
1266
|
+
""" # noqa: E501
|
1267
|
+
|
1268
|
+
_param = self._get_binary_externals_serialize(
|
1269
|
+
binary_id=binary_id,
|
1270
|
+
authorization=authorization,
|
1271
|
+
_request_auth=_request_auth,
|
1272
|
+
_content_type=_content_type,
|
1273
|
+
_headers=_headers,
|
1274
|
+
_host_index=_host_index
|
1275
|
+
)
|
1276
|
+
|
1277
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1278
|
+
'200': "BaseResponseBinaryExternalsResponse",
|
1279
|
+
'422': "BaseResponse",
|
1280
|
+
}
|
1281
|
+
response_data = self.api_client.call_api(
|
1282
|
+
*_param,
|
1283
|
+
_request_timeout=_request_timeout
|
1284
|
+
)
|
1285
|
+
response_data.read()
|
1286
|
+
return self.api_client.response_deserialize(
|
1287
|
+
response_data=response_data,
|
1288
|
+
response_types_map=_response_types_map,
|
1289
|
+
)
|
1290
|
+
|
1291
|
+
|
1292
|
+
@validate_call
|
1293
|
+
def get_binary_externals_without_preload_content(
|
1294
|
+
self,
|
1295
|
+
binary_id: StrictInt,
|
1296
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1297
|
+
_request_timeout: Union[
|
1298
|
+
None,
|
1299
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1300
|
+
Tuple[
|
1301
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1302
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1303
|
+
]
|
1304
|
+
] = None,
|
1305
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1306
|
+
_content_type: Optional[StrictStr] = None,
|
1307
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1308
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1309
|
+
) -> RESTResponseType:
|
1310
|
+
"""Gets the external details of a binary
|
1311
|
+
|
1312
|
+
|
1313
|
+
:param binary_id: (required)
|
1314
|
+
:type binary_id: int
|
1315
|
+
:param authorization: API Key bearer token
|
1316
|
+
:type authorization: str
|
1317
|
+
:param _request_timeout: timeout setting for this request. If one
|
1318
|
+
number provided, it will be total request
|
1319
|
+
timeout. It can also be a pair (tuple) of
|
1320
|
+
(connection, read) timeouts.
|
1321
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1322
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1323
|
+
request; this effectively ignores the
|
1324
|
+
authentication in the spec for a single request.
|
1325
|
+
:type _request_auth: dict, optional
|
1326
|
+
:param _content_type: force content-type for the request.
|
1327
|
+
:type _content_type: str, Optional
|
1328
|
+
:param _headers: set to override the headers for a single
|
1329
|
+
request; this effectively ignores the headers
|
1330
|
+
in the spec for a single request.
|
1331
|
+
:type _headers: dict, optional
|
1332
|
+
:param _host_index: set to override the host_index for a single
|
1333
|
+
request; this effectively ignores the host_index
|
1334
|
+
in the spec for a single request.
|
1335
|
+
:type _host_index: int, optional
|
1336
|
+
:return: Returns the result object.
|
1337
|
+
""" # noqa: E501
|
1338
|
+
|
1339
|
+
_param = self._get_binary_externals_serialize(
|
1340
|
+
binary_id=binary_id,
|
1341
|
+
authorization=authorization,
|
1342
|
+
_request_auth=_request_auth,
|
1343
|
+
_content_type=_content_type,
|
1344
|
+
_headers=_headers,
|
1345
|
+
_host_index=_host_index
|
1346
|
+
)
|
1347
|
+
|
1348
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1349
|
+
'200': "BaseResponseBinaryExternalsResponse",
|
1350
|
+
'422': "BaseResponse",
|
1351
|
+
}
|
1352
|
+
response_data = self.api_client.call_api(
|
1353
|
+
*_param,
|
1354
|
+
_request_timeout=_request_timeout
|
1355
|
+
)
|
1356
|
+
return response_data.response
|
1357
|
+
|
1358
|
+
|
1359
|
+
def _get_binary_externals_serialize(
|
1360
|
+
self,
|
1361
|
+
binary_id,
|
1362
|
+
authorization,
|
1363
|
+
_request_auth,
|
1364
|
+
_content_type,
|
1365
|
+
_headers,
|
1366
|
+
_host_index,
|
1367
|
+
) -> RequestSerialized:
|
1368
|
+
|
1369
|
+
_host = None
|
1370
|
+
|
1371
|
+
_collection_formats: Dict[str, str] = {
|
1372
|
+
}
|
1373
|
+
|
1374
|
+
_path_params: Dict[str, str] = {}
|
1375
|
+
_query_params: List[Tuple[str, str]] = []
|
1376
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1377
|
+
_form_params: List[Tuple[str, str]] = []
|
1378
|
+
_files: Dict[
|
1379
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1380
|
+
] = {}
|
1381
|
+
_body_params: Optional[bytes] = None
|
1382
|
+
|
1383
|
+
# process the path parameters
|
1384
|
+
if binary_id is not None:
|
1385
|
+
_path_params['binary_id'] = binary_id
|
1386
|
+
# process the query parameters
|
1387
|
+
# process the header parameters
|
1388
|
+
if authorization is not None:
|
1389
|
+
_header_params['authorization'] = authorization
|
1390
|
+
# process the form parameters
|
1391
|
+
# process the body parameter
|
1392
|
+
|
1393
|
+
|
1394
|
+
# set the HTTP header `Accept`
|
1395
|
+
if 'Accept' not in _header_params:
|
1396
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1397
|
+
[
|
1398
|
+
'application/json'
|
1399
|
+
]
|
1400
|
+
)
|
1401
|
+
|
1402
|
+
|
1403
|
+
# authentication setting
|
1404
|
+
_auth_settings: List[str] = [
|
1405
|
+
'APIKey'
|
1406
|
+
]
|
1407
|
+
|
1408
|
+
return self.api_client.param_serialize(
|
1409
|
+
method='GET',
|
1410
|
+
resource_path='/v2/binaries/{binary_id}/externals',
|
1411
|
+
path_params=_path_params,
|
1412
|
+
query_params=_query_params,
|
1413
|
+
header_params=_header_params,
|
1414
|
+
body=_body_params,
|
1415
|
+
post_params=_form_params,
|
1416
|
+
files=_files,
|
1417
|
+
auth_settings=_auth_settings,
|
1418
|
+
collection_formats=_collection_formats,
|
1419
|
+
_host=_host,
|
1420
|
+
_request_auth=_request_auth
|
1421
|
+
)
|
1422
|
+
|
1423
|
+
|
1424
|
+
|
1425
|
+
|
1426
|
+
@validate_call
|
1427
|
+
def get_related_binaries(
|
1428
|
+
self,
|
1429
|
+
binary_id: StrictInt,
|
1430
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1431
|
+
_request_timeout: Union[
|
1432
|
+
None,
|
1433
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1434
|
+
Tuple[
|
1435
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1436
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1437
|
+
]
|
1438
|
+
] = None,
|
1439
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1440
|
+
_content_type: Optional[StrictStr] = None,
|
1441
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1442
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1443
|
+
) -> BaseResponseChildBinariesResponse:
|
1444
|
+
"""Gets the related binaries of a binary.
|
1445
|
+
|
1446
|
+
|
1447
|
+
:param binary_id: (required)
|
1448
|
+
:type binary_id: int
|
1449
|
+
:param authorization: API Key bearer token
|
1450
|
+
:type authorization: str
|
1451
|
+
:param _request_timeout: timeout setting for this request. If one
|
1452
|
+
number provided, it will be total request
|
1453
|
+
timeout. It can also be a pair (tuple) of
|
1454
|
+
(connection, read) timeouts.
|
1455
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1456
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1457
|
+
request; this effectively ignores the
|
1458
|
+
authentication in the spec for a single request.
|
1459
|
+
:type _request_auth: dict, optional
|
1460
|
+
:param _content_type: force content-type for the request.
|
1461
|
+
:type _content_type: str, Optional
|
1462
|
+
:param _headers: set to override the headers for a single
|
1463
|
+
request; this effectively ignores the headers
|
1464
|
+
in the spec for a single request.
|
1465
|
+
:type _headers: dict, optional
|
1466
|
+
:param _host_index: set to override the host_index for a single
|
1467
|
+
request; this effectively ignores the host_index
|
1468
|
+
in the spec for a single request.
|
1469
|
+
:type _host_index: int, optional
|
1470
|
+
:return: Returns the result object.
|
1471
|
+
""" # noqa: E501
|
1472
|
+
|
1473
|
+
_param = self._get_related_binaries_serialize(
|
1474
|
+
binary_id=binary_id,
|
1475
|
+
authorization=authorization,
|
1476
|
+
_request_auth=_request_auth,
|
1477
|
+
_content_type=_content_type,
|
1478
|
+
_headers=_headers,
|
1479
|
+
_host_index=_host_index
|
1480
|
+
)
|
1481
|
+
|
1482
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1483
|
+
'200': "BaseResponseChildBinariesResponse",
|
1484
|
+
'422': "BaseResponse",
|
1485
|
+
'403': "BaseResponse",
|
1486
|
+
}
|
1487
|
+
response_data = self.api_client.call_api(
|
1488
|
+
*_param,
|
1489
|
+
_request_timeout=_request_timeout
|
1490
|
+
)
|
1491
|
+
response_data.read()
|
1492
|
+
return self.api_client.response_deserialize(
|
1493
|
+
response_data=response_data,
|
1494
|
+
response_types_map=_response_types_map,
|
1495
|
+
).data
|
1496
|
+
|
1497
|
+
|
1498
|
+
@validate_call
|
1499
|
+
def get_related_binaries_with_http_info(
|
1500
|
+
self,
|
1501
|
+
binary_id: StrictInt,
|
1502
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1503
|
+
_request_timeout: Union[
|
1504
|
+
None,
|
1505
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1506
|
+
Tuple[
|
1507
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1508
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1509
|
+
]
|
1510
|
+
] = None,
|
1511
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1512
|
+
_content_type: Optional[StrictStr] = None,
|
1513
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1514
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1515
|
+
) -> ApiResponse[BaseResponseChildBinariesResponse]:
|
1516
|
+
"""Gets the related binaries of a binary.
|
1517
|
+
|
1518
|
+
|
1519
|
+
:param binary_id: (required)
|
1520
|
+
:type binary_id: int
|
1521
|
+
:param authorization: API Key bearer token
|
1522
|
+
:type authorization: str
|
1523
|
+
:param _request_timeout: timeout setting for this request. If one
|
1524
|
+
number provided, it will be total request
|
1525
|
+
timeout. It can also be a pair (tuple) of
|
1526
|
+
(connection, read) timeouts.
|
1527
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1528
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1529
|
+
request; this effectively ignores the
|
1530
|
+
authentication in the spec for a single request.
|
1531
|
+
:type _request_auth: dict, optional
|
1532
|
+
:param _content_type: force content-type for the request.
|
1533
|
+
:type _content_type: str, Optional
|
1534
|
+
:param _headers: set to override the headers for a single
|
1535
|
+
request; this effectively ignores the headers
|
1536
|
+
in the spec for a single request.
|
1537
|
+
:type _headers: dict, optional
|
1538
|
+
:param _host_index: set to override the host_index for a single
|
1539
|
+
request; this effectively ignores the host_index
|
1540
|
+
in the spec for a single request.
|
1541
|
+
:type _host_index: int, optional
|
1542
|
+
:return: Returns the result object.
|
1543
|
+
""" # noqa: E501
|
1544
|
+
|
1545
|
+
_param = self._get_related_binaries_serialize(
|
1546
|
+
binary_id=binary_id,
|
1547
|
+
authorization=authorization,
|
1548
|
+
_request_auth=_request_auth,
|
1549
|
+
_content_type=_content_type,
|
1550
|
+
_headers=_headers,
|
1551
|
+
_host_index=_host_index
|
1552
|
+
)
|
1553
|
+
|
1554
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1555
|
+
'200': "BaseResponseChildBinariesResponse",
|
1556
|
+
'422': "BaseResponse",
|
1557
|
+
'403': "BaseResponse",
|
1558
|
+
}
|
1559
|
+
response_data = self.api_client.call_api(
|
1560
|
+
*_param,
|
1561
|
+
_request_timeout=_request_timeout
|
1562
|
+
)
|
1563
|
+
response_data.read()
|
1564
|
+
return self.api_client.response_deserialize(
|
1565
|
+
response_data=response_data,
|
1566
|
+
response_types_map=_response_types_map,
|
1567
|
+
)
|
1568
|
+
|
1569
|
+
|
1570
|
+
@validate_call
|
1571
|
+
def get_related_binaries_without_preload_content(
|
1572
|
+
self,
|
1573
|
+
binary_id: StrictInt,
|
1574
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1575
|
+
_request_timeout: Union[
|
1576
|
+
None,
|
1577
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1578
|
+
Tuple[
|
1579
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1580
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1581
|
+
]
|
1582
|
+
] = None,
|
1583
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1584
|
+
_content_type: Optional[StrictStr] = None,
|
1585
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1586
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1587
|
+
) -> RESTResponseType:
|
1588
|
+
"""Gets the related binaries of a binary.
|
1589
|
+
|
1590
|
+
|
1591
|
+
:param binary_id: (required)
|
1592
|
+
:type binary_id: int
|
1593
|
+
:param authorization: API Key bearer token
|
1594
|
+
:type authorization: str
|
1595
|
+
:param _request_timeout: timeout setting for this request. If one
|
1596
|
+
number provided, it will be total request
|
1597
|
+
timeout. It can also be a pair (tuple) of
|
1598
|
+
(connection, read) timeouts.
|
1599
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1600
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1601
|
+
request; this effectively ignores the
|
1602
|
+
authentication in the spec for a single request.
|
1603
|
+
:type _request_auth: dict, optional
|
1604
|
+
:param _content_type: force content-type for the request.
|
1605
|
+
:type _content_type: str, Optional
|
1606
|
+
:param _headers: set to override the headers for a single
|
1607
|
+
request; this effectively ignores the headers
|
1608
|
+
in the spec for a single request.
|
1609
|
+
:type _headers: dict, optional
|
1610
|
+
:param _host_index: set to override the host_index for a single
|
1611
|
+
request; this effectively ignores the host_index
|
1612
|
+
in the spec for a single request.
|
1613
|
+
:type _host_index: int, optional
|
1614
|
+
:return: Returns the result object.
|
1615
|
+
""" # noqa: E501
|
1616
|
+
|
1617
|
+
_param = self._get_related_binaries_serialize(
|
1618
|
+
binary_id=binary_id,
|
1619
|
+
authorization=authorization,
|
1620
|
+
_request_auth=_request_auth,
|
1621
|
+
_content_type=_content_type,
|
1622
|
+
_headers=_headers,
|
1623
|
+
_host_index=_host_index
|
1624
|
+
)
|
1625
|
+
|
1626
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1627
|
+
'200': "BaseResponseChildBinariesResponse",
|
1628
|
+
'422': "BaseResponse",
|
1629
|
+
'403': "BaseResponse",
|
1630
|
+
}
|
1631
|
+
response_data = self.api_client.call_api(
|
1632
|
+
*_param,
|
1633
|
+
_request_timeout=_request_timeout
|
1634
|
+
)
|
1635
|
+
return response_data.response
|
1636
|
+
|
1637
|
+
|
1638
|
+
def _get_related_binaries_serialize(
|
1639
|
+
self,
|
1640
|
+
binary_id,
|
1641
|
+
authorization,
|
1642
|
+
_request_auth,
|
1643
|
+
_content_type,
|
1644
|
+
_headers,
|
1645
|
+
_host_index,
|
1646
|
+
) -> RequestSerialized:
|
1647
|
+
|
1648
|
+
_host = None
|
1649
|
+
|
1650
|
+
_collection_formats: Dict[str, str] = {
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
_path_params: Dict[str, str] = {}
|
1654
|
+
_query_params: List[Tuple[str, str]] = []
|
1655
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1656
|
+
_form_params: List[Tuple[str, str]] = []
|
1657
|
+
_files: Dict[
|
1658
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1659
|
+
] = {}
|
1660
|
+
_body_params: Optional[bytes] = None
|
1661
|
+
|
1662
|
+
# process the path parameters
|
1663
|
+
if binary_id is not None:
|
1664
|
+
_path_params['binary_id'] = binary_id
|
1665
|
+
# process the query parameters
|
1666
|
+
# process the header parameters
|
1667
|
+
if authorization is not None:
|
1668
|
+
_header_params['authorization'] = authorization
|
1669
|
+
# process the form parameters
|
1670
|
+
# process the body parameter
|
1671
|
+
|
1672
|
+
|
1673
|
+
# set the HTTP header `Accept`
|
1674
|
+
if 'Accept' not in _header_params:
|
1675
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1676
|
+
[
|
1677
|
+
'application/json'
|
1678
|
+
]
|
1679
|
+
)
|
1680
|
+
|
1681
|
+
|
1682
|
+
# authentication setting
|
1683
|
+
_auth_settings: List[str] = [
|
1684
|
+
'APIKey'
|
1685
|
+
]
|
1686
|
+
|
1687
|
+
return self.api_client.param_serialize(
|
1688
|
+
method='GET',
|
1689
|
+
resource_path='/v2/binaries/{binary_id}/related',
|
1690
|
+
path_params=_path_params,
|
1691
|
+
query_params=_query_params,
|
1692
|
+
header_params=_header_params,
|
1693
|
+
body=_body_params,
|
1694
|
+
post_params=_form_params,
|
1695
|
+
files=_files,
|
1696
|
+
auth_settings=_auth_settings,
|
1697
|
+
collection_formats=_collection_formats,
|
1698
|
+
_host=_host,
|
1699
|
+
_request_auth=_request_auth
|
1700
|
+
)
|
1701
|
+
|
1702
|
+
|