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,1214 @@
|
|
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 Optional
|
21
|
+
from typing_extensions import Annotated
|
22
|
+
from revengai.models.base_response import BaseResponse
|
23
|
+
from revengai.models.base_response_list_function_name_history import BaseResponseListFunctionNameHistory
|
24
|
+
from revengai.models.function_rename import FunctionRename
|
25
|
+
from revengai.models.functions_list_rename import FunctionsListRename
|
26
|
+
|
27
|
+
from revengai.api_client import ApiClient, RequestSerialized
|
28
|
+
from revengai.api_response import ApiResponse
|
29
|
+
from revengai.rest import RESTResponseType
|
30
|
+
|
31
|
+
|
32
|
+
class FunctionsRenamingHistoryApi:
|
33
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
34
|
+
Ref: https://openapi-generator.tech
|
35
|
+
|
36
|
+
Do not edit the class manually.
|
37
|
+
"""
|
38
|
+
|
39
|
+
def __init__(self, api_client=None) -> None:
|
40
|
+
if api_client is None:
|
41
|
+
api_client = ApiClient.get_default()
|
42
|
+
self.api_client = api_client
|
43
|
+
|
44
|
+
|
45
|
+
@validate_call
|
46
|
+
def batch_rename_function(
|
47
|
+
self,
|
48
|
+
functions_list_rename: FunctionsListRename,
|
49
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
50
|
+
_request_timeout: Union[
|
51
|
+
None,
|
52
|
+
Annotated[StrictFloat, Field(gt=0)],
|
53
|
+
Tuple[
|
54
|
+
Annotated[StrictFloat, Field(gt=0)],
|
55
|
+
Annotated[StrictFloat, Field(gt=0)]
|
56
|
+
]
|
57
|
+
] = None,
|
58
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
59
|
+
_content_type: Optional[StrictStr] = None,
|
60
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
61
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
62
|
+
) -> BaseResponse:
|
63
|
+
"""Batch Rename Functions
|
64
|
+
|
65
|
+
Renames a list of functions using the function IDs Will record name changes in history
|
66
|
+
|
67
|
+
:param functions_list_rename: (required)
|
68
|
+
:type functions_list_rename: FunctionsListRename
|
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._batch_rename_function_serialize(
|
94
|
+
functions_list_rename=functions_list_rename,
|
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': "BaseResponse",
|
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 batch_rename_function_with_http_info(
|
119
|
+
self,
|
120
|
+
functions_list_rename: FunctionsListRename,
|
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[BaseResponse]:
|
135
|
+
"""Batch Rename Functions
|
136
|
+
|
137
|
+
Renames a list of functions using the function IDs Will record name changes in history
|
138
|
+
|
139
|
+
:param functions_list_rename: (required)
|
140
|
+
:type functions_list_rename: FunctionsListRename
|
141
|
+
:param authorization: API Key bearer token
|
142
|
+
:type authorization: str
|
143
|
+
:param _request_timeout: timeout setting for this request. If one
|
144
|
+
number provided, it will be total request
|
145
|
+
timeout. It can also be a pair (tuple) of
|
146
|
+
(connection, read) timeouts.
|
147
|
+
:type _request_timeout: int, tuple(int, int), optional
|
148
|
+
:param _request_auth: set to override the auth_settings for an a single
|
149
|
+
request; this effectively ignores the
|
150
|
+
authentication in the spec for a single request.
|
151
|
+
:type _request_auth: dict, optional
|
152
|
+
:param _content_type: force content-type for the request.
|
153
|
+
:type _content_type: str, Optional
|
154
|
+
:param _headers: set to override the headers for a single
|
155
|
+
request; this effectively ignores the headers
|
156
|
+
in the spec for a single request.
|
157
|
+
:type _headers: dict, optional
|
158
|
+
:param _host_index: set to override the host_index for a single
|
159
|
+
request; this effectively ignores the host_index
|
160
|
+
in the spec for a single request.
|
161
|
+
:type _host_index: int, optional
|
162
|
+
:return: Returns the result object.
|
163
|
+
""" # noqa: E501
|
164
|
+
|
165
|
+
_param = self._batch_rename_function_serialize(
|
166
|
+
functions_list_rename=functions_list_rename,
|
167
|
+
authorization=authorization,
|
168
|
+
_request_auth=_request_auth,
|
169
|
+
_content_type=_content_type,
|
170
|
+
_headers=_headers,
|
171
|
+
_host_index=_host_index
|
172
|
+
)
|
173
|
+
|
174
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
175
|
+
'200': "BaseResponse",
|
176
|
+
'422': "BaseResponse",
|
177
|
+
}
|
178
|
+
response_data = self.api_client.call_api(
|
179
|
+
*_param,
|
180
|
+
_request_timeout=_request_timeout
|
181
|
+
)
|
182
|
+
response_data.read()
|
183
|
+
return self.api_client.response_deserialize(
|
184
|
+
response_data=response_data,
|
185
|
+
response_types_map=_response_types_map,
|
186
|
+
)
|
187
|
+
|
188
|
+
|
189
|
+
@validate_call
|
190
|
+
def batch_rename_function_without_preload_content(
|
191
|
+
self,
|
192
|
+
functions_list_rename: FunctionsListRename,
|
193
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
194
|
+
_request_timeout: Union[
|
195
|
+
None,
|
196
|
+
Annotated[StrictFloat, Field(gt=0)],
|
197
|
+
Tuple[
|
198
|
+
Annotated[StrictFloat, Field(gt=0)],
|
199
|
+
Annotated[StrictFloat, Field(gt=0)]
|
200
|
+
]
|
201
|
+
] = None,
|
202
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
203
|
+
_content_type: Optional[StrictStr] = None,
|
204
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
205
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
206
|
+
) -> RESTResponseType:
|
207
|
+
"""Batch Rename Functions
|
208
|
+
|
209
|
+
Renames a list of functions using the function IDs Will record name changes in history
|
210
|
+
|
211
|
+
:param functions_list_rename: (required)
|
212
|
+
:type functions_list_rename: FunctionsListRename
|
213
|
+
:param authorization: API Key bearer token
|
214
|
+
:type authorization: str
|
215
|
+
:param _request_timeout: timeout setting for this request. If one
|
216
|
+
number provided, it will be total request
|
217
|
+
timeout. It can also be a pair (tuple) of
|
218
|
+
(connection, read) timeouts.
|
219
|
+
:type _request_timeout: int, tuple(int, int), optional
|
220
|
+
:param _request_auth: set to override the auth_settings for an a single
|
221
|
+
request; this effectively ignores the
|
222
|
+
authentication in the spec for a single request.
|
223
|
+
:type _request_auth: dict, optional
|
224
|
+
:param _content_type: force content-type for the request.
|
225
|
+
:type _content_type: str, Optional
|
226
|
+
:param _headers: set to override the headers for a single
|
227
|
+
request; this effectively ignores the headers
|
228
|
+
in the spec for a single request.
|
229
|
+
:type _headers: dict, optional
|
230
|
+
:param _host_index: set to override the host_index for a single
|
231
|
+
request; this effectively ignores the host_index
|
232
|
+
in the spec for a single request.
|
233
|
+
:type _host_index: int, optional
|
234
|
+
:return: Returns the result object.
|
235
|
+
""" # noqa: E501
|
236
|
+
|
237
|
+
_param = self._batch_rename_function_serialize(
|
238
|
+
functions_list_rename=functions_list_rename,
|
239
|
+
authorization=authorization,
|
240
|
+
_request_auth=_request_auth,
|
241
|
+
_content_type=_content_type,
|
242
|
+
_headers=_headers,
|
243
|
+
_host_index=_host_index
|
244
|
+
)
|
245
|
+
|
246
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
247
|
+
'200': "BaseResponse",
|
248
|
+
'422': "BaseResponse",
|
249
|
+
}
|
250
|
+
response_data = self.api_client.call_api(
|
251
|
+
*_param,
|
252
|
+
_request_timeout=_request_timeout
|
253
|
+
)
|
254
|
+
return response_data.response
|
255
|
+
|
256
|
+
|
257
|
+
def _batch_rename_function_serialize(
|
258
|
+
self,
|
259
|
+
functions_list_rename,
|
260
|
+
authorization,
|
261
|
+
_request_auth,
|
262
|
+
_content_type,
|
263
|
+
_headers,
|
264
|
+
_host_index,
|
265
|
+
) -> RequestSerialized:
|
266
|
+
|
267
|
+
_host = None
|
268
|
+
|
269
|
+
_collection_formats: Dict[str, str] = {
|
270
|
+
}
|
271
|
+
|
272
|
+
_path_params: Dict[str, str] = {}
|
273
|
+
_query_params: List[Tuple[str, str]] = []
|
274
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
275
|
+
_form_params: List[Tuple[str, str]] = []
|
276
|
+
_files: Dict[
|
277
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
278
|
+
] = {}
|
279
|
+
_body_params: Optional[bytes] = None
|
280
|
+
|
281
|
+
# process the path parameters
|
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
|
+
if functions_list_rename is not None:
|
289
|
+
_body_params = functions_list_rename
|
290
|
+
|
291
|
+
|
292
|
+
# set the HTTP header `Accept`
|
293
|
+
if 'Accept' not in _header_params:
|
294
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
295
|
+
[
|
296
|
+
'application/json'
|
297
|
+
]
|
298
|
+
)
|
299
|
+
|
300
|
+
# set the HTTP header `Content-Type`
|
301
|
+
if _content_type:
|
302
|
+
_header_params['Content-Type'] = _content_type
|
303
|
+
else:
|
304
|
+
_default_content_type = (
|
305
|
+
self.api_client.select_header_content_type(
|
306
|
+
[
|
307
|
+
'application/json'
|
308
|
+
]
|
309
|
+
)
|
310
|
+
)
|
311
|
+
if _default_content_type is not None:
|
312
|
+
_header_params['Content-Type'] = _default_content_type
|
313
|
+
|
314
|
+
# authentication setting
|
315
|
+
_auth_settings: List[str] = [
|
316
|
+
'APIKey'
|
317
|
+
]
|
318
|
+
|
319
|
+
return self.api_client.param_serialize(
|
320
|
+
method='POST',
|
321
|
+
resource_path='/v2/functions/rename/batch',
|
322
|
+
path_params=_path_params,
|
323
|
+
query_params=_query_params,
|
324
|
+
header_params=_header_params,
|
325
|
+
body=_body_params,
|
326
|
+
post_params=_form_params,
|
327
|
+
files=_files,
|
328
|
+
auth_settings=_auth_settings,
|
329
|
+
collection_formats=_collection_formats,
|
330
|
+
_host=_host,
|
331
|
+
_request_auth=_request_auth
|
332
|
+
)
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
@validate_call
|
338
|
+
def get_function_name_history(
|
339
|
+
self,
|
340
|
+
function_id: StrictInt,
|
341
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
342
|
+
_request_timeout: Union[
|
343
|
+
None,
|
344
|
+
Annotated[StrictFloat, Field(gt=0)],
|
345
|
+
Tuple[
|
346
|
+
Annotated[StrictFloat, Field(gt=0)],
|
347
|
+
Annotated[StrictFloat, Field(gt=0)]
|
348
|
+
]
|
349
|
+
] = None,
|
350
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
351
|
+
_content_type: Optional[StrictStr] = None,
|
352
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
353
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
354
|
+
) -> BaseResponseListFunctionNameHistory:
|
355
|
+
"""Get Function Name History
|
356
|
+
|
357
|
+
Gets the name history of a function using the function ID
|
358
|
+
|
359
|
+
:param function_id: (required)
|
360
|
+
:type function_id: int
|
361
|
+
:param authorization: API Key bearer token
|
362
|
+
:type authorization: str
|
363
|
+
:param _request_timeout: timeout setting for this request. If one
|
364
|
+
number provided, it will be total request
|
365
|
+
timeout. It can also be a pair (tuple) of
|
366
|
+
(connection, read) timeouts.
|
367
|
+
:type _request_timeout: int, tuple(int, int), optional
|
368
|
+
:param _request_auth: set to override the auth_settings for an a single
|
369
|
+
request; this effectively ignores the
|
370
|
+
authentication in the spec for a single request.
|
371
|
+
:type _request_auth: dict, optional
|
372
|
+
:param _content_type: force content-type for the request.
|
373
|
+
:type _content_type: str, Optional
|
374
|
+
:param _headers: set to override the headers for a single
|
375
|
+
request; this effectively ignores the headers
|
376
|
+
in the spec for a single request.
|
377
|
+
:type _headers: dict, optional
|
378
|
+
:param _host_index: set to override the host_index for a single
|
379
|
+
request; this effectively ignores the host_index
|
380
|
+
in the spec for a single request.
|
381
|
+
:type _host_index: int, optional
|
382
|
+
:return: Returns the result object.
|
383
|
+
""" # noqa: E501
|
384
|
+
|
385
|
+
_param = self._get_function_name_history_serialize(
|
386
|
+
function_id=function_id,
|
387
|
+
authorization=authorization,
|
388
|
+
_request_auth=_request_auth,
|
389
|
+
_content_type=_content_type,
|
390
|
+
_headers=_headers,
|
391
|
+
_host_index=_host_index
|
392
|
+
)
|
393
|
+
|
394
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
395
|
+
'200': "BaseResponseListFunctionNameHistory",
|
396
|
+
'422': "BaseResponse",
|
397
|
+
}
|
398
|
+
response_data = self.api_client.call_api(
|
399
|
+
*_param,
|
400
|
+
_request_timeout=_request_timeout
|
401
|
+
)
|
402
|
+
response_data.read()
|
403
|
+
return self.api_client.response_deserialize(
|
404
|
+
response_data=response_data,
|
405
|
+
response_types_map=_response_types_map,
|
406
|
+
).data
|
407
|
+
|
408
|
+
|
409
|
+
@validate_call
|
410
|
+
def get_function_name_history_with_http_info(
|
411
|
+
self,
|
412
|
+
function_id: StrictInt,
|
413
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
414
|
+
_request_timeout: Union[
|
415
|
+
None,
|
416
|
+
Annotated[StrictFloat, Field(gt=0)],
|
417
|
+
Tuple[
|
418
|
+
Annotated[StrictFloat, Field(gt=0)],
|
419
|
+
Annotated[StrictFloat, Field(gt=0)]
|
420
|
+
]
|
421
|
+
] = None,
|
422
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
423
|
+
_content_type: Optional[StrictStr] = None,
|
424
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
425
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
426
|
+
) -> ApiResponse[BaseResponseListFunctionNameHistory]:
|
427
|
+
"""Get Function Name History
|
428
|
+
|
429
|
+
Gets the name history of a function using the function ID
|
430
|
+
|
431
|
+
:param function_id: (required)
|
432
|
+
:type function_id: int
|
433
|
+
:param authorization: API Key bearer token
|
434
|
+
:type authorization: str
|
435
|
+
:param _request_timeout: timeout setting for this request. If one
|
436
|
+
number provided, it will be total request
|
437
|
+
timeout. It can also be a pair (tuple) of
|
438
|
+
(connection, read) timeouts.
|
439
|
+
:type _request_timeout: int, tuple(int, int), optional
|
440
|
+
:param _request_auth: set to override the auth_settings for an a single
|
441
|
+
request; this effectively ignores the
|
442
|
+
authentication in the spec for a single request.
|
443
|
+
:type _request_auth: dict, optional
|
444
|
+
:param _content_type: force content-type for the request.
|
445
|
+
:type _content_type: str, Optional
|
446
|
+
:param _headers: set to override the headers for a single
|
447
|
+
request; this effectively ignores the headers
|
448
|
+
in the spec for a single request.
|
449
|
+
:type _headers: dict, optional
|
450
|
+
:param _host_index: set to override the host_index for a single
|
451
|
+
request; this effectively ignores the host_index
|
452
|
+
in the spec for a single request.
|
453
|
+
:type _host_index: int, optional
|
454
|
+
:return: Returns the result object.
|
455
|
+
""" # noqa: E501
|
456
|
+
|
457
|
+
_param = self._get_function_name_history_serialize(
|
458
|
+
function_id=function_id,
|
459
|
+
authorization=authorization,
|
460
|
+
_request_auth=_request_auth,
|
461
|
+
_content_type=_content_type,
|
462
|
+
_headers=_headers,
|
463
|
+
_host_index=_host_index
|
464
|
+
)
|
465
|
+
|
466
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
467
|
+
'200': "BaseResponseListFunctionNameHistory",
|
468
|
+
'422': "BaseResponse",
|
469
|
+
}
|
470
|
+
response_data = self.api_client.call_api(
|
471
|
+
*_param,
|
472
|
+
_request_timeout=_request_timeout
|
473
|
+
)
|
474
|
+
response_data.read()
|
475
|
+
return self.api_client.response_deserialize(
|
476
|
+
response_data=response_data,
|
477
|
+
response_types_map=_response_types_map,
|
478
|
+
)
|
479
|
+
|
480
|
+
|
481
|
+
@validate_call
|
482
|
+
def get_function_name_history_without_preload_content(
|
483
|
+
self,
|
484
|
+
function_id: StrictInt,
|
485
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
486
|
+
_request_timeout: Union[
|
487
|
+
None,
|
488
|
+
Annotated[StrictFloat, Field(gt=0)],
|
489
|
+
Tuple[
|
490
|
+
Annotated[StrictFloat, Field(gt=0)],
|
491
|
+
Annotated[StrictFloat, Field(gt=0)]
|
492
|
+
]
|
493
|
+
] = None,
|
494
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
495
|
+
_content_type: Optional[StrictStr] = None,
|
496
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
497
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
498
|
+
) -> RESTResponseType:
|
499
|
+
"""Get Function Name History
|
500
|
+
|
501
|
+
Gets the name history of a function using the function ID
|
502
|
+
|
503
|
+
:param function_id: (required)
|
504
|
+
:type function_id: int
|
505
|
+
:param authorization: API Key bearer token
|
506
|
+
:type authorization: str
|
507
|
+
:param _request_timeout: timeout setting for this request. If one
|
508
|
+
number provided, it will be total request
|
509
|
+
timeout. It can also be a pair (tuple) of
|
510
|
+
(connection, read) timeouts.
|
511
|
+
:type _request_timeout: int, tuple(int, int), optional
|
512
|
+
:param _request_auth: set to override the auth_settings for an a single
|
513
|
+
request; this effectively ignores the
|
514
|
+
authentication in the spec for a single request.
|
515
|
+
:type _request_auth: dict, optional
|
516
|
+
:param _content_type: force content-type for the request.
|
517
|
+
:type _content_type: str, Optional
|
518
|
+
:param _headers: set to override the headers for a single
|
519
|
+
request; this effectively ignores the headers
|
520
|
+
in the spec for a single request.
|
521
|
+
:type _headers: dict, optional
|
522
|
+
:param _host_index: set to override the host_index for a single
|
523
|
+
request; this effectively ignores the host_index
|
524
|
+
in the spec for a single request.
|
525
|
+
:type _host_index: int, optional
|
526
|
+
:return: Returns the result object.
|
527
|
+
""" # noqa: E501
|
528
|
+
|
529
|
+
_param = self._get_function_name_history_serialize(
|
530
|
+
function_id=function_id,
|
531
|
+
authorization=authorization,
|
532
|
+
_request_auth=_request_auth,
|
533
|
+
_content_type=_content_type,
|
534
|
+
_headers=_headers,
|
535
|
+
_host_index=_host_index
|
536
|
+
)
|
537
|
+
|
538
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
539
|
+
'200': "BaseResponseListFunctionNameHistory",
|
540
|
+
'422': "BaseResponse",
|
541
|
+
}
|
542
|
+
response_data = self.api_client.call_api(
|
543
|
+
*_param,
|
544
|
+
_request_timeout=_request_timeout
|
545
|
+
)
|
546
|
+
return response_data.response
|
547
|
+
|
548
|
+
|
549
|
+
def _get_function_name_history_serialize(
|
550
|
+
self,
|
551
|
+
function_id,
|
552
|
+
authorization,
|
553
|
+
_request_auth,
|
554
|
+
_content_type,
|
555
|
+
_headers,
|
556
|
+
_host_index,
|
557
|
+
) -> RequestSerialized:
|
558
|
+
|
559
|
+
_host = None
|
560
|
+
|
561
|
+
_collection_formats: Dict[str, str] = {
|
562
|
+
}
|
563
|
+
|
564
|
+
_path_params: Dict[str, str] = {}
|
565
|
+
_query_params: List[Tuple[str, str]] = []
|
566
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
567
|
+
_form_params: List[Tuple[str, str]] = []
|
568
|
+
_files: Dict[
|
569
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
570
|
+
] = {}
|
571
|
+
_body_params: Optional[bytes] = None
|
572
|
+
|
573
|
+
# process the path parameters
|
574
|
+
if function_id is not None:
|
575
|
+
_path_params['function_id'] = function_id
|
576
|
+
# process the query parameters
|
577
|
+
# process the header parameters
|
578
|
+
if authorization is not None:
|
579
|
+
_header_params['authorization'] = authorization
|
580
|
+
# process the form parameters
|
581
|
+
# process the body parameter
|
582
|
+
|
583
|
+
|
584
|
+
# set the HTTP header `Accept`
|
585
|
+
if 'Accept' not in _header_params:
|
586
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
587
|
+
[
|
588
|
+
'application/json'
|
589
|
+
]
|
590
|
+
)
|
591
|
+
|
592
|
+
|
593
|
+
# authentication setting
|
594
|
+
_auth_settings: List[str] = [
|
595
|
+
'APIKey'
|
596
|
+
]
|
597
|
+
|
598
|
+
return self.api_client.param_serialize(
|
599
|
+
method='GET',
|
600
|
+
resource_path='/v2/functions/history/{function_id}',
|
601
|
+
path_params=_path_params,
|
602
|
+
query_params=_query_params,
|
603
|
+
header_params=_header_params,
|
604
|
+
body=_body_params,
|
605
|
+
post_params=_form_params,
|
606
|
+
files=_files,
|
607
|
+
auth_settings=_auth_settings,
|
608
|
+
collection_formats=_collection_formats,
|
609
|
+
_host=_host,
|
610
|
+
_request_auth=_request_auth
|
611
|
+
)
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
|
616
|
+
@validate_call
|
617
|
+
def rename_function_id(
|
618
|
+
self,
|
619
|
+
function_id: StrictInt,
|
620
|
+
function_rename: FunctionRename,
|
621
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
622
|
+
_request_timeout: Union[
|
623
|
+
None,
|
624
|
+
Annotated[StrictFloat, Field(gt=0)],
|
625
|
+
Tuple[
|
626
|
+
Annotated[StrictFloat, Field(gt=0)],
|
627
|
+
Annotated[StrictFloat, Field(gt=0)]
|
628
|
+
]
|
629
|
+
] = None,
|
630
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
631
|
+
_content_type: Optional[StrictStr] = None,
|
632
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
633
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
634
|
+
) -> BaseResponse:
|
635
|
+
"""Rename Function
|
636
|
+
|
637
|
+
Renames a function using the function ID Will record name change history
|
638
|
+
|
639
|
+
:param function_id: (required)
|
640
|
+
:type function_id: int
|
641
|
+
:param function_rename: (required)
|
642
|
+
:type function_rename: FunctionRename
|
643
|
+
:param authorization: API Key bearer token
|
644
|
+
:type authorization: str
|
645
|
+
:param _request_timeout: timeout setting for this request. If one
|
646
|
+
number provided, it will be total request
|
647
|
+
timeout. It can also be a pair (tuple) of
|
648
|
+
(connection, read) timeouts.
|
649
|
+
:type _request_timeout: int, tuple(int, int), optional
|
650
|
+
:param _request_auth: set to override the auth_settings for an a single
|
651
|
+
request; this effectively ignores the
|
652
|
+
authentication in the spec for a single request.
|
653
|
+
:type _request_auth: dict, optional
|
654
|
+
:param _content_type: force content-type for the request.
|
655
|
+
:type _content_type: str, Optional
|
656
|
+
:param _headers: set to override the headers for a single
|
657
|
+
request; this effectively ignores the headers
|
658
|
+
in the spec for a single request.
|
659
|
+
:type _headers: dict, optional
|
660
|
+
:param _host_index: set to override the host_index for a single
|
661
|
+
request; this effectively ignores the host_index
|
662
|
+
in the spec for a single request.
|
663
|
+
:type _host_index: int, optional
|
664
|
+
:return: Returns the result object.
|
665
|
+
""" # noqa: E501
|
666
|
+
|
667
|
+
_param = self._rename_function_id_serialize(
|
668
|
+
function_id=function_id,
|
669
|
+
function_rename=function_rename,
|
670
|
+
authorization=authorization,
|
671
|
+
_request_auth=_request_auth,
|
672
|
+
_content_type=_content_type,
|
673
|
+
_headers=_headers,
|
674
|
+
_host_index=_host_index
|
675
|
+
)
|
676
|
+
|
677
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
678
|
+
'200': "BaseResponse",
|
679
|
+
'422': "BaseResponse",
|
680
|
+
}
|
681
|
+
response_data = self.api_client.call_api(
|
682
|
+
*_param,
|
683
|
+
_request_timeout=_request_timeout
|
684
|
+
)
|
685
|
+
response_data.read()
|
686
|
+
return self.api_client.response_deserialize(
|
687
|
+
response_data=response_data,
|
688
|
+
response_types_map=_response_types_map,
|
689
|
+
).data
|
690
|
+
|
691
|
+
|
692
|
+
@validate_call
|
693
|
+
def rename_function_id_with_http_info(
|
694
|
+
self,
|
695
|
+
function_id: StrictInt,
|
696
|
+
function_rename: FunctionRename,
|
697
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
698
|
+
_request_timeout: Union[
|
699
|
+
None,
|
700
|
+
Annotated[StrictFloat, Field(gt=0)],
|
701
|
+
Tuple[
|
702
|
+
Annotated[StrictFloat, Field(gt=0)],
|
703
|
+
Annotated[StrictFloat, Field(gt=0)]
|
704
|
+
]
|
705
|
+
] = None,
|
706
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
707
|
+
_content_type: Optional[StrictStr] = None,
|
708
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
709
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
710
|
+
) -> ApiResponse[BaseResponse]:
|
711
|
+
"""Rename Function
|
712
|
+
|
713
|
+
Renames a function using the function ID Will record name change history
|
714
|
+
|
715
|
+
:param function_id: (required)
|
716
|
+
:type function_id: int
|
717
|
+
:param function_rename: (required)
|
718
|
+
:type function_rename: FunctionRename
|
719
|
+
:param authorization: API Key bearer token
|
720
|
+
:type authorization: str
|
721
|
+
:param _request_timeout: timeout setting for this request. If one
|
722
|
+
number provided, it will be total request
|
723
|
+
timeout. It can also be a pair (tuple) of
|
724
|
+
(connection, read) timeouts.
|
725
|
+
:type _request_timeout: int, tuple(int, int), optional
|
726
|
+
:param _request_auth: set to override the auth_settings for an a single
|
727
|
+
request; this effectively ignores the
|
728
|
+
authentication in the spec for a single request.
|
729
|
+
:type _request_auth: dict, optional
|
730
|
+
:param _content_type: force content-type for the request.
|
731
|
+
:type _content_type: str, Optional
|
732
|
+
:param _headers: set to override the headers for a single
|
733
|
+
request; this effectively ignores the headers
|
734
|
+
in the spec for a single request.
|
735
|
+
:type _headers: dict, optional
|
736
|
+
:param _host_index: set to override the host_index for a single
|
737
|
+
request; this effectively ignores the host_index
|
738
|
+
in the spec for a single request.
|
739
|
+
:type _host_index: int, optional
|
740
|
+
:return: Returns the result object.
|
741
|
+
""" # noqa: E501
|
742
|
+
|
743
|
+
_param = self._rename_function_id_serialize(
|
744
|
+
function_id=function_id,
|
745
|
+
function_rename=function_rename,
|
746
|
+
authorization=authorization,
|
747
|
+
_request_auth=_request_auth,
|
748
|
+
_content_type=_content_type,
|
749
|
+
_headers=_headers,
|
750
|
+
_host_index=_host_index
|
751
|
+
)
|
752
|
+
|
753
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
754
|
+
'200': "BaseResponse",
|
755
|
+
'422': "BaseResponse",
|
756
|
+
}
|
757
|
+
response_data = self.api_client.call_api(
|
758
|
+
*_param,
|
759
|
+
_request_timeout=_request_timeout
|
760
|
+
)
|
761
|
+
response_data.read()
|
762
|
+
return self.api_client.response_deserialize(
|
763
|
+
response_data=response_data,
|
764
|
+
response_types_map=_response_types_map,
|
765
|
+
)
|
766
|
+
|
767
|
+
|
768
|
+
@validate_call
|
769
|
+
def rename_function_id_without_preload_content(
|
770
|
+
self,
|
771
|
+
function_id: StrictInt,
|
772
|
+
function_rename: FunctionRename,
|
773
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
774
|
+
_request_timeout: Union[
|
775
|
+
None,
|
776
|
+
Annotated[StrictFloat, Field(gt=0)],
|
777
|
+
Tuple[
|
778
|
+
Annotated[StrictFloat, Field(gt=0)],
|
779
|
+
Annotated[StrictFloat, Field(gt=0)]
|
780
|
+
]
|
781
|
+
] = None,
|
782
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
783
|
+
_content_type: Optional[StrictStr] = None,
|
784
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
785
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
786
|
+
) -> RESTResponseType:
|
787
|
+
"""Rename Function
|
788
|
+
|
789
|
+
Renames a function using the function ID Will record name change history
|
790
|
+
|
791
|
+
:param function_id: (required)
|
792
|
+
:type function_id: int
|
793
|
+
:param function_rename: (required)
|
794
|
+
:type function_rename: FunctionRename
|
795
|
+
:param authorization: API Key bearer token
|
796
|
+
:type authorization: str
|
797
|
+
:param _request_timeout: timeout setting for this request. If one
|
798
|
+
number provided, it will be total request
|
799
|
+
timeout. It can also be a pair (tuple) of
|
800
|
+
(connection, read) timeouts.
|
801
|
+
:type _request_timeout: int, tuple(int, int), optional
|
802
|
+
:param _request_auth: set to override the auth_settings for an a single
|
803
|
+
request; this effectively ignores the
|
804
|
+
authentication in the spec for a single request.
|
805
|
+
:type _request_auth: dict, optional
|
806
|
+
:param _content_type: force content-type for the request.
|
807
|
+
:type _content_type: str, Optional
|
808
|
+
:param _headers: set to override the headers for a single
|
809
|
+
request; this effectively ignores the headers
|
810
|
+
in the spec for a single request.
|
811
|
+
:type _headers: dict, optional
|
812
|
+
:param _host_index: set to override the host_index for a single
|
813
|
+
request; this effectively ignores the host_index
|
814
|
+
in the spec for a single request.
|
815
|
+
:type _host_index: int, optional
|
816
|
+
:return: Returns the result object.
|
817
|
+
""" # noqa: E501
|
818
|
+
|
819
|
+
_param = self._rename_function_id_serialize(
|
820
|
+
function_id=function_id,
|
821
|
+
function_rename=function_rename,
|
822
|
+
authorization=authorization,
|
823
|
+
_request_auth=_request_auth,
|
824
|
+
_content_type=_content_type,
|
825
|
+
_headers=_headers,
|
826
|
+
_host_index=_host_index
|
827
|
+
)
|
828
|
+
|
829
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
830
|
+
'200': "BaseResponse",
|
831
|
+
'422': "BaseResponse",
|
832
|
+
}
|
833
|
+
response_data = self.api_client.call_api(
|
834
|
+
*_param,
|
835
|
+
_request_timeout=_request_timeout
|
836
|
+
)
|
837
|
+
return response_data.response
|
838
|
+
|
839
|
+
|
840
|
+
def _rename_function_id_serialize(
|
841
|
+
self,
|
842
|
+
function_id,
|
843
|
+
function_rename,
|
844
|
+
authorization,
|
845
|
+
_request_auth,
|
846
|
+
_content_type,
|
847
|
+
_headers,
|
848
|
+
_host_index,
|
849
|
+
) -> RequestSerialized:
|
850
|
+
|
851
|
+
_host = None
|
852
|
+
|
853
|
+
_collection_formats: Dict[str, str] = {
|
854
|
+
}
|
855
|
+
|
856
|
+
_path_params: Dict[str, str] = {}
|
857
|
+
_query_params: List[Tuple[str, str]] = []
|
858
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
859
|
+
_form_params: List[Tuple[str, str]] = []
|
860
|
+
_files: Dict[
|
861
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
862
|
+
] = {}
|
863
|
+
_body_params: Optional[bytes] = None
|
864
|
+
|
865
|
+
# process the path parameters
|
866
|
+
if function_id is not None:
|
867
|
+
_path_params['function_id'] = function_id
|
868
|
+
# process the query parameters
|
869
|
+
# process the header parameters
|
870
|
+
if authorization is not None:
|
871
|
+
_header_params['authorization'] = authorization
|
872
|
+
# process the form parameters
|
873
|
+
# process the body parameter
|
874
|
+
if function_rename is not None:
|
875
|
+
_body_params = function_rename
|
876
|
+
|
877
|
+
|
878
|
+
# set the HTTP header `Accept`
|
879
|
+
if 'Accept' not in _header_params:
|
880
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
881
|
+
[
|
882
|
+
'application/json'
|
883
|
+
]
|
884
|
+
)
|
885
|
+
|
886
|
+
# set the HTTP header `Content-Type`
|
887
|
+
if _content_type:
|
888
|
+
_header_params['Content-Type'] = _content_type
|
889
|
+
else:
|
890
|
+
_default_content_type = (
|
891
|
+
self.api_client.select_header_content_type(
|
892
|
+
[
|
893
|
+
'application/json'
|
894
|
+
]
|
895
|
+
)
|
896
|
+
)
|
897
|
+
if _default_content_type is not None:
|
898
|
+
_header_params['Content-Type'] = _default_content_type
|
899
|
+
|
900
|
+
# authentication setting
|
901
|
+
_auth_settings: List[str] = [
|
902
|
+
'APIKey'
|
903
|
+
]
|
904
|
+
|
905
|
+
return self.api_client.param_serialize(
|
906
|
+
method='POST',
|
907
|
+
resource_path='/v2/functions/rename/{function_id}',
|
908
|
+
path_params=_path_params,
|
909
|
+
query_params=_query_params,
|
910
|
+
header_params=_header_params,
|
911
|
+
body=_body_params,
|
912
|
+
post_params=_form_params,
|
913
|
+
files=_files,
|
914
|
+
auth_settings=_auth_settings,
|
915
|
+
collection_formats=_collection_formats,
|
916
|
+
_host=_host,
|
917
|
+
_request_auth=_request_auth
|
918
|
+
)
|
919
|
+
|
920
|
+
|
921
|
+
|
922
|
+
|
923
|
+
@validate_call
|
924
|
+
def revert_function_name(
|
925
|
+
self,
|
926
|
+
function_id: StrictInt,
|
927
|
+
history_id: StrictInt,
|
928
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
929
|
+
_request_timeout: Union[
|
930
|
+
None,
|
931
|
+
Annotated[StrictFloat, Field(gt=0)],
|
932
|
+
Tuple[
|
933
|
+
Annotated[StrictFloat, Field(gt=0)],
|
934
|
+
Annotated[StrictFloat, Field(gt=0)]
|
935
|
+
]
|
936
|
+
] = None,
|
937
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
938
|
+
_content_type: Optional[StrictStr] = None,
|
939
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
940
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
941
|
+
) -> BaseResponse:
|
942
|
+
"""Revert the function name
|
943
|
+
|
944
|
+
Reverts the function name to a previous name using the function ID and history ID
|
945
|
+
|
946
|
+
:param function_id: (required)
|
947
|
+
:type function_id: int
|
948
|
+
:param history_id: (required)
|
949
|
+
:type history_id: int
|
950
|
+
:param authorization: API Key bearer token
|
951
|
+
:type authorization: str
|
952
|
+
:param _request_timeout: timeout setting for this request. If one
|
953
|
+
number provided, it will be total request
|
954
|
+
timeout. It can also be a pair (tuple) of
|
955
|
+
(connection, read) timeouts.
|
956
|
+
:type _request_timeout: int, tuple(int, int), optional
|
957
|
+
:param _request_auth: set to override the auth_settings for an a single
|
958
|
+
request; this effectively ignores the
|
959
|
+
authentication in the spec for a single request.
|
960
|
+
:type _request_auth: dict, optional
|
961
|
+
:param _content_type: force content-type for the request.
|
962
|
+
:type _content_type: str, Optional
|
963
|
+
:param _headers: set to override the headers for a single
|
964
|
+
request; this effectively ignores the headers
|
965
|
+
in the spec for a single request.
|
966
|
+
:type _headers: dict, optional
|
967
|
+
:param _host_index: set to override the host_index for a single
|
968
|
+
request; this effectively ignores the host_index
|
969
|
+
in the spec for a single request.
|
970
|
+
:type _host_index: int, optional
|
971
|
+
:return: Returns the result object.
|
972
|
+
""" # noqa: E501
|
973
|
+
|
974
|
+
_param = self._revert_function_name_serialize(
|
975
|
+
function_id=function_id,
|
976
|
+
history_id=history_id,
|
977
|
+
authorization=authorization,
|
978
|
+
_request_auth=_request_auth,
|
979
|
+
_content_type=_content_type,
|
980
|
+
_headers=_headers,
|
981
|
+
_host_index=_host_index
|
982
|
+
)
|
983
|
+
|
984
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
985
|
+
'200': "BaseResponse",
|
986
|
+
'422': "BaseResponse",
|
987
|
+
}
|
988
|
+
response_data = self.api_client.call_api(
|
989
|
+
*_param,
|
990
|
+
_request_timeout=_request_timeout
|
991
|
+
)
|
992
|
+
response_data.read()
|
993
|
+
return self.api_client.response_deserialize(
|
994
|
+
response_data=response_data,
|
995
|
+
response_types_map=_response_types_map,
|
996
|
+
).data
|
997
|
+
|
998
|
+
|
999
|
+
@validate_call
|
1000
|
+
def revert_function_name_with_http_info(
|
1001
|
+
self,
|
1002
|
+
function_id: StrictInt,
|
1003
|
+
history_id: StrictInt,
|
1004
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1005
|
+
_request_timeout: Union[
|
1006
|
+
None,
|
1007
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1008
|
+
Tuple[
|
1009
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1010
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1011
|
+
]
|
1012
|
+
] = None,
|
1013
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1014
|
+
_content_type: Optional[StrictStr] = None,
|
1015
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1016
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1017
|
+
) -> ApiResponse[BaseResponse]:
|
1018
|
+
"""Revert the function name
|
1019
|
+
|
1020
|
+
Reverts the function name to a previous name using the function ID and history ID
|
1021
|
+
|
1022
|
+
:param function_id: (required)
|
1023
|
+
:type function_id: int
|
1024
|
+
:param history_id: (required)
|
1025
|
+
:type history_id: int
|
1026
|
+
:param authorization: API Key bearer token
|
1027
|
+
:type authorization: str
|
1028
|
+
:param _request_timeout: timeout setting for this request. If one
|
1029
|
+
number provided, it will be total request
|
1030
|
+
timeout. It can also be a pair (tuple) of
|
1031
|
+
(connection, read) timeouts.
|
1032
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1033
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1034
|
+
request; this effectively ignores the
|
1035
|
+
authentication in the spec for a single request.
|
1036
|
+
:type _request_auth: dict, optional
|
1037
|
+
:param _content_type: force content-type for the request.
|
1038
|
+
:type _content_type: str, Optional
|
1039
|
+
:param _headers: set to override the headers for a single
|
1040
|
+
request; this effectively ignores the headers
|
1041
|
+
in the spec for a single request.
|
1042
|
+
:type _headers: dict, optional
|
1043
|
+
:param _host_index: set to override the host_index for a single
|
1044
|
+
request; this effectively ignores the host_index
|
1045
|
+
in the spec for a single request.
|
1046
|
+
:type _host_index: int, optional
|
1047
|
+
:return: Returns the result object.
|
1048
|
+
""" # noqa: E501
|
1049
|
+
|
1050
|
+
_param = self._revert_function_name_serialize(
|
1051
|
+
function_id=function_id,
|
1052
|
+
history_id=history_id,
|
1053
|
+
authorization=authorization,
|
1054
|
+
_request_auth=_request_auth,
|
1055
|
+
_content_type=_content_type,
|
1056
|
+
_headers=_headers,
|
1057
|
+
_host_index=_host_index
|
1058
|
+
)
|
1059
|
+
|
1060
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1061
|
+
'200': "BaseResponse",
|
1062
|
+
'422': "BaseResponse",
|
1063
|
+
}
|
1064
|
+
response_data = self.api_client.call_api(
|
1065
|
+
*_param,
|
1066
|
+
_request_timeout=_request_timeout
|
1067
|
+
)
|
1068
|
+
response_data.read()
|
1069
|
+
return self.api_client.response_deserialize(
|
1070
|
+
response_data=response_data,
|
1071
|
+
response_types_map=_response_types_map,
|
1072
|
+
)
|
1073
|
+
|
1074
|
+
|
1075
|
+
@validate_call
|
1076
|
+
def revert_function_name_without_preload_content(
|
1077
|
+
self,
|
1078
|
+
function_id: StrictInt,
|
1079
|
+
history_id: StrictInt,
|
1080
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
1081
|
+
_request_timeout: Union[
|
1082
|
+
None,
|
1083
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1084
|
+
Tuple[
|
1085
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1086
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1087
|
+
]
|
1088
|
+
] = None,
|
1089
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1090
|
+
_content_type: Optional[StrictStr] = None,
|
1091
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1092
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1093
|
+
) -> RESTResponseType:
|
1094
|
+
"""Revert the function name
|
1095
|
+
|
1096
|
+
Reverts the function name to a previous name using the function ID and history ID
|
1097
|
+
|
1098
|
+
:param function_id: (required)
|
1099
|
+
:type function_id: int
|
1100
|
+
:param history_id: (required)
|
1101
|
+
:type history_id: int
|
1102
|
+
:param authorization: API Key bearer token
|
1103
|
+
:type authorization: str
|
1104
|
+
:param _request_timeout: timeout setting for this request. If one
|
1105
|
+
number provided, it will be total request
|
1106
|
+
timeout. It can also be a pair (tuple) of
|
1107
|
+
(connection, read) timeouts.
|
1108
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1109
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1110
|
+
request; this effectively ignores the
|
1111
|
+
authentication in the spec for a single request.
|
1112
|
+
:type _request_auth: dict, optional
|
1113
|
+
:param _content_type: force content-type for the request.
|
1114
|
+
:type _content_type: str, Optional
|
1115
|
+
:param _headers: set to override the headers for a single
|
1116
|
+
request; this effectively ignores the headers
|
1117
|
+
in the spec for a single request.
|
1118
|
+
:type _headers: dict, optional
|
1119
|
+
:param _host_index: set to override the host_index for a single
|
1120
|
+
request; this effectively ignores the host_index
|
1121
|
+
in the spec for a single request.
|
1122
|
+
:type _host_index: int, optional
|
1123
|
+
:return: Returns the result object.
|
1124
|
+
""" # noqa: E501
|
1125
|
+
|
1126
|
+
_param = self._revert_function_name_serialize(
|
1127
|
+
function_id=function_id,
|
1128
|
+
history_id=history_id,
|
1129
|
+
authorization=authorization,
|
1130
|
+
_request_auth=_request_auth,
|
1131
|
+
_content_type=_content_type,
|
1132
|
+
_headers=_headers,
|
1133
|
+
_host_index=_host_index
|
1134
|
+
)
|
1135
|
+
|
1136
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1137
|
+
'200': "BaseResponse",
|
1138
|
+
'422': "BaseResponse",
|
1139
|
+
}
|
1140
|
+
response_data = self.api_client.call_api(
|
1141
|
+
*_param,
|
1142
|
+
_request_timeout=_request_timeout
|
1143
|
+
)
|
1144
|
+
return response_data.response
|
1145
|
+
|
1146
|
+
|
1147
|
+
def _revert_function_name_serialize(
|
1148
|
+
self,
|
1149
|
+
function_id,
|
1150
|
+
history_id,
|
1151
|
+
authorization,
|
1152
|
+
_request_auth,
|
1153
|
+
_content_type,
|
1154
|
+
_headers,
|
1155
|
+
_host_index,
|
1156
|
+
) -> RequestSerialized:
|
1157
|
+
|
1158
|
+
_host = None
|
1159
|
+
|
1160
|
+
_collection_formats: Dict[str, str] = {
|
1161
|
+
}
|
1162
|
+
|
1163
|
+
_path_params: Dict[str, str] = {}
|
1164
|
+
_query_params: List[Tuple[str, str]] = []
|
1165
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1166
|
+
_form_params: List[Tuple[str, str]] = []
|
1167
|
+
_files: Dict[
|
1168
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1169
|
+
] = {}
|
1170
|
+
_body_params: Optional[bytes] = None
|
1171
|
+
|
1172
|
+
# process the path parameters
|
1173
|
+
if function_id is not None:
|
1174
|
+
_path_params['function_id'] = function_id
|
1175
|
+
if history_id is not None:
|
1176
|
+
_path_params['history_id'] = history_id
|
1177
|
+
# process the query parameters
|
1178
|
+
# process the header parameters
|
1179
|
+
if authorization is not None:
|
1180
|
+
_header_params['authorization'] = authorization
|
1181
|
+
# process the form parameters
|
1182
|
+
# process the body parameter
|
1183
|
+
|
1184
|
+
|
1185
|
+
# set the HTTP header `Accept`
|
1186
|
+
if 'Accept' not in _header_params:
|
1187
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1188
|
+
[
|
1189
|
+
'application/json'
|
1190
|
+
]
|
1191
|
+
)
|
1192
|
+
|
1193
|
+
|
1194
|
+
# authentication setting
|
1195
|
+
_auth_settings: List[str] = [
|
1196
|
+
'APIKey'
|
1197
|
+
]
|
1198
|
+
|
1199
|
+
return self.api_client.param_serialize(
|
1200
|
+
method='POST',
|
1201
|
+
resource_path='/v2/functions/history/{function_id}/{history_id}',
|
1202
|
+
path_params=_path_params,
|
1203
|
+
query_params=_query_params,
|
1204
|
+
header_params=_header_params,
|
1205
|
+
body=_body_params,
|
1206
|
+
post_params=_form_params,
|
1207
|
+
files=_files,
|
1208
|
+
auth_settings=_auth_settings,
|
1209
|
+
collection_formats=_collection_formats,
|
1210
|
+
_host=_host,
|
1211
|
+
_request_auth=_request_auth
|
1212
|
+
)
|
1213
|
+
|
1214
|
+
|