From ab0880fa2c9257f06c5f04c22b253c66c5ee5c39 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 20 Nov 2025 06:11:24 +0000 Subject: [PATCH] Update SDK to version v2.41.1 - Generated from OpenAPI spec version v2.41.1 - Auto-generated by GitHub Actions --- .sdk-version | 2 +- docs/AnalysesCoreApi.md | 3 - docs/CollectionsApi.md | 2 - docs/SearchApi.md | 2 - revengai/__init__.py | 2 +- revengai/api/analyses_core_api.py | 21 +- revengai/api/collections_api.py | 16 +- revengai/api/search_api.py | 16 +- revengai/api_client.py | 2 +- revengai/configuration.py | 4 +- ...k_comments_overview_generation_response.py | 5 + test/test_analysis_create_request.py | 13 +- test/test_base_response.py | 5 +- ..._base_response_analysis_create_response.py | 5 +- ..._base_response_analysis_detail_response.py | 9 +- ...base_response_analysis_function_mapping.py | 16 +- test/test_base_response_analysis_functions.py | 5 +- ...base_response_analysis_strings_response.py | 5 +- test/test_base_response_analysis_tags.py | 5 +- ..._response_analysis_update_tags_response.py | 5 +- test/test_base_response_basic.py | 5 +- ...ase_response_binary_additional_response.py | 200 +--------- ...t_base_response_binary_details_response.py | 5 +- ...base_response_binary_externals_response.py | 5 +- ...st_base_response_binary_search_response.py | 5 +- ...mments_generation_for_function_response.py | 5 +- ...k_comments_overview_generation_response.py | 5 +- test/test_base_response_bool.py | 5 +- ...ponse_callees_caller_functions_response.py | 5 +- test/test_base_response_capabilities.py | 5 +- ...nse_check_security_checks_task_response.py | 5 +- ...t_base_response_child_binaries_response.py | 10 +- ...nse_collection_binaries_update_response.py | 5 +- .../test_base_response_collection_response.py | 7 +- ...ase_response_collection_search_response.py | 5 +- ...esponse_collection_tags_update_response.py | 5 +- test/test_base_response_comment_response.py | 5 +- test/test_base_response_communities.py | 5 +- test/test_base_response_created.py | 5 +- test/test_base_response_dict.py | 5 +- ..._base_response_dynamic_execution_status.py | 5 +- test/test_base_response_external_response.py | 5 +- ..._base_response_function_blocks_response.py | 5 +- ...e_response_function_capability_response.py | 5 +- .../test_base_response_function_data_types.py | 39 +- ..._base_response_function_data_types_list.py | 39 +- ..._base_response_function_search_response.py | 5 +- ...base_response_function_strings_response.py | 5 +- ...st_base_response_function_task_response.py | 7 +- ...base_response_functions_detail_response.py | 5 +- ...e_response_generate_function_data_types.py | 15 +- ...st_base_response_generation_status_list.py | 5 +- ...se_get_ai_decompilation_rating_response.py | 7 +- ...base_response_get_ai_decompilation_task.py | 55 +-- ..._base_response_get_public_user_response.py | 5 +- test/test_base_response_get_user_response.py | 5 +- ...t_base_response_list_collection_results.py | 5 +- ...est_base_response_list_comment_response.py | 5 +- test/test_base_response_list_die_match.py | 5 +- ...ase_response_list_function_name_history.py | 7 +- test/test_base_response_list_sbom.py | 5 +- ...se_response_list_user_activity_response.py | 5 +- test/test_base_response_login_response.py | 5 +- test/test_base_response_logs.py | 5 +- test/test_base_response_models_response.py | 5 +- ...base_response_network_overview_response.py | 5 +- test/test_base_response_params.py | 5 +- test/test_base_response_process_dumps.py | 5 +- test/test_base_response_process_registry.py | 5 +- test/test_base_response_process_tree.py | 5 +- ...se_queued_security_checks_task_response.py | 5 +- test/test_base_response_recent.py | 7 +- ..._base_response_security_checks_response.py | 5 +- test/test_base_response_status.py | 5 +- test/test_base_response_str.py | 5 +- .../test_base_response_tag_search_response.py | 5 +- test/test_base_response_task_response.py | 7 +- test/test_base_response_ttps.py | 5 +- test/test_base_response_upload_response.py | 5 +- test/test_base_response_vulnerabilities.py | 5 +- ...binary_additional_details_data_response.py | 81 +--- test/test_binary_additional_response.py | 364 +----------------- test/test_function_data_types.py | 30 +- test/test_function_data_types_list.py | 68 +--- test/test_function_data_types_list_item.py | 30 +- test/test_function_info_input.py | 14 +- test/test_function_info_output.py | 14 +- test/test_recent.py | 4 +- test/test_update_function_data_types.py | 60 +-- 89 files changed, 143 insertions(+), 1305 deletions(-) diff --git a/.sdk-version b/.sdk-version index 9b8a6e4..bf35851 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v2.37.4 +v2.41.1 diff --git a/docs/AnalysesCoreApi.md b/docs/AnalysesCoreApi.md index dda07d3..4dce5aa 100644 --- a/docs/AnalysesCoreApi.md +++ b/docs/AnalysesCoreApi.md @@ -597,11 +597,8 @@ Gets the most recent analyses provided a scope, this is then paginated, if pages ```python import revengai -from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy from revengai.models.base_response_recent import BaseResponseRecent -from revengai.models.dynamic_execution_status_input import DynamicExecutionStatusInput from revengai.models.model_name import ModelName -from revengai.models.order import Order from revengai.models.status_input import StatusInput from revengai.models.workspace import Workspace from revengai.rest import ApiException diff --git a/docs/CollectionsApi.md b/docs/CollectionsApi.md index 8cedc14..a866073 100644 --- a/docs/CollectionsApi.md +++ b/docs/CollectionsApi.md @@ -271,10 +271,8 @@ Returns a list of collections ```python import revengai -from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy from revengai.models.base_response_list_collection_results import BaseResponseListCollectionResults from revengai.models.filters import Filters -from revengai.models.order import Order from revengai.rest import ApiException from pprint import pprint diff --git a/docs/SearchApi.md b/docs/SearchApi.md index 6967efd..9854dfe 100644 --- a/docs/SearchApi.md +++ b/docs/SearchApi.md @@ -115,10 +115,8 @@ Searches for a specific collection ```python import revengai -from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy from revengai.models.base_response_collection_search_response import BaseResponseCollectionSearchResponse from revengai.models.filters import Filters -from revengai.models.order import Order from revengai.rest import ApiException from pprint import pprint diff --git a/revengai/__init__.py b/revengai/__init__.py index 1448b66..b27fcd0 100644 --- a/revengai/__init__.py +++ b/revengai/__init__.py @@ -13,7 +13,7 @@ """ # noqa: E501 -__version__ = "v2.37.4" +__version__ = "v2.41.1" # Define package exports __all__ = [ diff --git a/revengai/api/analyses_core_api.py b/revengai/api/analyses_core_api.py index c6a33af..e8cd7d9 100644 --- a/revengai/api/analyses_core_api.py +++ b/revengai/api/analyses_core_api.py @@ -21,7 +21,6 @@ from revengai.models.analysis_create_request import AnalysisCreateRequest from revengai.models.analysis_update_request import AnalysisUpdateRequest from revengai.models.analysis_update_tags_request import AnalysisUpdateTagsRequest -from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse from revengai.models.base_response_analysis_detail_response import BaseResponseAnalysisDetailResponse from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping @@ -34,9 +33,7 @@ from revengai.models.base_response_recent import BaseResponseRecent from revengai.models.base_response_status import BaseResponseStatus from revengai.models.base_response_upload_response import BaseResponseUploadResponse -from revengai.models.dynamic_execution_status_input import DynamicExecutionStatusInput from revengai.models.model_name import ModelName -from revengai.models.order import Order from revengai.models.re_analysis_form import ReAnalysisForm from revengai.models.status_input import StatusInput from revengai.models.upload_file_type import UploadFileType @@ -1940,13 +1937,13 @@ def list_analyses( workspace: Annotated[Optional[List[Workspace]], Field(description="The workspace to be viewed")] = None, status: Annotated[Optional[List[StatusInput]], Field(description="The status of the analysis")] = None, model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None, - dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None, + dynamic_execution_status: Annotated[Optional[Any], Field(description="Show analysis that have a dynamic execution with the given status")] = None, usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None, sha256_hash: Optional[StrictStr] = None, limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None, offset: Optional[StrictInt] = None, - order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, - order: Optional[Order] = None, + order_by: Optional[Any] = None, + order: Optional[Any] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2048,13 +2045,13 @@ def list_analyses_with_http_info( workspace: Annotated[Optional[List[Workspace]], Field(description="The workspace to be viewed")] = None, status: Annotated[Optional[List[StatusInput]], Field(description="The status of the analysis")] = None, model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None, - dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None, + dynamic_execution_status: Annotated[Optional[Any], Field(description="Show analysis that have a dynamic execution with the given status")] = None, usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None, sha256_hash: Optional[StrictStr] = None, limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None, offset: Optional[StrictInt] = None, - order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, - order: Optional[Order] = None, + order_by: Optional[Any] = None, + order: Optional[Any] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2156,13 +2153,13 @@ def list_analyses_without_preload_content( workspace: Annotated[Optional[List[Workspace]], Field(description="The workspace to be viewed")] = None, status: Annotated[Optional[List[StatusInput]], Field(description="The status of the analysis")] = None, model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None, - dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None, + dynamic_execution_status: Annotated[Optional[Any], Field(description="Show analysis that have a dynamic execution with the given status")] = None, usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None, sha256_hash: Optional[StrictStr] = None, limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None, offset: Optional[StrictInt] = None, - order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, - order: Optional[Order] = None, + order_by: Optional[Any] = None, + order: Optional[Any] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], diff --git a/revengai/api/collections_api.py b/revengai/api/collections_api.py index 0877edf..9780a5c 100644 --- a/revengai/api/collections_api.py +++ b/revengai/api/collections_api.py @@ -16,9 +16,8 @@ from typing_extensions import Annotated from pydantic import Field, StrictBool, StrictInt, StrictStr -from typing import List, Optional +from typing import Any, List, Optional from typing_extensions import Annotated -from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy from revengai.models.base_response_bool import BaseResponseBool from revengai.models.base_response_collection_binaries_update_response import BaseResponseCollectionBinariesUpdateResponse from revengai.models.base_response_collection_response import BaseResponseCollectionResponse @@ -29,7 +28,6 @@ from revengai.models.collection_tags_update_request import CollectionTagsUpdateRequest from revengai.models.collection_update_request import CollectionUpdateRequest from revengai.models.filters import Filters -from revengai.models.order import Order from revengai.api_client import ApiClient, RequestSerialized from revengai.api_response import ApiResponse @@ -895,8 +893,8 @@ def list_collections( filters: Optional[List[Filters]] = None, limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None, offset: Optional[StrictInt] = None, - order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, - order: Optional[Order] = None, + order_by: Optional[Any] = None, + order: Optional[Any] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -983,8 +981,8 @@ def list_collections_with_http_info( filters: Optional[List[Filters]] = None, limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None, offset: Optional[StrictInt] = None, - order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, - order: Optional[Order] = None, + order_by: Optional[Any] = None, + order: Optional[Any] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1071,8 +1069,8 @@ def list_collections_without_preload_content( filters: Optional[List[Filters]] = None, limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None, offset: Optional[StrictInt] = None, - order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, - order: Optional[Order] = None, + order_by: Optional[Any] = None, + order: Optional[Any] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], diff --git a/revengai/api/search_api.py b/revengai/api/search_api.py index 0c04e88..ea56b8e 100644 --- a/revengai/api/search_api.py +++ b/revengai/api/search_api.py @@ -16,15 +16,13 @@ from typing_extensions import Annotated from pydantic import Field, StrictBool, StrictStr -from typing import List, Optional +from typing import Any, List, Optional from typing_extensions import Annotated -from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy from revengai.models.base_response_binary_search_response import BaseResponseBinarySearchResponse from revengai.models.base_response_collection_search_response import BaseResponseCollectionSearchResponse from revengai.models.base_response_function_search_response import BaseResponseFunctionSearchResponse from revengai.models.base_response_tag_search_response import BaseResponseTagSearchResponse from revengai.models.filters import Filters -from revengai.models.order import Order from revengai.api_client import ApiClient, RequestSerialized from revengai.api_response import ApiResponse @@ -424,8 +422,8 @@ def search_collections( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None, - order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None, - order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None, + order_by: Annotated[Optional[Any], Field(description="The field to sort the order by in the results")] = None, + order_by_direction: Annotated[Optional[Any], Field(description="The order direction in which to return results")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -529,8 +527,8 @@ def search_collections_with_http_info( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None, - order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None, - order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None, + order_by: Annotated[Optional[Any], Field(description="The field to sort the order by in the results")] = None, + order_by_direction: Annotated[Optional[Any], Field(description="The order direction in which to return results")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -634,8 +632,8 @@ def search_collections_without_preload_content( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None, - order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None, - order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None, + order_by: Annotated[Optional[Any], Field(description="The field to sort the order by in the results")] = None, + order_by_direction: Annotated[Optional[Any], Field(description="The order direction in which to return results")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], diff --git a/revengai/api_client.py b/revengai/api_client.py index ec1eeb0..ef94e28 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/v2.37.4/python' + self.user_agent = 'OpenAPI-Generator/v2.41.1/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/revengai/configuration.py b/revengai/configuration.py index 5c6d65f..626670b 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: v2.37.4\n"\ - "SDK Package Version: v2.37.4".\ + "Version of the API: v2.41.1\n"\ + "SDK Package Version: v2.41.1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/revengai/models/base_response_block_comments_overview_generation_response.py b/revengai/models/base_response_block_comments_overview_generation_response.py index 4b9f2f8..800173e 100644 --- a/revengai/models/base_response_block_comments_overview_generation_response.py +++ b/revengai/models/base_response_block_comments_overview_generation_response.py @@ -83,6 +83,11 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of meta if self.meta: _dict['meta'] = self.meta.to_dict() + # set to None if data (nullable) is None + # and model_fields_set contains the field + if self.data is None and "data" in self.model_fields_set: + _dict['data'] = None + # set to None if message (nullable) is None # and model_fields_set contains the field if self.message is None and "message" in self.model_fields_set: diff --git a/test/test_analysis_create_request.py b/test/test_analysis_create_request.py index 5f1cbda..c5671f3 100644 --- a/test/test_analysis_create_request.py +++ b/test/test_analysis_create_request.py @@ -51,20 +51,17 @@ def make_instance(self, include_optional) -> AnalysisCreateRequest: ], ), debug_hash = '', analysis_config = revengai.models.analysis_config.AnalysisConfig( - scrape_third_party_config = revengai.models.scrape_third_party_config.ScrapeThirdPartyConfig( - enabled = True, ), + scrape_third_party_config = null, generate_cves = True, generate_sbom = True, generate_capabilities = True, no_cache = True, advanced_analysis = True, - sandbox_config = revengai.models.sandbox_options.SandboxOptions( - enabled = True, - command_line_args = '', ), ), + sandbox_config = null, ), binary_config = revengai.models.binary_config.BinaryConfig( - isa = 'x86', - platform = 'linux', - file_format = 'pe', ) + isa = null, + platform = null, + file_format = null, ) ) else: return AnalysisCreateRequest( diff --git a/test/test_base_response.py b/test/test_base_response.py index 3fb4ce6..c5341fa 100644 --- a/test/test_base_response.py +++ b/test/test_base_response.py @@ -43,10 +43,7 @@ def make_instance(self, include_optional) -> BaseResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponse( diff --git a/test/test_base_response_analysis_create_response.py b/test/test_base_response_analysis_create_response.py index 3573b23..cd552e3 100644 --- a/test/test_base_response_analysis_create_response.py +++ b/test/test_base_response_analysis_create_response.py @@ -45,10 +45,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisCreateResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseAnalysisCreateResponse( diff --git a/test/test_base_response_analysis_detail_response.py b/test/test_base_response_analysis_detail_response.py index 422029d..d21e97c 100644 --- a/test/test_base_response_analysis_detail_response.py +++ b/test/test_base_response_analysis_detail_response.py @@ -36,9 +36,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisDetailResponse: return BaseResponseAnalysisDetailResponse( status = True, data = revengai.models.analysis_detail_response.AnalysisDetailResponse( - access = revengai.models.analysis_access_info.AnalysisAccessInfo( - owner = True, - username = '', ), + access = null, analysis_id = 56, analysis_scope = '', architecture = '', @@ -61,10 +59,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisDetailResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseAnalysisDetailResponse( diff --git a/test/test_base_response_analysis_function_mapping.py b/test/test_base_response_analysis_function_mapping.py index df00f2a..565076d 100644 --- a/test/test_base_response_analysis_function_mapping.py +++ b/test/test_base_response_analysis_function_mapping.py @@ -36,16 +36,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisFunctionMapping return BaseResponseAnalysisFunctionMapping( status = True, data = revengai.models.analysis_function_mapping.AnalysisFunctionMapping( - function_maps = revengai.models.function_mapping.FunctionMapping( - function_map = { - 'key' : 56 - }, - inverse_function_map = { - 'key' : 56 - }, - name_map = { - 'key' : '' - }, ), ), + function_maps = null, ), message = '', errors = [ revengai.models.error_model.ErrorModel( @@ -53,10 +44,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisFunctionMapping message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseAnalysisFunctionMapping( diff --git a/test/test_base_response_analysis_functions.py b/test/test_base_response_analysis_functions.py index 59cd0d0..d169a2f 100644 --- a/test/test_base_response_analysis_functions.py +++ b/test/test_base_response_analysis_functions.py @@ -58,10 +58,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisFunctions: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseAnalysisFunctions( diff --git a/test/test_base_response_analysis_strings_response.py b/test/test_base_response_analysis_strings_response.py index 6bba31c..c1ce63e 100644 --- a/test/test_base_response_analysis_strings_response.py +++ b/test/test_base_response_analysis_strings_response.py @@ -53,10 +53,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisStringsResponse message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseAnalysisStringsResponse( diff --git a/test/test_base_response_analysis_tags.py b/test/test_base_response_analysis_tags.py index 16ac666..5db5a63 100644 --- a/test/test_base_response_analysis_tags.py +++ b/test/test_base_response_analysis_tags.py @@ -49,10 +49,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisTags: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseAnalysisTags( diff --git a/test/test_base_response_analysis_update_tags_response.py b/test/test_base_response_analysis_update_tags_response.py index 2b3bc7d..0fbaa2b 100644 --- a/test/test_base_response_analysis_update_tags_response.py +++ b/test/test_base_response_analysis_update_tags_response.py @@ -48,10 +48,7 @@ def make_instance(self, include_optional) -> BaseResponseAnalysisUpdateTagsRespo message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseAnalysisUpdateTagsResponse( diff --git a/test/test_base_response_basic.py b/test/test_base_response_basic.py index 12f120c..e12267f 100644 --- a/test/test_base_response_basic.py +++ b/test/test_base_response_basic.py @@ -56,10 +56,7 @@ def make_instance(self, include_optional) -> BaseResponseBasic: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseBasic( diff --git a/test/test_base_response_binary_additional_response.py b/test/test_base_response_binary_additional_response.py index 0e65132..ad8553f 100644 --- a/test/test_base_response_binary_additional_response.py +++ b/test/test_base_response_binary_additional_response.py @@ -37,200 +37,7 @@ def make_instance(self, include_optional) -> BaseResponseBinaryAdditionalRespons status = True, data = revengai.models.binary_additional_response.BinaryAdditionalResponse( binary_id = 56, - details = revengai.models.binary_additional_details_data_response.BinaryAdditionalDetailsDataResponse( - file = revengai.models.file_metadata.FileMetadata( - size = 56, - friendly_size = '', - entropy = 1.337, - hashes = revengai.models.file_hashes.FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', ), ), - pe = revengai.models.pe_model.PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { - 'key' : null - }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), ), - elf = revengai.models.elf_model.ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { - 'key' : null - } - ], - debug_info = { - 'key' : null - }, - version_info = { - 'key' : null - }, ), ), + details = null, creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), message = '', errors = [ @@ -239,10 +46,7 @@ def make_instance(self, include_optional) -> BaseResponseBinaryAdditionalRespons message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseBinaryAdditionalResponse( diff --git a/test/test_base_response_binary_details_response.py b/test/test_base_response_binary_details_response.py index 430a178..b821eb5 100644 --- a/test/test_base_response_binary_details_response.py +++ b/test/test_base_response_binary_details_response.py @@ -63,10 +63,7 @@ class = '', message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseBinaryDetailsResponse( diff --git a/test/test_base_response_binary_externals_response.py b/test/test_base_response_binary_externals_response.py index eae59cc..befe0ce 100644 --- a/test/test_base_response_binary_externals_response.py +++ b/test/test_base_response_binary_externals_response.py @@ -52,10 +52,7 @@ def make_instance(self, include_optional) -> BaseResponseBinaryExternalsResponse message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseBinaryExternalsResponse( diff --git a/test/test_base_response_binary_search_response.py b/test/test_base_response_binary_search_response.py index 51e2a41..7b2b5ea 100644 --- a/test/test_base_response_binary_search_response.py +++ b/test/test_base_response_binary_search_response.py @@ -57,10 +57,7 @@ def make_instance(self, include_optional) -> BaseResponseBinarySearchResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseBinarySearchResponse( diff --git a/test/test_base_response_block_comments_generation_for_function_response.py b/test/test_base_response_block_comments_generation_for_function_response.py index 971110c..672b802 100644 --- a/test/test_base_response_block_comments_generation_for_function_response.py +++ b/test/test_base_response_block_comments_generation_for_function_response.py @@ -44,10 +44,7 @@ def make_instance(self, include_optional) -> BaseResponseBlockCommentsGeneration message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseBlockCommentsGenerationForFunctionResponse( diff --git a/test/test_base_response_block_comments_overview_generation_response.py b/test/test_base_response_block_comments_overview_generation_response.py index 67d2346..2a162d4 100644 --- a/test/test_base_response_block_comments_overview_generation_response.py +++ b/test/test_base_response_block_comments_overview_generation_response.py @@ -43,10 +43,7 @@ def make_instance(self, include_optional) -> BaseResponseBlockCommentsOverviewGe message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseBlockCommentsOverviewGenerationResponse( diff --git a/test/test_base_response_bool.py b/test/test_base_response_bool.py index 6ddc03e..4d7d57e 100644 --- a/test/test_base_response_bool.py +++ b/test/test_base_response_bool.py @@ -43,10 +43,7 @@ def make_instance(self, include_optional) -> BaseResponseBool: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseBool( diff --git a/test/test_base_response_callees_caller_functions_response.py b/test/test_base_response_callees_caller_functions_response.py index 41f4be2..c0ab5b0 100644 --- a/test/test_base_response_callees_caller_functions_response.py +++ b/test/test_base_response_callees_caller_functions_response.py @@ -62,10 +62,7 @@ def make_instance(self, include_optional) -> BaseResponseCalleesCallerFunctionsR message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCalleesCallerFunctionsResponse( diff --git a/test/test_base_response_capabilities.py b/test/test_base_response_capabilities.py index bed9fc4..3f3dcc4 100644 --- a/test/test_base_response_capabilities.py +++ b/test/test_base_response_capabilities.py @@ -51,10 +51,7 @@ def make_instance(self, include_optional) -> BaseResponseCapabilities: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCapabilities( diff --git a/test/test_base_response_check_security_checks_task_response.py b/test/test_base_response_check_security_checks_task_response.py index dc5f051..a5529d7 100644 --- a/test/test_base_response_check_security_checks_task_response.py +++ b/test/test_base_response_check_security_checks_task_response.py @@ -44,10 +44,7 @@ def make_instance(self, include_optional) -> BaseResponseCheckSecurityChecksTask message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCheckSecurityChecksTaskResponse( diff --git a/test/test_base_response_child_binaries_response.py b/test/test_base_response_child_binaries_response.py index 65b13b4..8d57735 100644 --- a/test/test_base_response_child_binaries_response.py +++ b/test/test_base_response_child_binaries_response.py @@ -42,10 +42,7 @@ def make_instance(self, include_optional) -> BaseResponseChildBinariesResponse: name = '', sha256 = '', ) ], - parent = revengai.models.relative_binary_response.RelativeBinaryResponse( - binary_id = 56, - name = '', - sha256 = '', ), ), + parent = null, ), message = '', errors = [ revengai.models.error_model.ErrorModel( @@ -53,10 +50,7 @@ def make_instance(self, include_optional) -> BaseResponseChildBinariesResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseChildBinariesResponse( diff --git a/test/test_base_response_collection_binaries_update_response.py b/test/test_base_response_collection_binaries_update_response.py index 0c75d42..fd283e3 100644 --- a/test/test_base_response_collection_binaries_update_response.py +++ b/test/test_base_response_collection_binaries_update_response.py @@ -52,10 +52,7 @@ def make_instance(self, include_optional) -> BaseResponseCollectionBinariesUpdat message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCollectionBinariesUpdateResponse( diff --git a/test/test_base_response_collection_response.py b/test/test_base_response_collection_response.py index 073e6c4..88f1c82 100644 --- a/test/test_base_response_collection_response.py +++ b/test/test_base_response_collection_response.py @@ -42,7 +42,7 @@ def make_instance(self, include_optional) -> BaseResponseCollectionResponse: model_id = 56, user_id = 56, team_id = 56, - collection_scope = 'PRIVATE', + collection_scope = null, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), tags = [ @@ -58,10 +58,7 @@ def make_instance(self, include_optional) -> BaseResponseCollectionResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCollectionResponse( diff --git a/test/test_base_response_collection_search_response.py b/test/test_base_response_collection_search_response.py index bdf028c..deb9478 100644 --- a/test/test_base_response_collection_search_response.py +++ b/test/test_base_response_collection_search_response.py @@ -60,10 +60,7 @@ def make_instance(self, include_optional) -> BaseResponseCollectionSearchRespons message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCollectionSearchResponse( diff --git a/test/test_base_response_collection_tags_update_response.py b/test/test_base_response_collection_tags_update_response.py index 3d3dd11..ba8dcfc 100644 --- a/test/test_base_response_collection_tags_update_response.py +++ b/test/test_base_response_collection_tags_update_response.py @@ -46,10 +46,7 @@ def make_instance(self, include_optional) -> BaseResponseCollectionTagsUpdateRes message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCollectionTagsUpdateResponse( diff --git a/test/test_base_response_comment_response.py b/test/test_base_response_comment_response.py index f4082aa..faaab3a 100644 --- a/test/test_base_response_comment_response.py +++ b/test/test_base_response_comment_response.py @@ -51,10 +51,7 @@ def make_instance(self, include_optional) -> BaseResponseCommentResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCommentResponse( diff --git a/test/test_base_response_communities.py b/test/test_base_response_communities.py index 7a43709..6392c4b 100644 --- a/test/test_base_response_communities.py +++ b/test/test_base_response_communities.py @@ -57,10 +57,7 @@ def make_instance(self, include_optional) -> BaseResponseCommunities: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCommunities( diff --git a/test/test_base_response_created.py b/test/test_base_response_created.py index 7379df9..a81641c 100644 --- a/test/test_base_response_created.py +++ b/test/test_base_response_created.py @@ -46,10 +46,7 @@ def make_instance(self, include_optional) -> BaseResponseCreated: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseCreated( diff --git a/test/test_base_response_dict.py b/test/test_base_response_dict.py index cc01269..01c668a 100644 --- a/test/test_base_response_dict.py +++ b/test/test_base_response_dict.py @@ -45,10 +45,7 @@ def make_instance(self, include_optional) -> BaseResponseDict: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseDict( diff --git a/test/test_base_response_dynamic_execution_status.py b/test/test_base_response_dynamic_execution_status.py index c6559cc..7061f57 100644 --- a/test/test_base_response_dynamic_execution_status.py +++ b/test/test_base_response_dynamic_execution_status.py @@ -44,10 +44,7 @@ def make_instance(self, include_optional) -> BaseResponseDynamicExecutionStatus: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseDynamicExecutionStatus( diff --git a/test/test_base_response_external_response.py b/test/test_base_response_external_response.py index 9239498..d59f8a3 100644 --- a/test/test_base_response_external_response.py +++ b/test/test_base_response_external_response.py @@ -48,10 +48,7 @@ def make_instance(self, include_optional) -> BaseResponseExternalResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseExternalResponse( diff --git a/test/test_base_response_function_blocks_response.py b/test/test_base_response_function_blocks_response.py index 751185e..2029314 100644 --- a/test/test_base_response_function_blocks_response.py +++ b/test/test_base_response_function_blocks_response.py @@ -76,10 +76,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionBlocksResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseFunctionBlocksResponse( diff --git a/test/test_base_response_function_capability_response.py b/test/test_base_response_function_capability_response.py index f5665f4..2bb66b8 100644 --- a/test/test_base_response_function_capability_response.py +++ b/test/test_base_response_function_capability_response.py @@ -46,10 +46,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionCapabilityRespo message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseFunctionCapabilityResponse( diff --git a/test/test_base_response_function_data_types.py b/test/test_base_response_function_data_types.py index c91ae3d..1b919b2 100644 --- a/test/test_base_response_function_data_types.py +++ b/test/test_base_response_function_data_types.py @@ -38,39 +38,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionDataTypes: data = revengai.models.function_data_types.FunctionDataTypes( completed = True, status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), + data_types = null, data_types_version = 56, ), message = '', errors = [ @@ -79,10 +47,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionDataTypes: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseFunctionDataTypes( diff --git a/test/test_base_response_function_data_types_list.py b/test/test_base_response_function_data_types_list.py index 341df01..e1034fb 100644 --- a/test/test_base_response_function_data_types_list.py +++ b/test/test_base_response_function_data_types_list.py @@ -42,39 +42,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionDataTypesList: revengai.models.function_data_types_list_item.FunctionDataTypesListItem( completed = True, status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), + data_types = null, data_types_version = 56, function_id = 56, ) ], ), @@ -85,10 +53,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionDataTypesList: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseFunctionDataTypesList( diff --git a/test/test_base_response_function_search_response.py b/test/test_base_response_function_search_response.py index ce58d52..e90aa52 100644 --- a/test/test_base_response_function_search_response.py +++ b/test/test_base_response_function_search_response.py @@ -53,10 +53,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionSearchResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseFunctionSearchResponse( diff --git a/test/test_base_response_function_strings_response.py b/test/test_base_response_function_strings_response.py index e75f9d5..5e79b69 100644 --- a/test/test_base_response_function_strings_response.py +++ b/test/test_base_response_function_strings_response.py @@ -49,10 +49,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionStringsResponse message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseFunctionStringsResponse( diff --git a/test/test_base_response_function_task_response.py b/test/test_base_response_function_task_response.py index f4be922..4299758 100644 --- a/test/test_base_response_function_task_response.py +++ b/test/test_base_response_function_task_response.py @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionTaskResponse: return BaseResponseFunctionTaskResponse( status = True, data = revengai.models.function_task_response.FunctionTaskResponse( - status = 'UNINITIALISED', + status = null, error_message = '', ), message = '', errors = [ @@ -45,10 +45,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionTaskResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseFunctionTaskResponse( diff --git a/test/test_base_response_functions_detail_response.py b/test/test_base_response_functions_detail_response.py index 0571b09..5e3014e 100644 --- a/test/test_base_response_functions_detail_response.py +++ b/test/test_base_response_functions_detail_response.py @@ -59,10 +59,7 @@ def make_instance(self, include_optional) -> BaseResponseFunctionsDetailResponse message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseFunctionsDetailResponse( diff --git a/test/test_base_response_generate_function_data_types.py b/test/test_base_response_generate_function_data_types.py index 9e44435..45dcf25 100644 --- a/test/test_base_response_generate_function_data_types.py +++ b/test/test_base_response_generate_function_data_types.py @@ -38,15 +38,7 @@ def make_instance(self, include_optional) -> BaseResponseGenerateFunctionDataTyp data = revengai.models.generate_function_data_types.GenerateFunctionDataTypes( queued = True, reference = '', - data_types_list = revengai.models.generation_status_list.GenerationStatusList( - total_count = 56, - total_data_types_count = 56, - items = [ - revengai.models.function_data_types_status.FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '', ) - ], ), ), + data_types_list = null, ), message = '', errors = [ revengai.models.error_model.ErrorModel( @@ -54,10 +46,7 @@ def make_instance(self, include_optional) -> BaseResponseGenerateFunctionDataTyp message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseGenerateFunctionDataTypes( diff --git a/test/test_base_response_generation_status_list.py b/test/test_base_response_generation_status_list.py index ff13a41..45cfb92 100644 --- a/test/test_base_response_generation_status_list.py +++ b/test/test_base_response_generation_status_list.py @@ -51,10 +51,7 @@ def make_instance(self, include_optional) -> BaseResponseGenerationStatusList: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseGenerationStatusList( diff --git a/test/test_base_response_get_ai_decompilation_rating_response.py b/test/test_base_response_get_ai_decompilation_rating_response.py index 95a5a00..436943b 100644 --- a/test/test_base_response_get_ai_decompilation_rating_response.py +++ b/test/test_base_response_get_ai_decompilation_rating_response.py @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> BaseResponseGetAiDecompilationRatin return BaseResponseGetAiDecompilationRatingResponse( status = True, data = revengai.models.get_ai_decompilation_rating_response.GetAiDecompilationRatingResponse( - rating = 'POSITIVE', + rating = null, reason = '', ), message = '', errors = [ @@ -45,10 +45,7 @@ def make_instance(self, include_optional) -> BaseResponseGetAiDecompilationRatin message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseGetAiDecompilationRatingResponse( diff --git a/test/test_base_response_get_ai_decompilation_task.py b/test/test_base_response_get_ai_decompilation_task.py index 4e5b655..f7547e2 100644 --- a/test/test_base_response_get_ai_decompilation_task.py +++ b/test/test_base_response_get_ai_decompilation_task.py @@ -45,55 +45,7 @@ def make_instance(self, include_optional) -> BaseResponseGetAiDecompilationTask: addr = null, is_external = True, ) }, - function_mapping_full = revengai.models.function_mapping_full.FunctionMappingFull( - inverse_string_map = { - 'key' : revengai.models.inverse_string_map_item.InverseStringMapItem( - string = '', - addr = 56, ) - }, - inverse_function_map = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - unmatched_functions = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_custom_types = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_strings = { - 'key' : - }, - unmatched_vars = { - 'key' : - }, - unmatched_go_to_labels = { - 'key' : - }, - unmatched_custom_function_pointers = { - 'key' : - }, - unmatched_variadic_lists = { - 'key' : - }, - unmatched_enums = { - 'key' : - }, - unmatched_global_vars = { - 'key' : - }, - fields = { - 'key' : { - 'key' : - } - }, - unmatched_external_vars = { - 'key' : - }, ), + function_mapping_full = null, summary = '', ai_summary = '', raw_ai_summary = '', ), @@ -104,10 +56,7 @@ def make_instance(self, include_optional) -> BaseResponseGetAiDecompilationTask: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseGetAiDecompilationTask( diff --git a/test/test_base_response_get_public_user_response.py b/test/test_base_response_get_public_user_response.py index 56a31dc..f86fea7 100644 --- a/test/test_base_response_get_public_user_response.py +++ b/test/test_base_response_get_public_user_response.py @@ -45,10 +45,7 @@ def make_instance(self, include_optional) -> BaseResponseGetPublicUserResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseGetPublicUserResponse( diff --git a/test/test_base_response_get_user_response.py b/test/test_base_response_get_user_response.py index 4f88c6a..d3cd63f 100644 --- a/test/test_base_response_get_user_response.py +++ b/test/test_base_response_get_user_response.py @@ -50,10 +50,7 @@ def make_instance(self, include_optional) -> BaseResponseGetUserResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseGetUserResponse( diff --git a/test/test_base_response_list_collection_results.py b/test/test_base_response_list_collection_results.py index 732c44b..afafef4 100644 --- a/test/test_base_response_list_collection_results.py +++ b/test/test_base_response_list_collection_results.py @@ -59,10 +59,7 @@ def make_instance(self, include_optional) -> BaseResponseListCollectionResults: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseListCollectionResults( diff --git a/test/test_base_response_list_comment_response.py b/test/test_base_response_list_comment_response.py index 995bc4f..d24d10a 100644 --- a/test/test_base_response_list_comment_response.py +++ b/test/test_base_response_list_comment_response.py @@ -53,10 +53,7 @@ def make_instance(self, include_optional) -> BaseResponseListCommentResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseListCommentResponse( diff --git a/test/test_base_response_list_die_match.py b/test/test_base_response_list_die_match.py index 89c1ca9..abe5f59 100644 --- a/test/test_base_response_list_die_match.py +++ b/test/test_base_response_list_die_match.py @@ -49,10 +49,7 @@ def make_instance(self, include_optional) -> BaseResponseListDieMatch: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseListDieMatch( diff --git a/test/test_base_response_list_function_name_history.py b/test/test_base_response_list_function_name_history.py index 784f6c1..55380a6 100644 --- a/test/test_base_response_list_function_name_history.py +++ b/test/test_base_response_list_function_name_history.py @@ -42,7 +42,7 @@ def make_instance(self, include_optional) -> BaseResponseListFunctionNameHistory function_name = '', mangled_name = '', is_debug = True, - source_type = 'SYSTEM', + source_type = null, created_at = '', ) ], message = '', @@ -52,10 +52,7 @@ def make_instance(self, include_optional) -> BaseResponseListFunctionNameHistory message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseListFunctionNameHistory( diff --git a/test/test_base_response_list_sbom.py b/test/test_base_response_list_sbom.py index c5b9a85..413d682 100644 --- a/test/test_base_response_list_sbom.py +++ b/test/test_base_response_list_sbom.py @@ -53,10 +53,7 @@ def make_instance(self, include_optional) -> BaseResponseListSBOM: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseListSBOM( diff --git a/test/test_base_response_list_user_activity_response.py b/test/test_base_response_list_user_activity_response.py index 0bc371a..1fa91a3 100644 --- a/test/test_base_response_list_user_activity_response.py +++ b/test/test_base_response_list_user_activity_response.py @@ -51,10 +51,7 @@ def make_instance(self, include_optional) -> BaseResponseListUserActivityRespons message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseListUserActivityResponse( diff --git a/test/test_base_response_login_response.py b/test/test_base_response_login_response.py index c76d80c..38d7ed7 100644 --- a/test/test_base_response_login_response.py +++ b/test/test_base_response_login_response.py @@ -44,10 +44,7 @@ def make_instance(self, include_optional) -> BaseResponseLoginResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseLoginResponse( diff --git a/test/test_base_response_logs.py b/test/test_base_response_logs.py index 1404546..a1aff6f 100644 --- a/test/test_base_response_logs.py +++ b/test/test_base_response_logs.py @@ -44,10 +44,7 @@ def make_instance(self, include_optional) -> BaseResponseLogs: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseLogs( diff --git a/test/test_base_response_models_response.py b/test/test_base_response_models_response.py index 12a63ab..7965ce4 100644 --- a/test/test_base_response_models_response.py +++ b/test/test_base_response_models_response.py @@ -46,10 +46,7 @@ def make_instance(self, include_optional) -> BaseResponseModelsResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseModelsResponse( diff --git a/test/test_base_response_network_overview_response.py b/test/test_base_response_network_overview_response.py index 1635078..51b6cfe 100644 --- a/test/test_base_response_network_overview_response.py +++ b/test/test_base_response_network_overview_response.py @@ -60,10 +60,7 @@ def make_instance(self, include_optional) -> BaseResponseNetworkOverviewResponse message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseNetworkOverviewResponse( diff --git a/test/test_base_response_params.py b/test/test_base_response_params.py index a4ca471..96e857a 100644 --- a/test/test_base_response_params.py +++ b/test/test_base_response_params.py @@ -50,10 +50,7 @@ def make_instance(self, include_optional) -> BaseResponseParams: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseParams( diff --git a/test/test_base_response_process_dumps.py b/test/test_base_response_process_dumps.py index 9eaffa5..e80bcc1 100644 --- a/test/test_base_response_process_dumps.py +++ b/test/test_base_response_process_dumps.py @@ -56,10 +56,7 @@ def make_instance(self, include_optional) -> BaseResponseProcessDumps: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseProcessDumps( diff --git a/test/test_base_response_process_registry.py b/test/test_base_response_process_registry.py index 40df336..e68c1f3 100644 --- a/test/test_base_response_process_registry.py +++ b/test/test_base_response_process_registry.py @@ -53,10 +53,7 @@ def make_instance(self, include_optional) -> BaseResponseProcessRegistry: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseProcessRegistry( diff --git a/test/test_base_response_process_tree.py b/test/test_base_response_process_tree.py index 094e4be..0a0a802 100644 --- a/test/test_base_response_process_tree.py +++ b/test/test_base_response_process_tree.py @@ -58,10 +58,7 @@ def make_instance(self, include_optional) -> BaseResponseProcessTree: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseProcessTree( diff --git a/test/test_base_response_queued_security_checks_task_response.py b/test/test_base_response_queued_security_checks_task_response.py index 454f911..48bf690 100644 --- a/test/test_base_response_queued_security_checks_task_response.py +++ b/test/test_base_response_queued_security_checks_task_response.py @@ -44,10 +44,7 @@ def make_instance(self, include_optional) -> BaseResponseQueuedSecurityChecksTas message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseQueuedSecurityChecksTaskResponse( diff --git a/test/test_base_response_recent.py b/test/test_base_response_recent.py index b7fc946..f589809 100644 --- a/test/test_base_response_recent.py +++ b/test/test_base_response_recent.py @@ -51,7 +51,7 @@ def make_instance(self, include_optional) -> BaseResponseRecent: function_boundaries_hash = '', binary_size = 56, username = '', - dynamic_execution_status = 'PENDING', + dynamic_execution_status = null, dynamic_execution_task_id = 56, base_address = 56, ) ], ), @@ -62,10 +62,7 @@ def make_instance(self, include_optional) -> BaseResponseRecent: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseRecent( diff --git a/test/test_base_response_security_checks_response.py b/test/test_base_response_security_checks_response.py index ee695ba..92bfb54 100644 --- a/test/test_base_response_security_checks_response.py +++ b/test/test_base_response_security_checks_response.py @@ -56,10 +56,7 @@ def make_instance(self, include_optional) -> BaseResponseSecurityChecksResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseSecurityChecksResponse( diff --git a/test/test_base_response_status.py b/test/test_base_response_status.py index a56fc80..061f23e 100644 --- a/test/test_base_response_status.py +++ b/test/test_base_response_status.py @@ -45,10 +45,7 @@ def make_instance(self, include_optional) -> BaseResponseStatus: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseStatus( diff --git a/test/test_base_response_str.py b/test/test_base_response_str.py index fdca068..1999b64 100644 --- a/test/test_base_response_str.py +++ b/test/test_base_response_str.py @@ -43,10 +43,7 @@ def make_instance(self, include_optional) -> BaseResponseStr: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseStr( diff --git a/test/test_base_response_tag_search_response.py b/test/test_base_response_tag_search_response.py index ab70c1f..48f94cf 100644 --- a/test/test_base_response_tag_search_response.py +++ b/test/test_base_response_tag_search_response.py @@ -48,10 +48,7 @@ def make_instance(self, include_optional) -> BaseResponseTagSearchResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseTagSearchResponse( diff --git a/test/test_base_response_task_response.py b/test/test_base_response_task_response.py index 01931fd..eafc387 100644 --- a/test/test_base_response_task_response.py +++ b/test/test_base_response_task_response.py @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> BaseResponseTaskResponse: return BaseResponseTaskResponse( status = True, data = revengai.models.task_response.TaskResponse( - status = 'UNINITIALISED', + status = null, error_message = '', ), message = '', errors = [ @@ -45,10 +45,7 @@ def make_instance(self, include_optional) -> BaseResponseTaskResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseTaskResponse( diff --git a/test/test_base_response_ttps.py b/test/test_base_response_ttps.py index 9255654..513fe21 100644 --- a/test/test_base_response_ttps.py +++ b/test/test_base_response_ttps.py @@ -61,10 +61,7 @@ def make_instance(self, include_optional) -> BaseResponseTTPS: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseTTPS( diff --git a/test/test_base_response_upload_response.py b/test/test_base_response_upload_response.py index 7daf463..3ff04ce 100644 --- a/test/test_base_response_upload_response.py +++ b/test/test_base_response_upload_response.py @@ -46,10 +46,7 @@ def make_instance(self, include_optional) -> BaseResponseUploadResponse: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseUploadResponse( diff --git a/test/test_base_response_vulnerabilities.py b/test/test_base_response_vulnerabilities.py index 486578d..fbb2c37 100644 --- a/test/test_base_response_vulnerabilities.py +++ b/test/test_base_response_vulnerabilities.py @@ -57,10 +57,7 @@ def make_instance(self, include_optional) -> BaseResponseVulnerabilities: message = '', ) ], meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) + pagination = null, ) ) else: return BaseResponseVulnerabilities( diff --git a/test/test_binary_additional_details_data_response.py b/test/test_binary_additional_details_data_response.py index 54d5b91..a206bac 100644 --- a/test/test_binary_additional_details_data_response.py +++ b/test/test_binary_additional_details_data_response.py @@ -49,90 +49,27 @@ def make_instance(self, include_optional) -> BinaryAdditionalDetailsDataResponse sha3_512 = '', ), ), pe = revengai.models.pe_model.PEModel( type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), + timestamps = null, architecture = '', checksum = 56, image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), + security = null, version_info = { 'key' : null }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), + debug_info = null, number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), + entry_point = null, + signature = null, dotnet = True, debug_stripped = True, import_hash = '', export_hash = '', rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), ), + sections = null, + imports = null, + exports = null, + icon_data = null, ), elf = revengai.models.elf_model.ELFModel( file_type = '', architecture = '', diff --git a/test/test_binary_additional_response.py b/test/test_binary_additional_response.py index c8a76a9..bae1fc2 100644 --- a/test/test_binary_additional_response.py +++ b/test/test_binary_additional_response.py @@ -49,186 +49,8 @@ def make_instance(self, include_optional) -> BinaryAdditionalResponse: sha3_256 = '', sha3_384 = '', sha3_512 = '', ), ), - pe = revengai.models.pe_model.PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { - 'key' : null - }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), ), - elf = revengai.models.elf_model.ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { - 'key' : null - } - ], - debug_info = { - 'key' : null - }, - version_info = { - 'key' : null - }, ), ), + pe = null, + elf = null, ), creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') ) else: @@ -248,186 +70,8 @@ def make_instance(self, include_optional) -> BinaryAdditionalResponse: sha3_256 = '', sha3_384 = '', sha3_512 = '', ), ), - pe = revengai.models.pe_model.PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { - 'key' : null - }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), ), - elf = revengai.models.elf_model.ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { - 'key' : null - } - ], - debug_info = { - 'key' : null - }, - version_info = { - 'key' : null - }, ), ), + pe = null, + elf = null, ), ) """ diff --git a/test/test_function_data_types.py b/test/test_function_data_types.py index 12019d9..565dc96 100644 --- a/test/test_function_data_types.py +++ b/test/test_function_data_types.py @@ -37,35 +37,7 @@ def make_instance(self, include_optional) -> FunctionDataTypes: completed = True, status = '', data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), + func_types = null, func_deps = [ null ], ), diff --git a/test/test_function_data_types_list.py b/test/test_function_data_types_list.py index ed7d88e..d3d675a 100644 --- a/test/test_function_data_types_list.py +++ b/test/test_function_data_types_list.py @@ -40,39 +40,7 @@ def make_instance(self, include_optional) -> FunctionDataTypesList: revengai.models.function_data_types_list_item.FunctionDataTypesListItem( completed = True, status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), + data_types = null, data_types_version = 56, function_id = 56, ) ] @@ -83,39 +51,7 @@ def make_instance(self, include_optional) -> FunctionDataTypesList: revengai.models.function_data_types_list_item.FunctionDataTypesListItem( completed = True, status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), + data_types = null, data_types_version = 56, function_id = 56, ) ], diff --git a/test/test_function_data_types_list_item.py b/test/test_function_data_types_list_item.py index 1a1daa9..3eec0b4 100644 --- a/test/test_function_data_types_list_item.py +++ b/test/test_function_data_types_list_item.py @@ -37,35 +37,7 @@ def make_instance(self, include_optional) -> FunctionDataTypesListItem: completed = True, status = '', data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), + func_types = null, func_deps = [ null ], ), diff --git a/test/test_function_info_input.py b/test/test_function_info_input.py index dfb051a..5497848 100644 --- a/test/test_function_info_input.py +++ b/test/test_function_info_input.py @@ -38,19 +38,7 @@ def make_instance(self, include_optional) -> FunctionInfoInput: last_change = '', addr = 56, size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), + header = null, stack_vars = { 'key' : revengai.models.stack_variable.StackVariable( last_change = '', diff --git a/test/test_function_info_output.py b/test/test_function_info_output.py index 0a10c1a..248844a 100644 --- a/test/test_function_info_output.py +++ b/test/test_function_info_output.py @@ -38,19 +38,7 @@ def make_instance(self, include_optional) -> FunctionInfoOutput: last_change = '', addr = 56, size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), + header = null, stack_vars = { 'key' : revengai.models.stack_variable.StackVariable( last_change = '', diff --git a/test/test_recent.py b/test/test_recent.py index 5aef1a4..1213fbe 100644 --- a/test/test_recent.py +++ b/test/test_recent.py @@ -49,7 +49,7 @@ def make_instance(self, include_optional) -> Recent: function_boundaries_hash = '', binary_size = 56, username = '', - dynamic_execution_status = 'PENDING', + dynamic_execution_status = null, dynamic_execution_task_id = 56, base_address = 56, ) ] @@ -71,7 +71,7 @@ def make_instance(self, include_optional) -> Recent: function_boundaries_hash = '', binary_size = 56, username = '', - dynamic_execution_status = 'PENDING', + dynamic_execution_status = null, dynamic_execution_task_id = 56, base_address = 56, ) ], diff --git a/test/test_update_function_data_types.py b/test/test_update_function_data_types.py index 7acac28..fc43e0c 100644 --- a/test/test_update_function_data_types.py +++ b/test/test_update_function_data_types.py @@ -36,35 +36,7 @@ def make_instance(self, include_optional) -> UpdateFunctionDataTypes: return UpdateFunctionDataTypes( data_types_version = 56, data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), + func_types = null, func_deps = [ null ], ) @@ -73,35 +45,7 @@ def make_instance(self, include_optional) -> UpdateFunctionDataTypes: return UpdateFunctionDataTypes( data_types_version = 56, data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), + func_types = null, func_deps = [ null ], ),