diff --git a/.sdk-version b/.sdk-version index 436ebfe..5af1c91 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v3.56.0 +v3.57.0 diff --git a/docs/AnalysesCommentsApi.md b/docs/AnalysesCommentsApi.md index efd4245..9f149cf 100644 --- a/docs/AnalysesCommentsApi.md +++ b/docs/AnalysesCommentsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **create_analysis_comment** -> BaseResponseCommentResponse create_analysis_comment(analysis_id, comment_base) +> BaseResponseCommentResponse create_analysis_comment(analysis_id, comment_base, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Create a comment for this analysis @@ -51,10 +51,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCommentsApi(api_client) analysis_id = 56 # int | comment_base = revengai.CommentBase() # CommentBase | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Create a comment for this analysis - api_response = api_instance.create_analysis_comment(analysis_id, comment_base) + api_response = api_instance.create_analysis_comment(analysis_id, comment_base, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCommentsApi->create_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -70,6 +76,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **comment_base** | [**CommentBase**](CommentBase.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -95,7 +107,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_analysis_comment** -> BaseResponseBool delete_analysis_comment(comment_id, analysis_id) +> BaseResponseBool delete_analysis_comment(comment_id, analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Delete a comment @@ -134,10 +146,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCommentsApi(api_client) comment_id = 56 # int | analysis_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Delete a comment - api_response = api_instance.delete_analysis_comment(comment_id, analysis_id) + api_response = api_instance.delete_analysis_comment(comment_id, analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCommentsApi->delete_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -153,6 +171,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **analysis_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -179,7 +203,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_comments** -> BaseResponseListCommentResponse get_analysis_comments(analysis_id) +> BaseResponseListCommentResponse get_analysis_comments(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Get comments for this analysis @@ -217,10 +241,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCommentsApi(api_client) analysis_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Get comments for this analysis - api_response = api_instance.get_analysis_comments(analysis_id) + api_response = api_instance.get_analysis_comments(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCommentsApi->get_analysis_comments:\n") pprint(api_response) except Exception as e: @@ -235,6 +265,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -259,7 +295,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_analysis_comment** -> BaseResponseCommentResponse update_analysis_comment(comment_id, analysis_id, comment_update_request) +> BaseResponseCommentResponse update_analysis_comment(comment_id, analysis_id, comment_update_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Update a comment @@ -300,10 +336,16 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | analysis_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Update a comment - api_response = api_instance.update_analysis_comment(comment_id, analysis_id, comment_update_request) + api_response = api_instance.update_analysis_comment(comment_id, analysis_id, comment_update_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCommentsApi->update_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -320,6 +362,12 @@ Name | Type | Description | Notes **comment_id** | **int**| | **analysis_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type diff --git a/docs/AnalysesCoreApi.md b/docs/AnalysesCoreApi.md index ef8ca3d..0e9d4b3 100644 --- a/docs/AnalysesCoreApi.md +++ b/docs/AnalysesCoreApi.md @@ -23,7 +23,7 @@ Method | HTTP request | Description # **bulk_add_analysis_tags** -> BaseResponseAnalysisBulkAddTagsResponse bulk_add_analysis_tags(analysis_bulk_add_tags_request) +> BaseResponseAnalysisBulkAddTagsResponse bulk_add_analysis_tags(analysis_bulk_add_tags_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Bulk Add Analysis Tags @@ -62,10 +62,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_bulk_add_tags_request = revengai.AnalysisBulkAddTagsRequest() # AnalysisBulkAddTagsRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Bulk Add Analysis Tags - api_response = api_instance.bulk_add_analysis_tags(analysis_bulk_add_tags_request) + api_response = api_instance.bulk_add_analysis_tags(analysis_bulk_add_tags_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCoreApi->bulk_add_analysis_tags:\n") pprint(api_response) except Exception as e: @@ -80,6 +86,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_bulk_add_tags_request** | [**AnalysisBulkAddTagsRequest**](AnalysisBulkAddTagsRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -104,7 +116,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_analysis** -> BaseResponseAnalysisCreateResponse create_analysis(analysis_create_request, x_rev_eng_application=x_rev_eng_application) +> BaseResponseAnalysisCreateResponse create_analysis(analysis_create_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application) Create Analysis @@ -143,11 +155,17 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_create_request = revengai.AnalysisCreateRequest() # AnalysisCreateRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) x_rev_eng_application = 'x_rev_eng_application_example' # str | (optional) try: # Create Analysis - api_response = api_instance.create_analysis(analysis_create_request, x_rev_eng_application=x_rev_eng_application) + api_response = api_instance.create_analysis(analysis_create_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application) print("The response of AnalysesCoreApi->create_analysis:\n") pprint(api_response) except Exception as e: @@ -162,6 +180,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_create_request** | [**AnalysisCreateRequest**](AnalysisCreateRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] **x_rev_eng_application** | **str**| | [optional] ### Return type @@ -189,7 +213,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_analysis** -> BaseResponseDict delete_analysis(analysis_id) +> BaseResponseDict delete_analysis(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Delete Analysis @@ -227,10 +251,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Delete Analysis - api_response = api_instance.delete_analysis(analysis_id) + api_response = api_instance.delete_analysis(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCoreApi->delete_analysis:\n") pprint(api_response) except Exception as e: @@ -245,6 +275,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -351,7 +387,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_function_map** -> BaseResponseAnalysisFunctionMapping get_analysis_function_map(analysis_id) +> BaseResponseAnalysisFunctionMapping get_analysis_function_map(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Get Analysis Function Map @@ -389,10 +425,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Get Analysis Function Map - api_response = api_instance.get_analysis_function_map(analysis_id) + api_response = api_instance.get_analysis_function_map(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCoreApi->get_analysis_function_map:\n") pprint(api_response) except Exception as e: @@ -407,6 +449,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -431,7 +479,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_logs** -> BaseResponseLogs get_analysis_logs(analysis_id) +> BaseResponseLogs get_analysis_logs(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets the logs of an analysis @@ -469,10 +517,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets the logs of an analysis - api_response = api_instance.get_analysis_logs(analysis_id) + api_response = api_instance.get_analysis_logs(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCoreApi->get_analysis_logs:\n") pprint(api_response) except Exception as e: @@ -487,6 +541,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -511,7 +571,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_params** -> BaseResponseParams get_analysis_params(analysis_id) +> BaseResponseParams get_analysis_params(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets analysis param information @@ -549,10 +609,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets analysis param information - api_response = api_instance.get_analysis_params(analysis_id) + api_response = api_instance.get_analysis_params(analysis_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCoreApi->get_analysis_params:\n") pprint(api_response) except Exception as e: @@ -567,6 +633,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -671,7 +743,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **insert_analysis_log** -> BaseResponse insert_analysis_log(analysis_id, insert_analysis_log_request) +> BaseResponse insert_analysis_log(analysis_id, insert_analysis_log_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Insert a log entry for an analysis @@ -711,10 +783,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | insert_analysis_log_request = revengai.InsertAnalysisLogRequest() # InsertAnalysisLogRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Insert a log entry for an analysis - api_response = api_instance.insert_analysis_log(analysis_id, insert_analysis_log_request) + api_response = api_instance.insert_analysis_log(analysis_id, insert_analysis_log_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCoreApi->insert_analysis_log:\n") pprint(api_response) except Exception as e: @@ -730,6 +808,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **insert_analysis_log_request** | [**InsertAnalysisLogRequest**](InsertAnalysisLogRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -1022,7 +1106,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **requeue_analysis** -> BaseResponseCreated requeue_analysis(analysis_id, re_analysis_form, x_rev_eng_application=x_rev_eng_application) +> BaseResponseCreated requeue_analysis(analysis_id, re_analysis_form, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application) Requeue Analysis @@ -1062,11 +1146,17 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | re_analysis_form = revengai.ReAnalysisForm() # ReAnalysisForm | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) x_rev_eng_application = 'x_rev_eng_application_example' # str | (optional) try: # Requeue Analysis - api_response = api_instance.requeue_analysis(analysis_id, re_analysis_form, x_rev_eng_application=x_rev_eng_application) + api_response = api_instance.requeue_analysis(analysis_id, re_analysis_form, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application) print("The response of AnalysesCoreApi->requeue_analysis:\n") pprint(api_response) except Exception as e: @@ -1082,6 +1172,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **re_analysis_form** | [**ReAnalysisForm**](ReAnalysisForm.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] **x_rev_eng_application** | **str**| | [optional] ### Return type @@ -1109,7 +1205,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_analysis** -> BaseResponseAnalysisDetailResponse update_analysis(analysis_id, analysis_update_request) +> BaseResponseAnalysisDetailResponse update_analysis(analysis_id, analysis_update_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Update Analysis @@ -1149,10 +1245,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | analysis_update_request = revengai.AnalysisUpdateRequest() # AnalysisUpdateRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Update Analysis - api_response = api_instance.update_analysis(analysis_id, analysis_update_request) + api_response = api_instance.update_analysis(analysis_id, analysis_update_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCoreApi->update_analysis:\n") pprint(api_response) except Exception as e: @@ -1168,6 +1270,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **analysis_update_request** | [**AnalysisUpdateRequest**](AnalysisUpdateRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -1192,7 +1300,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_analysis_tags** -> BaseResponseAnalysisUpdateTagsResponse update_analysis_tags(analysis_id, analysis_update_tags_request) +> BaseResponseAnalysisUpdateTagsResponse update_analysis_tags(analysis_id, analysis_update_tags_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Update Analysis Tags @@ -1232,10 +1340,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | analysis_update_tags_request = revengai.AnalysisUpdateTagsRequest() # AnalysisUpdateTagsRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Update Analysis Tags - api_response = api_instance.update_analysis_tags(analysis_id, analysis_update_tags_request) + api_response = api_instance.update_analysis_tags(analysis_id, analysis_update_tags_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AnalysesCoreApi->update_analysis_tags:\n") pprint(api_response) except Exception as e: @@ -1251,6 +1365,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **analysis_update_tags_request** | [**AnalysisUpdateTagsRequest**](AnalysisUpdateTagsRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -1275,7 +1395,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **upload_file** -> BaseResponseUploadResponse upload_file(upload_file_type, file, packed_password=packed_password, force_overwrite=force_overwrite) +> BaseResponseUploadResponse upload_file(upload_file_type, file, packed_password=packed_password, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts, force_overwrite=force_overwrite) Upload File @@ -1314,11 +1434,17 @@ with revengai.ApiClient(configuration) as api_client: upload_file_type = revengai.UploadFileType() # UploadFileType | file = None # bytearray | packed_password = 'packed_password_example' # str | (optional) + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) force_overwrite = False # bool | (optional) (default to False) try: # Upload File - api_response = api_instance.upload_file(upload_file_type, file, packed_password=packed_password, force_overwrite=force_overwrite) + api_response = api_instance.upload_file(upload_file_type, file, packed_password=packed_password, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts, force_overwrite=force_overwrite) print("The response of AnalysesCoreApi->upload_file:\n") pprint(api_response) except Exception as e: @@ -1335,6 +1461,12 @@ Name | Type | Description | Notes **upload_file_type** | [**UploadFileType**](UploadFileType.md)| | **file** | **bytearray**| | **packed_password** | **str**| | [optional] + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] **force_overwrite** | **bool**| | [optional] [default to False] ### Return type diff --git a/docs/AuthenticationUsersApi.md b/docs/AuthenticationUsersApi.md index 36d5d73..be328a7 100644 --- a/docs/AuthenticationUsersApi.md +++ b/docs/AuthenticationUsersApi.md @@ -238,7 +238,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_user_comments** -> BaseResponseListCommentResponse get_user_comments() +> BaseResponseListCommentResponse get_user_comments(endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Get comments by user @@ -275,10 +275,16 @@ configuration.api_key['APIKey'] = os.environ["API_KEY"] with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AuthenticationUsersApi(api_client) + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Get comments by user - api_response = api_instance.get_user_comments() + api_response = api_instance.get_user_comments(endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of AuthenticationUsersApi->get_user_comments:\n") pprint(api_response) except Exception as e: @@ -289,7 +295,15 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type diff --git a/docs/BinariesApi.md b/docs/BinariesApi.md index d7b4504..c7966c2 100644 --- a/docs/BinariesApi.md +++ b/docs/BinariesApi.md @@ -15,7 +15,7 @@ Method | HTTP request | Description # **download_zipped_binary** -> bytearray download_zipped_binary(binary_id) +> bytearray download_zipped_binary(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Downloads a zipped binary with password protection @@ -50,10 +50,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Downloads a zipped binary with password protection - api_response = api_instance.download_zipped_binary(binary_id) + api_response = api_instance.download_zipped_binary(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of BinariesApi->download_zipped_binary:\n") pprint(api_response) except Exception as e: @@ -68,6 +74,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -92,7 +104,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_additional_details** -> BaseResponseBinaryAdditionalResponse get_binary_additional_details(binary_id) +> BaseResponseBinaryAdditionalResponse get_binary_additional_details(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets the additional details of a binary @@ -128,10 +140,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets the additional details of a binary - api_response = api_instance.get_binary_additional_details(binary_id) + api_response = api_instance.get_binary_additional_details(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of BinariesApi->get_binary_additional_details:\n") pprint(api_response) except Exception as e: @@ -146,6 +164,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -170,7 +194,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_additional_details_status** -> BaseResponseAdditionalDetailsStatusResponse get_binary_additional_details_status(binary_id) +> BaseResponseAdditionalDetailsStatusResponse get_binary_additional_details_status(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets the status of the additional details task for a binary @@ -206,10 +230,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets the status of the additional details task for a binary - api_response = api_instance.get_binary_additional_details_status(binary_id) + api_response = api_instance.get_binary_additional_details_status(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of BinariesApi->get_binary_additional_details_status:\n") pprint(api_response) except Exception as e: @@ -224,6 +254,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -248,7 +284,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_details** -> BaseResponseBinaryDetailsResponse get_binary_details(binary_id) +> BaseResponseBinaryDetailsResponse get_binary_details(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets the details of a binary @@ -284,10 +320,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets the details of a binary - api_response = api_instance.get_binary_details(binary_id) + api_response = api_instance.get_binary_details(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of BinariesApi->get_binary_details:\n") pprint(api_response) except Exception as e: @@ -302,6 +344,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -326,7 +374,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_die_info** -> BaseResponseListDieMatch get_binary_die_info(binary_id) +> BaseResponseListDieMatch get_binary_die_info(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets the die info of a binary @@ -362,10 +410,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets the die info of a binary - api_response = api_instance.get_binary_die_info(binary_id) + api_response = api_instance.get_binary_die_info(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of BinariesApi->get_binary_die_info:\n") pprint(api_response) except Exception as e: @@ -380,6 +434,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -404,7 +464,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_externals** -> BaseResponseBinaryExternalsResponse get_binary_externals(binary_id) +> BaseResponseBinaryExternalsResponse get_binary_externals(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets the external details of a binary @@ -440,10 +500,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets the external details of a binary - api_response = api_instance.get_binary_externals(binary_id) + api_response = api_instance.get_binary_externals(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of BinariesApi->get_binary_externals:\n") pprint(api_response) except Exception as e: @@ -458,6 +524,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -482,7 +554,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_related_status** -> BaseResponseBinariesRelatedStatusResponse get_binary_related_status(binary_id) +> BaseResponseBinariesRelatedStatusResponse get_binary_related_status(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets the status of the unpack binary task for a binary @@ -518,10 +590,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets the status of the unpack binary task for a binary - api_response = api_instance.get_binary_related_status(binary_id) + api_response = api_instance.get_binary_related_status(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of BinariesApi->get_binary_related_status:\n") pprint(api_response) except Exception as e: @@ -536,6 +614,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -560,7 +644,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_related_binaries** -> BaseResponseChildBinariesResponse get_related_binaries(binary_id) +> BaseResponseChildBinariesResponse get_related_binaries(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Gets the related binaries of a binary. @@ -596,10 +680,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Gets the related binaries of a binary. - api_response = api_instance.get_related_binaries(binary_id) + api_response = api_instance.get_related_binaries(binary_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of BinariesApi->get_related_binaries:\n") pprint(api_response) except Exception as e: @@ -614,6 +704,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type diff --git a/docs/FirmwareApi.md b/docs/FirmwareApi.md index 10d6309..5e949c8 100644 --- a/docs/FirmwareApi.md +++ b/docs/FirmwareApi.md @@ -88,7 +88,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **upload_firmware** -> object upload_firmware(file, password=password) +> object upload_firmware(file, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts, password=password) Upload firmware for unpacking @@ -125,11 +125,17 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FirmwareApi(api_client) file = None # bytearray | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) password = 'password_example' # str | (optional) try: # Upload firmware for unpacking - api_response = api_instance.upload_firmware(file, password=password) + api_response = api_instance.upload_firmware(file, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts, password=password) print("The response of FirmwareApi->upload_firmware:\n") pprint(api_response) except Exception as e: @@ -144,6 +150,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **file** | **bytearray**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] **password** | **str**| | [optional] ### Return type diff --git a/docs/FunctionsAIDecompilationApi.md b/docs/FunctionsAIDecompilationApi.md index 8223d8c..3e1f523 100644 --- a/docs/FunctionsAIDecompilationApi.md +++ b/docs/FunctionsAIDecompilationApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description # **create_ai_decompilation_comment** -> BaseResponseCommentResponse create_ai_decompilation_comment(function_id, function_comment_create_request) +> BaseResponseCommentResponse create_ai_decompilation_comment(function_id, function_comment_create_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Create a comment for this function @@ -56,10 +56,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | function_comment_create_request = revengai.FunctionCommentCreateRequest() # FunctionCommentCreateRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Create a comment for this function - api_response = api_instance.create_ai_decompilation_comment(function_id, function_comment_create_request) + api_response = api_instance.create_ai_decompilation_comment(function_id, function_comment_create_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of FunctionsAIDecompilationApi->create_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -75,6 +81,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **function_comment_create_request** | [**FunctionCommentCreateRequest**](FunctionCommentCreateRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -184,7 +196,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_ai_decompilation_comment** -> BaseResponseBool delete_ai_decompilation_comment(comment_id, function_id) +> BaseResponseBool delete_ai_decompilation_comment(comment_id, function_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Delete a comment @@ -223,10 +235,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsAIDecompilationApi(api_client) comment_id = 56 # int | function_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Delete a comment - api_response = api_instance.delete_ai_decompilation_comment(comment_id, function_id) + api_response = api_instance.delete_ai_decompilation_comment(comment_id, function_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of FunctionsAIDecompilationApi->delete_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -242,6 +260,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **function_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -268,7 +292,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_ai_decompilation_comments** -> BaseResponseListCommentResponse get_ai_decompilation_comments(function_id) +> BaseResponseListCommentResponse get_ai_decompilation_comments(function_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Get comments for this function @@ -306,10 +330,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Get comments for this function - api_response = api_instance.get_ai_decompilation_comments(function_id) + api_response = api_instance.get_ai_decompilation_comments(function_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_comments:\n") pprint(api_response) except Exception as e: @@ -324,6 +354,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -589,7 +625,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_ai_decompilation_comment** -> BaseResponseCommentResponse update_ai_decompilation_comment(comment_id, function_id, comment_update_request) +> BaseResponseCommentResponse update_ai_decompilation_comment(comment_id, function_id, comment_update_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Update a comment @@ -630,10 +666,16 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | function_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Update a comment - api_response = api_instance.update_ai_decompilation_comment(comment_id, function_id, comment_update_request) + api_response = api_instance.update_ai_decompilation_comment(comment_id, function_id, comment_update_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of FunctionsAIDecompilationApi->update_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -650,6 +692,12 @@ Name | Type | Description | Notes **comment_id** | **int**| | **function_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type diff --git a/docs/FunctionsDecompilationApi.md b/docs/FunctionsDecompilationApi.md index 5550224..dfdcbd4 100644 --- a/docs/FunctionsDecompilationApi.md +++ b/docs/FunctionsDecompilationApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **create_decompilation_comment** -> BaseResponseCommentResponse create_decompilation_comment(function_id, function_comment_create_request) +> BaseResponseCommentResponse create_decompilation_comment(function_id, function_comment_create_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Create a comment for this function @@ -51,10 +51,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | function_comment_create_request = revengai.FunctionCommentCreateRequest() # FunctionCommentCreateRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Create a comment for this function - api_response = api_instance.create_decompilation_comment(function_id, function_comment_create_request) + api_response = api_instance.create_decompilation_comment(function_id, function_comment_create_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of FunctionsDecompilationApi->create_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -70,6 +76,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **function_comment_create_request** | [**FunctionCommentCreateRequest**](FunctionCommentCreateRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -95,7 +107,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_decompilation_comment** -> BaseResponseBool delete_decompilation_comment(comment_id, function_id) +> BaseResponseBool delete_decompilation_comment(comment_id, function_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Delete a comment @@ -134,10 +146,16 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDecompilationApi(api_client) comment_id = 56 # int | function_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Delete a comment - api_response = api_instance.delete_decompilation_comment(comment_id, function_id) + api_response = api_instance.delete_decompilation_comment(comment_id, function_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of FunctionsDecompilationApi->delete_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -153,6 +171,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **function_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -179,7 +203,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_decompilation_comments** -> BaseResponseListCommentResponse get_decompilation_comments(function_id) +> BaseResponseListCommentResponse get_decompilation_comments(function_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Get comments for this function @@ -217,10 +241,16 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Get comments for this function - api_response = api_instance.get_decompilation_comments(function_id) + api_response = api_instance.get_decompilation_comments(function_id, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of FunctionsDecompilationApi->get_decompilation_comments:\n") pprint(api_response) except Exception as e: @@ -235,6 +265,12 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type @@ -259,7 +295,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_decompilation_comment** -> BaseResponseCommentResponse update_decompilation_comment(comment_id, function_id, comment_update_request) +> BaseResponseCommentResponse update_decompilation_comment(comment_id, function_id, comment_update_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) Update a comment @@ -300,10 +336,16 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | function_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | + endpoint_url = 'endpoint_url_example' # str | (optional) + local_cache_dir = 'local_cache_dir_example' # str | (optional) + local_cache_max_size_mb = 56 # int | (optional) + customer_samples_bucket = 'customer_samples_bucket_example' # str | (optional) + firmware_samples_bucket = 'firmware_samples_bucket_example' # str | (optional) + max_retry_attempts = 5 # int | (optional) (default to 5) try: # Update a comment - api_response = api_instance.update_decompilation_comment(comment_id, function_id, comment_update_request) + api_response = api_instance.update_decompilation_comment(comment_id, function_id, comment_update_request, endpoint_url=endpoint_url, local_cache_dir=local_cache_dir, local_cache_max_size_mb=local_cache_max_size_mb, customer_samples_bucket=customer_samples_bucket, firmware_samples_bucket=firmware_samples_bucket, max_retry_attempts=max_retry_attempts) print("The response of FunctionsDecompilationApi->update_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -320,6 +362,12 @@ Name | Type | Description | Notes **comment_id** | **int**| | **function_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | + **endpoint_url** | **str**| | [optional] + **local_cache_dir** | **str**| | [optional] + **local_cache_max_size_mb** | **int**| | [optional] + **customer_samples_bucket** | **str**| | [optional] + **firmware_samples_bucket** | **str**| | [optional] + **max_retry_attempts** | **int**| | [optional] [default to 5] ### Return type diff --git a/revengai/__init__.py b/revengai/__init__.py index a420c34..62157dd 100644 --- a/revengai/__init__.py +++ b/revengai/__init__.py @@ -13,7 +13,7 @@ """ # noqa: E501 -__version__ = "v3.56.0" +__version__ = "v3.57.0" # Define package exports __all__ = [ diff --git a/revengai/api/analyses_comments_api.py b/revengai/api/analyses_comments_api.py index 9445dcd..a6727ce 100644 --- a/revengai/api/analyses_comments_api.py +++ b/revengai/api/analyses_comments_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt +from pydantic import Field, StrictInt, StrictStr +from typing import Optional from typing_extensions import Annotated from revengai.models.base_response_bool import BaseResponseBool from revengai.models.base_response_comment_response import BaseResponseCommentResponse @@ -46,6 +47,12 @@ def create_analysis_comment( self, analysis_id: StrictInt, comment_base: CommentBase, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67,6 +74,18 @@ def create_analysis_comment( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92,6 +111,12 @@ def create_analysis_comment( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119,6 +144,12 @@ def create_analysis_comment_with_http_info( self, analysis_id: StrictInt, comment_base: CommentBase, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140,6 +171,18 @@ def create_analysis_comment_with_http_info( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -165,6 +208,12 @@ def create_analysis_comment_with_http_info( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -192,6 +241,12 @@ def create_analysis_comment_without_preload_content( self, analysis_id: StrictInt, comment_base: CommentBase, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -213,6 +268,18 @@ def create_analysis_comment_without_preload_content( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -238,6 +305,12 @@ def create_analysis_comment_without_preload_content( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -260,6 +333,12 @@ def _create_analysis_comment_serialize( self, analysis_id, comment_base, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -284,6 +363,30 @@ def _create_analysis_comment_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -341,6 +444,12 @@ def delete_analysis_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -362,6 +471,18 @@ def delete_analysis_comment( :type comment_id: int :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -387,6 +508,12 @@ def delete_analysis_comment( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -415,6 +542,12 @@ def delete_analysis_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -436,6 +569,18 @@ def delete_analysis_comment_with_http_info( :type comment_id: int :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -461,6 +606,12 @@ def delete_analysis_comment_with_http_info( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -489,6 +640,12 @@ def delete_analysis_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -510,6 +667,18 @@ def delete_analysis_comment_without_preload_content( :type comment_id: int :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -535,6 +704,12 @@ def delete_analysis_comment_without_preload_content( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -558,6 +733,12 @@ def _delete_analysis_comment_serialize( self, comment_id, analysis_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -584,6 +765,30 @@ def _delete_analysis_comment_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -625,6 +830,12 @@ def _delete_analysis_comment_serialize( def get_analysis_comments( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -644,6 +855,18 @@ def get_analysis_comments( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -668,6 +891,12 @@ def get_analysis_comments( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -693,6 +922,12 @@ def get_analysis_comments( def get_analysis_comments_with_http_info( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -712,6 +947,18 @@ def get_analysis_comments_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -736,6 +983,12 @@ def get_analysis_comments_with_http_info( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -761,6 +1014,12 @@ def get_analysis_comments_with_http_info( def get_analysis_comments_without_preload_content( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -780,6 +1039,18 @@ def get_analysis_comments_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -804,6 +1075,12 @@ def get_analysis_comments_without_preload_content( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -824,6 +1101,12 @@ def get_analysis_comments_without_preload_content( def _get_analysis_comments_serialize( self, analysis_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -848,6 +1131,30 @@ def _get_analysis_comments_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -891,6 +1198,12 @@ def update_analysis_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -914,6 +1227,18 @@ def update_analysis_comment( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -940,6 +1265,12 @@ def update_analysis_comment( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -969,6 +1300,12 @@ def update_analysis_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -992,6 +1329,18 @@ def update_analysis_comment_with_http_info( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1018,6 +1367,12 @@ def update_analysis_comment_with_http_info( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1047,6 +1402,12 @@ def update_analysis_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1070,6 +1431,18 @@ def update_analysis_comment_without_preload_content( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1096,6 +1469,12 @@ def update_analysis_comment_without_preload_content( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1120,6 +1499,12 @@ def _update_analysis_comment_serialize( comment_id, analysis_id, comment_update_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1146,6 +1531,30 @@ def _update_analysis_comment_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter diff --git a/revengai/api/analyses_core_api.py b/revengai/api/analyses_core_api.py index 352a2cd..9d3e06e 100644 --- a/revengai/api/analyses_core_api.py +++ b/revengai/api/analyses_core_api.py @@ -69,6 +69,12 @@ def __init__(self, api_client=None) -> None: def bulk_add_analysis_tags( self, analysis_bulk_add_tags_request: AnalysisBulkAddTagsRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88,6 +94,18 @@ def bulk_add_analysis_tags( :param analysis_bulk_add_tags_request: (required) :type analysis_bulk_add_tags_request: AnalysisBulkAddTagsRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112,6 +130,12 @@ def bulk_add_analysis_tags( _param = self._bulk_add_analysis_tags_serialize( analysis_bulk_add_tags_request=analysis_bulk_add_tags_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137,6 +161,12 @@ def bulk_add_analysis_tags( def bulk_add_analysis_tags_with_http_info( self, analysis_bulk_add_tags_request: AnalysisBulkAddTagsRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -156,6 +186,18 @@ def bulk_add_analysis_tags_with_http_info( :param analysis_bulk_add_tags_request: (required) :type analysis_bulk_add_tags_request: AnalysisBulkAddTagsRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -180,6 +222,12 @@ def bulk_add_analysis_tags_with_http_info( _param = self._bulk_add_analysis_tags_serialize( analysis_bulk_add_tags_request=analysis_bulk_add_tags_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -205,6 +253,12 @@ def bulk_add_analysis_tags_with_http_info( def bulk_add_analysis_tags_without_preload_content( self, analysis_bulk_add_tags_request: AnalysisBulkAddTagsRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -224,6 +278,18 @@ def bulk_add_analysis_tags_without_preload_content( :param analysis_bulk_add_tags_request: (required) :type analysis_bulk_add_tags_request: AnalysisBulkAddTagsRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -248,6 +314,12 @@ def bulk_add_analysis_tags_without_preload_content( _param = self._bulk_add_analysis_tags_serialize( analysis_bulk_add_tags_request=analysis_bulk_add_tags_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -268,6 +340,12 @@ def bulk_add_analysis_tags_without_preload_content( def _bulk_add_analysis_tags_serialize( self, analysis_bulk_add_tags_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -290,6 +368,30 @@ def _bulk_add_analysis_tags_serialize( # process the path parameters # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -346,6 +448,12 @@ def _bulk_add_analysis_tags_serialize( def create_analysis( self, analysis_create_request: AnalysisCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, x_rev_eng_application: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -366,6 +474,18 @@ def create_analysis( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param x_rev_eng_application: :type x_rev_eng_application: str :param _request_timeout: timeout setting for this request. If one @@ -392,6 +512,12 @@ def create_analysis( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application, _request_auth=_request_auth, _content_type=_content_type, @@ -420,6 +546,12 @@ def create_analysis( def create_analysis_with_http_info( self, analysis_create_request: AnalysisCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, x_rev_eng_application: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -440,6 +572,18 @@ def create_analysis_with_http_info( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param x_rev_eng_application: :type x_rev_eng_application: str :param _request_timeout: timeout setting for this request. If one @@ -466,6 +610,12 @@ def create_analysis_with_http_info( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application, _request_auth=_request_auth, _content_type=_content_type, @@ -494,6 +644,12 @@ def create_analysis_with_http_info( def create_analysis_without_preload_content( self, analysis_create_request: AnalysisCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, x_rev_eng_application: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -514,6 +670,18 @@ def create_analysis_without_preload_content( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param x_rev_eng_application: :type x_rev_eng_application: str :param _request_timeout: timeout setting for this request. If one @@ -540,6 +708,12 @@ def create_analysis_without_preload_content( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application, _request_auth=_request_auth, _content_type=_content_type, @@ -563,6 +737,12 @@ def create_analysis_without_preload_content( def _create_analysis_serialize( self, analysis_create_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, x_rev_eng_application, _request_auth, _content_type, @@ -586,6 +766,30 @@ def _create_analysis_serialize( # process the path parameters # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters if x_rev_eng_application is not None: _header_params['X-RevEng-Application'] = x_rev_eng_application @@ -644,6 +848,12 @@ def _create_analysis_serialize( def delete_analysis( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -663,6 +873,18 @@ def delete_analysis( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -687,6 +909,12 @@ def delete_analysis( _param = self._delete_analysis_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -714,6 +942,12 @@ def delete_analysis( def delete_analysis_with_http_info( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -733,6 +967,18 @@ def delete_analysis_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -757,6 +1003,12 @@ def delete_analysis_with_http_info( _param = self._delete_analysis_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -784,6 +1036,12 @@ def delete_analysis_with_http_info( def delete_analysis_without_preload_content( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -803,6 +1061,18 @@ def delete_analysis_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -827,6 +1097,12 @@ def delete_analysis_without_preload_content( _param = self._delete_analysis_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -849,6 +1125,12 @@ def delete_analysis_without_preload_content( def _delete_analysis_serialize( self, analysis_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -873,6 +1155,30 @@ def _delete_analysis_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -1178,6 +1484,12 @@ def _get_analysis_basic_info_serialize( def get_analysis_function_map( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1197,6 +1509,18 @@ def get_analysis_function_map( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1221,6 +1545,12 @@ def get_analysis_function_map( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1246,6 +1576,12 @@ def get_analysis_function_map( def get_analysis_function_map_with_http_info( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1265,6 +1601,18 @@ def get_analysis_function_map_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1289,6 +1637,12 @@ def get_analysis_function_map_with_http_info( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1314,6 +1668,12 @@ def get_analysis_function_map_with_http_info( def get_analysis_function_map_without_preload_content( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1333,6 +1693,18 @@ def get_analysis_function_map_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1357,6 +1729,12 @@ def get_analysis_function_map_without_preload_content( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1377,6 +1755,12 @@ def get_analysis_function_map_without_preload_content( def _get_analysis_function_map_serialize( self, analysis_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1401,6 +1785,30 @@ def _get_analysis_function_map_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -1442,6 +1850,12 @@ def _get_analysis_function_map_serialize( def get_analysis_logs( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1461,6 +1875,18 @@ def get_analysis_logs( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1485,6 +1911,12 @@ def get_analysis_logs( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1510,6 +1942,12 @@ def get_analysis_logs( def get_analysis_logs_with_http_info( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1529,6 +1967,18 @@ def get_analysis_logs_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1553,6 +2003,12 @@ def get_analysis_logs_with_http_info( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1578,6 +2034,12 @@ def get_analysis_logs_with_http_info( def get_analysis_logs_without_preload_content( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1597,6 +2059,18 @@ def get_analysis_logs_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1621,6 +2095,12 @@ def get_analysis_logs_without_preload_content( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1641,6 +2121,12 @@ def get_analysis_logs_without_preload_content( def _get_analysis_logs_serialize( self, analysis_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1665,6 +2151,30 @@ def _get_analysis_logs_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -1706,6 +2216,12 @@ def _get_analysis_logs_serialize( def get_analysis_params( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1725,6 +2241,18 @@ def get_analysis_params( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1749,6 +2277,12 @@ def get_analysis_params( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1774,6 +2308,12 @@ def get_analysis_params( def get_analysis_params_with_http_info( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1793,6 +2333,18 @@ def get_analysis_params_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1817,6 +2369,12 @@ def get_analysis_params_with_http_info( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1842,6 +2400,12 @@ def get_analysis_params_with_http_info( def get_analysis_params_without_preload_content( self, analysis_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1861,6 +2425,18 @@ def get_analysis_params_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1885,6 +2461,12 @@ def get_analysis_params_without_preload_content( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1905,6 +2487,12 @@ def get_analysis_params_without_preload_content( def _get_analysis_params_serialize( self, analysis_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1929,6 +2517,30 @@ def _get_analysis_params_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -2235,6 +2847,12 @@ def insert_analysis_log( self, analysis_id: StrictInt, insert_analysis_log_request: InsertAnalysisLogRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2256,6 +2874,18 @@ def insert_analysis_log( :type analysis_id: int :param insert_analysis_log_request: (required) :type insert_analysis_log_request: InsertAnalysisLogRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2281,6 +2911,12 @@ def insert_analysis_log( _param = self._insert_analysis_log_serialize( analysis_id=analysis_id, insert_analysis_log_request=insert_analysis_log_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2307,6 +2943,12 @@ def insert_analysis_log_with_http_info( self, analysis_id: StrictInt, insert_analysis_log_request: InsertAnalysisLogRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2328,6 +2970,18 @@ def insert_analysis_log_with_http_info( :type analysis_id: int :param insert_analysis_log_request: (required) :type insert_analysis_log_request: InsertAnalysisLogRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2353,6 +3007,12 @@ def insert_analysis_log_with_http_info( _param = self._insert_analysis_log_serialize( analysis_id=analysis_id, insert_analysis_log_request=insert_analysis_log_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2379,6 +3039,12 @@ def insert_analysis_log_without_preload_content( self, analysis_id: StrictInt, insert_analysis_log_request: InsertAnalysisLogRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2400,6 +3066,18 @@ def insert_analysis_log_without_preload_content( :type analysis_id: int :param insert_analysis_log_request: (required) :type insert_analysis_log_request: InsertAnalysisLogRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2425,6 +3103,12 @@ def insert_analysis_log_without_preload_content( _param = self._insert_analysis_log_serialize( analysis_id=analysis_id, insert_analysis_log_request=insert_analysis_log_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2446,6 +3130,12 @@ def _insert_analysis_log_serialize( self, analysis_id, insert_analysis_log_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -2470,6 +3160,30 @@ def _insert_analysis_log_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -3523,6 +4237,12 @@ def requeue_analysis( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, x_rev_eng_application: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -3545,6 +4265,18 @@ def requeue_analysis( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param x_rev_eng_application: :type x_rev_eng_application: str :param _request_timeout: timeout setting for this request. If one @@ -3572,6 +4304,12 @@ def requeue_analysis( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application, _request_auth=_request_auth, _content_type=_content_type, @@ -3601,6 +4339,12 @@ def requeue_analysis_with_http_info( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, x_rev_eng_application: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -3623,6 +4367,18 @@ def requeue_analysis_with_http_info( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param x_rev_eng_application: :type x_rev_eng_application: str :param _request_timeout: timeout setting for this request. If one @@ -3650,6 +4406,12 @@ def requeue_analysis_with_http_info( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application, _request_auth=_request_auth, _content_type=_content_type, @@ -3679,6 +4441,12 @@ def requeue_analysis_without_preload_content( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, x_rev_eng_application: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -3701,6 +4469,18 @@ def requeue_analysis_without_preload_content( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param x_rev_eng_application: :type x_rev_eng_application: str :param _request_timeout: timeout setting for this request. If one @@ -3728,6 +4508,12 @@ def requeue_analysis_without_preload_content( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, x_rev_eng_application=x_rev_eng_application, _request_auth=_request_auth, _content_type=_content_type, @@ -3752,6 +4538,12 @@ def _requeue_analysis_serialize( self, analysis_id, re_analysis_form, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, x_rev_eng_application, _request_auth, _content_type, @@ -3777,6 +4569,30 @@ def _requeue_analysis_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters if x_rev_eng_application is not None: _header_params['X-RevEng-Application'] = x_rev_eng_application @@ -3836,6 +4652,12 @@ def update_analysis( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3857,6 +4679,18 @@ def update_analysis( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3882,6 +4716,12 @@ def update_analysis( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3908,6 +4748,12 @@ def update_analysis_with_http_info( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3929,6 +4775,18 @@ def update_analysis_with_http_info( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3954,6 +4812,12 @@ def update_analysis_with_http_info( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3980,6 +4844,12 @@ def update_analysis_without_preload_content( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4001,6 +4871,18 @@ def update_analysis_without_preload_content( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4026,6 +4908,12 @@ def update_analysis_without_preload_content( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4047,6 +4935,12 @@ def _update_analysis_serialize( self, analysis_id, analysis_update_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -4071,6 +4965,30 @@ def _update_analysis_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -4128,6 +5046,12 @@ def update_analysis_tags( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4149,6 +5073,18 @@ def update_analysis_tags( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4174,6 +5110,12 @@ def update_analysis_tags( _param = self._update_analysis_tags_serialize( analysis_id=analysis_id, analysis_update_tags_request=analysis_update_tags_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4200,6 +5142,12 @@ def update_analysis_tags_with_http_info( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4221,6 +5169,18 @@ def update_analysis_tags_with_http_info( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4246,6 +5206,12 @@ def update_analysis_tags_with_http_info( _param = self._update_analysis_tags_serialize( analysis_id=analysis_id, analysis_update_tags_request=analysis_update_tags_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4272,6 +5238,12 @@ def update_analysis_tags_without_preload_content( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4293,6 +5265,18 @@ def update_analysis_tags_without_preload_content( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4318,6 +5302,12 @@ def update_analysis_tags_without_preload_content( _param = self._update_analysis_tags_serialize( analysis_id=analysis_id, analysis_update_tags_request=analysis_update_tags_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4339,6 +5329,12 @@ def _update_analysis_tags_serialize( self, analysis_id, analysis_update_tags_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -4363,6 +5359,30 @@ def _update_analysis_tags_serialize( if analysis_id is not None: _path_params['analysis_id'] = analysis_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -4421,6 +5441,12 @@ def upload_file( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -4444,6 +5470,18 @@ def upload_file( :type file: bytearray :param packed_password: :type packed_password: str + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -4472,6 +5510,12 @@ def upload_file( upload_file_type=upload_file_type, file=file, packed_password=packed_password, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -4500,6 +5544,12 @@ def upload_file_with_http_info( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -4523,6 +5573,18 @@ def upload_file_with_http_info( :type file: bytearray :param packed_password: :type packed_password: str + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -4551,6 +5613,12 @@ def upload_file_with_http_info( upload_file_type=upload_file_type, file=file, packed_password=packed_password, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -4579,6 +5647,12 @@ def upload_file_without_preload_content( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -4602,6 +5676,18 @@ def upload_file_without_preload_content( :type file: bytearray :param packed_password: :type packed_password: str + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -4630,6 +5716,12 @@ def upload_file_without_preload_content( upload_file_type=upload_file_type, file=file, packed_password=packed_password, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -4653,6 +5745,12 @@ def _upload_file_serialize( upload_file_type, file, packed_password, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, force_overwrite, _request_auth, _content_type, @@ -4680,6 +5778,30 @@ def _upload_file_serialize( _query_params.append(('packed_password', packed_password)) + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters if upload_file_type is not None: diff --git a/revengai/api/authentication_users_api.py b/revengai/api/authentication_users_api.py index 759b09a..b00ebdf 100644 --- a/revengai/api/authentication_users_api.py +++ b/revengai/api/authentication_users_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import StrictInt +from pydantic import StrictInt, StrictStr +from typing import Optional from revengai.models.base_response_get_me_response import BaseResponseGetMeResponse from revengai.models.base_response_get_public_user_response import BaseResponseGetPublicUserResponse from revengai.models.base_response_list_comment_response import BaseResponseListCommentResponse @@ -797,6 +798,12 @@ def _get_user_activity_serialize( @validate_call def get_user_comments( self, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -814,6 +821,18 @@ def get_user_comments( Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -837,6 +856,12 @@ def get_user_comments( """ # noqa: E501 _param = self._get_user_comments_serialize( + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -861,6 +886,12 @@ def get_user_comments( @validate_call def get_user_comments_with_http_info( self, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -878,6 +909,18 @@ def get_user_comments_with_http_info( Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -901,6 +944,12 @@ def get_user_comments_with_http_info( """ # noqa: E501 _param = self._get_user_comments_serialize( + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -925,6 +974,12 @@ def get_user_comments_with_http_info( @validate_call def get_user_comments_without_preload_content( self, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -942,6 +997,18 @@ def get_user_comments_without_preload_content( Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -965,6 +1032,12 @@ def get_user_comments_without_preload_content( """ # noqa: E501 _param = self._get_user_comments_serialize( + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -984,6 +1057,12 @@ def get_user_comments_without_preload_content( def _get_user_comments_serialize( self, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1006,6 +1085,30 @@ def _get_user_comments_serialize( # process the path parameters # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter diff --git a/revengai/api/binaries_api.py b/revengai/api/binaries_api.py index 356fb18..594f7ad 100644 --- a/revengai/api/binaries_api.py +++ b/revengai/api/binaries_api.py @@ -16,7 +16,7 @@ from typing_extensions import Annotated from pydantic import StrictBytes, StrictInt, StrictStr -from typing import Tuple, Union +from typing import Optional, Tuple, Union from revengai.models.base_response_additional_details_status_response import BaseResponseAdditionalDetailsStatusResponse from revengai.models.base_response_binaries_related_status_response import BaseResponseBinariesRelatedStatusResponse from revengai.models.base_response_binary_additional_response import BaseResponseBinaryAdditionalResponse @@ -47,6 +47,12 @@ def __init__(self, api_client=None) -> None: def download_zipped_binary( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65,6 +71,18 @@ def download_zipped_binary( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89,6 +107,12 @@ def download_zipped_binary( _param = self._download_zipped_binary_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114,6 +138,12 @@ def download_zipped_binary( def download_zipped_binary_with_http_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132,6 +162,18 @@ def download_zipped_binary_with_http_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -156,6 +198,12 @@ def download_zipped_binary_with_http_info( _param = self._download_zipped_binary_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -181,6 +229,12 @@ def download_zipped_binary_with_http_info( def download_zipped_binary_without_preload_content( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -199,6 +253,18 @@ def download_zipped_binary_without_preload_content( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -223,6 +289,12 @@ def download_zipped_binary_without_preload_content( _param = self._download_zipped_binary_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -243,6 +315,12 @@ def download_zipped_binary_without_preload_content( def _download_zipped_binary_serialize( self, binary_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -267,6 +345,30 @@ def _download_zipped_binary_serialize( if binary_id is not None: _path_params['binary_id'] = binary_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -309,6 +411,12 @@ def _download_zipped_binary_serialize( def get_binary_additional_details( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -327,6 +435,18 @@ def get_binary_additional_details( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -351,6 +471,12 @@ def get_binary_additional_details( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -376,6 +502,12 @@ def get_binary_additional_details( def get_binary_additional_details_with_http_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -394,6 +526,18 @@ def get_binary_additional_details_with_http_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -418,6 +562,12 @@ def get_binary_additional_details_with_http_info( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -443,6 +593,12 @@ def get_binary_additional_details_with_http_info( def get_binary_additional_details_without_preload_content( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -461,6 +617,18 @@ def get_binary_additional_details_without_preload_content( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -485,6 +653,12 @@ def get_binary_additional_details_without_preload_content( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -505,6 +679,12 @@ def get_binary_additional_details_without_preload_content( def _get_binary_additional_details_serialize( self, binary_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -529,6 +709,30 @@ def _get_binary_additional_details_serialize( if binary_id is not None: _path_params['binary_id'] = binary_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -570,6 +774,12 @@ def _get_binary_additional_details_serialize( def get_binary_additional_details_status( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -588,6 +798,18 @@ def get_binary_additional_details_status( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -612,6 +834,12 @@ def get_binary_additional_details_status( _param = self._get_binary_additional_details_status_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -637,6 +865,12 @@ def get_binary_additional_details_status( def get_binary_additional_details_status_with_http_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -655,6 +889,18 @@ def get_binary_additional_details_status_with_http_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -679,6 +925,12 @@ def get_binary_additional_details_status_with_http_info( _param = self._get_binary_additional_details_status_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -704,6 +956,12 @@ def get_binary_additional_details_status_with_http_info( def get_binary_additional_details_status_without_preload_content( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -722,6 +980,18 @@ def get_binary_additional_details_status_without_preload_content( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -746,6 +1016,12 @@ def get_binary_additional_details_status_without_preload_content( _param = self._get_binary_additional_details_status_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -766,6 +1042,12 @@ def get_binary_additional_details_status_without_preload_content( def _get_binary_additional_details_status_serialize( self, binary_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -790,6 +1072,30 @@ def _get_binary_additional_details_status_serialize( if binary_id is not None: _path_params['binary_id'] = binary_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -831,6 +1137,12 @@ def _get_binary_additional_details_status_serialize( def get_binary_details( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -849,6 +1161,18 @@ def get_binary_details( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -873,6 +1197,12 @@ def get_binary_details( _param = self._get_binary_details_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -898,6 +1228,12 @@ def get_binary_details( def get_binary_details_with_http_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -916,6 +1252,18 @@ def get_binary_details_with_http_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -940,6 +1288,12 @@ def get_binary_details_with_http_info( _param = self._get_binary_details_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -965,6 +1319,12 @@ def get_binary_details_with_http_info( def get_binary_details_without_preload_content( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -983,6 +1343,18 @@ def get_binary_details_without_preload_content( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1007,6 +1379,12 @@ def get_binary_details_without_preload_content( _param = self._get_binary_details_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1027,6 +1405,12 @@ def get_binary_details_without_preload_content( def _get_binary_details_serialize( self, binary_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1051,6 +1435,30 @@ def _get_binary_details_serialize( if binary_id is not None: _path_params['binary_id'] = binary_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -1092,6 +1500,12 @@ def _get_binary_details_serialize( def get_binary_die_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1110,6 +1524,18 @@ def get_binary_die_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1134,6 +1560,12 @@ def get_binary_die_info( _param = self._get_binary_die_info_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1159,6 +1591,12 @@ def get_binary_die_info( def get_binary_die_info_with_http_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1177,6 +1615,18 @@ def get_binary_die_info_with_http_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1201,6 +1651,12 @@ def get_binary_die_info_with_http_info( _param = self._get_binary_die_info_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1226,6 +1682,12 @@ def get_binary_die_info_with_http_info( def get_binary_die_info_without_preload_content( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1244,6 +1706,18 @@ def get_binary_die_info_without_preload_content( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1268,6 +1742,12 @@ def get_binary_die_info_without_preload_content( _param = self._get_binary_die_info_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1288,6 +1768,12 @@ def get_binary_die_info_without_preload_content( def _get_binary_die_info_serialize( self, binary_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1312,6 +1798,30 @@ def _get_binary_die_info_serialize( if binary_id is not None: _path_params['binary_id'] = binary_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -1353,6 +1863,12 @@ def _get_binary_die_info_serialize( def get_binary_externals( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1371,6 +1887,18 @@ def get_binary_externals( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1395,6 +1923,12 @@ def get_binary_externals( _param = self._get_binary_externals_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1420,6 +1954,12 @@ def get_binary_externals( def get_binary_externals_with_http_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1438,6 +1978,18 @@ def get_binary_externals_with_http_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1462,6 +2014,12 @@ def get_binary_externals_with_http_info( _param = self._get_binary_externals_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1487,6 +2045,12 @@ def get_binary_externals_with_http_info( def get_binary_externals_without_preload_content( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1505,6 +2069,18 @@ def get_binary_externals_without_preload_content( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1529,6 +2105,12 @@ def get_binary_externals_without_preload_content( _param = self._get_binary_externals_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1549,6 +2131,12 @@ def get_binary_externals_without_preload_content( def _get_binary_externals_serialize( self, binary_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1573,6 +2161,30 @@ def _get_binary_externals_serialize( if binary_id is not None: _path_params['binary_id'] = binary_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -1614,6 +2226,12 @@ def _get_binary_externals_serialize( def get_binary_related_status( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1632,6 +2250,18 @@ def get_binary_related_status( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1656,6 +2286,12 @@ def get_binary_related_status( _param = self._get_binary_related_status_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1681,6 +2317,12 @@ def get_binary_related_status( def get_binary_related_status_with_http_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1699,6 +2341,18 @@ def get_binary_related_status_with_http_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1723,6 +2377,12 @@ def get_binary_related_status_with_http_info( _param = self._get_binary_related_status_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1748,6 +2408,12 @@ def get_binary_related_status_with_http_info( def get_binary_related_status_without_preload_content( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1766,6 +2432,18 @@ def get_binary_related_status_without_preload_content( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1790,6 +2468,12 @@ def get_binary_related_status_without_preload_content( _param = self._get_binary_related_status_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1810,6 +2494,12 @@ def get_binary_related_status_without_preload_content( def _get_binary_related_status_serialize( self, binary_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1834,6 +2524,30 @@ def _get_binary_related_status_serialize( if binary_id is not None: _path_params['binary_id'] = binary_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -1875,6 +2589,12 @@ def _get_binary_related_status_serialize( def get_related_binaries( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1893,6 +2613,18 @@ def get_related_binaries( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1917,6 +2649,12 @@ def get_related_binaries( _param = self._get_related_binaries_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1943,6 +2681,12 @@ def get_related_binaries( def get_related_binaries_with_http_info( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1961,6 +2705,18 @@ def get_related_binaries_with_http_info( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1985,6 +2741,12 @@ def get_related_binaries_with_http_info( _param = self._get_related_binaries_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2011,6 +2773,12 @@ def get_related_binaries_with_http_info( def get_related_binaries_without_preload_content( self, binary_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2029,6 +2797,18 @@ def get_related_binaries_without_preload_content( :param binary_id: (required) :type binary_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2053,6 +2833,12 @@ def get_related_binaries_without_preload_content( _param = self._get_related_binaries_serialize( binary_id=binary_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2074,6 +2860,12 @@ def get_related_binaries_without_preload_content( def _get_related_binaries_serialize( self, binary_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -2098,6 +2890,30 @@ def _get_related_binaries_serialize( if binary_id is not None: _path_params['binary_id'] = binary_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter diff --git a/revengai/api/firmware_api.py b/revengai/api/firmware_api.py index 4093c72..33d8899 100644 --- a/revengai/api/firmware_api.py +++ b/revengai/api/firmware_api.py @@ -15,7 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import StrictBytes, StrictStr +from pydantic import StrictBytes, StrictInt, StrictStr from typing import Any, Optional, Tuple, Union from revengai.api_client import ApiClient, RequestSerialized @@ -304,6 +304,12 @@ def _get_binaries_for_firmware_task_serialize( def upload_firmware( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -324,6 +330,18 @@ def upload_firmware( :param file: (required) :type file: bytearray + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -350,6 +368,12 @@ def upload_firmware( _param = self._upload_firmware_serialize( file=file, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -377,6 +401,12 @@ def upload_firmware( def upload_firmware_with_http_info( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -397,6 +427,18 @@ def upload_firmware_with_http_info( :param file: (required) :type file: bytearray + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -423,6 +465,12 @@ def upload_firmware_with_http_info( _param = self._upload_firmware_serialize( file=file, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -450,6 +498,12 @@ def upload_firmware_with_http_info( def upload_firmware_without_preload_content( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -470,6 +524,18 @@ def upload_firmware_without_preload_content( :param file: (required) :type file: bytearray + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -496,6 +562,12 @@ def upload_firmware_without_preload_content( _param = self._upload_firmware_serialize( file=file, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -518,6 +590,12 @@ def upload_firmware_without_preload_content( def _upload_firmware_serialize( self, file, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, password, _request_auth, _content_type, @@ -541,6 +619,30 @@ def _upload_firmware_serialize( # process the path parameters # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters if file is not None: diff --git a/revengai/api/functions_ai_decompilation_api.py b/revengai/api/functions_ai_decompilation_api.py index c376b48..e73556f 100644 --- a/revengai/api/functions_ai_decompilation_api.py +++ b/revengai/api/functions_ai_decompilation_api.py @@ -15,7 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictInt +from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated from revengai.models.base_response import BaseResponse @@ -52,6 +52,12 @@ def create_ai_decompilation_comment( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73,6 +79,18 @@ def create_ai_decompilation_comment( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98,6 +116,12 @@ def create_ai_decompilation_comment( _param = self._create_ai_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125,6 +149,12 @@ def create_ai_decompilation_comment_with_http_info( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -146,6 +176,18 @@ def create_ai_decompilation_comment_with_http_info( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -171,6 +213,12 @@ def create_ai_decompilation_comment_with_http_info( _param = self._create_ai_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -198,6 +246,12 @@ def create_ai_decompilation_comment_without_preload_content( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -219,6 +273,18 @@ def create_ai_decompilation_comment_without_preload_content( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -244,6 +310,12 @@ def create_ai_decompilation_comment_without_preload_content( _param = self._create_ai_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -266,6 +338,12 @@ def _create_ai_decompilation_comment_serialize( self, function_id, function_comment_create_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -290,6 +368,30 @@ def _create_ai_decompilation_comment_serialize( if function_id is not None: _path_params['function_id'] = function_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -623,6 +725,12 @@ def delete_ai_decompilation_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -644,6 +752,18 @@ def delete_ai_decompilation_comment( :type comment_id: int :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -669,6 +789,12 @@ def delete_ai_decompilation_comment( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -697,6 +823,12 @@ def delete_ai_decompilation_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -718,6 +850,18 @@ def delete_ai_decompilation_comment_with_http_info( :type comment_id: int :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -743,6 +887,12 @@ def delete_ai_decompilation_comment_with_http_info( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -771,6 +921,12 @@ def delete_ai_decompilation_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -792,6 +948,18 @@ def delete_ai_decompilation_comment_without_preload_content( :type comment_id: int :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -817,6 +985,12 @@ def delete_ai_decompilation_comment_without_preload_content( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -840,6 +1014,12 @@ def _delete_ai_decompilation_comment_serialize( self, comment_id, function_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -866,6 +1046,30 @@ def _delete_ai_decompilation_comment_serialize( if function_id is not None: _path_params['function_id'] = function_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -907,6 +1111,12 @@ def _delete_ai_decompilation_comment_serialize( def get_ai_decompilation_comments( self, function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -926,6 +1136,18 @@ def get_ai_decompilation_comments( :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -950,6 +1172,12 @@ def get_ai_decompilation_comments( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -975,6 +1203,12 @@ def get_ai_decompilation_comments( def get_ai_decompilation_comments_with_http_info( self, function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -994,6 +1228,18 @@ def get_ai_decompilation_comments_with_http_info( :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1018,6 +1264,12 @@ def get_ai_decompilation_comments_with_http_info( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1043,6 +1295,12 @@ def get_ai_decompilation_comments_with_http_info( def get_ai_decompilation_comments_without_preload_content( self, function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1062,6 +1320,18 @@ def get_ai_decompilation_comments_without_preload_content( :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1086,6 +1356,12 @@ def get_ai_decompilation_comments_without_preload_content( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1106,6 +1382,12 @@ def get_ai_decompilation_comments_without_preload_content( def _get_ai_decompilation_comments_serialize( self, function_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1130,6 +1412,30 @@ def _get_ai_decompilation_comments_serialize( if function_id is not None: _path_params['function_id'] = function_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -1996,6 +2302,12 @@ def update_ai_decompilation_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2019,6 +2331,18 @@ def update_ai_decompilation_comment( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2045,6 +2369,12 @@ def update_ai_decompilation_comment( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2074,6 +2404,12 @@ def update_ai_decompilation_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2097,6 +2433,18 @@ def update_ai_decompilation_comment_with_http_info( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2123,6 +2471,12 @@ def update_ai_decompilation_comment_with_http_info( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2152,6 +2506,12 @@ def update_ai_decompilation_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2175,6 +2535,18 @@ def update_ai_decompilation_comment_without_preload_content( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2201,6 +2573,12 @@ def update_ai_decompilation_comment_without_preload_content( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2225,6 +2603,12 @@ def _update_ai_decompilation_comment_serialize( comment_id, function_id, comment_update_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -2251,6 +2635,30 @@ def _update_ai_decompilation_comment_serialize( if function_id is not None: _path_params['function_id'] = function_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter diff --git a/revengai/api/functions_decompilation_api.py b/revengai/api/functions_decompilation_api.py index 08c78ad..c8c21d6 100644 --- a/revengai/api/functions_decompilation_api.py +++ b/revengai/api/functions_decompilation_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt +from pydantic import Field, StrictInt, StrictStr +from typing import Optional from typing_extensions import Annotated from revengai.models.base_response_bool import BaseResponseBool from revengai.models.base_response_comment_response import BaseResponseCommentResponse @@ -46,6 +47,12 @@ def create_decompilation_comment( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67,6 +74,18 @@ def create_decompilation_comment( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92,6 +111,12 @@ def create_decompilation_comment( _param = self._create_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119,6 +144,12 @@ def create_decompilation_comment_with_http_info( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140,6 +171,18 @@ def create_decompilation_comment_with_http_info( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -165,6 +208,12 @@ def create_decompilation_comment_with_http_info( _param = self._create_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -192,6 +241,12 @@ def create_decompilation_comment_without_preload_content( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -213,6 +268,18 @@ def create_decompilation_comment_without_preload_content( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -238,6 +305,12 @@ def create_decompilation_comment_without_preload_content( _param = self._create_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -260,6 +333,12 @@ def _create_decompilation_comment_serialize( self, function_id, function_comment_create_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -284,6 +363,30 @@ def _create_decompilation_comment_serialize( if function_id is not None: _path_params['function_id'] = function_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -341,6 +444,12 @@ def delete_decompilation_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -362,6 +471,18 @@ def delete_decompilation_comment( :type comment_id: int :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -387,6 +508,12 @@ def delete_decompilation_comment( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -415,6 +542,12 @@ def delete_decompilation_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -436,6 +569,18 @@ def delete_decompilation_comment_with_http_info( :type comment_id: int :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -461,6 +606,12 @@ def delete_decompilation_comment_with_http_info( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -489,6 +640,12 @@ def delete_decompilation_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -510,6 +667,18 @@ def delete_decompilation_comment_without_preload_content( :type comment_id: int :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -535,6 +704,12 @@ def delete_decompilation_comment_without_preload_content( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -558,6 +733,12 @@ def _delete_decompilation_comment_serialize( self, comment_id, function_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -584,6 +765,30 @@ def _delete_decompilation_comment_serialize( if function_id is not None: _path_params['function_id'] = function_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -625,6 +830,12 @@ def _delete_decompilation_comment_serialize( def get_decompilation_comments( self, function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -644,6 +855,18 @@ def get_decompilation_comments( :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -668,6 +891,12 @@ def get_decompilation_comments( _param = self._get_decompilation_comments_serialize( function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -693,6 +922,12 @@ def get_decompilation_comments( def get_decompilation_comments_with_http_info( self, function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -712,6 +947,18 @@ def get_decompilation_comments_with_http_info( :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -736,6 +983,12 @@ def get_decompilation_comments_with_http_info( _param = self._get_decompilation_comments_serialize( function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -761,6 +1014,12 @@ def get_decompilation_comments_with_http_info( def get_decompilation_comments_without_preload_content( self, function_id: StrictInt, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -780,6 +1039,18 @@ def get_decompilation_comments_without_preload_content( :param function_id: (required) :type function_id: int + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -804,6 +1075,12 @@ def get_decompilation_comments_without_preload_content( _param = self._get_decompilation_comments_serialize( function_id=function_id, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -824,6 +1101,12 @@ def get_decompilation_comments_without_preload_content( def _get_decompilation_comments_serialize( self, function_id, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -848,6 +1131,30 @@ def _get_decompilation_comments_serialize( if function_id is not None: _path_params['function_id'] = function_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter @@ -891,6 +1198,12 @@ def update_decompilation_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -914,6 +1227,18 @@ def update_decompilation_comment( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -940,6 +1265,12 @@ def update_decompilation_comment( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -969,6 +1300,12 @@ def update_decompilation_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -992,6 +1329,18 @@ def update_decompilation_comment_with_http_info( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1018,6 +1367,12 @@ def update_decompilation_comment_with_http_info( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1047,6 +1402,12 @@ def update_decompilation_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + endpoint_url: Optional[StrictStr] = None, + local_cache_dir: Optional[StrictStr] = None, + local_cache_max_size_mb: Optional[StrictInt] = None, + customer_samples_bucket: Optional[StrictStr] = None, + firmware_samples_bucket: Optional[StrictStr] = None, + max_retry_attempts: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1070,6 +1431,18 @@ def update_decompilation_comment_without_preload_content( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param endpoint_url: + :type endpoint_url: str + :param local_cache_dir: + :type local_cache_dir: str + :param local_cache_max_size_mb: + :type local_cache_max_size_mb: int + :param customer_samples_bucket: + :type customer_samples_bucket: str + :param firmware_samples_bucket: + :type firmware_samples_bucket: str + :param max_retry_attempts: + :type max_retry_attempts: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1096,6 +1469,12 @@ def update_decompilation_comment_without_preload_content( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + endpoint_url=endpoint_url, + local_cache_dir=local_cache_dir, + local_cache_max_size_mb=local_cache_max_size_mb, + customer_samples_bucket=customer_samples_bucket, + firmware_samples_bucket=firmware_samples_bucket, + max_retry_attempts=max_retry_attempts, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1120,6 +1499,12 @@ def _update_decompilation_comment_serialize( comment_id, function_id, comment_update_request, + endpoint_url, + local_cache_dir, + local_cache_max_size_mb, + customer_samples_bucket, + firmware_samples_bucket, + max_retry_attempts, _request_auth, _content_type, _headers, @@ -1146,6 +1531,30 @@ def _update_decompilation_comment_serialize( if function_id is not None: _path_params['function_id'] = function_id # process the query parameters + if endpoint_url is not None: + + _query_params.append(('endpoint_url', endpoint_url)) + + if local_cache_dir is not None: + + _query_params.append(('local_cache_dir', local_cache_dir)) + + if local_cache_max_size_mb is not None: + + _query_params.append(('local_cache_max_size_mb', local_cache_max_size_mb)) + + if customer_samples_bucket is not None: + + _query_params.append(('customer_samples_bucket', customer_samples_bucket)) + + if firmware_samples_bucket is not None: + + _query_params.append(('firmware_samples_bucket', firmware_samples_bucket)) + + if max_retry_attempts is not None: + + _query_params.append(('max_retry_attempts', max_retry_attempts)) + # process the header parameters # process the form parameters # process the body parameter diff --git a/revengai/api_client.py b/revengai/api_client.py index 202247a..ab13355 100644 --- a/revengai/api_client.py +++ b/revengai/api_client.py @@ -90,7 +90,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/v3.56.0/python' + self.user_agent = 'OpenAPI-Generator/v3.57.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/revengai/configuration.py b/revengai/configuration.py index 1772d85..78a017d 100644 --- a/revengai/configuration.py +++ b/revengai/configuration.py @@ -533,8 +533,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v3.56.0\n"\ - "SDK Package Version: v3.56.0".\ + "Version of the API: v3.57.0\n"\ + "SDK Package Version: v3.57.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: