From efc17c1e2736c0c7190f41423316c489d5f1bcbc Mon Sep 17 00:00:00 2001 From: Alex Kupryienka Date: Wed, 11 Mar 2026 15:59:26 -0400 Subject: [PATCH 1/2] Update API to 7.9.0 baseline --- README.md | 55 +- corellium_api/__init__.py | 15 +- corellium_api/api/corellium_api.py | 3576 +++++++++++------ corellium_api/api_client.py | 2 +- corellium_api/configuration.py | 4 +- corellium_api/exceptions.py | 2 +- corellium_api/models/__init__.py | 15 +- corellium_api/models/activity.py | 2 +- corellium_api/models/activity_export_dto.py | 2 +- .../models/activity_export_response.py | 2 +- corellium_api/models/activity_list.py | 2 +- corellium_api/models/activity_request.py | 2 +- corellium_api/models/address.py | 2 +- corellium_api/models/agent_app.py | 2 +- .../models/agent_app_ready_response.py | 2 +- corellium_api/models/agent_app_status.py | 2 +- corellium_api/models/agent_apps_list.py | 2 +- .../models/agent_apps_status_list.py | 2 +- corellium_api/models/agent_error.py | 2 +- corellium_api/models/agent_icons.py | 2 +- corellium_api/models/agent_install_body.py | 2 +- corellium_api/models/agent_profiles_return.py | 2 +- corellium_api/models/agent_system_adb_auth.py | 2 +- .../models/agent_system_get_prop_body.py | 2 +- .../models/agent_system_set_hostname_body.py | 2 +- corellium_api/models/agent_value_return.py | 2 +- corellium_api/models/agreed_ack.py | 2 +- .../models/allowed_domains_response.py | 2 +- corellium_api/models/api_conflict_error.py | 2 +- corellium_api/models/api_error.py | 2 +- .../models/api_internal_consistency_error.py | 2 +- corellium_api/models/api_not_found_error.py | 2 +- corellium_api/models/api_token.py | 2 +- corellium_api/models/assessment.py | 2 +- corellium_api/models/assessment_history.py | 2 +- .../models/assessment_history_line_item.py | 2 +- corellium_api/models/assessment_id_status.py | 2 +- .../models/attach_interface_request.py | 2 +- corellium_api/models/auth_provider.py | 2 +- corellium_api/models/bit.py | 2 +- corellium_api/models/btrace_enable_options.py | 2 +- corellium_api/models/button.py | 2 +- .../models/check_subdomain_response.py | 2 +- .../models/cluster_configuration_payload.py | 158 + corellium_api/models/cluster_snapshot.py | 132 + corellium_api/models/config_response.py | 2 +- .../models/config_response_maintenance.py | 2 +- corellium_api/models/coordinator_config.py | 132 + corellium_api/models/coupon_options.py | 2 +- corellium_api/models/create_assessment_dto.py | 2 +- .../models/create_interconnect_request.py | 2 +- .../create_network_connection_options.py | 2 +- corellium_api/models/create_team.py | 2 +- corellium_api/models/created_by.py | 2 +- corellium_api/models/credentials.py | 2 +- .../models/detach_interface_request.py | 2 +- corellium_api/models/device.py | 2 +- .../models/domain_auth_provider_request.py | 2 +- .../models/domain_auth_provider_response.py | 2 +- corellium_api/models/domain_options.py | 2 +- .../models/extended_firmware_asset_info.py | 2 +- corellium_api/models/extension.py | 2 +- corellium_api/models/features.py | 2 +- corellium_api/models/file_changes.py | 2 +- corellium_api/models/firmware.py | 2 +- corellium_api/models/firmware_asset.py | 2 +- .../models/firmware_service_configuration.py | 240 ++ ..._assessments_by_instance_id500_response.py | 2 +- .../models/get_interconnects_response.py | 2 +- corellium_api/models/get_storage_response.py | 240 ++ corellium_api/models/gpio_state_definition.py | 2 +- corellium_api/models/gpios_state.py | 2 +- .../models/grant_trial_request_response.py | 2 +- corellium_api/models/hook.py | 2 +- corellium_api/models/image.py | 2 +- corellium_api/models/input_response.py | 2 +- .../models/install_firmware_assets_request.py | 134 + .../install_firmware_assets_response.py | 132 + .../models/install_firmware_request.py | 2 +- .../models/install_firmware_response.py | 2 +- corellium_api/models/instance.py | 2 +- corellium_api/models/instance_agent_state.py | 2 +- corellium_api/models/instance_boot_options.py | 34 +- .../instance_boot_options_additional_tag.py | 2 +- .../models/instance_boot_options_kernel.py | 132 + .../models/instance_console_endpoint.py | 2 +- .../models/instance_create_options.py | 35 +- corellium_api/models/instance_input.py | 2 +- corellium_api/models/instance_interface.py | 2 +- .../models/instance_netdump_state.py | 2 +- corellium_api/models/instance_netmon_state.py | 2 +- corellium_api/models/instance_return.py | 2 +- corellium_api/models/instance_services.py | 2 +- .../models/instance_start_options.py | 2 +- corellium_api/models/instance_state.py | 2 +- corellium_api/models/instance_stop_options.py | 2 +- corellium_api/models/instance_upgrade_body.py | 2 +- corellium_api/models/interconnect_response.py | 2 +- corellium_api/models/invitation.py | 2 +- corellium_api/models/invite_revoke_params.py | 2 +- .../models/invite_revoke_params_ids.py | 2 +- corellium_api/models/kcrange.py | 2 +- corellium_api/models/kernel_task.py | 2 +- corellium_api/models/kernel_thread.py | 2 +- corellium_api/models/logging.py | 2 +- corellium_api/models/maintenance.py | 2 +- corellium_api/models/media_play_body.py | 2 +- corellium_api/models/media_store.py | 402 ++ .../models/metered_subscription_usage.py | 2 +- corellium_api/models/model.py | 2 +- corellium_api/models/model_software.py | 2 +- corellium_api/models/netdump_filter.py | 2 +- corellium_api/models/network_connection.py | 2 +- ...ork_connection_offset_pagination_result.py | 2 +- .../models/network_connection_provider.py | 2 +- ...ction_provider_offset_pagination_result.py | 2 +- .../models/network_status_response.py | 2 +- corellium_api/models/node_information.py | 2 +- corellium_api/models/node_updates_failed.py | 159 + corellium_api/models/open_id_config.py | 2 +- corellium_api/models/pagination.py | 2 +- .../partial_update_interconnect_request.py | 35 +- corellium_api/models/password_change_body.py | 2 +- corellium_api/models/password_reset_body.py | 2 +- .../models/patch_instance_options.py | 2 +- .../models/patch_instance_read_only.py | 2 +- corellium_api/models/peripherals_data.py | 2 +- corellium_api/models/plan.py | 2 +- .../post_share_snapshot_request_payload.py | 2 +- corellium_api/models/project.py | 2 +- corellium_api/models/project_key.py | 2 +- corellium_api/models/project_network_state.py | 2 +- corellium_api/models/project_quota.py | 2 +- corellium_api/models/project_settings.py | 2 +- corellium_api/models/project_usage.py | 2 +- corellium_api/models/proxy_config.py | 2 +- corellium_api/models/reset_link_body.py | 2 +- .../models/reset_link_info_return.py | 2 +- corellium_api/models/restore_backup_data.py | 2 +- corellium_api/models/role.py | 2 +- corellium_api/models/rotate_body.py | 2 +- corellium_api/models/shared_snapshots_info.py | 2 +- corellium_api/models/snapshot.py | 2 +- .../models/snapshot_creation_options.py | 2 +- corellium_api/models/snapshot_list.py | 213 + corellium_api/models/snapshot_member.py | 2 +- corellium_api/models/snapshot_owner.py | 2 +- .../snapshot_permissions_request_payload.py | 2 +- corellium_api/models/snapshot_request.py | 402 ++ corellium_api/models/snapshot_sharing.py | 2 +- .../models/snapshot_sharing_permissions.py | 2 +- corellium_api/models/snapshot_status.py | 2 +- corellium_api/models/sslsplit_filter.py | 2 +- corellium_api/models/team.py | 2 +- corellium_api/models/team_create.py | 2 +- corellium_api/models/test_assessment_dto.py | 2 +- corellium_api/models/text_input.py | 2 +- corellium_api/models/token.py | 2 +- corellium_api/models/touch_curve_input.py | 2 +- corellium_api/models/touch_input.py | 2 +- .../models/touch_input_buttons_inner.py | 2 +- corellium_api/models/trial.py | 2 +- corellium_api/models/trial_extension.py | 2 +- .../models/trial_request_metadata.py | 2 +- corellium_api/models/trial_request_options.py | 2 +- corellium_api/models/update_assessment_dto.py | 2 +- corellium_api/models/update_extension.py | 2 +- .../models/update_interconnect_request.py | 35 +- .../update_network_connection_options.py | 2 +- .../models/update_trial_request_params.py | 2 +- corellium_api/models/user.py | 2 +- corellium_api/models/user_create.py | 2 +- corellium_api/models/user_create_return.py | 2 +- corellium_api/models/user_error.py | 2 +- corellium_api/models/user_snapshots.py | 2 +- corellium_api/models/user_update.py | 2 +- ...v1_check_subdomain_existence_parameters.py | 2 +- .../models/v1_create_hook_parameters.py | 2 +- .../models/v1_load_extension_parameters.py | 2 +- corellium_api/models/v1_set_state_body.py | 2 +- .../models/v1_update_hook_parameters.py | 2 +- corellium_api/models/validation_error.py | 2 +- corellium_api/models/volume_options.py | 2 +- corellium_api/models/vpn_definition.py | 2 +- .../web_player_create_session_request.py | 2 +- corellium_api/models/web_player_session.py | 2 +- corellium_api/rest.py | 2 +- docs/ClusterConfigurationPayload.md | 13 + docs/ClusterSnapshot.md | 12 + docs/CoordinatorConfig.md | 12 + docs/CorelliumApi.md | 1744 +++++--- docs/FirmwareServiceConfiguration.md | 16 + docs/GetStorageResponse.md | 16 + docs/InstallFirmwareAssetsRequest.md | 12 + docs/InstallFirmwareAssetsResponse.md | 12 + docs/InstanceBootOptions.md | 1 + docs/InstanceBootOptionsKernel.md | 12 + docs/InstanceCreateOptions.md | 1 + docs/MediaStore.md | 22 + docs/NodeUpdatesFailed.md | 13 + docs/PartialUpdateInterconnectRequest.md | 1 - docs/SnapshotList.md | 15 + docs/SnapshotRequest.md | 22 + docs/UpdateInterconnectRequest.md | 1 - setup.py | 2 +- test/test_activity.py | 2 +- test/test_activity_export_dto.py | 2 +- test/test_activity_export_response.py | 2 +- test/test_activity_list.py | 2 +- test/test_activity_request.py | 2 +- test/test_address.py | 2 +- test/test_agent_app.py | 2 +- test/test_agent_app_ready_response.py | 2 +- test/test_agent_app_status.py | 2 +- test/test_agent_apps_list.py | 2 +- test/test_agent_apps_status_list.py | 2 +- test/test_agent_error.py | 2 +- test/test_agent_icons.py | 2 +- test/test_agent_install_body.py | 2 +- test/test_agent_profiles_return.py | 2 +- test/test_agent_system_adb_auth.py | 2 +- test/test_agent_system_get_prop_body.py | 2 +- test/test_agent_system_set_hostname_body.py | 2 +- test/test_agent_value_return.py | 2 +- test/test_agreed_ack.py | 2 +- test/test_allowed_domains_response.py | 2 +- test/test_api_conflict_error.py | 2 +- test/test_api_error.py | 2 +- test/test_api_internal_consistency_error.py | 2 +- test/test_api_not_found_error.py | 2 +- test/test_api_token.py | 2 +- test/test_assessment.py | 2 +- test/test_assessment_history.py | 2 +- test/test_assessment_history_line_item.py | 2 +- test/test_assessment_id_status.py | 2 +- test/test_attach_interface_request.py | 2 +- test/test_auth_provider.py | 2 +- test/test_bit.py | 2 +- test/test_btrace_enable_options.py | 2 +- test/test_button.py | 2 +- test/test_check_subdomain_response.py | 2 +- test/test_cluster_configuration_payload.py | 53 + test/test_cluster_snapshot.py | 51 + test/test_config_response.py | 2 +- test/test_config_response_maintenance.py | 2 +- test/test_coordinator_config.py | 51 + test/test_corellium_api.py | 148 +- test/test_coupon_options.py | 2 +- test/test_create_assessment_dto.py | 2 +- test/test_create_interconnect_request.py | 2 +- .../test_create_network_connection_options.py | 2 +- test/test_create_team.py | 2 +- test/test_created_by.py | 2 +- test/test_credentials.py | 2 +- test/test_detach_interface_request.py | 2 +- test/test_device.py | 2 +- test/test_domain_auth_provider_request.py | 2 +- test/test_domain_auth_provider_response.py | 2 +- test/test_domain_options.py | 2 +- test/test_extended_firmware_asset_info.py | 2 +- test/test_extension.py | 2 +- test/test_features.py | 2 +- test/test_file_changes.py | 2 +- test/test_firmware.py | 2 +- test/test_firmware_asset.py | 2 +- test/test_firmware_service_configuration.py | 55 + ..._assessments_by_instance_id500_response.py | 2 +- test/test_get_interconnects_response.py | 2 +- test/test_get_storage_response.py | 68 + test/test_gpio_state_definition.py | 2 +- test/test_gpios_state.py | 2 +- test/test_grant_trial_request_response.py | 2 +- test/test_hook.py | 2 +- test/test_image.py | 2 +- test/test_input_response.py | 2 +- test/test_install_firmware_assets_request.py | 52 + test/test_install_firmware_assets_response.py | 51 + test/test_install_firmware_request.py | 2 +- test/test_install_firmware_response.py | 2 +- test/test_instance.py | 6 +- test/test_instance_agent_state.py | 2 +- test/test_instance_boot_options.py | 6 +- ...st_instance_boot_options_additional_tag.py | 2 +- test/test_instance_boot_options_kernel.py | 51 + test/test_instance_console_endpoint.py | 2 +- test/test_instance_create_options.py | 5 +- test/test_instance_input.py | 2 +- test/test_instance_interface.py | 2 +- test/test_instance_netdump_state.py | 2 +- test/test_instance_netmon_state.py | 2 +- test/test_instance_return.py | 2 +- test/test_instance_services.py | 2 +- test/test_instance_start_options.py | 2 +- test/test_instance_state.py | 2 +- test/test_instance_stop_options.py | 2 +- test/test_instance_upgrade_body.py | 2 +- test/test_interconnect_response.py | 2 +- test/test_invitation.py | 2 +- test/test_invite_revoke_params.py | 2 +- test/test_invite_revoke_params_ids.py | 2 +- test/test_kcrange.py | 2 +- test/test_kernel_task.py | 2 +- test/test_kernel_thread.py | 2 +- test/test_logging.py | 2 +- test/test_maintenance.py | 2 +- test/test_media_play_body.py | 2 +- test/test_media_store.py | 61 + test/test_metered_subscription_usage.py | 2 +- test/test_model.py | 2 +- test/test_model_software.py | 2 +- test/test_netdump_filter.py | 2 +- test/test_network_connection.py | 2 +- ...ork_connection_offset_pagination_result.py | 2 +- test/test_network_connection_provider.py | 2 +- ...ction_provider_offset_pagination_result.py | 2 +- test/test_network_status_response.py | 2 +- test/test_node_information.py | 2 +- test/test_node_updates_failed.py | 61 + test/test_open_id_config.py | 2 +- test/test_pagination.py | 2 +- ...est_partial_update_interconnect_request.py | 5 +- test/test_password_change_body.py | 2 +- test/test_password_reset_body.py | 2 +- test/test_patch_instance_options.py | 6 +- test/test_patch_instance_read_only.py | 2 +- test/test_peripherals_data.py | 2 +- test/test_plan.py | 2 +- ...est_post_share_snapshot_request_payload.py | 2 +- test/test_project.py | 2 +- test/test_project_key.py | 2 +- test/test_project_network_state.py | 2 +- test/test_project_quota.py | 2 +- test/test_project_settings.py | 2 +- test/test_project_usage.py | 2 +- test/test_proxy_config.py | 2 +- test/test_reset_link_body.py | 2 +- test/test_reset_link_info_return.py | 2 +- test/test_restore_backup_data.py | 2 +- test/test_role.py | 2 +- test/test_rotate_body.py | 2 +- test/test_shared_snapshots_info.py | 2 +- test/test_snapshot.py | 2 +- test/test_snapshot_creation_options.py | 2 +- test/test_snapshot_list.py | 57 + test/test_snapshot_member.py | 2 +- test/test_snapshot_owner.py | 2 +- ...st_snapshot_permissions_request_payload.py | 2 +- test/test_snapshot_request.py | 61 + test/test_snapshot_sharing.py | 2 +- test/test_snapshot_sharing_permissions.py | 2 +- test/test_snapshot_status.py | 2 +- test/test_sslsplit_filter.py | 2 +- test/test_team.py | 2 +- test/test_team_create.py | 2 +- test/test_test_assessment_dto.py | 2 +- test/test_text_input.py | 2 +- test/test_token.py | 2 +- test/test_touch_curve_input.py | 2 +- test/test_touch_input.py | 2 +- test/test_touch_input_buttons_inner.py | 2 +- test/test_trial.py | 2 +- test/test_trial_extension.py | 2 +- test/test_trial_request_metadata.py | 2 +- test/test_trial_request_options.py | 2 +- test/test_update_assessment_dto.py | 2 +- test/test_update_extension.py | 2 +- test/test_update_interconnect_request.py | 5 +- .../test_update_network_connection_options.py | 2 +- test/test_update_trial_request_params.py | 2 +- test/test_user.py | 2 +- test/test_user_create.py | 2 +- test/test_user_create_return.py | 2 +- test/test_user_error.py | 2 +- test/test_user_snapshots.py | 2 +- test/test_user_update.py | 2 +- ...v1_check_subdomain_existence_parameters.py | 2 +- test/test_v1_create_hook_parameters.py | 2 +- test/test_v1_load_extension_parameters.py | 2 +- test/test_v1_set_state_body.py | 2 +- test/test_v1_update_hook_parameters.py | 2 +- test/test_validation_error.py | 2 +- test/test_volume_options.py | 2 +- test/test_vpn_definition.py | 2 +- .../test_web_player_create_session_request.py | 2 +- test/test_web_player_session.py | 2 +- 385 files changed, 7536 insertions(+), 2178 deletions(-) create mode 100644 corellium_api/models/cluster_configuration_payload.py create mode 100644 corellium_api/models/cluster_snapshot.py create mode 100644 corellium_api/models/coordinator_config.py create mode 100644 corellium_api/models/firmware_service_configuration.py create mode 100644 corellium_api/models/get_storage_response.py create mode 100644 corellium_api/models/install_firmware_assets_request.py create mode 100644 corellium_api/models/install_firmware_assets_response.py create mode 100644 corellium_api/models/instance_boot_options_kernel.py create mode 100644 corellium_api/models/media_store.py create mode 100644 corellium_api/models/node_updates_failed.py create mode 100644 corellium_api/models/snapshot_list.py create mode 100644 corellium_api/models/snapshot_request.py create mode 100644 docs/ClusterConfigurationPayload.md create mode 100644 docs/ClusterSnapshot.md create mode 100644 docs/CoordinatorConfig.md create mode 100644 docs/FirmwareServiceConfiguration.md create mode 100644 docs/GetStorageResponse.md create mode 100644 docs/InstallFirmwareAssetsRequest.md create mode 100644 docs/InstallFirmwareAssetsResponse.md create mode 100644 docs/InstanceBootOptionsKernel.md create mode 100644 docs/MediaStore.md create mode 100644 docs/NodeUpdatesFailed.md create mode 100644 docs/SnapshotList.md create mode 100644 docs/SnapshotRequest.md create mode 100644 test/test_cluster_configuration_payload.py create mode 100644 test/test_cluster_snapshot.py create mode 100644 test/test_coordinator_config.py create mode 100644 test/test_firmware_service_configuration.py create mode 100644 test/test_get_storage_response.py create mode 100644 test/test_install_firmware_assets_request.py create mode 100644 test/test_install_firmware_assets_response.py create mode 100644 test/test_instance_boot_options_kernel.py create mode 100644 test/test_media_store.py create mode 100644 test/test_node_updates_failed.py create mode 100644 test/test_snapshot_list.py create mode 100644 test/test_snapshot_request.py diff --git a/README.md b/README.md index 25b9d32..e47ef94 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ REST API to manage your virtual devices. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 7.6.0-29198 +- API version: 7.9.0 - Package version: 0.4.2 - Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen @@ -70,13 +70,21 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - node_id = 'node_id_example' # str | Node ID + limit = 3.4 # float | Maximum number of results to return (1-1000, default: 100) (optional) +offset = 3.4 # float | Number of results to skip (default: 0) (optional) +name = 'name_example' # str | Filter by interconnect name (case insensitive) (optional) +protocol = 'protocol_example' # str | Filter by protocol (comma separated) (optional) +type = 'type_example' # str | Filter by type (comma separated) (optional) +status = 'status_example' # str | Filter by status (comma separated) (optional) +project = 'project_example' # str | Filter by project ID (comma separated) (optional) +sort = 'sort_example' # str | Sort order (e.g. \"name\" for ascending, \"-name\" for descending, comma separated) (optional) try: - # Access node console via SSH - api_instance.api_v1_cluster_nodes_node_id_console_get(node_id) + # Get all I/O Interconnects + api_response = await api_instance.api_v1_interconnects_get(limit=limit, offset=offset, name=name, protocol=protocol, type=type, status=status, project=project, sort=sort) + pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->api_v1_cluster_nodes_node_id_console_get: %s\n" % e) + print("Exception when calling CorelliumApi->api_v1_interconnects_get: %s\n" % e) if __name__ == "__main__": @@ -89,7 +97,6 @@ All URIs are relative to *https://app.corellium.com/api* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*CorelliumApi* | [**api_v1_cluster_nodes_node_id_console_get**](docs/CorelliumApi.md#api_v1_cluster_nodes_node_id_console_get) | **GET** /api/v1/cluster/nodes/:nodeId/console | Access node console via SSH *CorelliumApi* | [**api_v1_interconnects_get**](docs/CorelliumApi.md#api_v1_interconnects_get) | **GET** /api/v1/interconnects | Get all I/O Interconnects *CorelliumApi* | [**api_v1_interconnects_interconnect_id_delete**](docs/CorelliumApi.md#api_v1_interconnects_interconnect_id_delete) | **DELETE** /api/v1/interconnects/:interconnectId | Delete I/O Interconnect *CorelliumApi* | [**api_v1_interconnects_interconnect_id_get**](docs/CorelliumApi.md#api_v1_interconnects_interconnect_id_get) | **GET** /api/v1/interconnects/:interconnectId | Get Interconnect @@ -143,6 +150,11 @@ Class | Method | HTTP request | Description *CorelliumApi* | [**v1_clear_hyper_trace**](docs/CorelliumApi.md#v1_clear_hyper_trace) | **DELETE** /v1/instances/{instanceId}/btrace | Clear HyperTrace logs *CorelliumApi* | [**v1_clear_hyper_trace_hooks**](docs/CorelliumApi.md#v1_clear_hyper_trace_hooks) | **POST** /v1/instances/{instanceId}/hooks/clear | Clear Hooks on an instance *CorelliumApi* | [**v1_clear_instance_panics**](docs/CorelliumApi.md#v1_clear_instance_panics) | **DELETE** /v1/instances/{instanceId}/panics | Clear Panics +*CorelliumApi* | [**v1_cluster_config_get**](docs/CorelliumApi.md#v1_cluster_config_get) | **GET** /v1/cluster/config | Get cluster configuration +*CorelliumApi* | [**v1_cluster_config_patch**](docs/CorelliumApi.md#v1_cluster_config_patch) | **PATCH** /v1/cluster/config | Update cluster configuration +*CorelliumApi* | [**v1_cluster_firmware_service_config_get**](docs/CorelliumApi.md#v1_cluster_firmware_service_config_get) | **GET** /v1/cluster/firmware-service/config | Fetch firmware service configuration +*CorelliumApi* | [**v1_cluster_firmware_service_config_patch**](docs/CorelliumApi.md#v1_cluster_firmware_service_config_patch) | **PATCH** /v1/cluster/firmware-service/config | Update firmware service configuration +*CorelliumApi* | [**v1_cluster_firmware_service_config_put**](docs/CorelliumApi.md#v1_cluster_firmware_service_config_put) | **PUT** /v1/cluster/firmware-service/config | Set firmware service configuration *CorelliumApi* | [**v1_cluster_firmware_service_devices_get**](docs/CorelliumApi.md#v1_cluster_firmware_service_devices_get) | **GET** /v1/cluster/firmware-service/devices | Fetch devices from the firmware service *CorelliumApi* | [**v1_cluster_firmware_service_firmware_assets_asset_url_delete**](docs/CorelliumApi.md#v1_cluster_firmware_service_firmware_assets_asset_url_delete) | **DELETE** /v1/cluster/firmware-service/firmware-assets/{assetURL} | Delete a firmware asset by its URL *CorelliumApi* | [**v1_cluster_firmware_service_firmware_assets_asset_url_extended_get**](docs/CorelliumApi.md#v1_cluster_firmware_service_firmware_assets_asset_url_extended_get) | **GET** /v1/cluster/firmware-service/firmware-assets/{assetURL}/extended | Fetch extended firmware-asset details including instances and associated IPSWs @@ -151,7 +163,11 @@ Class | Method | HTTP request | Description *CorelliumApi* | [**v1_cluster_firmware_service_firmwares_filename_delete**](docs/CorelliumApi.md#v1_cluster_firmware_service_firmwares_filename_delete) | **DELETE** /v1/cluster/firmware-service/firmwares/{filename} | Delete a firmware by filename from the firmware service *CorelliumApi* | [**v1_cluster_firmware_service_firmwares_get**](docs/CorelliumApi.md#v1_cluster_firmware_service_firmwares_get) | **GET** /v1/cluster/firmware-service/firmwares | Fetch firmwares from the firmware service *CorelliumApi* | [**v1_cluster_nodes_get**](docs/CorelliumApi.md#v1_cluster_nodes_get) | **GET** /v1/cluster/nodes | List servers in the cluster +*CorelliumApi* | [**v1_cluster_nodes_node_id_console_get**](docs/CorelliumApi.md#v1_cluster_nodes_node_id_console_get) | **GET** /v1/cluster/nodes/:nodeId/console | Access node console via SSH *CorelliumApi* | [**v1_cluster_nodes_node_id_get**](docs/CorelliumApi.md#v1_cluster_nodes_node_id_get) | **GET** /v1/cluster/nodes/:nodeId | Get node details by ID +*CorelliumApi* | [**v1_cluster_storage_get**](docs/CorelliumApi.md#v1_cluster_storage_get) | **GET** /v1/cluster/storage | Get storage devices +*CorelliumApi* | [**v1_cluster_storage_id_attach_post**](docs/CorelliumApi.md#v1_cluster_storage_id_attach_post) | **POST** /v1/cluster/storage/:id/attach | Mount and attach a storage device +*CorelliumApi* | [**v1_cluster_storage_id_eject_post**](docs/CorelliumApi.md#v1_cluster_storage_id_eject_post) | **POST** /v1/cluster/storage/:id/eject | Eject/Unmount removable media *CorelliumApi* | [**v1_create_domain_auth_provider**](docs/CorelliumApi.md#v1_create_domain_auth_provider) | **POST** /v1/domain/{domainId}/auth | Create a new auth provider for a domain *CorelliumApi* | [**v1_create_hook**](docs/CorelliumApi.md#v1_create_hook) | **POST** /v1/instances/{instanceId}/hooks | Create hypervisor hook for Instance *CorelliumApi* | [**v1_create_image**](docs/CorelliumApi.md#v1_create_image) | **POST** /v1/images | Create a new Image @@ -160,8 +176,8 @@ Class | Method | HTTP request | Description *CorelliumApi* | [**v1_create_project**](docs/CorelliumApi.md#v1_create_project) | **POST** /v1/projects | Create a Project *CorelliumApi* | [**v1_create_snapshot**](docs/CorelliumApi.md#v1_create_snapshot) | **POST** /v1/instances/{instanceId}/snapshots | Create Instance Snapshot *CorelliumApi* | [**v1_create_user**](docs/CorelliumApi.md#v1_create_user) | **POST** /v1/users | Create User +*CorelliumApi* | [**v1_delete_cluster_snapshot**](docs/CorelliumApi.md#v1_delete_cluster_snapshot) | **DELETE** /v1/cluster/snapshots/{snapshotId} | Delete a Cluster Snapshot *CorelliumApi* | [**v1_delete_domain_auth_provider**](docs/CorelliumApi.md#v1_delete_domain_auth_provider) | **DELETE** /v1/domain/{domainId}/auth/{providerId} | Delete an auth provider from a domain -*CorelliumApi* | [**v1_delete_extension**](docs/CorelliumApi.md#v1_delete_extension) | **DELETE** /v1/extensions/{extensionId} | Delete an existing extension *CorelliumApi* | [**v1_delete_hook**](docs/CorelliumApi.md#v1_delete_hook) | **DELETE** /v1/hooks/{hookId} | Delete an existing hypervisor hook *CorelliumApi* | [**v1_delete_image**](docs/CorelliumApi.md#v1_delete_image) | **DELETE** /v2/images/{imageId} | Delete Image *CorelliumApi* | [**v1_delete_instance**](docs/CorelliumApi.md#v1_delete_instance) | **DELETE** /v1/instances/{instanceId} | Remove Instance @@ -178,15 +194,15 @@ Class | Method | HTTP request | Description *CorelliumApi* | [**v1_execute_hyper_trace_hooks**](docs/CorelliumApi.md#v1_execute_hyper_trace_hooks) | **POST** /v1/instances/{instanceId}/hooks/execute | Execute Hooks on an instance *CorelliumApi* | [**v1_get_activity_export_status**](docs/CorelliumApi.md#v1_get_activity_export_status) | **GET** /v1/activity/export/{taskId} | Get export task status *CorelliumApi* | [**v1_get_activity_export_tasks**](docs/CorelliumApi.md#v1_get_activity_export_tasks) | **GET** /v1/activity/export | Get all export tasks for user +*CorelliumApi* | [**v1_get_cluster_snapshot**](docs/CorelliumApi.md#v1_get_cluster_snapshot) | **GET** /v1/cluster/snapshots/{snapshotId} | Get Cluster Snapshot +*CorelliumApi* | [**v1_get_cluster_snapshots**](docs/CorelliumApi.md#v1_get_cluster_snapshots) | **GET** /v1/cluster/snapshots | Get Cluster Snapshots *CorelliumApi* | [**v1_get_config**](docs/CorelliumApi.md#v1_get_config) | **GET** /v1/config | Get all configs *CorelliumApi* | [**v1_get_domain_auth_providers**](docs/CorelliumApi.md#v1_get_domain_auth_providers) | **GET** /v1/domain/{domainId}/auth | Return all configured auth providers for a domain (including globally configured providers) -*CorelliumApi* | [**v1_get_extension_by_id**](docs/CorelliumApi.md#v1_get_extension_by_id) | **GET** /v1/extensions/{extensionId} | Get extension by id -*CorelliumApi* | [**v1_get_extensions**](docs/CorelliumApi.md#v1_get_extensions) | **GET** /v1/extensions | Get all extensions *CorelliumApi* | [**v1_get_hook_by_id**](docs/CorelliumApi.md#v1_get_hook_by_id) | **GET** /v1/hooks/{hookId} | Get hypervisor hook by id *CorelliumApi* | [**v1_get_hooks**](docs/CorelliumApi.md#v1_get_hooks) | **GET** /v1/instances/{instanceId}/hooks | Get all hypervisor hooks for Instance *CorelliumApi* | [**v1_get_image**](docs/CorelliumApi.md#v1_get_image) | **GET** /v1/images/{imageId} | Get Image Metadata *CorelliumApi* | [**v1_get_images**](docs/CorelliumApi.md#v1_get_images) | **GET** /v1/images | Get all Images Metadata -*CorelliumApi* | [**v1_get_install_firmware_status**](docs/CorelliumApi.md#v1_get_install_firmware_status) | **GET** /v1/images/install-firmware/:taskId | Query install firmware request status. +*CorelliumApi* | [**v1_get_install_firmware_status**](docs/CorelliumApi.md#v1_get_install_firmware_status) | **GET** /v1/images/install-firmware/{taskId} | Query install firmware request status. *CorelliumApi* | [**v1_get_instance**](docs/CorelliumApi.md#v1_get_instance) | **GET** /v1/instances/{instanceId} | Get Instance *CorelliumApi* | [**v1_get_instance_console**](docs/CorelliumApi.md#v1_get_instance_console) | **GET** /v1/instances/{instanceId}/console | Get console websocket URL *CorelliumApi* | [**v1_get_instance_console_log**](docs/CorelliumApi.md#v1_get_instance_console_log) | **GET** /v1/instances/{instanceId}/consoleLog | Get Console Log @@ -211,6 +227,7 @@ Class | Method | HTTP request | Description *CorelliumApi* | [**v1_get_shared_snapshots**](docs/CorelliumApi.md#v1_get_shared_snapshots) | **GET** /v1/snapshots/shared | Fetch shared snapshots *CorelliumApi* | [**v1_get_snapshot**](docs/CorelliumApi.md#v1_get_snapshot) | **GET** /v1/snapshots/{snapshotId} | Get Snapshot *CorelliumApi* | [**v1_install_firmware**](docs/CorelliumApi.md#v1_install_firmware) | **POST** /v1/images/install-firmware | Installs a firmware for cluster-wide use +*CorelliumApi* | [**v1_install_firmware_assets**](docs/CorelliumApi.md#v1_install_firmware_assets) | **POST** /v1/images/install-firmware-assets | Installs firmware assets for cluster-wide use *CorelliumApi* | [**v1_instances_instance_id_message_post**](docs/CorelliumApi.md#v1_instances_instance_id_message_post) | **POST** /v1/instances/{instanceId}/message | Inject a message into an iOS VM *CorelliumApi* | [**v1_instances_instance_id_netdump_pcap_get**](docs/CorelliumApi.md#v1_instances_instance_id_netdump_pcap_get) | **GET** /v1/instances/{instanceId}/netdump.pcap | Download a netdump pcap file *CorelliumApi* | [**v1_instances_instance_id_network_monitor_pcap_get**](docs/CorelliumApi.md#v1_instances_instance_id_network_monitor_pcap_get) | **GET** /v1/instances/{instanceId}/networkMonitor.pcap | Download a Network Monitor pcap file @@ -218,11 +235,10 @@ Class | Method | HTTP request | Description *CorelliumApi* | [**v1_list_network_connections**](docs/CorelliumApi.md#v1_list_network_connections) | **GET** /v1/network/connections | List available network connections *CorelliumApi* | [**v1_list_network_interfaces**](docs/CorelliumApi.md#v1_list_network_interfaces) | **GET** /v1/network/interfaces | List available physical network interfaces *CorelliumApi* | [**v1_list_network_providers**](docs/CorelliumApi.md#v1_list_network_providers) | **GET** /v1/network/providers | List available network providers +*CorelliumApi* | [**v1_list_storage_files**](docs/CorelliumApi.md#v1_list_storage_files) | **GET** /v1/storage/{id}/files/{path} | List Storage Files *CorelliumApi* | [**v1_list_threads**](docs/CorelliumApi.md#v1_list_threads) | **GET** /v1/instances/{instanceId}/strace/thread-list | Get Running Threads (CoreTrace) -*CorelliumApi* | [**v1_load_extension**](docs/CorelliumApi.md#v1_load_extension) | **POST** /v1/extensions | Load an extension *CorelliumApi* | [**v1_media_play**](docs/CorelliumApi.md#v1_media_play) | **POST** /v1/instances/{instanceId}/media/play | Start playing media *CorelliumApi* | [**v1_media_stop**](docs/CorelliumApi.md#v1_media_stop) | **POST** /v1/instances/{instanceId}/media/stop | Stop playing media -*CorelliumApi* | [**v1_parse_extension_json**](docs/CorelliumApi.md#v1_parse_extension_json) | **POST** /v1/extensions/parse/extension.json | Validates extension.json *CorelliumApi* | [**v1_partial_update_network_connection**](docs/CorelliumApi.md#v1_partial_update_network_connection) | **PATCH** /v1/network/connections/{id} | Update Network Connection (partial) *CorelliumApi* | [**v1_patch_instance**](docs/CorelliumApi.md#v1_patch_instance) | **PATCH** /v1/instances/{instanceId} | Update Instance *CorelliumApi* | [**v1_patch_instance_read_only**](docs/CorelliumApi.md#v1_patch_instance_read_only) | **PATCH** /v1/instances/{instanceId}/read-only | Update Instance Read Only @@ -257,13 +273,13 @@ Class | Method | HTTP request | Description *CorelliumApi* | [**v1_stop_instance**](docs/CorelliumApi.md#v1_stop_instance) | **POST** /v1/instances/{instanceId}/stop | Stop an Instance *CorelliumApi* | [**v1_stop_netdump**](docs/CorelliumApi.md#v1_stop_netdump) | **POST** /v1/instances/{instanceId}/netdump/disable | Stop Enhanced Network Monitor on an instance. *CorelliumApi* | [**v1_stop_network_monitor**](docs/CorelliumApi.md#v1_stop_network_monitor) | **POST** /v1/instances/{instanceId}/sslsplit/disable | Stop Network Monitor on an instance. +*CorelliumApi* | [**v1_storage_get**](docs/CorelliumApi.md#v1_storage_get) | **GET** /v1/storage | Get storage devices *CorelliumApi* | [**v1_team_change**](docs/CorelliumApi.md#v1_team_change) | **PATCH** /v1/teams/{teamId} | Update team *CorelliumApi* | [**v1_team_create**](docs/CorelliumApi.md#v1_team_create) | **POST** /v1/teams | Create team *CorelliumApi* | [**v1_team_delete**](docs/CorelliumApi.md#v1_team_delete) | **DELETE** /v1/teams/{teamId} | Delete team *CorelliumApi* | [**v1_teams**](docs/CorelliumApi.md#v1_teams) | **GET** /v1/teams | Get teams *CorelliumApi* | [**v1_unpause_instance**](docs/CorelliumApi.md#v1_unpause_instance) | **POST** /v1/instances/{instanceId}/unpause | Unpause an Instance *CorelliumApi* | [**v1_update_domain_auth_provider**](docs/CorelliumApi.md#v1_update_domain_auth_provider) | **PUT** /v1/domain/{domainId}/auth/{providerId} | Update an auth provider for a domain -*CorelliumApi* | [**v1_update_extension**](docs/CorelliumApi.md#v1_update_extension) | **PUT** /v1/extensions/{extensionId} | Update an existing extension *CorelliumApi* | [**v1_update_hook**](docs/CorelliumApi.md#v1_update_hook) | **PUT** /v1/hooks/{hookId} | Update an existing hypervisor hook *CorelliumApi* | [**v1_update_network_connection**](docs/CorelliumApi.md#v1_update_network_connection) | **PUT** /v1/network/connections/{id} | Update Network Connection *CorelliumApi* | [**v1_update_project**](docs/CorelliumApi.md#v1_update_project) | **PATCH** /v1/projects/{projectId} | Update a Project @@ -321,8 +337,11 @@ Class | Method | HTTP request | Description - [BtraceEnableOptions](docs/BtraceEnableOptions.md) - [Button](docs/Button.md) - [CheckSubdomainResponse](docs/CheckSubdomainResponse.md) + - [ClusterConfigurationPayload](docs/ClusterConfigurationPayload.md) + - [ClusterSnapshot](docs/ClusterSnapshot.md) - [ConfigResponse](docs/ConfigResponse.md) - [ConfigResponseMaintenance](docs/ConfigResponseMaintenance.md) + - [CoordinatorConfig](docs/CoordinatorConfig.md) - [CouponOptions](docs/CouponOptions.md) - [CreateAssessmentDto](docs/CreateAssessmentDto.md) - [CreateInterconnectRequest](docs/CreateInterconnectRequest.md) @@ -341,20 +360,25 @@ Class | Method | HTTP request | Description - [FileChanges](docs/FileChanges.md) - [Firmware](docs/Firmware.md) - [FirmwareAsset](docs/FirmwareAsset.md) + - [FirmwareServiceConfiguration](docs/FirmwareServiceConfiguration.md) - [GetAssessmentsByInstanceId500Response](docs/GetAssessmentsByInstanceId500Response.md) - [GetInterconnectsResponse](docs/GetInterconnectsResponse.md) + - [GetStorageResponse](docs/GetStorageResponse.md) - [GpioStateDefinition](docs/GpioStateDefinition.md) - [GpiosState](docs/GpiosState.md) - [GrantTrialRequestResponse](docs/GrantTrialRequestResponse.md) - [Hook](docs/Hook.md) - [Image](docs/Image.md) - [InputResponse](docs/InputResponse.md) + - [InstallFirmwareAssetsRequest](docs/InstallFirmwareAssetsRequest.md) + - [InstallFirmwareAssetsResponse](docs/InstallFirmwareAssetsResponse.md) - [InstallFirmwareRequest](docs/InstallFirmwareRequest.md) - [InstallFirmwareResponse](docs/InstallFirmwareResponse.md) - [Instance](docs/Instance.md) - [InstanceAgentState](docs/InstanceAgentState.md) - [InstanceBootOptions](docs/InstanceBootOptions.md) - [InstanceBootOptionsAdditionalTag](docs/InstanceBootOptionsAdditionalTag.md) + - [InstanceBootOptionsKernel](docs/InstanceBootOptionsKernel.md) - [InstanceConsoleEndpoint](docs/InstanceConsoleEndpoint.md) - [InstanceCreateOptions](docs/InstanceCreateOptions.md) - [InstanceInput](docs/InstanceInput.md) @@ -377,6 +401,7 @@ Class | Method | HTTP request | Description - [Logging](docs/Logging.md) - [Maintenance](docs/Maintenance.md) - [MediaPlayBody](docs/MediaPlayBody.md) + - [MediaStore](docs/MediaStore.md) - [MeteredSubscriptionUsage](docs/MeteredSubscriptionUsage.md) - [Model](docs/Model.md) - [ModelSoftware](docs/ModelSoftware.md) @@ -387,6 +412,7 @@ Class | Method | HTTP request | Description - [NetworkConnectionProviderOffsetPaginationResult](docs/NetworkConnectionProviderOffsetPaginationResult.md) - [NetworkStatusResponse](docs/NetworkStatusResponse.md) - [NodeInformation](docs/NodeInformation.md) + - [NodeUpdatesFailed](docs/NodeUpdatesFailed.md) - [OpenIDConfig](docs/OpenIDConfig.md) - [Pagination](docs/Pagination.md) - [PartialUpdateInterconnectRequest](docs/PartialUpdateInterconnectRequest.md) @@ -412,14 +438,15 @@ Class | Method | HTTP request | Description - [SharedSnapshotsInfo](docs/SharedSnapshotsInfo.md) - [Snapshot](docs/Snapshot.md) - [SnapshotCreationOptions](docs/SnapshotCreationOptions.md) + - [SnapshotList](docs/SnapshotList.md) - [SnapshotMember](docs/SnapshotMember.md) - [SnapshotOwner](docs/SnapshotOwner.md) - [SnapshotPermissionsRequestPayload](docs/SnapshotPermissionsRequestPayload.md) + - [SnapshotRequest](docs/SnapshotRequest.md) - [SnapshotSharing](docs/SnapshotSharing.md) - [SnapshotSharingPermissions](docs/SnapshotSharingPermissions.md) - [SnapshotStatus](docs/SnapshotStatus.md) - [SslsplitFilter](docs/SslsplitFilter.md) - - [SubscriberInvite](docs/SubscriberInvite.md) - [Team](docs/Team.md) - [TeamCreate](docs/TeamCreate.md) - [TestAssessmentDto](docs/TestAssessmentDto.md) diff --git a/corellium_api/__init__.py b/corellium_api/__init__.py index 7fbd61b..fe931dc 100644 --- a/corellium_api/__init__.py +++ b/corellium_api/__init__.py @@ -7,7 +7,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -65,8 +65,11 @@ from corellium_api.models.btrace_enable_options import BtraceEnableOptions from corellium_api.models.button import Button from corellium_api.models.check_subdomain_response import CheckSubdomainResponse +from corellium_api.models.cluster_configuration_payload import ClusterConfigurationPayload +from corellium_api.models.cluster_snapshot import ClusterSnapshot from corellium_api.models.config_response import ConfigResponse from corellium_api.models.config_response_maintenance import ConfigResponseMaintenance +from corellium_api.models.coordinator_config import CoordinatorConfig from corellium_api.models.coupon_options import CouponOptions from corellium_api.models.create_assessment_dto import CreateAssessmentDto from corellium_api.models.create_interconnect_request import CreateInterconnectRequest @@ -85,20 +88,25 @@ from corellium_api.models.file_changes import FileChanges from corellium_api.models.firmware import Firmware from corellium_api.models.firmware_asset import FirmwareAsset +from corellium_api.models.firmware_service_configuration import FirmwareServiceConfiguration from corellium_api.models.get_assessments_by_instance_id500_response import GetAssessmentsByInstanceId500Response from corellium_api.models.get_interconnects_response import GetInterconnectsResponse +from corellium_api.models.get_storage_response import GetStorageResponse from corellium_api.models.gpio_state_definition import GpioStateDefinition from corellium_api.models.gpios_state import GpiosState from corellium_api.models.grant_trial_request_response import GrantTrialRequestResponse from corellium_api.models.hook import Hook from corellium_api.models.image import Image from corellium_api.models.input_response import InputResponse +from corellium_api.models.install_firmware_assets_request import InstallFirmwareAssetsRequest +from corellium_api.models.install_firmware_assets_response import InstallFirmwareAssetsResponse from corellium_api.models.install_firmware_request import InstallFirmwareRequest from corellium_api.models.install_firmware_response import InstallFirmwareResponse from corellium_api.models.instance import Instance from corellium_api.models.instance_agent_state import InstanceAgentState from corellium_api.models.instance_boot_options import InstanceBootOptions from corellium_api.models.instance_boot_options_additional_tag import InstanceBootOptionsAdditionalTag +from corellium_api.models.instance_boot_options_kernel import InstanceBootOptionsKernel from corellium_api.models.instance_console_endpoint import InstanceConsoleEndpoint from corellium_api.models.instance_create_options import InstanceCreateOptions from corellium_api.models.instance_input import InstanceInput @@ -121,6 +129,7 @@ from corellium_api.models.logging import Logging from corellium_api.models.maintenance import Maintenance from corellium_api.models.media_play_body import MediaPlayBody +from corellium_api.models.media_store import MediaStore from corellium_api.models.metered_subscription_usage import MeteredSubscriptionUsage from corellium_api.models.model import Model from corellium_api.models.model_software import ModelSoftware @@ -131,6 +140,7 @@ from corellium_api.models.network_connection_provider_offset_pagination_result import NetworkConnectionProviderOffsetPaginationResult from corellium_api.models.network_status_response import NetworkStatusResponse from corellium_api.models.node_information import NodeInformation +from corellium_api.models.node_updates_failed import NodeUpdatesFailed from corellium_api.models.open_id_config import OpenIDConfig from corellium_api.models.pagination import Pagination from corellium_api.models.partial_update_interconnect_request import PartialUpdateInterconnectRequest @@ -156,14 +166,15 @@ from corellium_api.models.shared_snapshots_info import SharedSnapshotsInfo from corellium_api.models.snapshot import Snapshot from corellium_api.models.snapshot_creation_options import SnapshotCreationOptions +from corellium_api.models.snapshot_list import SnapshotList from corellium_api.models.snapshot_member import SnapshotMember from corellium_api.models.snapshot_owner import SnapshotOwner from corellium_api.models.snapshot_permissions_request_payload import SnapshotPermissionsRequestPayload +from corellium_api.models.snapshot_request import SnapshotRequest from corellium_api.models.snapshot_sharing import SnapshotSharing from corellium_api.models.snapshot_sharing_permissions import SnapshotSharingPermissions from corellium_api.models.snapshot_status import SnapshotStatus from corellium_api.models.sslsplit_filter import SslsplitFilter -from corellium_api.models.subscriber_invite import SubscriberInvite from corellium_api.models.team import Team from corellium_api.models.team_create import TeamCreate from corellium_api.models.test_assessment_dto import TestAssessmentDto diff --git a/corellium_api/api/corellium_api.py b/corellium_api/api/corellium_api.py index ce300b9..ec21b1b 100644 --- a/corellium_api/api/corellium_api.py +++ b/corellium_api/api/corellium_api.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -36,142 +36,6 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def api_v1_cluster_nodes_node_id_console_get(self, node_id, **kwargs): # noqa: E501 - """Access node console via SSH # noqa: E501 - - Access node console via SSH (WebSocket upgrade) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_cluster_nodes_node_id_console_get(node_id, async_req=True) - >>> result = thread.get() - - :param node_id: Node ID (required) - :type node_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - return self.api_v1_cluster_nodes_node_id_console_get_with_http_info(node_id, **kwargs) # noqa: E501 - - def api_v1_cluster_nodes_node_id_console_get_with_http_info(self, node_id, **kwargs): # noqa: E501 - """Access node console via SSH # noqa: E501 - - Access node console via SSH (WebSocket upgrade) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v1_cluster_nodes_node_id_console_get_with_http_info(node_id, async_req=True) - >>> result = thread.get() - - :param node_id: Node ID (required) - :type node_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - local_var_params = locals() - - all_params = [ - 'node_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method api_v1_cluster_nodes_node_id_console_get" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'node_id' is set - if self.api_client.client_side_validation and ('node_id' not in local_var_params or # noqa: E501 - local_var_params['node_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `node_id` when calling `api_v1_cluster_nodes_node_id_console_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'node_id' in local_var_params: - path_params['nodeId'] = local_var_params['node_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerAuth'] # noqa: E501 - - response_types_map = {} - - return self.api_client.call_api( - '/api/v1/cluster/nodes/:nodeId/console', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - def api_v1_interconnects_get(self, **kwargs): # noqa: E501 """Get all I/O Interconnects # noqa: E501 @@ -8030,32 +7894,16 @@ def v1_clear_instance_panics_with_http_info(self, instance_id, **kwargs): # noq collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_firmware_service_devices_get(self, **kwargs): # noqa: E501 - """Fetch devices from the firmware service # noqa: E501 + def v1_cluster_config_get(self, **kwargs): # noqa: E501 + """Get cluster configuration # noqa: E501 - Proxies a request to the firmware service to retrieve a list of devices. # noqa: E501 + Get cluster configuration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_devices_get(async_req=True) + >>> thread = api.v1_cluster_config_get(async_req=True) >>> result = thread.get() - :param limit: Number of results to return (min: 1, max: 10000, default: 100) - :type limit: float - :param offset: Index of the first row to return (default: 0) - :type offset: float - :param search: Case-insensitive partial match across name, model, platform, and hwmodel fields - :type search: str - :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: name, model, type, platform, hwmodel Filtering options: - :type order: str - :param type: Filter by exact type. Example: coreimg - :type type: str - :param model: Filter by exact model. Example: Example: iPhone8,1 - :type model: str - :param name: Filter by exact name. Example: iPhone6s - :type name: str - :param platform: Filter by exact platform. Example: s5l8960x - :type platform: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -8069,37 +7917,21 @@ def v1_cluster_firmware_service_devices_get(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Device] + :rtype: object """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_firmware_service_devices_get_with_http_info(**kwargs) # noqa: E501 + return self.v1_cluster_config_get_with_http_info(**kwargs) # noqa: E501 - def v1_cluster_firmware_service_devices_get_with_http_info(self, **kwargs): # noqa: E501 - """Fetch devices from the firmware service # noqa: E501 + def v1_cluster_config_get_with_http_info(self, **kwargs): # noqa: E501 + """Get cluster configuration # noqa: E501 - Proxies a request to the firmware service to retrieve a list of devices. # noqa: E501 + Get cluster configuration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_devices_get_with_http_info(async_req=True) + >>> thread = api.v1_cluster_config_get_with_http_info(async_req=True) >>> result = thread.get() - :param limit: Number of results to return (min: 1, max: 10000, default: 100) - :type limit: float - :param offset: Index of the first row to return (default: 0) - :type offset: float - :param search: Case-insensitive partial match across name, model, platform, and hwmodel fields - :type search: str - :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: name, model, type, platform, hwmodel Filtering options: - :type order: str - :param type: Filter by exact type. Example: coreimg - :type type: str - :param model: Filter by exact model. Example: Example: iPhone8,1 - :type model: str - :param name: Filter by exact name. Example: iPhone6s - :type name: str - :param platform: Filter by exact platform. Example: s5l8960x - :type platform: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -8121,20 +7953,12 @@ def v1_cluster_firmware_service_devices_get_with_http_info(self, **kwargs): # n :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Device], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'limit', - 'offset', - 'search', - 'order', - 'type', - 'model', - 'name', - 'platform' ] all_params.extend( [ @@ -8152,7 +7976,7 @@ def v1_cluster_firmware_service_devices_get_with_http_info(self, **kwargs): # n if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_firmware_service_devices_get" % key + " to method v1_cluster_config_get" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -8162,22 +7986,6 @@ def v1_cluster_firmware_service_devices_get_with_http_info(self, **kwargs): # n path_params = {} query_params = [] - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 - query_params.append(('search', local_var_params['search'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 - query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 - query_params.append(('type', local_var_params['type'])) # noqa: E501 - if 'model' in local_var_params and local_var_params['model'] is not None: # noqa: E501 - query_params.append(('model', local_var_params['model'])) # noqa: E501 - if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501 - query_params.append(('name', local_var_params['name'])) # noqa: E501 - if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 - query_params.append(('platform', local_var_params['platform'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -8193,15 +8001,12 @@ def v1_cluster_firmware_service_devices_get_with_http_info(self, **kwargs): # n auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "list[Device]", - 400: "UserError", + 200: "object", 403: "ApiError", - 404: "ApiError", - 500: "ApiError", } return self.api_client.call_api( - '/v1/cluster/firmware-service/devices', 'GET', + '/v1/cluster/config', 'GET', path_params, query_params, header_params, @@ -8217,18 +8022,18 @@ def v1_cluster_firmware_service_devices_get_with_http_info(self, **kwargs): # n collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_firmware_service_firmware_assets_asset_url_delete(self, asset_url, **kwargs): # noqa: E501 - """Delete a firmware asset by its URL # noqa: E501 + def v1_cluster_config_patch(self, cluster_configuration_payload, **kwargs): # noqa: E501 + """Update cluster configuration # noqa: E501 - Proxies a request to the firmware service to delete a firmware asset by URL. # noqa: E501 + Update cluster configuration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmware_assets_asset_url_delete(asset_url, async_req=True) + >>> thread = api.v1_cluster_config_patch(cluster_configuration_payload, async_req=True) >>> result = thread.get() - :param asset_url: The URL-encoded firmware asset URL to delete - format:uri - pattern:^[A-Za-z0-9\\-._~:/?#[\\]@!$&'()*+,;=%]+$ (required) - :type asset_url: str + :param cluster_configuration_payload: Cluster Configuration Payload (required) + :type cluster_configuration_payload: ClusterConfigurationPayload :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -8245,20 +8050,20 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_delete(self, asset_url :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info(asset_url, **kwargs) # noqa: E501 + return self.v1_cluster_config_patch_with_http_info(cluster_configuration_payload, **kwargs) # noqa: E501 - def v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info(self, asset_url, **kwargs): # noqa: E501 - """Delete a firmware asset by its URL # noqa: E501 + def v1_cluster_config_patch_with_http_info(self, cluster_configuration_payload, **kwargs): # noqa: E501 + """Update cluster configuration # noqa: E501 - Proxies a request to the firmware service to delete a firmware asset by URL. # noqa: E501 + Update cluster configuration # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info(asset_url, async_req=True) + >>> thread = api.v1_cluster_config_patch_with_http_info(cluster_configuration_payload, async_req=True) >>> result = thread.get() - :param asset_url: The URL-encoded firmware asset URL to delete - format:uri - pattern:^[A-Za-z0-9\\-._~:/?#[\\]@!$&'()*+,;=%]+$ (required) - :type asset_url: str + :param cluster_configuration_payload: Cluster Configuration Payload (required) + :type cluster_configuration_payload: ClusterConfigurationPayload :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -8286,7 +8091,7 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info( local_var_params = locals() all_params = [ - 'asset_url' + 'cluster_configuration_payload' ] all_params.extend( [ @@ -8304,20 +8109,18 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info( if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_firmware_service_firmware_assets_asset_url_delete" % key + " to method v1_cluster_config_patch" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'asset_url' is set - if self.api_client.client_side_validation and ('asset_url' not in local_var_params or # noqa: E501 - local_var_params['asset_url'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `asset_url` when calling `v1_cluster_firmware_service_firmware_assets_asset_url_delete`") # noqa: E501 + # verify the required parameter 'cluster_configuration_payload' is set + if self.api_client.client_side_validation and ('cluster_configuration_payload' not in local_var_params or # noqa: E501 + local_var_params['cluster_configuration_payload'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `cluster_configuration_payload` when calling `v1_cluster_config_patch`") # noqa: E501 collection_formats = {} path_params = {} - if 'asset_url' in local_var_params: - path_params['assetURL'] = local_var_params['asset_url'] # noqa: E501 query_params = [] @@ -8327,17 +8130,25 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info( local_var_files = {} body_params = None + if 'cluster_configuration_payload' in local_var_params: + body_params = local_var_params['cluster_configuration_payload'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PATCH', body_params)) # noqa: E501 + # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = {} return self.api_client.call_api( - '/v1/cluster/firmware-service/firmware-assets/{assetURL}', 'DELETE', + '/v1/cluster/config', 'PATCH', path_params, query_params, header_params, @@ -8353,18 +8164,16 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info( collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(self, asset_url, **kwargs): # noqa: E501 - """Fetch extended firmware-asset details including instances and associated IPSWs # noqa: E501 + def v1_cluster_firmware_service_config_get(self, **kwargs): # noqa: E501 + """Fetch firmware service configuration # noqa: E501 - Retrieves extended information about a firmware including all instances using it and associated firmware assets. # noqa: E501 + Returns a firmware service configuration object # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(asset_url, async_req=True) + >>> thread = api.v1_cluster_firmware_service_config_get(async_req=True) >>> result = thread.get() - :param asset_url: The URL-encoded firmware asset to delete. Example: H4RUO0MX-Fz0ka2Q2vCfvP-27ElNZw5bWJEfyF04AxA= (required) - :type asset_url: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -8378,23 +8187,21 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(self, ass :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: ExtendedFirmwareAssetInfo + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http_info(asset_url, **kwargs) # noqa: E501 + return self.v1_cluster_firmware_service_config_get_with_http_info(**kwargs) # noqa: E501 - def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http_info(self, asset_url, **kwargs): # noqa: E501 - """Fetch extended firmware-asset details including instances and associated IPSWs # noqa: E501 + def v1_cluster_firmware_service_config_get_with_http_info(self, **kwargs): # noqa: E501 + """Fetch firmware service configuration # noqa: E501 - Retrieves extended information about a firmware including all instances using it and associated firmware assets. # noqa: E501 + Returns a firmware service configuration object # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http_info(asset_url, async_req=True) + >>> thread = api.v1_cluster_firmware_service_config_get_with_http_info(async_req=True) >>> result = thread.get() - :param asset_url: The URL-encoded firmware asset to delete. Example: H4RUO0MX-Fz0ka2Q2vCfvP-27ElNZw5bWJEfyF04AxA= (required) - :type asset_url: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -8416,13 +8223,12 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(ExtendedFirmwareAssetInfo, status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ - 'asset_url' ] all_params.extend( [ @@ -8440,19 +8246,756 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_firmware_service_firmware_assets_asset_url_extended_get" % key + " to method v1_cluster_firmware_service_config_get" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'asset_url' is set - if self.api_client.client_side_validation and ('asset_url' not in local_var_params or # noqa: E501 - local_var_params['asset_url'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `asset_url` when calling `v1_cluster_firmware_service_firmware_assets_asset_url_extended_get`") # noqa: E501 collection_formats = {} path_params = {} - if 'asset_url' in local_var_params: + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/v1/cluster/firmware-service/config', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_config_patch(self, firmware_service_configuration, **kwargs): # noqa: E501 + """Update firmware service configuration # noqa: E501 + + Updates firmware service configuration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_config_patch(firmware_service_configuration, async_req=True) + >>> result = thread.get() + + :param firmware_service_configuration: Firmware configuration payload (required) + :type firmware_service_configuration: FirmwareServiceConfiguration + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_config_patch_with_http_info(firmware_service_configuration, **kwargs) # noqa: E501 + + def v1_cluster_firmware_service_config_patch_with_http_info(self, firmware_service_configuration, **kwargs): # noqa: E501 + """Update firmware service configuration # noqa: E501 + + Updates firmware service configuration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_config_patch_with_http_info(firmware_service_configuration, async_req=True) + >>> result = thread.get() + + :param firmware_service_configuration: Firmware configuration payload (required) + :type firmware_service_configuration: FirmwareServiceConfiguration + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'firmware_service_configuration' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_config_patch" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'firmware_service_configuration' is set + if self.api_client.client_side_validation and ('firmware_service_configuration' not in local_var_params or # noqa: E501 + local_var_params['firmware_service_configuration'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `firmware_service_configuration` when calling `v1_cluster_firmware_service_config_patch`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'firmware_service_configuration' in local_var_params: + body_params = local_var_params['firmware_service_configuration'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PATCH', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/v1/cluster/firmware-service/config', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_config_put(self, firmware_service_configuration, **kwargs): # noqa: E501 + """Set firmware service configuration # noqa: E501 + + Sets firmware service configuration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_config_put(firmware_service_configuration, async_req=True) + >>> result = thread.get() + + :param firmware_service_configuration: Firmware configuration payload (required) + :type firmware_service_configuration: FirmwareServiceConfiguration + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_config_put_with_http_info(firmware_service_configuration, **kwargs) # noqa: E501 + + def v1_cluster_firmware_service_config_put_with_http_info(self, firmware_service_configuration, **kwargs): # noqa: E501 + """Set firmware service configuration # noqa: E501 + + Sets firmware service configuration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_config_put_with_http_info(firmware_service_configuration, async_req=True) + >>> result = thread.get() + + :param firmware_service_configuration: Firmware configuration payload (required) + :type firmware_service_configuration: FirmwareServiceConfiguration + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'firmware_service_configuration' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_config_put" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'firmware_service_configuration' is set + if self.api_client.client_side_validation and ('firmware_service_configuration' not in local_var_params or # noqa: E501 + local_var_params['firmware_service_configuration'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `firmware_service_configuration` when calling `v1_cluster_firmware_service_config_put`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'firmware_service_configuration' in local_var_params: + body_params = local_var_params['firmware_service_configuration'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'PUT', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/v1/cluster/firmware-service/config', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_devices_get(self, **kwargs): # noqa: E501 + """Fetch devices from the firmware service # noqa: E501 + + Proxies a request to the firmware service to retrieve a list of devices. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_devices_get(async_req=True) + >>> result = thread.get() + + :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :type limit: float + :param offset: Index of the first row to return (default: 0) + :type offset: float + :param search: Case-insensitive partial match across name, model, platform, and hwmodel fields + :type search: str + :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: name, model, type, platform, hwmodel Filtering options: + :type order: str + :param type: Filter by exact type. Example: coreimg + :type type: str + :param model: Filter by exact model. Example: Example: iPhone8,1 + :type model: str + :param name: Filter by exact name. Example: iPhone6s + :type name: str + :param platform: Filter by exact platform. Example: s5l8960x + :type platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Device] + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_devices_get_with_http_info(**kwargs) # noqa: E501 + + def v1_cluster_firmware_service_devices_get_with_http_info(self, **kwargs): # noqa: E501 + """Fetch devices from the firmware service # noqa: E501 + + Proxies a request to the firmware service to retrieve a list of devices. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_devices_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :type limit: float + :param offset: Index of the first row to return (default: 0) + :type offset: float + :param search: Case-insensitive partial match across name, model, platform, and hwmodel fields + :type search: str + :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: name, model, type, platform, hwmodel Filtering options: + :type order: str + :param type: Filter by exact type. Example: coreimg + :type type: str + :param model: Filter by exact model. Example: Example: iPhone8,1 + :type model: str + :param name: Filter by exact name. Example: iPhone6s + :type name: str + :param platform: Filter by exact platform. Example: s5l8960x + :type platform: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Device], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'limit', + 'offset', + 'search', + 'order', + 'type', + 'model', + 'name', + 'platform' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_devices_get" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + if 'model' in local_var_params and local_var_params['model'] is not None: # noqa: E501 + query_params.append(('model', local_var_params['model'])) # noqa: E501 + if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501 + query_params.append(('name', local_var_params['name'])) # noqa: E501 + if 'platform' in local_var_params and local_var_params['platform'] is not None: # noqa: E501 + query_params.append(('platform', local_var_params['platform'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = { + 200: "list[Device]", + 400: "UserError", + 403: "ApiError", + 404: "ApiError", + 500: "ApiError", + } + + return self.api_client.call_api( + '/v1/cluster/firmware-service/devices', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_firmware_assets_asset_url_delete(self, asset_url, **kwargs): # noqa: E501 + """Delete a firmware asset by its URL # noqa: E501 + + Proxies a request to the firmware service to delete a firmware asset by URL. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmware_assets_asset_url_delete(asset_url, async_req=True) + >>> result = thread.get() + + :param asset_url: The URL-encoded firmware asset URL to delete - format:uri - pattern:^[A-Za-z0-9\\-._~:/?#[\\]@!$&'()*+,;=%]+$ (required) + :type asset_url: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info(asset_url, **kwargs) # noqa: E501 + + def v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info(self, asset_url, **kwargs): # noqa: E501 + """Delete a firmware asset by its URL # noqa: E501 + + Proxies a request to the firmware service to delete a firmware asset by URL. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmware_assets_asset_url_delete_with_http_info(asset_url, async_req=True) + >>> result = thread.get() + + :param asset_url: The URL-encoded firmware asset URL to delete - format:uri - pattern:^[A-Za-z0-9\\-._~:/?#[\\]@!$&'()*+,;=%]+$ (required) + :type asset_url: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'asset_url' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_firmware_assets_asset_url_delete" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'asset_url' is set + if self.api_client.client_side_validation and ('asset_url' not in local_var_params or # noqa: E501 + local_var_params['asset_url'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `asset_url` when calling `v1_cluster_firmware_service_firmware_assets_asset_url_delete`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'asset_url' in local_var_params: + path_params['assetURL'] = local_var_params['asset_url'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/v1/cluster/firmware-service/firmware-assets/{assetURL}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(self, asset_url, **kwargs): # noqa: E501 + """Fetch extended firmware-asset details including instances and associated IPSWs # noqa: E501 + + Retrieves extended information about a firmware including all instances using it and associated firmware assets. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(asset_url, async_req=True) + >>> result = thread.get() + + :param asset_url: The URL-encoded firmware asset to delete. Example: H4RUO0MX-Fz0ka2Q2vCfvP-27ElNZw5bWJEfyF04AxA= (required) + :type asset_url: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ExtendedFirmwareAssetInfo + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http_info(asset_url, **kwargs) # noqa: E501 + + def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http_info(self, asset_url, **kwargs): # noqa: E501 + """Fetch extended firmware-asset details including instances and associated IPSWs # noqa: E501 + + Retrieves extended information about a firmware including all instances using it and associated firmware assets. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http_info(asset_url, async_req=True) + >>> result = thread.get() + + :param asset_url: The URL-encoded firmware asset to delete. Example: H4RUO0MX-Fz0ka2Q2vCfvP-27ElNZw5bWJEfyF04AxA= (required) + :type asset_url: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ExtendedFirmwareAssetInfo, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'asset_url' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_firmware_assets_asset_url_extended_get" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'asset_url' is set + if self.api_client.client_side_validation and ('asset_url' not in local_var_params or # noqa: E501 + local_var_params['asset_url'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `asset_url` when calling `v1_cluster_firmware_service_firmware_assets_asset_url_extended_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'asset_url' in local_var_params: path_params['assetURL'] = local_var_params['asset_url'] # noqa: E501 query_params = [] @@ -8471,7 +9014,658 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "ExtendedFirmwareAssetInfo", + 200: "ExtendedFirmwareAssetInfo", + 400: "UserError", + 403: "ApiError", + 404: "ApiError", + 500: "ApiError", + } + + return self.api_client.call_api( + '/v1/cluster/firmware-service/firmware-assets/{assetURL}/extended', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_firmware_assets_get(self, **kwargs): # noqa: E501 + """Fetch firmware assets from the firmware service # noqa: E501 + + Proxies a request to the firmware service to retrieve a list of firmware assets. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmware_assets_get(async_req=True) + >>> result = thread.get() + + :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :type limit: float + :param offset: Index of the first row to return (default: 0) + :type offset: float + :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'url,-domain'). + :type order: str + :param search: Case-insensitive partial match across url, domain + :type search: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[FirmwareAsset] + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_firmware_assets_get_with_http_info(**kwargs) # noqa: E501 + + def v1_cluster_firmware_service_firmware_assets_get_with_http_info(self, **kwargs): # noqa: E501 + """Fetch firmware assets from the firmware service # noqa: E501 + + Proxies a request to the firmware service to retrieve a list of firmware assets. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmware_assets_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :type limit: float + :param offset: Index of the first row to return (default: 0) + :type offset: float + :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'url,-domain'). + :type order: str + :param search: Case-insensitive partial match across url, domain + :type search: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[FirmwareAsset], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'limit', + 'offset', + 'order', + 'search' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_firmware_assets_get" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = { + 200: "list[FirmwareAsset]", + 400: "UserError", + 403: "ApiError", + 404: "ApiError", + 500: "ApiError", + } + + return self.api_client.call_api( + '/v1/cluster/firmware-service/firmware-assets', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_firmware_assets_post(self, body, **kwargs): # noqa: E501 + """Add firmware assets via the firmware service # noqa: E501 + + Proxies a request to the firmware service to add firmware assets. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmware_assets_post(body, async_req=True) + >>> result = thread.get() + + :param body: Firmware assets payload (required) + :type body: object + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: str + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_firmware_assets_post_with_http_info(body, **kwargs) # noqa: E501 + + def v1_cluster_firmware_service_firmware_assets_post_with_http_info(self, body, **kwargs): # noqa: E501 + """Add firmware assets via the firmware service # noqa: E501 + + Proxies a request to the firmware service to add firmware assets. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmware_assets_post_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param body: Firmware assets payload (required) + :type body: object + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(str, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_firmware_assets_post" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `v1_cluster_firmware_service_firmware_assets_post`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['text/html', 'application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = { + 201: "str", + 400: "UserError", + 403: "ApiError", + 404: "ApiError", + 500: "ApiError", + } + + return self.api_client.call_api( + '/v1/cluster/firmware-service/firmware-assets', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_firmwares_filename_delete(self, filename, **kwargs): # noqa: E501 + """Delete a firmware by filename from the firmware service # noqa: E501 + + Proxies a request to the firmware service to delete a firmware by filename. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmwares_filename_delete(filename, async_req=True) + >>> result = thread.get() + + :param filename: The filename of the firmware to delete (required) + :type filename: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(filename, **kwargs) # noqa: E501 + + def v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(self, filename, **kwargs): # noqa: E501 + """Delete a firmware by filename from the firmware service # noqa: E501 + + Proxies a request to the firmware service to delete a firmware by filename. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(filename, async_req=True) + >>> result = thread.get() + + :param filename: The filename of the firmware to delete (required) + :type filename: str + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'filename' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_firmwares_filename_delete" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'filename' is set + if self.api_client.client_side_validation and ('filename' not in local_var_params or # noqa: E501 + local_var_params['filename'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `filename` when calling `v1_cluster_firmware_service_firmwares_filename_delete`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'filename' in local_var_params: + path_params['filename'] = local_var_params['filename'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/v1/cluster/firmware-service/firmwares/{filename}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_cluster_firmware_service_firmwares_get(self, **kwargs): # noqa: E501 + """Fetch firmwares from the firmware service # noqa: E501 + + Proxies a request to the firmware service to retrieve a list of firmwares. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmwares_get(async_req=True) + >>> result = thread.get() + + :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :type limit: float + :param offset: Index of the first row to return (default: 0) + :type offset: float + :param search: Case-insensitive partial match across filename, model, type, version and buildid fields + :type search: str + :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: filename, model, type, version, buildid Filtering options: + :type order: str + :param filename: Filter by exact filename. Example: iPhone_4.7_P3_12.1.4_16D57_Restore.ipsw + :type filename: str + :param model: Filter by exact model. Example: iPhone10,4 + :type model: str + :param type: Filter by exact type. Example: ipsw + :type type: str + :param version: Filter by exact version. Example: 12.1.4 + :type version: str + :param buildid: Filter by exact buildid. Example: 16D57 + :type buildid: str + :param firmware_assets: Filter by exact asset URL/ID. Example: https://wkms-public.apple.com/fcs-keys/rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= -OR- rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= + :type firmware_assets: str + :param installed: Filter by installed status + :type installed: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: list[Firmware] + """ + kwargs['_return_http_data_only'] = True + return self.v1_cluster_firmware_service_firmwares_get_with_http_info(**kwargs) # noqa: E501 + + def v1_cluster_firmware_service_firmwares_get_with_http_info(self, **kwargs): # noqa: E501 + """Fetch firmwares from the firmware service # noqa: E501 + + Proxies a request to the firmware service to retrieve a list of firmwares. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_cluster_firmware_service_firmwares_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :type limit: float + :param offset: Index of the first row to return (default: 0) + :type offset: float + :param search: Case-insensitive partial match across filename, model, type, version and buildid fields + :type search: str + :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: filename, model, type, version, buildid Filtering options: + :type order: str + :param filename: Filter by exact filename. Example: iPhone_4.7_P3_12.1.4_16D57_Restore.ipsw + :type filename: str + :param model: Filter by exact model. Example: iPhone10,4 + :type model: str + :param type: Filter by exact type. Example: ipsw + :type type: str + :param version: Filter by exact version. Example: 12.1.4 + :type version: str + :param buildid: Filter by exact buildid. Example: 16D57 + :type buildid: str + :param firmware_assets: Filter by exact asset URL/ID. Example: https://wkms-public.apple.com/fcs-keys/rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= -OR- rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= + :type firmware_assets: str + :param installed: Filter by installed status + :type installed: bool + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(list[Firmware], status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'limit', + 'offset', + 'search', + 'order', + 'filename', + 'model', + 'type', + 'version', + 'buildid', + 'firmware_assets', + 'installed' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_cluster_firmware_service_firmwares_get" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 + query_params.append(('search', local_var_params['search'])) # noqa: E501 + if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 + query_params.append(('order', local_var_params['order'])) # noqa: E501 + if 'filename' in local_var_params and local_var_params['filename'] is not None: # noqa: E501 + query_params.append(('filename', local_var_params['filename'])) # noqa: E501 + if 'model' in local_var_params and local_var_params['model'] is not None: # noqa: E501 + query_params.append(('model', local_var_params['model'])) # noqa: E501 + if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + if 'version' in local_var_params and local_var_params['version'] is not None: # noqa: E501 + query_params.append(('version', local_var_params['version'])) # noqa: E501 + if 'buildid' in local_var_params and local_var_params['buildid'] is not None: # noqa: E501 + query_params.append(('buildid', local_var_params['buildid'])) # noqa: E501 + if 'firmware_assets' in local_var_params and local_var_params['firmware_assets'] is not None: # noqa: E501 + query_params.append(('firmware_assets', local_var_params['firmware_assets'])) # noqa: E501 + if 'installed' in local_var_params and local_var_params['installed'] is not None: # noqa: E501 + query_params.append(('installed', local_var_params['installed'])) # noqa: E501 + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = { + 200: "list[Firmware]", 400: "UserError", 403: "ApiError", 404: "ApiError", @@ -8479,7 +9673,7 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http } return self.api_client.call_api( - '/v1/cluster/firmware-service/firmware-assets/{assetURL}/extended', 'GET', + '/v1/cluster/firmware-service/firmwares', 'GET', path_params, query_params, header_params, @@ -8495,24 +9689,20 @@ def v1_cluster_firmware_service_firmware_assets_asset_url_extended_get_with_http collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_firmware_service_firmware_assets_get(self, **kwargs): # noqa: E501 - """Fetch firmware assets from the firmware service # noqa: E501 + def v1_cluster_nodes_get(self, **kwargs): # noqa: E501 + """List servers in the cluster # noqa: E501 - Proxies a request to the firmware service to retrieve a list of firmware assets. # noqa: E501 + List servers in the cluster # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmware_assets_get(async_req=True) + >>> thread = api.v1_cluster_nodes_get(async_req=True) >>> result = thread.get() - :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :param limit: limit for pagination results, defaults to 100 :type limit: float - :param offset: Index of the first row to return (default: 0) + :param offset: offset for pagination results, defaults to 0 :type offset: float - :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'url,-domain'). Allowed fields: url, domain - :type order: str - :param search: Case-insensitive partial match across url, domain - :type search: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -8526,29 +9716,25 @@ def v1_cluster_firmware_service_firmware_assets_get(self, **kwargs): # noqa: E5 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[FirmwareAsset] + :rtype: list[NodeInformation] """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_firmware_service_firmware_assets_get_with_http_info(**kwargs) # noqa: E501 + return self.v1_cluster_nodes_get_with_http_info(**kwargs) # noqa: E501 - def v1_cluster_firmware_service_firmware_assets_get_with_http_info(self, **kwargs): # noqa: E501 - """Fetch firmware assets from the firmware service # noqa: E501 + def v1_cluster_nodes_get_with_http_info(self, **kwargs): # noqa: E501 + """List servers in the cluster # noqa: E501 - Proxies a request to the firmware service to retrieve a list of firmware assets. # noqa: E501 + List servers in the cluster # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmware_assets_get_with_http_info(async_req=True) + >>> thread = api.v1_cluster_nodes_get_with_http_info(async_req=True) >>> result = thread.get() - :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :param limit: limit for pagination results, defaults to 100 :type limit: float - :param offset: Index of the first row to return (default: 0) + :param offset: offset for pagination results, defaults to 0 :type offset: float - :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'url,-domain'). Allowed fields: url, domain - :type order: str - :param search: Case-insensitive partial match across url, domain - :type search: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -8570,16 +9756,14 @@ def v1_cluster_firmware_service_firmware_assets_get_with_http_info(self, **kwarg :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[FirmwareAsset], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[NodeInformation], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'limit', - 'offset', - 'order', - 'search' + 'offset' ] all_params.extend( [ @@ -8597,7 +9781,7 @@ def v1_cluster_firmware_service_firmware_assets_get_with_http_info(self, **kwarg if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_firmware_service_firmware_assets_get" % key + " to method v1_cluster_nodes_get" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -8611,10 +9795,6 @@ def v1_cluster_firmware_service_firmware_assets_get_with_http_info(self, **kwarg query_params.append(('limit', local_var_params['limit'])) # noqa: E501 if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 - query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 - query_params.append(('search', local_var_params['search'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -8630,15 +9810,12 @@ def v1_cluster_firmware_service_firmware_assets_get_with_http_info(self, **kwarg auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "list[FirmwareAsset]", - 400: "UserError", + 200: "list[NodeInformation]", 403: "ApiError", - 404: "ApiError", - 500: "ApiError", } return self.api_client.call_api( - '/v1/cluster/firmware-service/firmware-assets', 'GET', + '/v1/cluster/nodes', 'GET', path_params, query_params, header_params, @@ -8654,18 +9831,18 @@ def v1_cluster_firmware_service_firmware_assets_get_with_http_info(self, **kwarg collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_firmware_service_firmware_assets_post(self, body, **kwargs): # noqa: E501 - """Add firmware assets via the firmware service # noqa: E501 + def v1_cluster_nodes_node_id_console_get(self, node_id, **kwargs): # noqa: E501 + """Access node console via SSH # noqa: E501 - Proxies a request to the firmware service to add firmware assets. # noqa: E501 + Access node console via SSH (WebSocket upgrade) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmware_assets_post(body, async_req=True) + >>> thread = api.v1_cluster_nodes_node_id_console_get(node_id, async_req=True) >>> result = thread.get() - :param body: Firmware assets payload (required) - :type body: object + :param node_id: Node ID (required) + :type node_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -8679,23 +9856,23 @@ def v1_cluster_firmware_service_firmware_assets_post(self, body, **kwargs): # n :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: str + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_firmware_service_firmware_assets_post_with_http_info(body, **kwargs) # noqa: E501 + return self.v1_cluster_nodes_node_id_console_get_with_http_info(node_id, **kwargs) # noqa: E501 - def v1_cluster_firmware_service_firmware_assets_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Add firmware assets via the firmware service # noqa: E501 + def v1_cluster_nodes_node_id_console_get_with_http_info(self, node_id, **kwargs): # noqa: E501 + """Access node console via SSH # noqa: E501 - Proxies a request to the firmware service to add firmware assets. # noqa: E501 + Access node console via SSH (WebSocket upgrade) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmware_assets_post_with_http_info(body, async_req=True) + >>> thread = api.v1_cluster_nodes_node_id_console_get_with_http_info(node_id, async_req=True) >>> result = thread.get() - :param body: Firmware assets payload (required) - :type body: object + :param node_id: Node ID (required) + :type node_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -8717,13 +9894,13 @@ def v1_cluster_firmware_service_firmware_assets_post_with_http_info(self, body, :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(str, status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ - 'body' + 'node_id' ] all_params.extend( [ @@ -8741,18 +9918,20 @@ def v1_cluster_firmware_service_firmware_assets_post_with_http_info(self, body, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_firmware_service_firmware_assets_post" % key + " to method v1_cluster_nodes_node_id_console_get" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `v1_cluster_firmware_service_firmware_assets_post`") # noqa: E501 + # verify the required parameter 'node_id' is set + if self.api_client.client_side_validation and ('node_id' not in local_var_params or # noqa: E501 + local_var_params['node_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `node_id` when calling `v1_cluster_nodes_node_id_console_get`") # noqa: E501 collection_formats = {} path_params = {} + if 'node_id' in local_var_params: + path_params['nodeId'] = local_var_params['node_id'] # noqa: E501 query_params = [] @@ -8762,31 +9941,17 @@ def v1_cluster_firmware_service_firmware_assets_post_with_http_info(self, body, local_var_files = {} body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['text/html', 'application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 + ['application/json']) # noqa: E501 # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 - response_types_map = { - 201: "str", - 400: "UserError", - 403: "ApiError", - 404: "ApiError", - 500: "ApiError", - } + response_types_map = {} return self.api_client.call_api( - '/v1/cluster/firmware-service/firmware-assets', 'POST', + '/v1/cluster/nodes/:nodeId/console', 'GET', path_params, query_params, header_params, @@ -8802,18 +9967,18 @@ def v1_cluster_firmware_service_firmware_assets_post_with_http_info(self, body, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_firmware_service_firmwares_filename_delete(self, filename, **kwargs): # noqa: E501 - """Delete a firmware by filename from the firmware service # noqa: E501 + def v1_cluster_nodes_node_id_get(self, node_id, **kwargs): # noqa: E501 + """Get node details by ID # noqa: E501 - Proxies a request to the firmware service to delete a firmware by filename. # noqa: E501 + Get node details by ID # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmwares_filename_delete(filename, async_req=True) + >>> thread = api.v1_cluster_nodes_node_id_get(node_id, async_req=True) >>> result = thread.get() - :param filename: The filename of the firmware to delete (required) - :type filename: str + :param node_id: Node ID (required) + :type node_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -8827,23 +9992,23 @@ def v1_cluster_firmware_service_firmwares_filename_delete(self, filename, **kwar :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: NodeInformation """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(filename, **kwargs) # noqa: E501 + return self.v1_cluster_nodes_node_id_get_with_http_info(node_id, **kwargs) # noqa: E501 - def v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(self, filename, **kwargs): # noqa: E501 - """Delete a firmware by filename from the firmware service # noqa: E501 + def v1_cluster_nodes_node_id_get_with_http_info(self, node_id, **kwargs): # noqa: E501 + """Get node details by ID # noqa: E501 - Proxies a request to the firmware service to delete a firmware by filename. # noqa: E501 + Get node details by ID # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(filename, async_req=True) + >>> thread = api.v1_cluster_nodes_node_id_get_with_http_info(node_id, async_req=True) >>> result = thread.get() - :param filename: The filename of the firmware to delete (required) - :type filename: str + :param node_id: Node ID (required) + :type node_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -8865,13 +10030,13 @@ def v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(self, f :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(NodeInformation, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'filename' + 'node_id' ] all_params.extend( [ @@ -8889,20 +10054,20 @@ def v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(self, f if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_firmware_service_firmwares_filename_delete" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'filename' is set - if self.api_client.client_side_validation and ('filename' not in local_var_params or # noqa: E501 - local_var_params['filename'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `filename` when calling `v1_cluster_firmware_service_firmwares_filename_delete`") # noqa: E501 + " to method v1_cluster_nodes_node_id_get" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'node_id' is set + if self.api_client.client_side_validation and ('node_id' not in local_var_params or # noqa: E501 + local_var_params['node_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `node_id` when calling `v1_cluster_nodes_node_id_get`") # noqa: E501 collection_formats = {} path_params = {} - if 'filename' in local_var_params: - path_params['filename'] = local_var_params['filename'] # noqa: E501 + if 'node_id' in local_var_params: + path_params['nodeId'] = local_var_params['node_id'] # noqa: E501 query_params = [] @@ -8919,10 +10084,14 @@ def v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(self, f # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "NodeInformation", + 403: "ApiError", + 404: "ApiError", + } return self.api_client.call_api( - '/v1/cluster/firmware-service/firmwares/{filename}', 'DELETE', + '/v1/cluster/nodes/:nodeId', 'GET', path_params, query_params, header_params, @@ -8938,36 +10107,38 @@ def v1_cluster_firmware_service_firmwares_filename_delete_with_http_info(self, f collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_firmware_service_firmwares_get(self, **kwargs): # noqa: E501 - """Fetch firmwares from the firmware service # noqa: E501 + def v1_cluster_storage_get(self, **kwargs): # noqa: E501 + """Get storage devices # noqa: E501 - Proxies a request to the firmware service to retrieve a list of firmwares. # noqa: E501 + List all attached storage devices. This endpoint is only available to cluster administrators. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmwares_get(async_req=True) + >>> thread = api.v1_cluster_storage_get(async_req=True) >>> result = thread.get() - :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :param limit: Maximum number of results to return (1–1000, default: 100) :type limit: float - :param offset: Index of the first row to return (default: 0) + :param offset: Number of results to skip (default: 0) :type offset: float - :param search: Case-insensitive partial match across filename, model, type, version and buildid fields - :type search: str - :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: filename, model, type, version, buildid Filtering options: - :type order: str - :param filename: Filter by exact filename. Example: iPhone_4.7_P3_12.1.4_16D57_Restore.ipsw - :type filename: str - :param model: Filter by exact model. Example: iPhone10,4 + :param device: Filter by device name (partial match) + :type device: str + :param fs_type: Filter by filesystem type (comma separated) + :type fs_type: str + :param fs_uuid: Filter by filesystem UUID (partial match) + :type fs_uuid: str + :param label: Filter by label (partial match) + :type label: str + :param serial: Filter by serial number (partial match) + :type serial: str + :param vendor: Filter by vendor (partial match) + :type vendor: str + :param model: Filter by model (partial match) :type model: str - :param type: Filter by exact type. Example: ipsw - :type type: str - :param version: Filter by exact version. Example: 12.1.4 - :type version: str - :param buildid: Filter by exact buildid. Example: 16D57 - :type buildid: str - :param firmware_assets: Filter by exact asset URL/ID. Example: https://wkms-public.apple.com/fcs-keys/rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= -OR- rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= - :type firmware_assets: str + :param mount_policy: Filter by mount policy (RO or RW) + :type mount_policy: str + :param sort: Sort order (e.g. \"device\" or \"-device\") + :type sort: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -8981,41 +10152,43 @@ def v1_cluster_firmware_service_firmwares_get(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Firmware] + :rtype: GetStorageResponse """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_firmware_service_firmwares_get_with_http_info(**kwargs) # noqa: E501 + return self.v1_cluster_storage_get_with_http_info(**kwargs) # noqa: E501 - def v1_cluster_firmware_service_firmwares_get_with_http_info(self, **kwargs): # noqa: E501 - """Fetch firmwares from the firmware service # noqa: E501 + def v1_cluster_storage_get_with_http_info(self, **kwargs): # noqa: E501 + """Get storage devices # noqa: E501 - Proxies a request to the firmware service to retrieve a list of firmwares. # noqa: E501 + List all attached storage devices. This endpoint is only available to cluster administrators. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_firmware_service_firmwares_get_with_http_info(async_req=True) + >>> thread = api.v1_cluster_storage_get_with_http_info(async_req=True) >>> result = thread.get() - :param limit: Number of results to return (min: 1, max: 10000, default: 100) + :param limit: Maximum number of results to return (1–1000, default: 100) :type limit: float - :param offset: Index of the first row to return (default: 0) + :param offset: Number of results to skip (default: 0) :type offset: float - :param search: Case-insensitive partial match across filename, model, type, version and buildid fields - :type search: str - :param order: Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: filename, model, type, version, buildid Filtering options: - :type order: str - :param filename: Filter by exact filename. Example: iPhone_4.7_P3_12.1.4_16D57_Restore.ipsw - :type filename: str - :param model: Filter by exact model. Example: iPhone10,4 + :param device: Filter by device name (partial match) + :type device: str + :param fs_type: Filter by filesystem type (comma separated) + :type fs_type: str + :param fs_uuid: Filter by filesystem UUID (partial match) + :type fs_uuid: str + :param label: Filter by label (partial match) + :type label: str + :param serial: Filter by serial number (partial match) + :type serial: str + :param vendor: Filter by vendor (partial match) + :type vendor: str + :param model: Filter by model (partial match) :type model: str - :param type: Filter by exact type. Example: ipsw - :type type: str - :param version: Filter by exact version. Example: 12.1.4 - :type version: str - :param buildid: Filter by exact buildid. Example: 16D57 - :type buildid: str - :param firmware_assets: Filter by exact asset URL/ID. Example: https://wkms-public.apple.com/fcs-keys/rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= -OR- rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= - :type firmware_assets: str + :param mount_policy: Filter by mount policy (RO or RW) + :type mount_policy: str + :param sort: Sort order (e.g. \"device\" or \"-device\") + :type sort: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -9037,7 +10210,7 @@ def v1_cluster_firmware_service_firmwares_get_with_http_info(self, **kwargs): # :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Firmware], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(GetStorageResponse, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() @@ -9045,14 +10218,15 @@ def v1_cluster_firmware_service_firmwares_get_with_http_info(self, **kwargs): # all_params = [ 'limit', 'offset', - 'search', - 'order', - 'filename', + 'device', + 'fs_type', + 'fs_uuid', + 'label', + 'serial', + 'vendor', 'model', - 'type', - 'version', - 'buildid', - 'firmware_assets' + 'mount_policy', + 'sort' ] all_params.extend( [ @@ -9070,7 +10244,7 @@ def v1_cluster_firmware_service_firmwares_get_with_http_info(self, **kwargs): # if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_firmware_service_firmwares_get" % key + " to method v1_cluster_storage_get" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -9084,22 +10258,24 @@ def v1_cluster_firmware_service_firmwares_get_with_http_info(self, **kwargs): # query_params.append(('limit', local_var_params['limit'])) # noqa: E501 if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 query_params.append(('offset', local_var_params['offset'])) # noqa: E501 - if 'search' in local_var_params and local_var_params['search'] is not None: # noqa: E501 - query_params.append(('search', local_var_params['search'])) # noqa: E501 - if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501 - query_params.append(('order', local_var_params['order'])) # noqa: E501 - if 'filename' in local_var_params and local_var_params['filename'] is not None: # noqa: E501 - query_params.append(('filename', local_var_params['filename'])) # noqa: E501 + if 'device' in local_var_params and local_var_params['device'] is not None: # noqa: E501 + query_params.append(('device', local_var_params['device'])) # noqa: E501 + if 'fs_type' in local_var_params and local_var_params['fs_type'] is not None: # noqa: E501 + query_params.append(('fsType', local_var_params['fs_type'])) # noqa: E501 + if 'fs_uuid' in local_var_params and local_var_params['fs_uuid'] is not None: # noqa: E501 + query_params.append(('fsUUID', local_var_params['fs_uuid'])) # noqa: E501 + if 'label' in local_var_params and local_var_params['label'] is not None: # noqa: E501 + query_params.append(('label', local_var_params['label'])) # noqa: E501 + if 'serial' in local_var_params and local_var_params['serial'] is not None: # noqa: E501 + query_params.append(('serial', local_var_params['serial'])) # noqa: E501 + if 'vendor' in local_var_params and local_var_params['vendor'] is not None: # noqa: E501 + query_params.append(('vendor', local_var_params['vendor'])) # noqa: E501 if 'model' in local_var_params and local_var_params['model'] is not None: # noqa: E501 query_params.append(('model', local_var_params['model'])) # noqa: E501 - if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 - query_params.append(('type', local_var_params['type'])) # noqa: E501 - if 'version' in local_var_params and local_var_params['version'] is not None: # noqa: E501 - query_params.append(('version', local_var_params['version'])) # noqa: E501 - if 'buildid' in local_var_params and local_var_params['buildid'] is not None: # noqa: E501 - query_params.append(('buildid', local_var_params['buildid'])) # noqa: E501 - if 'firmware_assets' in local_var_params and local_var_params['firmware_assets'] is not None: # noqa: E501 - query_params.append(('firmware_assets', local_var_params['firmware_assets'])) # noqa: E501 + if 'mount_policy' in local_var_params and local_var_params['mount_policy'] is not None: # noqa: E501 + query_params.append(('mountPolicy', local_var_params['mount_policy'])) # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -9115,15 +10291,14 @@ def v1_cluster_firmware_service_firmwares_get_with_http_info(self, **kwargs): # auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "list[Firmware]", - 400: "UserError", - 403: "ApiError", - 404: "ApiError", - 500: "ApiError", + 200: "GetStorageResponse", + 401: "object", + 403: "object", + 500: "object", } return self.api_client.call_api( - '/v1/cluster/firmware-service/firmwares', 'GET', + '/v1/cluster/storage', 'GET', path_params, query_params, header_params, @@ -9139,20 +10314,18 @@ def v1_cluster_firmware_service_firmwares_get_with_http_info(self, **kwargs): # collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_nodes_get(self, **kwargs): # noqa: E501 - """List servers in the cluster # noqa: E501 + def v1_cluster_storage_id_attach_post(self, id, **kwargs): # noqa: E501 + """Mount and attach a storage device # noqa: E501 - List servers in the cluster # noqa: E501 + Initiates an asynchronous mount job for a registered storage device. If already mounted, returns status 200. If not, queues a background job and returns 202. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_nodes_get(async_req=True) + >>> thread = api.v1_cluster_storage_id_attach_post(id, async_req=True) >>> result = thread.get() - :param limit: limit for pagination results, defaults to 100 - :type limit: float - :param offset: offset for pagination results, defaults to 0 - :type offset: float + :param id: The unique identifier of the storage media (required) + :type id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -9166,25 +10339,23 @@ def v1_cluster_nodes_get(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[NodeInformation] + :rtype: object """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_nodes_get_with_http_info(**kwargs) # noqa: E501 + return self.v1_cluster_storage_id_attach_post_with_http_info(id, **kwargs) # noqa: E501 - def v1_cluster_nodes_get_with_http_info(self, **kwargs): # noqa: E501 - """List servers in the cluster # noqa: E501 + def v1_cluster_storage_id_attach_post_with_http_info(self, id, **kwargs): # noqa: E501 + """Mount and attach a storage device # noqa: E501 - List servers in the cluster # noqa: E501 + Initiates an asynchronous mount job for a registered storage device. If already mounted, returns status 200. If not, queues a background job and returns 202. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_nodes_get_with_http_info(async_req=True) + >>> thread = api.v1_cluster_storage_id_attach_post_with_http_info(id, async_req=True) >>> result = thread.get() - :param limit: limit for pagination results, defaults to 100 - :type limit: float - :param offset: offset for pagination results, defaults to 0 - :type offset: float + :param id: The unique identifier of the storage media (required) + :type id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -9206,14 +10377,13 @@ def v1_cluster_nodes_get_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[NodeInformation], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'limit', - 'offset' + 'id' ] all_params.extend( [ @@ -9231,20 +10401,22 @@ def v1_cluster_nodes_get_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_nodes_get" % key + " to method v1_cluster_storage_id_attach_post" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501 + local_var_params['id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `id` when calling `v1_cluster_storage_id_attach_post`") # noqa: E501 collection_formats = {} path_params = {} + if 'id' in local_var_params: + path_params['id'] = local_var_params['id'] # noqa: E501 query_params = [] - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -9260,12 +10432,15 @@ def v1_cluster_nodes_get_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "list[NodeInformation]", + 200: "object", + 202: "object", 403: "ApiError", + 404: "object", + 500: "object", } return self.api_client.call_api( - '/v1/cluster/nodes', 'GET', + '/v1/cluster/storage/:id/attach', 'POST', path_params, query_params, header_params, @@ -9281,18 +10456,18 @@ def v1_cluster_nodes_get_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_cluster_nodes_node_id_get(self, node_id, **kwargs): # noqa: E501 - """Get node details by ID # noqa: E501 + def v1_cluster_storage_id_eject_post(self, id, **kwargs): # noqa: E501 + """Eject/Unmount removable media # noqa: E501 - Get node details by ID # noqa: E501 + Initiates an asynchronous unmount job for the physical storage device. If the device is already unmounted, returns success. If mounted, creates a background job to safely unmount. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_nodes_node_id_get(node_id, async_req=True) + >>> thread = api.v1_cluster_storage_id_eject_post(id, async_req=True) >>> result = thread.get() - :param node_id: Node ID (required) - :type node_id: str + :param id: Storage device identifier (UUID) (required) + :type id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -9306,23 +10481,23 @@ def v1_cluster_nodes_node_id_get(self, node_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: NodeInformation + :rtype: object """ kwargs['_return_http_data_only'] = True - return self.v1_cluster_nodes_node_id_get_with_http_info(node_id, **kwargs) # noqa: E501 + return self.v1_cluster_storage_id_eject_post_with_http_info(id, **kwargs) # noqa: E501 - def v1_cluster_nodes_node_id_get_with_http_info(self, node_id, **kwargs): # noqa: E501 - """Get node details by ID # noqa: E501 + def v1_cluster_storage_id_eject_post_with_http_info(self, id, **kwargs): # noqa: E501 + """Eject/Unmount removable media # noqa: E501 - Get node details by ID # noqa: E501 + Initiates an asynchronous unmount job for the physical storage device. If the device is already unmounted, returns success. If mounted, creates a background job to safely unmount. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_cluster_nodes_node_id_get_with_http_info(node_id, async_req=True) + >>> thread = api.v1_cluster_storage_id_eject_post_with_http_info(id, async_req=True) >>> result = thread.get() - :param node_id: Node ID (required) - :type node_id: str + :param id: Storage device identifier (UUID) (required) + :type id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -9344,13 +10519,13 @@ def v1_cluster_nodes_node_id_get_with_http_info(self, node_id, **kwargs): # noq :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(NodeInformation, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'node_id' + 'id' ] all_params.extend( [ @@ -9368,20 +10543,20 @@ def v1_cluster_nodes_node_id_get_with_http_info(self, node_id, **kwargs): # noq if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_cluster_nodes_node_id_get" % key + " to method v1_cluster_storage_id_eject_post" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'node_id' is set - if self.api_client.client_side_validation and ('node_id' not in local_var_params or # noqa: E501 - local_var_params['node_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `node_id` when calling `v1_cluster_nodes_node_id_get`") # noqa: E501 + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501 + local_var_params['id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `id` when calling `v1_cluster_storage_id_eject_post`") # noqa: E501 collection_formats = {} path_params = {} - if 'node_id' in local_var_params: - path_params['nodeId'] = local_var_params['node_id'] # noqa: E501 + if 'id' in local_var_params: + path_params['id'] = local_var_params['id'] # noqa: E501 query_params = [] @@ -9399,13 +10574,15 @@ def v1_cluster_nodes_node_id_get_with_http_info(self, node_id, **kwargs): # noq auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "NodeInformation", + 200: "object", + 202: "object", 403: "ApiError", - 404: "ApiError", + 404: "object", + 500: "object", } return self.api_client.call_api( - '/v1/cluster/nodes/:nodeId', 'GET', + '/v1/cluster/storage/:id/eject', 'POST', path_params, query_params, header_params, @@ -9737,14 +10914,14 @@ def v1_create_hook_with_http_info(self, instance_id, v1_create_hook_parameters, def v1_create_image(self, type, encoding, **kwargs): # noqa: E501 """Create a new Image # noqa: E501 - Create a new Image # noqa: E501 + Create a new Image. Accepts multipart/form-data (with optional file upload) or application/json (metadata only). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_create_image(type, encoding, async_req=True) >>> result = thread.get() - :param type: Image type (required) + :param type: Image type: 'iotfirmware' | 'kernel' | 'devicetree' | 'ramdisk' | 'loaderfile' | 'clbi' | 'ufd' | 'media' | 'sepfw' | 'seprom' | 'bootrom' | 'llb' | 'iboot' | 'ibootdata' | 'fw' | 'fwasset' | 'partition' | 'extension' | 'vmfile' | 'backup' | 'activity-export' (required) :type type: str :param encoding: How the file is stored (required) :type encoding: str @@ -9752,6 +10929,8 @@ def v1_create_image(self, type, encoding, **kwargs): # noqa: E501 :type encapsulated: bool :param name: Image name :type name: str + :param full_path: Full local path to image file + :type full_path: str :param project: Project ID :type project: str :param instance: Instance ID @@ -9779,14 +10958,14 @@ def v1_create_image(self, type, encoding, **kwargs): # noqa: E501 def v1_create_image_with_http_info(self, type, encoding, **kwargs): # noqa: E501 """Create a new Image # noqa: E501 - Create a new Image # noqa: E501 + Create a new Image. Accepts multipart/form-data (with optional file upload) or application/json (metadata only). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.v1_create_image_with_http_info(type, encoding, async_req=True) >>> result = thread.get() - :param type: Image type (required) + :param type: Image type: 'iotfirmware' | 'kernel' | 'devicetree' | 'ramdisk' | 'loaderfile' | 'clbi' | 'ufd' | 'media' | 'sepfw' | 'seprom' | 'bootrom' | 'llb' | 'iboot' | 'ibootdata' | 'fw' | 'fwasset' | 'partition' | 'extension' | 'vmfile' | 'backup' | 'activity-export' (required) :type type: str :param encoding: How the file is stored (required) :type encoding: str @@ -9794,6 +10973,8 @@ def v1_create_image_with_http_info(self, type, encoding, **kwargs): # noqa: E50 :type encapsulated: bool :param name: Image name :type name: str + :param full_path: Full local path to image file + :type full_path: str :param project: Project ID :type project: str :param instance: Instance ID @@ -9831,6 +11012,7 @@ def v1_create_image_with_http_info(self, type, encoding, **kwargs): # noqa: E50 'encoding', 'encapsulated', 'name', + 'full_path', 'project', 'instance', 'file' @@ -9882,6 +11064,8 @@ def v1_create_image_with_http_info(self, type, encoding, **kwargs): # noqa: E50 form_params.append(('encapsulated', local_var_params['encapsulated'])) # noqa: E501 if 'name' in local_var_params: form_params.append(('name', local_var_params['name'])) # noqa: E501 + if 'full_path' in local_var_params: + form_params.append(('fullPath', local_var_params['full_path'])) # noqa: E501 if 'project' in local_var_params: form_params.append(('project', local_var_params['project'])) # noqa: E501 if 'instance' in local_var_params: @@ -10498,8 +11682,8 @@ def v1_create_snapshot_with_http_info(self, instance_id, snapshot_creation_optio response_types_map = { 200: "Snapshot", + 400: "UserError", 403: "ApiError", - 404: "UserError", } return self.api_client.call_api( @@ -10664,20 +11848,18 @@ def v1_create_user_with_http_info(self, user_create, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_delete_domain_auth_provider(self, domain_id, provider_id, **kwargs): # noqa: E501 - """Delete an auth provider from a domain # noqa: E501 + def v1_delete_cluster_snapshot(self, snapshot_id, **kwargs): # noqa: E501 + """Delete a Cluster Snapshot # noqa: E501 - Delete an auth provider from a domain # noqa: E501 + Delete a Cluster Snapshot # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_delete_domain_auth_provider(domain_id, provider_id, async_req=True) + >>> thread = api.v1_delete_cluster_snapshot(snapshot_id, async_req=True) >>> result = thread.get() - :param domain_id: Domain ID - uuid (required) - :type domain_id: str - :param provider_id: Provider ID - uuid (required) - :type provider_id: str + :param snapshot_id: Snapshot ID - uuid (required) + :type snapshot_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -10694,22 +11876,20 @@ def v1_delete_domain_auth_provider(self, domain_id, provider_id, **kwargs): # n :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_delete_domain_auth_provider_with_http_info(domain_id, provider_id, **kwargs) # noqa: E501 + return self.v1_delete_cluster_snapshot_with_http_info(snapshot_id, **kwargs) # noqa: E501 - def v1_delete_domain_auth_provider_with_http_info(self, domain_id, provider_id, **kwargs): # noqa: E501 - """Delete an auth provider from a domain # noqa: E501 + def v1_delete_cluster_snapshot_with_http_info(self, snapshot_id, **kwargs): # noqa: E501 + """Delete a Cluster Snapshot # noqa: E501 - Delete an auth provider from a domain # noqa: E501 + Delete a Cluster Snapshot # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_delete_domain_auth_provider_with_http_info(domain_id, provider_id, async_req=True) + >>> thread = api.v1_delete_cluster_snapshot_with_http_info(snapshot_id, async_req=True) >>> result = thread.get() - :param domain_id: Domain ID - uuid (required) - :type domain_id: str - :param provider_id: Provider ID - uuid (required) - :type provider_id: str + :param snapshot_id: Snapshot ID - uuid (required) + :type snapshot_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -10737,8 +11917,7 @@ def v1_delete_domain_auth_provider_with_http_info(self, domain_id, provider_id, local_var_params = locals() all_params = [ - 'domain_id', - 'provider_id' + 'snapshot_id' ] all_params.extend( [ @@ -10756,26 +11935,20 @@ def v1_delete_domain_auth_provider_with_http_info(self, domain_id, provider_id, if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_delete_domain_auth_provider" % key + " to method v1_delete_cluster_snapshot" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'domain_id' is set - if self.api_client.client_side_validation and ('domain_id' not in local_var_params or # noqa: E501 - local_var_params['domain_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `domain_id` when calling `v1_delete_domain_auth_provider`") # noqa: E501 - # verify the required parameter 'provider_id' is set - if self.api_client.client_side_validation and ('provider_id' not in local_var_params or # noqa: E501 - local_var_params['provider_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `provider_id` when calling `v1_delete_domain_auth_provider`") # noqa: E501 + # verify the required parameter 'snapshot_id' is set + if self.api_client.client_side_validation and ('snapshot_id' not in local_var_params or # noqa: E501 + local_var_params['snapshot_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `snapshot_id` when calling `v1_delete_cluster_snapshot`") # noqa: E501 collection_formats = {} path_params = {} - if 'domain_id' in local_var_params: - path_params['domainId'] = local_var_params['domain_id'] # noqa: E501 - if 'provider_id' in local_var_params: - path_params['providerId'] = local_var_params['provider_id'] # noqa: E501 + if 'snapshot_id' in local_var_params: + path_params['snapshotId'] = local_var_params['snapshot_id'] # noqa: E501 query_params = [] @@ -10795,7 +11968,7 @@ def v1_delete_domain_auth_provider_with_http_info(self, domain_id, provider_id, response_types_map = {} return self.api_client.call_api( - '/v1/domain/{domainId}/auth/{providerId}', 'DELETE', + '/v1/cluster/snapshots/{snapshotId}', 'DELETE', path_params, query_params, header_params, @@ -10811,17 +11984,20 @@ def v1_delete_domain_auth_provider_with_http_info(self, domain_id, provider_id, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_delete_extension(self, extension_id, **kwargs): # noqa: E501 - """Delete an existing extension # noqa: E501 + def v1_delete_domain_auth_provider(self, domain_id, provider_id, **kwargs): # noqa: E501 + """Delete an auth provider from a domain # noqa: E501 + Delete an auth provider from a domain # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_delete_extension(extension_id, async_req=True) + >>> thread = api.v1_delete_domain_auth_provider(domain_id, provider_id, async_req=True) >>> result = thread.get() - :param extension_id: Extension ID (required) - :type extension_id: str + :param domain_id: Domain ID - uuid (required) + :type domain_id: str + :param provider_id: Provider ID - uuid (required) + :type provider_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -10838,19 +12014,22 @@ def v1_delete_extension(self, extension_id, **kwargs): # noqa: E501 :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_delete_extension_with_http_info(extension_id, **kwargs) # noqa: E501 + return self.v1_delete_domain_auth_provider_with_http_info(domain_id, provider_id, **kwargs) # noqa: E501 - def v1_delete_extension_with_http_info(self, extension_id, **kwargs): # noqa: E501 - """Delete an existing extension # noqa: E501 + def v1_delete_domain_auth_provider_with_http_info(self, domain_id, provider_id, **kwargs): # noqa: E501 + """Delete an auth provider from a domain # noqa: E501 + Delete an auth provider from a domain # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_delete_extension_with_http_info(extension_id, async_req=True) + >>> thread = api.v1_delete_domain_auth_provider_with_http_info(domain_id, provider_id, async_req=True) >>> result = thread.get() - :param extension_id: Extension ID (required) - :type extension_id: str + :param domain_id: Domain ID - uuid (required) + :type domain_id: str + :param provider_id: Provider ID - uuid (required) + :type provider_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -10878,7 +12057,8 @@ def v1_delete_extension_with_http_info(self, extension_id, **kwargs): # noqa: E local_var_params = locals() all_params = [ - 'extension_id' + 'domain_id', + 'provider_id' ] all_params.extend( [ @@ -10896,20 +12076,26 @@ def v1_delete_extension_with_http_info(self, extension_id, **kwargs): # noqa: E if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_delete_extension" % key + " to method v1_delete_domain_auth_provider" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'extension_id' is set - if self.api_client.client_side_validation and ('extension_id' not in local_var_params or # noqa: E501 - local_var_params['extension_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `extension_id` when calling `v1_delete_extension`") # noqa: E501 + # verify the required parameter 'domain_id' is set + if self.api_client.client_side_validation and ('domain_id' not in local_var_params or # noqa: E501 + local_var_params['domain_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `domain_id` when calling `v1_delete_domain_auth_provider`") # noqa: E501 + # verify the required parameter 'provider_id' is set + if self.api_client.client_side_validation and ('provider_id' not in local_var_params or # noqa: E501 + local_var_params['provider_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `provider_id` when calling `v1_delete_domain_auth_provider`") # noqa: E501 collection_formats = {} path_params = {} - if 'extension_id' in local_var_params: - path_params['extensionId'] = local_var_params['extension_id'] # noqa: E501 + if 'domain_id' in local_var_params: + path_params['domainId'] = local_var_params['domain_id'] # noqa: E501 + if 'provider_id' in local_var_params: + path_params['providerId'] = local_var_params['provider_id'] # noqa: E501 query_params = [] @@ -10929,7 +12115,7 @@ def v1_delete_extension_with_http_info(self, extension_id, **kwargs): # noqa: E response_types_map = {} return self.api_client.call_api( - '/v1/extensions/{extensionId}', 'DELETE', + '/v1/domain/{domainId}/auth/{providerId}', 'DELETE', path_params, query_params, header_params, @@ -13190,16 +14376,18 @@ def v1_get_activity_export_tasks_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_get_config(self, **kwargs): # noqa: E501 - """Get all configs # noqa: E501 + def v1_get_cluster_snapshot(self, snapshot_id, **kwargs): # noqa: E501 + """Get Cluster Snapshot # noqa: E501 - Get all configs # noqa: E501 + Get Cluster Snapshot # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_get_config(async_req=True) + >>> thread = api.v1_get_cluster_snapshot(snapshot_id, async_req=True) >>> result = thread.get() + :param snapshot_id: Snapshot ID - uuid (required) + :type snapshot_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -13213,21 +14401,23 @@ def v1_get_config(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: ConfigResponse + :rtype: ClusterSnapshot """ kwargs['_return_http_data_only'] = True - return self.v1_get_config_with_http_info(**kwargs) # noqa: E501 + return self.v1_get_cluster_snapshot_with_http_info(snapshot_id, **kwargs) # noqa: E501 - def v1_get_config_with_http_info(self, **kwargs): # noqa: E501 - """Get all configs # noqa: E501 + def v1_get_cluster_snapshot_with_http_info(self, snapshot_id, **kwargs): # noqa: E501 + """Get Cluster Snapshot # noqa: E501 - Get all configs # noqa: E501 + Get Cluster Snapshot # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_get_config_with_http_info(async_req=True) + >>> thread = api.v1_get_cluster_snapshot_with_http_info(snapshot_id, async_req=True) >>> result = thread.get() + :param snapshot_id: Snapshot ID - uuid (required) + :type snapshot_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -13249,12 +14439,13 @@ def v1_get_config_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(ConfigResponse, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ClusterSnapshot, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ + 'snapshot_id' ] all_params.extend( [ @@ -13272,14 +14463,20 @@ def v1_get_config_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_get_config" % key + " to method v1_get_cluster_snapshot" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'snapshot_id' is set + if self.api_client.client_side_validation and ('snapshot_id' not in local_var_params or # noqa: E501 + local_var_params['snapshot_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `snapshot_id` when calling `v1_get_cluster_snapshot`") # noqa: E501 collection_formats = {} path_params = {} + if 'snapshot_id' in local_var_params: + path_params['snapshotId'] = local_var_params['snapshot_id'] # noqa: E501 query_params = [] @@ -13294,14 +14491,16 @@ def v1_get_config_with_http_info(self, **kwargs): # noqa: E501 ['application/json']) # noqa: E501 # Authentication setting - auth_settings = [] # noqa: E501 + auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "ConfigResponse", + 200: "ClusterSnapshot", + 400: "UserError", + 403: "ApiError", } return self.api_client.call_api( - '/v1/config', 'GET', + '/v1/cluster/snapshots/{snapshotId}', 'GET', path_params, query_params, header_params, @@ -13317,18 +14516,18 @@ def v1_get_config_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_get_domain_auth_providers(self, domain_id, **kwargs): # noqa: E501 - """Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 + def v1_get_cluster_snapshots(self, **kwargs): # noqa: E501 + """Get Cluster Snapshots # noqa: E501 - Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 + Get Cluster Snapshots # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_get_domain_auth_providers(domain_id, async_req=True) + >>> thread = api.v1_get_cluster_snapshots(async_req=True) >>> result = thread.get() - :param domain_id: Domain ID - uuid (required) - :type domain_id: str + :param request: + :type request: SnapshotRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -13342,23 +14541,23 @@ def v1_get_domain_auth_providers(self, domain_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[DomainAuthProviderResponse] + :rtype: SnapshotList """ kwargs['_return_http_data_only'] = True - return self.v1_get_domain_auth_providers_with_http_info(domain_id, **kwargs) # noqa: E501 + return self.v1_get_cluster_snapshots_with_http_info(**kwargs) # noqa: E501 - def v1_get_domain_auth_providers_with_http_info(self, domain_id, **kwargs): # noqa: E501 - """Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 + def v1_get_cluster_snapshots_with_http_info(self, **kwargs): # noqa: E501 + """Get Cluster Snapshots # noqa: E501 - Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 + Get Cluster Snapshots # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_get_domain_auth_providers_with_http_info(domain_id, async_req=True) + >>> thread = api.v1_get_cluster_snapshots_with_http_info(async_req=True) >>> result = thread.get() - :param domain_id: Domain ID - uuid (required) - :type domain_id: str + :param request: + :type request: SnapshotRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -13380,13 +14579,13 @@ def v1_get_domain_auth_providers_with_http_info(self, domain_id, **kwargs): # n :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[DomainAuthProviderResponse], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(SnapshotList, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'domain_id' + 'request' ] all_params.extend( [ @@ -13404,22 +14603,18 @@ def v1_get_domain_auth_providers_with_http_info(self, domain_id, **kwargs): # n if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_get_domain_auth_providers" % key + " to method v1_get_cluster_snapshots" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'domain_id' is set - if self.api_client.client_side_validation and ('domain_id' not in local_var_params or # noqa: E501 - local_var_params['domain_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `domain_id` when calling `v1_get_domain_auth_providers`") # noqa: E501 collection_formats = {} path_params = {} - if 'domain_id' in local_var_params: - path_params['domainId'] = local_var_params['domain_id'] # noqa: E501 query_params = [] + if 'request' in local_var_params and local_var_params['request'] is not None: # noqa: E501 + query_params.append(('request', local_var_params['request'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -13435,12 +14630,13 @@ def v1_get_domain_auth_providers_with_http_info(self, domain_id, **kwargs): # n auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "list[DomainAuthProviderResponse]", + 200: "SnapshotList", + 400: "UserError", 403: "ApiError", } return self.api_client.call_api( - '/v1/domain/{domainId}/auth', 'GET', + '/v1/cluster/snapshots', 'GET', path_params, query_params, header_params, @@ -13456,17 +14652,16 @@ def v1_get_domain_auth_providers_with_http_info(self, domain_id, **kwargs): # n collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_get_extension_by_id(self, extension_id, **kwargs): # noqa: E501 - """Get extension by id # noqa: E501 + def v1_get_config(self, **kwargs): # noqa: E501 + """Get all configs # noqa: E501 + Get all configs # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_get_extension_by_id(extension_id, async_req=True) + >>> thread = api.v1_get_config(async_req=True) >>> result = thread.get() - :param extension_id: Extension Id (required) - :type extension_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -13480,22 +14675,21 @@ def v1_get_extension_by_id(self, extension_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Extension + :rtype: ConfigResponse """ kwargs['_return_http_data_only'] = True - return self.v1_get_extension_by_id_with_http_info(extension_id, **kwargs) # noqa: E501 + return self.v1_get_config_with_http_info(**kwargs) # noqa: E501 - def v1_get_extension_by_id_with_http_info(self, extension_id, **kwargs): # noqa: E501 - """Get extension by id # noqa: E501 + def v1_get_config_with_http_info(self, **kwargs): # noqa: E501 + """Get all configs # noqa: E501 + Get all configs # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_get_extension_by_id_with_http_info(extension_id, async_req=True) + >>> thread = api.v1_get_config_with_http_info(async_req=True) >>> result = thread.get() - :param extension_id: Extension Id (required) - :type extension_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -13517,13 +14711,12 @@ def v1_get_extension_by_id_with_http_info(self, extension_id, **kwargs): # noqa :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Extension, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(ConfigResponse, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'extension_id' ] all_params.extend( [ @@ -13541,20 +14734,14 @@ def v1_get_extension_by_id_with_http_info(self, extension_id, **kwargs): # noqa if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_get_extension_by_id" % key + " to method v1_get_config" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'extension_id' is set - if self.api_client.client_side_validation and ('extension_id' not in local_var_params or # noqa: E501 - local_var_params['extension_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `extension_id` when calling `v1_get_extension_by_id`") # noqa: E501 collection_formats = {} path_params = {} - if 'extension_id' in local_var_params: - path_params['extensionId'] = local_var_params['extension_id'] # noqa: E501 query_params = [] @@ -13569,16 +14756,14 @@ def v1_get_extension_by_id_with_http_info(self, extension_id, **kwargs): # noqa ['application/json']) # noqa: E501 # Authentication setting - auth_settings = ['BearerAuth'] # noqa: E501 + auth_settings = [] # noqa: E501 response_types_map = { - 200: "Extension", - 400: "UserError", - 403: "ApiError", + 200: "ConfigResponse", } return self.api_client.call_api( - '/v1/extensions/{extensionId}', 'GET', + '/v1/config', 'GET', path_params, query_params, header_params, @@ -13594,21 +14779,18 @@ def v1_get_extension_by_id_with_http_info(self, extension_id, **kwargs): # noqa collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_get_extensions(self, **kwargs): # noqa: E501 - """Get all extensions # noqa: E501 + def v1_get_domain_auth_providers(self, domain_id, **kwargs): # noqa: E501 + """Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 + Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_get_extensions(async_req=True) + >>> thread = api.v1_get_domain_auth_providers(domain_id, async_req=True) >>> result = thread.get() - :param limit: limit for pagination results, defaults to 20 - :type limit: float - :param offset: offset for pagination results, defaults to 0 - :type offset: float - :param if_none_match: sha256sum of the last response with the same parameters (optional) - :type if_none_match: str + :param domain_id: Domain ID - uuid (required) + :type domain_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -13622,26 +14804,23 @@ def v1_get_extensions(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: list[Extension] + :rtype: list[DomainAuthProviderResponse] """ kwargs['_return_http_data_only'] = True - return self.v1_get_extensions_with_http_info(**kwargs) # noqa: E501 + return self.v1_get_domain_auth_providers_with_http_info(domain_id, **kwargs) # noqa: E501 - def v1_get_extensions_with_http_info(self, **kwargs): # noqa: E501 - """Get all extensions # noqa: E501 + def v1_get_domain_auth_providers_with_http_info(self, domain_id, **kwargs): # noqa: E501 + """Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 + Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_get_extensions_with_http_info(async_req=True) + >>> thread = api.v1_get_domain_auth_providers_with_http_info(domain_id, async_req=True) >>> result = thread.get() - :param limit: limit for pagination results, defaults to 20 - :type limit: float - :param offset: offset for pagination results, defaults to 0 - :type offset: float - :param if_none_match: sha256sum of the last response with the same parameters (optional) - :type if_none_match: str + :param domain_id: Domain ID - uuid (required) + :type domain_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -13663,15 +14842,13 @@ def v1_get_extensions_with_http_info(self, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(list[Extension], status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(list[DomainAuthProviderResponse], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'limit', - 'offset', - 'if_none_match' + 'domain_id' ] all_params.extend( [ @@ -13689,24 +14866,24 @@ def v1_get_extensions_with_http_info(self, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_get_extensions" % key + " to method v1_get_domain_auth_providers" % key ) local_var_params[key] = val del local_var_params['kwargs'] + # verify the required parameter 'domain_id' is set + if self.api_client.client_side_validation and ('domain_id' not in local_var_params or # noqa: E501 + local_var_params['domain_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `domain_id` when calling `v1_get_domain_auth_providers`") # noqa: E501 collection_formats = {} path_params = {} + if 'domain_id' in local_var_params: + path_params['domainId'] = local_var_params['domain_id'] # noqa: E501 query_params = [] - if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 - query_params.append(('limit', local_var_params['limit'])) # noqa: E501 - if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 - query_params.append(('offset', local_var_params['offset'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) - if 'if_none_match' in local_var_params: - header_params['if-none-match'] = local_var_params['if_none_match'] # noqa: E501 form_params = [] local_var_files = {} @@ -13720,14 +14897,12 @@ def v1_get_extensions_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "list[Extension]", - 304: None, - 400: "UserError", + 200: "list[DomainAuthProviderResponse]", 403: "ApiError", } return self.api_client.call_api( - '/v1/extensions', 'GET', + '/v1/domain/{domainId}/auth', 'GET', path_params, query_params, header_params, @@ -14441,7 +15616,7 @@ def v1_get_install_firmware_status_with_http_info(self, task_id, **kwargs): # n } return self.api_client.call_api( - '/v1/images/install-firmware/:taskId', 'GET', + '/v1/images/install-firmware/{taskId}', 'GET', path_params, query_params, header_params, @@ -17693,13 +18868,159 @@ def v1_get_snapshot_with_http_info(self, snapshot_id, **kwargs): # noqa: E501 auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "Snapshot", - 403: "ApiError", - 404: "UserError", + 200: "Snapshot", + 403: "ApiError", + 404: "UserError", + } + + return self.api_client.call_api( + '/v1/snapshots/{snapshotId}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_install_firmware(self, install_firmware_request, **kwargs): # noqa: E501 + """Installs a firmware for cluster-wide use # noqa: E501 + + Takes an uploaded firmware image and installs it for cluster-wide use. The firmware is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fw' } using content-type application/json to acquire an imageId. Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/images/install-firmware with { imageId: string; filename: string } using content-type application/json to acquire a taskId. The 'filename' must be an exact match for the filename in the firmware service that you're uploading this image for. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware/:taskId. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_install_firmware(install_firmware_request, async_req=True) + >>> result = thread.get() + + :param install_firmware_request: User data (required) + :type install_firmware_request: InstallFirmwareRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InstallFirmwareResponse + """ + kwargs['_return_http_data_only'] = True + return self.v1_install_firmware_with_http_info(install_firmware_request, **kwargs) # noqa: E501 + + def v1_install_firmware_with_http_info(self, install_firmware_request, **kwargs): # noqa: E501 + """Installs a firmware for cluster-wide use # noqa: E501 + + Takes an uploaded firmware image and installs it for cluster-wide use. The firmware is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fw' } using content-type application/json to acquire an imageId. Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/images/install-firmware with { imageId: string; filename: string } using content-type application/json to acquire a taskId. The 'filename' must be an exact match for the filename in the firmware service that you're uploading this image for. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware/:taskId. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_install_firmware_with_http_info(install_firmware_request, async_req=True) + >>> result = thread.get() + + :param install_firmware_request: User data (required) + :type install_firmware_request: InstallFirmwareRequest + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InstallFirmwareResponse, status_code(int), headers(HTTPHeaderDict)) + """ + + local_var_params = locals() + + all_params = [ + 'install_firmware_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_install_firmware" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'install_firmware_request' is set + if self.api_client.client_side_validation and ('install_firmware_request' not in local_var_params or # noqa: E501 + local_var_params['install_firmware_request'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `install_firmware_request` when calling `v1_install_firmware`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'install_firmware_request' in local_var_params: + body_params = local_var_params['install_firmware_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = { + 201: "InstallFirmwareResponse", + 400: "UserError", + 404: "ApiNotFoundError", } return self.api_client.call_api( - '/v1/snapshots/{snapshotId}', 'GET', + '/v1/images/install-firmware', 'POST', path_params, query_params, header_params, @@ -17715,18 +19036,18 @@ def v1_get_snapshot_with_http_info(self, snapshot_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_install_firmware(self, install_firmware_request, **kwargs): # noqa: E501 - """Installs a firmware for cluster-wide use # noqa: E501 + def v1_install_firmware_assets(self, install_firmware_assets_request, **kwargs): # noqa: E501 + """Installs firmware assets for cluster-wide use # noqa: E501 - Takes an uploaded firmware image and installs it for cluster-wide use. The firmware is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fw' } using content-type application/json to acquire an imageId. Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/cluster/firmware-service/firmware with { imageId: string; filename: string } using content-type application/json to acquire a taskId. The 'filename' must be an exact match for the filename in the firmware service that you're uploading this image for. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware/:taskId. # noqa: E501 + Takes an uploaded firmware assets blob image and installs it for cluster-wide use. The image is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fwasset' } using content-type application/json to acquire an imageId. name should be something like 'fcs-keys.json' Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/images/install-firmware-assets with { imageId: string; } using content-type application/json to acquire a taskId. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware-assets/:taskId. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_install_firmware(install_firmware_request, async_req=True) + >>> thread = api.v1_install_firmware_assets(install_firmware_assets_request, async_req=True) >>> result = thread.get() - :param install_firmware_request: User data (required) - :type install_firmware_request: InstallFirmwareRequest + :param install_firmware_assets_request: User data (required) + :type install_firmware_assets_request: InstallFirmwareAssetsRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -17740,23 +19061,23 @@ def v1_install_firmware(self, install_firmware_request, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: InstallFirmwareResponse + :rtype: InstallFirmwareAssetsResponse """ kwargs['_return_http_data_only'] = True - return self.v1_install_firmware_with_http_info(install_firmware_request, **kwargs) # noqa: E501 + return self.v1_install_firmware_assets_with_http_info(install_firmware_assets_request, **kwargs) # noqa: E501 - def v1_install_firmware_with_http_info(self, install_firmware_request, **kwargs): # noqa: E501 - """Installs a firmware for cluster-wide use # noqa: E501 + def v1_install_firmware_assets_with_http_info(self, install_firmware_assets_request, **kwargs): # noqa: E501 + """Installs firmware assets for cluster-wide use # noqa: E501 - Takes an uploaded firmware image and installs it for cluster-wide use. The firmware is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fw' } using content-type application/json to acquire an imageId. Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/cluster/firmware-service/firmware with { imageId: string; filename: string } using content-type application/json to acquire a taskId. The 'filename' must be an exact match for the filename in the firmware service that you're uploading this image for. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware/:taskId. # noqa: E501 + Takes an uploaded firmware assets blob image and installs it for cluster-wide use. The image is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fwasset' } using content-type application/json to acquire an imageId. name should be something like 'fcs-keys.json' Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/images/install-firmware-assets with { imageId: string; } using content-type application/json to acquire a taskId. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware-assets/:taskId. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_install_firmware_with_http_info(install_firmware_request, async_req=True) + >>> thread = api.v1_install_firmware_assets_with_http_info(install_firmware_assets_request, async_req=True) >>> result = thread.get() - :param install_firmware_request: User data (required) - :type install_firmware_request: InstallFirmwareRequest + :param install_firmware_assets_request: User data (required) + :type install_firmware_assets_request: InstallFirmwareAssetsRequest :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -17778,13 +19099,13 @@ def v1_install_firmware_with_http_info(self, install_firmware_request, **kwargs) :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(InstallFirmwareResponse, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(InstallFirmwareAssetsResponse, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'install_firmware_request' + 'install_firmware_assets_request' ] all_params.extend( [ @@ -17802,14 +19123,14 @@ def v1_install_firmware_with_http_info(self, install_firmware_request, **kwargs) if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_install_firmware" % key + " to method v1_install_firmware_assets" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'install_firmware_request' is set - if self.api_client.client_side_validation and ('install_firmware_request' not in local_var_params or # noqa: E501 - local_var_params['install_firmware_request'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `install_firmware_request` when calling `v1_install_firmware`") # noqa: E501 + # verify the required parameter 'install_firmware_assets_request' is set + if self.api_client.client_side_validation and ('install_firmware_assets_request' not in local_var_params or # noqa: E501 + local_var_params['install_firmware_assets_request'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `install_firmware_assets_request` when calling `v1_install_firmware_assets`") # noqa: E501 collection_formats = {} @@ -17823,8 +19144,8 @@ def v1_install_firmware_with_http_info(self, install_firmware_request, **kwargs) local_var_files = {} body_params = None - if 'install_firmware_request' in local_var_params: - body_params = local_var_params['install_firmware_request'] + if 'install_firmware_assets_request' in local_var_params: + body_params = local_var_params['install_firmware_assets_request'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 @@ -17839,13 +19160,13 @@ def v1_install_firmware_with_http_info(self, install_firmware_request, **kwargs) auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 201: "InstallFirmwareResponse", + 201: "InstallFirmwareAssetsResponse", 400: "UserError", 404: "ApiNotFoundError", } return self.api_client.call_api( - '/v1/images/install-firmware', 'POST', + '/v1/images/install-firmware-assets', 'POST', path_params, query_params, header_params, @@ -18830,157 +20151,30 @@ def v1_list_network_providers_with_http_info(self, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_list_threads(self, instance_id, **kwargs): # noqa: E501 - """Get Running Threads (CoreTrace) # noqa: E501 - - Get Running Threads (CoreTrace) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.v1_list_threads(instance_id, async_req=True) - >>> result = thread.get() - - :param instance_id: Instance ID - uuid (required) - :type instance_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: list[KernelTask] - """ - kwargs['_return_http_data_only'] = True - return self.v1_list_threads_with_http_info(instance_id, **kwargs) # noqa: E501 - - def v1_list_threads_with_http_info(self, instance_id, **kwargs): # noqa: E501 - """Get Running Threads (CoreTrace) # noqa: E501 - - Get Running Threads (CoreTrace) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.v1_list_threads_with_http_info(instance_id, async_req=True) - >>> result = thread.get() - - :param instance_id: Instance ID - uuid (required) - :type instance_id: str - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: tuple(list[KernelTask], status_code(int), headers(HTTPHeaderDict)) - """ - - local_var_params = locals() - - all_params = [ - 'instance_id' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method v1_list_threads" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 - local_var_params['instance_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_list_threads`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerAuth'] # noqa: E501 - - response_types_map = { - 200: "list[KernelTask]", - 400: "UserError", - 403: "ApiError", - } - - return self.api_client.call_api( - '/v1/instances/{instanceId}/strace/thread-list', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - - def v1_load_extension(self, v1_load_extension_parameters, **kwargs): # noqa: E501 - """Load an extension # noqa: E501 + def v1_list_storage_files(self, id, path, **kwargs): # noqa: E501 + """List Storage Files # noqa: E501 + List files from attached storage devices. Looks up the storage device by identifier, then lists filesystem contents at the given path within the device's mount point. This endpoint is available to all authenticated users. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_load_extension(v1_load_extension_parameters, async_req=True) + >>> thread = api.v1_list_storage_files(id, path, async_req=True) >>> result = thread.get() - :param v1_load_extension_parameters: application/json (required) - :type v1_load_extension_parameters: V1LoadExtensionParameters + :param id: Storage device identifier (MediaStore identifier) (required) + :type id: str + :param path: Path within the storage device to list (required) + :type path: str + :param limit: Maximum number of results to return (1–1000, default: 100) + :type limit: float + :param offset: Number of results to skip (default: 0) + :type offset: float + :param name: Filter by name (case insensitive exact match, comma separated for multiple values) + :type name: str + :param type: Filter by type (case insensitive partial match, e.g. \"file\" or \"dir\") + :type type: str + :param sort: Sort order (e.g., 'name', '-name', 'type,-size,-lastModifiedTime'). Prefix with '-' for descending. + :type sort: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -18994,22 +20188,35 @@ def v1_load_extension(self, v1_load_extension_parameters, **kwargs): # noqa: E5 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: Extension + :rtype: object """ kwargs['_return_http_data_only'] = True - return self.v1_load_extension_with_http_info(v1_load_extension_parameters, **kwargs) # noqa: E501 + return self.v1_list_storage_files_with_http_info(id, path, **kwargs) # noqa: E501 - def v1_load_extension_with_http_info(self, v1_load_extension_parameters, **kwargs): # noqa: E501 - """Load an extension # noqa: E501 + def v1_list_storage_files_with_http_info(self, id, path, **kwargs): # noqa: E501 + """List Storage Files # noqa: E501 + List files from attached storage devices. Looks up the storage device by identifier, then lists filesystem contents at the given path within the device's mount point. This endpoint is available to all authenticated users. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_load_extension_with_http_info(v1_load_extension_parameters, async_req=True) + >>> thread = api.v1_list_storage_files_with_http_info(id, path, async_req=True) >>> result = thread.get() - :param v1_load_extension_parameters: application/json (required) - :type v1_load_extension_parameters: V1LoadExtensionParameters + :param id: Storage device identifier (MediaStore identifier) (required) + :type id: str + :param path: Path within the storage device to list (required) + :type path: str + :param limit: Maximum number of results to return (1–1000, default: 100) + :type limit: float + :param offset: Number of results to skip (default: 0) + :type offset: float + :param name: Filter by name (case insensitive exact match, comma separated for multiple values) + :type name: str + :param type: Filter by type (case insensitive partial match, e.g. \"file\" or \"dir\") + :type type: str + :param sort: Sort order (e.g., 'name', '-name', 'type,-size,-lastModifiedTime'). Prefix with '-' for descending. + :type sort: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -19031,13 +20238,19 @@ def v1_load_extension_with_http_info(self, v1_load_extension_parameters, **kwarg :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(Extension, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'v1_load_extension_parameters' + 'id', + 'path', + 'limit', + 'offset', + 'name', + 'type', + 'sort' ] all_params.extend( [ @@ -19055,20 +20268,38 @@ def v1_load_extension_with_http_info(self, v1_load_extension_parameters, **kwarg if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_load_extension" % key + " to method v1_list_storage_files" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'v1_load_extension_parameters' is set - if self.api_client.client_side_validation and ('v1_load_extension_parameters' not in local_var_params or # noqa: E501 - local_var_params['v1_load_extension_parameters'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `v1_load_extension_parameters` when calling `v1_load_extension`") # noqa: E501 + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501 + local_var_params['id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `id` when calling `v1_list_storage_files`") # noqa: E501 + # verify the required parameter 'path' is set + if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501 + local_var_params['path'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `path` when calling `v1_list_storage_files`") # noqa: E501 collection_formats = {} path_params = {} + if 'id' in local_var_params: + path_params['id'] = local_var_params['id'] # noqa: E501 + if 'path' in local_var_params: + path_params['path'] = local_var_params['path'] # noqa: E501 query_params = [] + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501 + query_params.append(('name', local_var_params['name'])) # noqa: E501 + if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501 + query_params.append(('type', local_var_params['type'])) # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -19076,29 +20307,24 @@ def v1_load_extension_with_http_info(self, v1_load_extension_parameters, **kwarg local_var_files = {} body_params = None - if 'v1_load_extension_parameters' in local_var_params: - body_params = local_var_params['v1_load_extension_parameters'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = { - 200: "Extension", - 400: "UserError", + 200: "object", + 400: "ValidationError", + 401: "object", 403: "ApiError", + 404: "ApiNotFoundError", + 500: "object", } return self.api_client.call_api( - '/v1/extensions', 'POST', + '/v1/storage/{id}/files/{path}', 'GET', path_params, query_params, header_params, @@ -19114,20 +20340,18 @@ def v1_load_extension_with_http_info(self, v1_load_extension_parameters, **kwarg collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_media_play(self, instance_id, media_play_body, **kwargs): # noqa: E501 - """Start playing media # noqa: E501 + def v1_list_threads(self, instance_id, **kwargs): # noqa: E501 + """Get Running Threads (CoreTrace) # noqa: E501 - Start playing media # noqa: E501 + Get Running Threads (CoreTrace) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_media_play(instance_id, media_play_body, async_req=True) + >>> thread = api.v1_list_threads(instance_id, async_req=True) >>> result = thread.get() :param instance_id: Instance ID - uuid (required) :type instance_id: str - :param media_play_body: Request Body (required) - :type media_play_body: MediaPlayBody :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -19141,25 +20365,23 @@ def v1_media_play(self, instance_id, media_play_body, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: list[KernelTask] """ kwargs['_return_http_data_only'] = True - return self.v1_media_play_with_http_info(instance_id, media_play_body, **kwargs) # noqa: E501 + return self.v1_list_threads_with_http_info(instance_id, **kwargs) # noqa: E501 - def v1_media_play_with_http_info(self, instance_id, media_play_body, **kwargs): # noqa: E501 - """Start playing media # noqa: E501 + def v1_list_threads_with_http_info(self, instance_id, **kwargs): # noqa: E501 + """Get Running Threads (CoreTrace) # noqa: E501 - Start playing media # noqa: E501 + Get Running Threads (CoreTrace) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_media_play_with_http_info(instance_id, media_play_body, async_req=True) + >>> thread = api.v1_list_threads_with_http_info(instance_id, async_req=True) >>> result = thread.get() :param instance_id: Instance ID - uuid (required) :type instance_id: str - :param media_play_body: Request Body (required) - :type media_play_body: MediaPlayBody :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -19181,14 +20403,13 @@ def v1_media_play_with_http_info(self, instance_id, media_play_body, **kwargs): :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(list[KernelTask], status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() - all_params = [ - 'instance_id', - 'media_play_body' + all_params = [ + 'instance_id' ] all_params.extend( [ @@ -19206,18 +20427,14 @@ def v1_media_play_with_http_info(self, instance_id, media_play_body, **kwargs): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_media_play" % key + " to method v1_list_threads" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'instance_id' is set if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 local_var_params['instance_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_media_play`") # noqa: E501 - # verify the required parameter 'media_play_body' is set - if self.api_client.client_side_validation and ('media_play_body' not in local_var_params or # noqa: E501 - local_var_params['media_play_body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `media_play_body` when calling `v1_media_play`") # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_list_threads`") # noqa: E501 collection_formats = {} @@ -19233,25 +20450,21 @@ def v1_media_play_with_http_info(self, instance_id, media_play_body, **kwargs): local_var_files = {} body_params = None - if 'media_play_body' in local_var_params: - body_params = local_var_params['media_play_body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "list[KernelTask]", + 400: "UserError", + 403: "ApiError", + } return self.api_client.call_api( - '/v1/instances/{instanceId}/media/play', 'POST', + '/v1/instances/{instanceId}/strace/thread-list', 'GET', path_params, query_params, header_params, @@ -19267,18 +20480,20 @@ def v1_media_play_with_http_info(self, instance_id, media_play_body, **kwargs): collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_media_stop(self, instance_id, **kwargs): # noqa: E501 - """Stop playing media # noqa: E501 + def v1_media_play(self, instance_id, media_play_body, **kwargs): # noqa: E501 + """Start playing media # noqa: E501 - Stop playing media # noqa: E501 + Start playing media # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_media_stop(instance_id, async_req=True) + >>> thread = api.v1_media_play(instance_id, media_play_body, async_req=True) >>> result = thread.get() :param instance_id: Instance ID - uuid (required) :type instance_id: str + :param media_play_body: Request Body (required) + :type media_play_body: MediaPlayBody :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -19295,20 +20510,22 @@ def v1_media_stop(self, instance_id, **kwargs): # noqa: E501 :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_media_stop_with_http_info(instance_id, **kwargs) # noqa: E501 + return self.v1_media_play_with_http_info(instance_id, media_play_body, **kwargs) # noqa: E501 - def v1_media_stop_with_http_info(self, instance_id, **kwargs): # noqa: E501 - """Stop playing media # noqa: E501 + def v1_media_play_with_http_info(self, instance_id, media_play_body, **kwargs): # noqa: E501 + """Start playing media # noqa: E501 - Stop playing media # noqa: E501 + Start playing media # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_media_stop_with_http_info(instance_id, async_req=True) + >>> thread = api.v1_media_play_with_http_info(instance_id, media_play_body, async_req=True) >>> result = thread.get() :param instance_id: Instance ID - uuid (required) :type instance_id: str + :param media_play_body: Request Body (required) + :type media_play_body: MediaPlayBody :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -19336,7 +20553,8 @@ def v1_media_stop_with_http_info(self, instance_id, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ - 'instance_id' + 'instance_id', + 'media_play_body' ] all_params.extend( [ @@ -19354,14 +20572,18 @@ def v1_media_stop_with_http_info(self, instance_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_media_stop" % key + " to method v1_media_play" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'instance_id' is set if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 local_var_params['instance_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_media_stop`") # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_media_play`") # noqa: E501 + # verify the required parameter 'media_play_body' is set + if self.api_client.client_side_validation and ('media_play_body' not in local_var_params or # noqa: E501 + local_var_params['media_play_body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `media_play_body` when calling `v1_media_play`") # noqa: E501 collection_formats = {} @@ -19377,17 +20599,25 @@ def v1_media_stop_with_http_info(self, instance_id, **kwargs): # noqa: E501 local_var_files = {} body_params = None + if 'media_play_body' in local_var_params: + body_params = local_var_params['media_play_body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = {} return self.api_client.call_api( - '/v1/instances/{instanceId}/media/stop', 'POST', + '/v1/instances/{instanceId}/media/play', 'POST', path_params, query_params, header_params, @@ -19403,17 +20633,18 @@ def v1_media_stop_with_http_info(self, instance_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_parse_extension_json(self, extension, **kwargs): # noqa: E501 - """Validates extension.json # noqa: E501 + def v1_media_stop(self, instance_id, **kwargs): # noqa: E501 + """Stop playing media # noqa: E501 + Stop playing media # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_parse_extension_json(extension, async_req=True) + >>> thread = api.v1_media_stop(instance_id, async_req=True) >>> result = thread.get() - :param extension: extension.json contents (required) - :type extension: Extension + :param instance_id: Instance ID - uuid (required) + :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -19427,22 +20658,23 @@ def v1_parse_extension_json(self, extension, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: object + :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_parse_extension_json_with_http_info(extension, **kwargs) # noqa: E501 + return self.v1_media_stop_with_http_info(instance_id, **kwargs) # noqa: E501 - def v1_parse_extension_json_with_http_info(self, extension, **kwargs): # noqa: E501 - """Validates extension.json # noqa: E501 + def v1_media_stop_with_http_info(self, instance_id, **kwargs): # noqa: E501 + """Stop playing media # noqa: E501 + Stop playing media # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_parse_extension_json_with_http_info(extension, async_req=True) + >>> thread = api.v1_media_stop_with_http_info(instance_id, async_req=True) >>> result = thread.get() - :param extension: extension.json contents (required) - :type extension: Extension + :param instance_id: Instance ID - uuid (required) + :type instance_id: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -19464,13 +20696,13 @@ def v1_parse_extension_json_with_http_info(self, extension, **kwargs): # noqa: :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict)) + :rtype: None """ local_var_params = locals() all_params = [ - 'extension' + 'instance_id' ] all_params.extend( [ @@ -19488,18 +20720,20 @@ def v1_parse_extension_json_with_http_info(self, extension, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_parse_extension_json" % key + " to method v1_media_stop" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'extension' is set - if self.api_client.client_side_validation and ('extension' not in local_var_params or # noqa: E501 - local_var_params['extension'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `extension` when calling `v1_parse_extension_json`") # noqa: E501 + # verify the required parameter 'instance_id' is set + if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 + local_var_params['instance_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_media_stop`") # noqa: E501 collection_formats = {} path_params = {} + if 'instance_id' in local_var_params: + path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 query_params = [] @@ -19509,28 +20743,17 @@ def v1_parse_extension_json_with_http_info(self, extension, **kwargs): # noqa: local_var_files = {} body_params = None - if 'extension' in local_var_params: - body_params = local_var_params['extension'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 - response_types_map = { - 200: "object", - 400: "UserError", - } + response_types_map = {} return self.api_client.call_api( - '/v1/extensions/parse/extension.json', 'POST', + '/v1/instances/{instanceId}/media/stop', 'POST', path_params, query_params, header_params, @@ -21331,8 +22554,8 @@ def v1_rename_instance_snapshot_with_http_info(self, instance_id, snapshot_id, s response_types_map = { 200: "Snapshot", + 400: "ApiError", 403: "ApiError", - 404: "UserError", } return self.api_client.call_api( @@ -24163,17 +25386,164 @@ def v1_stop_hyper_trace_with_http_info(self, instance_id, **kwargs): # noqa: E5 def v1_stop_instance(self, instance_id, **kwargs): # noqa: E501 """Stop an Instance # noqa: E501 - Stop an Instance # noqa: E501 + Stop an Instance # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_stop_instance(instance_id, async_req=True) + >>> result = thread.get() + + :param instance_id: Instance ID - uuid (required) + :type instance_id: str + :param instance_stop_options: Stop options + :type instance_stop_options: InstanceStopOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + kwargs['_return_http_data_only'] = True + return self.v1_stop_instance_with_http_info(instance_id, **kwargs) # noqa: E501 + + def v1_stop_instance_with_http_info(self, instance_id, **kwargs): # noqa: E501 + """Stop an Instance # noqa: E501 + + Stop an Instance # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.v1_stop_instance_with_http_info(instance_id, async_req=True) + >>> result = thread.get() + + :param instance_id: Instance ID - uuid (required) + :type instance_id: str + :param instance_stop_options: Stop options + :type instance_stop_options: InstanceStopOptions + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _return_http_data_only: response data without head status code + and headers + :type _return_http_data_only: bool, optional + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :type _preload_content: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: None + """ + + local_var_params = locals() + + all_params = [ + 'instance_id', + 'instance_stop_options' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method v1_stop_instance" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'instance_id' is set + if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 + local_var_params['instance_id'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_stop_instance`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'instance_id' in local_var_params: + path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 + + query_params = [] + + header_params = dict(local_var_params.get('_headers', {})) + + form_params = [] + local_var_files = {} + + body_params = None + if 'instance_stop_options' in local_var_params: + body_params = local_var_params['instance_stop_options'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = local_var_params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'], + 'POST', body_params)) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerAuth'] # noqa: E501 + + response_types_map = {} + + return self.api_client.call_api( + '/v1/instances/{instanceId}/stop', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_types_map=response_types_map, + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats, + _request_auth=local_var_params.get('_request_auth')) + + def v1_stop_netdump(self, instance_id, **kwargs): # noqa: E501 + """Stop Enhanced Network Monitor on an instance. # noqa: E501 + + Stop Enhanced Network Monitor on an instance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_stop_instance(instance_id, async_req=True) + >>> thread = api.v1_stop_netdump(instance_id, async_req=True) >>> result = thread.get() :param instance_id: Instance ID - uuid (required) :type instance_id: str - :param instance_stop_options: Stop options - :type instance_stop_options: InstanceStopOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24190,22 +25560,20 @@ def v1_stop_instance(self, instance_id, **kwargs): # noqa: E501 :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_stop_instance_with_http_info(instance_id, **kwargs) # noqa: E501 + return self.v1_stop_netdump_with_http_info(instance_id, **kwargs) # noqa: E501 - def v1_stop_instance_with_http_info(self, instance_id, **kwargs): # noqa: E501 - """Stop an Instance # noqa: E501 + def v1_stop_netdump_with_http_info(self, instance_id, **kwargs): # noqa: E501 + """Stop Enhanced Network Monitor on an instance. # noqa: E501 - Stop an Instance # noqa: E501 + Stop Enhanced Network Monitor on an instance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_stop_instance_with_http_info(instance_id, async_req=True) + >>> thread = api.v1_stop_netdump_with_http_info(instance_id, async_req=True) >>> result = thread.get() :param instance_id: Instance ID - uuid (required) :type instance_id: str - :param instance_stop_options: Stop options - :type instance_stop_options: InstanceStopOptions :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -24233,8 +25601,7 @@ def v1_stop_instance_with_http_info(self, instance_id, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ - 'instance_id', - 'instance_stop_options' + 'instance_id' ] all_params.extend( [ @@ -24252,14 +25619,14 @@ def v1_stop_instance_with_http_info(self, instance_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_stop_instance" % key + " to method v1_stop_netdump" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'instance_id' is set if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 local_var_params['instance_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_stop_instance`") # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_stop_netdump`") # noqa: E501 collection_formats = {} @@ -24275,25 +25642,17 @@ def v1_stop_instance_with_http_info(self, instance_id, **kwargs): # noqa: E501 local_var_files = {} body_params = None - if 'instance_stop_options' in local_var_params: - body_params = local_var_params['instance_stop_options'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'POST', body_params)) # noqa: E501 - # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 response_types_map = {} return self.api_client.call_api( - '/v1/instances/{instanceId}/stop', 'POST', + '/v1/instances/{instanceId}/netdump/disable', 'POST', path_params, query_params, header_params, @@ -24309,14 +25668,14 @@ def v1_stop_instance_with_http_info(self, instance_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_stop_netdump(self, instance_id, **kwargs): # noqa: E501 - """Stop Enhanced Network Monitor on an instance. # noqa: E501 + def v1_stop_network_monitor(self, instance_id, **kwargs): # noqa: E501 + """Stop Network Monitor on an instance. # noqa: E501 - Stop Enhanced Network Monitor on an instance. # noqa: E501 + Stop Network Monitor on an instance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_stop_netdump(instance_id, async_req=True) + >>> thread = api.v1_stop_network_monitor(instance_id, async_req=True) >>> result = thread.get() :param instance_id: Instance ID - uuid (required) @@ -24337,16 +25696,16 @@ def v1_stop_netdump(self, instance_id, **kwargs): # noqa: E501 :rtype: None """ kwargs['_return_http_data_only'] = True - return self.v1_stop_netdump_with_http_info(instance_id, **kwargs) # noqa: E501 + return self.v1_stop_network_monitor_with_http_info(instance_id, **kwargs) # noqa: E501 - def v1_stop_netdump_with_http_info(self, instance_id, **kwargs): # noqa: E501 - """Stop Enhanced Network Monitor on an instance. # noqa: E501 + def v1_stop_network_monitor_with_http_info(self, instance_id, **kwargs): # noqa: E501 + """Stop Network Monitor on an instance. # noqa: E501 - Stop Enhanced Network Monitor on an instance. # noqa: E501 + Stop Network Monitor on an instance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_stop_netdump_with_http_info(instance_id, async_req=True) + >>> thread = api.v1_stop_network_monitor_with_http_info(instance_id, async_req=True) >>> result = thread.get() :param instance_id: Instance ID - uuid (required) @@ -24396,14 +25755,14 @@ def v1_stop_netdump_with_http_info(self, instance_id, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_stop_netdump" % key + " to method v1_stop_network_monitor" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'instance_id' is set if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 local_var_params['instance_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_stop_netdump`") # noqa: E501 + raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_stop_network_monitor`") # noqa: E501 collection_formats = {} @@ -24429,7 +25788,7 @@ def v1_stop_netdump_with_http_info(self, instance_id, **kwargs): # noqa: E501 response_types_map = {} return self.api_client.call_api( - '/v1/instances/{instanceId}/netdump/disable', 'POST', + '/v1/instances/{instanceId}/sslsplit/disable', 'POST', path_params, query_params, header_params, @@ -24445,18 +25804,30 @@ def v1_stop_netdump_with_http_info(self, instance_id, **kwargs): # noqa: E501 collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_stop_network_monitor(self, instance_id, **kwargs): # noqa: E501 - """Stop Network Monitor on an instance. # noqa: E501 + def v1_storage_get(self, **kwargs): # noqa: E501 + """Get storage devices # noqa: E501 - Stop Network Monitor on an instance. # noqa: E501 + List all attached storage devices. This endpoint is only available to all authenticated users. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_stop_network_monitor(instance_id, async_req=True) + >>> thread = api.v1_storage_get(async_req=True) >>> result = thread.get() - :param instance_id: Instance ID - uuid (required) - :type instance_id: str + :param limit: Maximum number of results to return (1–1000, default: 100) + :type limit: float + :param offset: Number of results to skip (default: 0) + :type offset: float + :param identifier: Filter by identifier (comma separated) + :type identifier: str + :param device: Filter by device name (partial match) + :type device: str + :param fs_type: Filter by filesystem type (comma separated) + :type fs_type: str + :param mount_policy: Filter by mount policy (RO or RW) + :type mount_policy: str + :param sort: Sort order (e.g. \"device\" or \"-device\") + :type sort: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -24470,23 +25841,35 @@ def v1_stop_network_monitor(self, instance_id, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: GetStorageResponse """ kwargs['_return_http_data_only'] = True - return self.v1_stop_network_monitor_with_http_info(instance_id, **kwargs) # noqa: E501 + return self.v1_storage_get_with_http_info(**kwargs) # noqa: E501 - def v1_stop_network_monitor_with_http_info(self, instance_id, **kwargs): # noqa: E501 - """Stop Network Monitor on an instance. # noqa: E501 + def v1_storage_get_with_http_info(self, **kwargs): # noqa: E501 + """Get storage devices # noqa: E501 - Stop Network Monitor on an instance. # noqa: E501 + List all attached storage devices. This endpoint is only available to all authenticated users. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_stop_network_monitor_with_http_info(instance_id, async_req=True) + >>> thread = api.v1_storage_get_with_http_info(async_req=True) >>> result = thread.get() - :param instance_id: Instance ID - uuid (required) - :type instance_id: str + :param limit: Maximum number of results to return (1–1000, default: 100) + :type limit: float + :param offset: Number of results to skip (default: 0) + :type offset: float + :param identifier: Filter by identifier (comma separated) + :type identifier: str + :param device: Filter by device name (partial match) + :type device: str + :param fs_type: Filter by filesystem type (comma separated) + :type fs_type: str + :param mount_policy: Filter by mount policy (RO or RW) + :type mount_policy: str + :param sort: Sort order (e.g. \"device\" or \"-device\") + :type sort: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -24508,13 +25891,19 @@ def v1_stop_network_monitor_with_http_info(self, instance_id, **kwargs): # noqa :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(GetStorageResponse, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ - 'instance_id' + 'limit', + 'offset', + 'identifier', + 'device', + 'fs_type', + 'mount_policy', + 'sort' ] all_params.extend( [ @@ -24532,22 +25921,30 @@ def v1_stop_network_monitor_with_http_info(self, instance_id, **kwargs): # noqa if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method v1_stop_network_monitor" % key + " to method v1_storage_get" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'instance_id' is set - if self.api_client.client_side_validation and ('instance_id' not in local_var_params or # noqa: E501 - local_var_params['instance_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `instance_id` when calling `v1_stop_network_monitor`") # noqa: E501 collection_formats = {} path_params = {} - if 'instance_id' in local_var_params: - path_params['instanceId'] = local_var_params['instance_id'] # noqa: E501 query_params = [] + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 + query_params.append(('offset', local_var_params['offset'])) # noqa: E501 + if 'identifier' in local_var_params and local_var_params['identifier'] is not None: # noqa: E501 + query_params.append(('identifier', local_var_params['identifier'])) # noqa: E501 + if 'device' in local_var_params and local_var_params['device'] is not None: # noqa: E501 + query_params.append(('device', local_var_params['device'])) # noqa: E501 + if 'fs_type' in local_var_params and local_var_params['fs_type'] is not None: # noqa: E501 + query_params.append(('fsType', local_var_params['fs_type'])) # noqa: E501 + if 'mount_policy' in local_var_params and local_var_params['mount_policy'] is not None: # noqa: E501 + query_params.append(('mountPolicy', local_var_params['mount_policy'])) # noqa: E501 + if 'sort' in local_var_params and local_var_params['sort'] is not None: # noqa: E501 + query_params.append(('sort', local_var_params['sort'])) # noqa: E501 header_params = dict(local_var_params.get('_headers', {})) @@ -24562,10 +25959,15 @@ def v1_stop_network_monitor_with_http_info(self, instance_id, **kwargs): # noqa # Authentication setting auth_settings = ['BearerAuth'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "GetStorageResponse", + 401: "object", + 403: "ApiError", + 500: "object", + } return self.api_client.call_api( - '/v1/instances/{instanceId}/sslsplit/disable', 'POST', + '/v1/storage', 'GET', path_params, query_params, header_params, @@ -25447,157 +26849,6 @@ def v1_update_domain_auth_provider_with_http_info(self, domain_id, provider_id, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_update_extension(self, extension_id, update_extension, **kwargs): # noqa: E501 - """Update an existing extension # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.v1_update_extension(extension_id, update_extension, async_req=True) - >>> result = thread.get() - - :param extension_id: Extension ID (required) - :type extension_id: str - :param update_extension: application/json (required) - :type update_extension: UpdateExtension - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - kwargs['_return_http_data_only'] = True - return self.v1_update_extension_with_http_info(extension_id, update_extension, **kwargs) # noqa: E501 - - def v1_update_extension_with_http_info(self, extension_id, update_extension, **kwargs): # noqa: E501 - """Update an existing extension # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.v1_update_extension_with_http_info(extension_id, update_extension, async_req=True) - >>> result = thread.get() - - :param extension_id: Extension ID (required) - :type extension_id: str - :param update_extension: application/json (required) - :type update_extension: UpdateExtension - :param async_req: Whether to execute the request asynchronously. - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auth: dict, optional - :type _content_type: string, optional: force content-type for the request - :return: Returns the result object. - If the method is called asynchronously, - returns the request thread. - :rtype: None - """ - - local_var_params = locals() - - all_params = [ - 'extension_id', - 'update_extension' - ] - all_params.extend( - [ - 'async_req', - '_return_http_data_only', - '_preload_content', - '_request_timeout', - '_request_auth', - '_content_type', - '_headers' - ] - ) - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise ApiTypeError( - "Got an unexpected keyword argument '%s'" - " to method v1_update_extension" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'extension_id' is set - if self.api_client.client_side_validation and ('extension_id' not in local_var_params or # noqa: E501 - local_var_params['extension_id'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `extension_id` when calling `v1_update_extension`") # noqa: E501 - # verify the required parameter 'update_extension' is set - if self.api_client.client_side_validation and ('update_extension' not in local_var_params or # noqa: E501 - local_var_params['update_extension'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `update_extension` when calling `v1_update_extension`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'extension_id' in local_var_params: - path_params['extensionId'] = local_var_params['extension_id'] # noqa: E501 - - query_params = [] - - header_params = dict(local_var_params.get('_headers', {})) - - form_params = [] - local_var_files = {} - - body_params = None - if 'update_extension' in local_var_params: - body_params = local_var_params['update_extension'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = local_var_params.get('_content_type', - self.api_client.select_header_content_type( - ['application/json'], - 'PUT', body_params)) # noqa: E501 - - # Authentication setting - auth_settings = ['BearerAuth'] # noqa: E501 - - response_types_map = {} - - return self.api_client.call_api( - '/v1/extensions/{extensionId}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_types_map=response_types_map, - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats, - _request_auth=local_var_params.get('_request_auth')) - def v1_update_hook(self, hook_id, v1_update_hook_parameters, **kwargs): # noqa: E501 """Update an existing hypervisor hook # noqa: E501 @@ -26533,20 +27784,22 @@ def v1_upgrade_instance_with_http_info(self, instance_id, instance_upgrade_body, collection_formats=collection_formats, _request_auth=local_var_params.get('_request_auth')) - def v1_upload_image_data(self, image_id, body, **kwargs): # noqa: E501 + def v1_upload_image_data(self, image_id, **kwargs): # noqa: E501 """Upload Image Data # noqa: E501 If the active project has enough remaining quota, updates an Image with the contents of the request body. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_upload_image_data(image_id, body, async_req=True) + >>> thread = api.v1_upload_image_data(image_id, async_req=True) >>> result = thread.get() :param image_id: Image ID - uuid (required) :type image_id: str - :param body: Uploaded Image (required) - :type body: str + :param corellium_checksum: Corellium Checksum of the uploaded firmware + :type corellium_checksum: str + :param file: Optionally the actual file + :type file: file :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -26560,25 +27813,27 @@ def v1_upload_image_data(self, image_id, body, **kwargs): # noqa: E501 :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: Image """ kwargs['_return_http_data_only'] = True - return self.v1_upload_image_data_with_http_info(image_id, body, **kwargs) # noqa: E501 + return self.v1_upload_image_data_with_http_info(image_id, **kwargs) # noqa: E501 - def v1_upload_image_data_with_http_info(self, image_id, body, **kwargs): # noqa: E501 + def v1_upload_image_data_with_http_info(self, image_id, **kwargs): # noqa: E501 """Upload Image Data # noqa: E501 If the active project has enough remaining quota, updates an Image with the contents of the request body. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.v1_upload_image_data_with_http_info(image_id, body, async_req=True) + >>> thread = api.v1_upload_image_data_with_http_info(image_id, async_req=True) >>> result = thread.get() :param image_id: Image ID - uuid (required) :type image_id: str - :param body: Uploaded Image (required) - :type body: str + :param corellium_checksum: Corellium Checksum of the uploaded firmware + :type corellium_checksum: str + :param file: Optionally the actual file + :type file: file :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _return_http_data_only: response data without head status code @@ -26600,14 +27855,15 @@ def v1_upload_image_data_with_http_info(self, image_id, body, **kwargs): # noqa :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: None + :rtype: tuple(Image, status_code(int), headers(HTTPHeaderDict)) """ local_var_params = locals() all_params = [ 'image_id', - 'body' + 'corellium_checksum', + 'file' ] all_params.extend( [ @@ -26633,10 +27889,6 @@ def v1_upload_image_data_with_http_info(self, image_id, body, **kwargs): # noqa if self.api_client.client_side_validation and ('image_id' not in local_var_params or # noqa: E501 local_var_params['image_id'] is None): # noqa: E501 raise ApiValueError("Missing the required parameter `image_id` when calling `v1_upload_image_data`") # noqa: E501 - # verify the required parameter 'body' is set - if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 - local_var_params['body'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `body` when calling `v1_upload_image_data`") # noqa: E501 collection_formats = {} @@ -26650,20 +27902,30 @@ def v1_upload_image_data_with_http_info(self, image_id, body, **kwargs): # noqa form_params = [] local_var_files = {} + if 'corellium_checksum' in local_var_params: + form_params.append(('corelliumChecksum', local_var_params['corellium_checksum'])) # noqa: E501 + if 'file' in local_var_params: + local_var_files['file'] = local_var_params['file'] # noqa: E501 body_params = None - if 'body' in local_var_params: - body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + # HTTP header `Content-Type` header_params['Content-Type'] = local_var_params.get('_content_type', self.api_client.select_header_content_type( - ['binary'], + ['multipart/form-data'], 'POST', body_params)) # noqa: E501 # Authentication setting - auth_settings = [] # noqa: E501 + auth_settings = ['BearerAuth'] # noqa: E501 - response_types_map = {} + response_types_map = { + 200: "Image", + 404: "ApiNotFoundError", + 409: "ApiConflictError", + } return self.api_client.call_api( '/v1/images/{imageId}', 'POST', diff --git a/corellium_api/api_client.py b/corellium_api/api_client.py index bdd225e..dd5f392 100644 --- a/corellium_api/api_client.py +++ b/corellium_api/api_client.py @@ -4,7 +4,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/configuration.py b/corellium_api/configuration.py index d4a5102..95734fd 100644 --- a/corellium_api/configuration.py +++ b/corellium_api/configuration.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -385,7 +385,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 7.6.0-29198\n"\ + "Version of the API: 7.9.0\n"\ "SDK Package Version: 0.4.2".\ format(env=sys.platform, pyversion=sys.version) diff --git a/corellium_api/exceptions.py b/corellium_api/exceptions.py index 49dd56c..3280563 100644 --- a/corellium_api/exceptions.py +++ b/corellium_api/exceptions.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/__init__.py b/corellium_api/models/__init__.py index 8dc4e48..2cb4f1e 100644 --- a/corellium_api/models/__init__.py +++ b/corellium_api/models/__init__.py @@ -6,7 +6,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -50,8 +50,11 @@ from corellium_api.models.btrace_enable_options import BtraceEnableOptions from corellium_api.models.button import Button from corellium_api.models.check_subdomain_response import CheckSubdomainResponse +from corellium_api.models.cluster_configuration_payload import ClusterConfigurationPayload +from corellium_api.models.cluster_snapshot import ClusterSnapshot from corellium_api.models.config_response import ConfigResponse from corellium_api.models.config_response_maintenance import ConfigResponseMaintenance +from corellium_api.models.coordinator_config import CoordinatorConfig from corellium_api.models.coupon_options import CouponOptions from corellium_api.models.create_assessment_dto import CreateAssessmentDto from corellium_api.models.create_interconnect_request import CreateInterconnectRequest @@ -70,20 +73,25 @@ from corellium_api.models.file_changes import FileChanges from corellium_api.models.firmware import Firmware from corellium_api.models.firmware_asset import FirmwareAsset +from corellium_api.models.firmware_service_configuration import FirmwareServiceConfiguration from corellium_api.models.get_assessments_by_instance_id500_response import GetAssessmentsByInstanceId500Response from corellium_api.models.get_interconnects_response import GetInterconnectsResponse +from corellium_api.models.get_storage_response import GetStorageResponse from corellium_api.models.gpio_state_definition import GpioStateDefinition from corellium_api.models.gpios_state import GpiosState from corellium_api.models.grant_trial_request_response import GrantTrialRequestResponse from corellium_api.models.hook import Hook from corellium_api.models.image import Image from corellium_api.models.input_response import InputResponse +from corellium_api.models.install_firmware_assets_request import InstallFirmwareAssetsRequest +from corellium_api.models.install_firmware_assets_response import InstallFirmwareAssetsResponse from corellium_api.models.install_firmware_request import InstallFirmwareRequest from corellium_api.models.install_firmware_response import InstallFirmwareResponse from corellium_api.models.instance import Instance from corellium_api.models.instance_agent_state import InstanceAgentState from corellium_api.models.instance_boot_options import InstanceBootOptions from corellium_api.models.instance_boot_options_additional_tag import InstanceBootOptionsAdditionalTag +from corellium_api.models.instance_boot_options_kernel import InstanceBootOptionsKernel from corellium_api.models.instance_console_endpoint import InstanceConsoleEndpoint from corellium_api.models.instance_create_options import InstanceCreateOptions from corellium_api.models.instance_input import InstanceInput @@ -106,6 +114,7 @@ from corellium_api.models.logging import Logging from corellium_api.models.maintenance import Maintenance from corellium_api.models.media_play_body import MediaPlayBody +from corellium_api.models.media_store import MediaStore from corellium_api.models.metered_subscription_usage import MeteredSubscriptionUsage from corellium_api.models.model import Model from corellium_api.models.model_software import ModelSoftware @@ -116,6 +125,7 @@ from corellium_api.models.network_connection_provider_offset_pagination_result import NetworkConnectionProviderOffsetPaginationResult from corellium_api.models.network_status_response import NetworkStatusResponse from corellium_api.models.node_information import NodeInformation +from corellium_api.models.node_updates_failed import NodeUpdatesFailed from corellium_api.models.open_id_config import OpenIDConfig from corellium_api.models.pagination import Pagination from corellium_api.models.partial_update_interconnect_request import PartialUpdateInterconnectRequest @@ -141,14 +151,15 @@ from corellium_api.models.shared_snapshots_info import SharedSnapshotsInfo from corellium_api.models.snapshot import Snapshot from corellium_api.models.snapshot_creation_options import SnapshotCreationOptions +from corellium_api.models.snapshot_list import SnapshotList from corellium_api.models.snapshot_member import SnapshotMember from corellium_api.models.snapshot_owner import SnapshotOwner from corellium_api.models.snapshot_permissions_request_payload import SnapshotPermissionsRequestPayload +from corellium_api.models.snapshot_request import SnapshotRequest from corellium_api.models.snapshot_sharing import SnapshotSharing from corellium_api.models.snapshot_sharing_permissions import SnapshotSharingPermissions from corellium_api.models.snapshot_status import SnapshotStatus from corellium_api.models.sslsplit_filter import SslsplitFilter -from corellium_api.models.subscriber_invite import SubscriberInvite from corellium_api.models.team import Team from corellium_api.models.team_create import TeamCreate from corellium_api.models.test_assessment_dto import TestAssessmentDto diff --git a/corellium_api/models/activity.py b/corellium_api/models/activity.py index 1e0e55a..b4244e9 100644 --- a/corellium_api/models/activity.py +++ b/corellium_api/models/activity.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/activity_export_dto.py b/corellium_api/models/activity_export_dto.py index b844e1c..8e15ef8 100644 --- a/corellium_api/models/activity_export_dto.py +++ b/corellium_api/models/activity_export_dto.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/activity_export_response.py b/corellium_api/models/activity_export_response.py index f95335c..2690fa3 100644 --- a/corellium_api/models/activity_export_response.py +++ b/corellium_api/models/activity_export_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/activity_list.py b/corellium_api/models/activity_list.py index d69b614..d67701d 100644 --- a/corellium_api/models/activity_list.py +++ b/corellium_api/models/activity_list.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/activity_request.py b/corellium_api/models/activity_request.py index 180bd1f..9c2c41b 100644 --- a/corellium_api/models/activity_request.py +++ b/corellium_api/models/activity_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/address.py b/corellium_api/models/address.py index d0aa534..eddc341 100644 --- a/corellium_api/models/address.py +++ b/corellium_api/models/address.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_app.py b/corellium_api/models/agent_app.py index 8c20764..5ba519b 100644 --- a/corellium_api/models/agent_app.py +++ b/corellium_api/models/agent_app.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_app_ready_response.py b/corellium_api/models/agent_app_ready_response.py index 0c85c5f..e7043da 100644 --- a/corellium_api/models/agent_app_ready_response.py +++ b/corellium_api/models/agent_app_ready_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_app_status.py b/corellium_api/models/agent_app_status.py index 22d84a1..d8411e4 100644 --- a/corellium_api/models/agent_app_status.py +++ b/corellium_api/models/agent_app_status.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_apps_list.py b/corellium_api/models/agent_apps_list.py index cfb26d3..d55b8e2 100644 --- a/corellium_api/models/agent_apps_list.py +++ b/corellium_api/models/agent_apps_list.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_apps_status_list.py b/corellium_api/models/agent_apps_status_list.py index 618d747..04efb76 100644 --- a/corellium_api/models/agent_apps_status_list.py +++ b/corellium_api/models/agent_apps_status_list.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_error.py b/corellium_api/models/agent_error.py index 5fd42ea..39104fd 100644 --- a/corellium_api/models/agent_error.py +++ b/corellium_api/models/agent_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_icons.py b/corellium_api/models/agent_icons.py index f6b4726..2ca8310 100644 --- a/corellium_api/models/agent_icons.py +++ b/corellium_api/models/agent_icons.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_install_body.py b/corellium_api/models/agent_install_body.py index 9fea20f..631d8ba 100644 --- a/corellium_api/models/agent_install_body.py +++ b/corellium_api/models/agent_install_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_profiles_return.py b/corellium_api/models/agent_profiles_return.py index c90478a..bc8360b 100644 --- a/corellium_api/models/agent_profiles_return.py +++ b/corellium_api/models/agent_profiles_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_system_adb_auth.py b/corellium_api/models/agent_system_adb_auth.py index 76c4cb6..4cccd18 100644 --- a/corellium_api/models/agent_system_adb_auth.py +++ b/corellium_api/models/agent_system_adb_auth.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_system_get_prop_body.py b/corellium_api/models/agent_system_get_prop_body.py index 1b234ae..98ec9c4 100644 --- a/corellium_api/models/agent_system_get_prop_body.py +++ b/corellium_api/models/agent_system_get_prop_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_system_set_hostname_body.py b/corellium_api/models/agent_system_set_hostname_body.py index 614736c..e2e668f 100644 --- a/corellium_api/models/agent_system_set_hostname_body.py +++ b/corellium_api/models/agent_system_set_hostname_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agent_value_return.py b/corellium_api/models/agent_value_return.py index a19cc80..3b6b980 100644 --- a/corellium_api/models/agent_value_return.py +++ b/corellium_api/models/agent_value_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/agreed_ack.py b/corellium_api/models/agreed_ack.py index fd5a30b..fa5c86d 100644 --- a/corellium_api/models/agreed_ack.py +++ b/corellium_api/models/agreed_ack.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/allowed_domains_response.py b/corellium_api/models/allowed_domains_response.py index 86abe52..d36c5ff 100644 --- a/corellium_api/models/allowed_domains_response.py +++ b/corellium_api/models/allowed_domains_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/api_conflict_error.py b/corellium_api/models/api_conflict_error.py index 4d0f7d3..bd29379 100644 --- a/corellium_api/models/api_conflict_error.py +++ b/corellium_api/models/api_conflict_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/api_error.py b/corellium_api/models/api_error.py index d67a1bb..b3780b3 100644 --- a/corellium_api/models/api_error.py +++ b/corellium_api/models/api_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/api_internal_consistency_error.py b/corellium_api/models/api_internal_consistency_error.py index f7b7cc0..be11144 100644 --- a/corellium_api/models/api_internal_consistency_error.py +++ b/corellium_api/models/api_internal_consistency_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/api_not_found_error.py b/corellium_api/models/api_not_found_error.py index 03052f1..5b0e911 100644 --- a/corellium_api/models/api_not_found_error.py +++ b/corellium_api/models/api_not_found_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/api_token.py b/corellium_api/models/api_token.py index 1bc8bab..9fc1784 100644 --- a/corellium_api/models/api_token.py +++ b/corellium_api/models/api_token.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/assessment.py b/corellium_api/models/assessment.py index b306c1e..25fd638 100644 --- a/corellium_api/models/assessment.py +++ b/corellium_api/models/assessment.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/assessment_history.py b/corellium_api/models/assessment_history.py index 187e427..118d174 100644 --- a/corellium_api/models/assessment_history.py +++ b/corellium_api/models/assessment_history.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/assessment_history_line_item.py b/corellium_api/models/assessment_history_line_item.py index 4ea9033..45ade80 100644 --- a/corellium_api/models/assessment_history_line_item.py +++ b/corellium_api/models/assessment_history_line_item.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/assessment_id_status.py b/corellium_api/models/assessment_id_status.py index a4a98d8..e026e29 100644 --- a/corellium_api/models/assessment_id_status.py +++ b/corellium_api/models/assessment_id_status.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/attach_interface_request.py b/corellium_api/models/attach_interface_request.py index 5e84eeb..b706d17 100644 --- a/corellium_api/models/attach_interface_request.py +++ b/corellium_api/models/attach_interface_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/auth_provider.py b/corellium_api/models/auth_provider.py index 83bf4f3..1de2a50 100644 --- a/corellium_api/models/auth_provider.py +++ b/corellium_api/models/auth_provider.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/bit.py b/corellium_api/models/bit.py index b7da4ca..e28b72c 100644 --- a/corellium_api/models/bit.py +++ b/corellium_api/models/bit.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/btrace_enable_options.py b/corellium_api/models/btrace_enable_options.py index 5c56705..c91e79c 100644 --- a/corellium_api/models/btrace_enable_options.py +++ b/corellium_api/models/btrace_enable_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/button.py b/corellium_api/models/button.py index c8ce7ac..db39a58 100644 --- a/corellium_api/models/button.py +++ b/corellium_api/models/button.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/check_subdomain_response.py b/corellium_api/models/check_subdomain_response.py index 0b773b1..18ad3be 100644 --- a/corellium_api/models/check_subdomain_response.py +++ b/corellium_api/models/check_subdomain_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/cluster_configuration_payload.py b/corellium_api/models/cluster_configuration_payload.py new file mode 100644 index 0000000..560c98d --- /dev/null +++ b/corellium_api/models/cluster_configuration_payload.py @@ -0,0 +1,158 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class ClusterConfigurationPayload(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'snapshot_limit': 'float', + 'coordinator_config': 'CoordinatorConfig' + } + + attribute_map = { + 'snapshot_limit': 'snapshotLimit', + 'coordinator_config': 'coordinatorConfig' + } + + def __init__(self, snapshot_limit=None, coordinator_config=None, local_vars_configuration=None): # noqa: E501 + """ClusterConfigurationPayload - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._snapshot_limit = None + self._coordinator_config = None + self.discriminator = None + + self.snapshot_limit = snapshot_limit + if coordinator_config is not None: + self.coordinator_config = coordinator_config + + @property + def snapshot_limit(self): + """Gets the snapshot_limit of this ClusterConfigurationPayload. # noqa: E501 + + Designates the maximum number of snapshots that can be taken in a cluster # noqa: E501 + + :return: The snapshot_limit of this ClusterConfigurationPayload. # noqa: E501 + :rtype: float + """ + return self._snapshot_limit + + @snapshot_limit.setter + def snapshot_limit(self, snapshot_limit): + """Sets the snapshot_limit of this ClusterConfigurationPayload. + + Designates the maximum number of snapshots that can be taken in a cluster # noqa: E501 + + :param snapshot_limit: The snapshot_limit of this ClusterConfigurationPayload. # noqa: E501 + :type snapshot_limit: float + """ + + self._snapshot_limit = snapshot_limit + + @property + def coordinator_config(self): + """Gets the coordinator_config of this ClusterConfigurationPayload. # noqa: E501 + + + :return: The coordinator_config of this ClusterConfigurationPayload. # noqa: E501 + :rtype: CoordinatorConfig + """ + return self._coordinator_config + + @coordinator_config.setter + def coordinator_config(self, coordinator_config): + """Sets the coordinator_config of this ClusterConfigurationPayload. + + + :param coordinator_config: The coordinator_config of this ClusterConfigurationPayload. # noqa: E501 + :type coordinator_config: CoordinatorConfig + """ + + self._coordinator_config = coordinator_config + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ClusterConfigurationPayload): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ClusterConfigurationPayload): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/cluster_snapshot.py b/corellium_api/models/cluster_snapshot.py new file mode 100644 index 0000000..20df3ba --- /dev/null +++ b/corellium_api/models/cluster_snapshot.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class ClusterSnapshot(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'identifier': 'str' + } + + attribute_map = { + 'identifier': 'identifier' + } + + def __init__(self, identifier=None, local_vars_configuration=None): # noqa: E501 + """ClusterSnapshot - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._identifier = None + self.discriminator = None + + self.identifier = identifier + + @property + def identifier(self): + """Gets the identifier of this ClusterSnapshot. # noqa: E501 + + Unique identifier for the snapshot # noqa: E501 + + :return: The identifier of this ClusterSnapshot. # noqa: E501 + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ClusterSnapshot. + + Unique identifier for the snapshot # noqa: E501 + + :param identifier: The identifier of this ClusterSnapshot. # noqa: E501 + :type identifier: str + """ + + self._identifier = identifier + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ClusterSnapshot): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ClusterSnapshot): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/config_response.py b/corellium_api/models/config_response.py index efa32a0..e7dfc7b 100644 --- a/corellium_api/models/config_response.py +++ b/corellium_api/models/config_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/config_response_maintenance.py b/corellium_api/models/config_response_maintenance.py index f5cfd5b..1334c5a 100644 --- a/corellium_api/models/config_response_maintenance.py +++ b/corellium_api/models/config_response_maintenance.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/coordinator_config.py b/corellium_api/models/coordinator_config.py new file mode 100644 index 0000000..d9bb59c --- /dev/null +++ b/corellium_api/models/coordinator_config.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class CoordinatorConfig(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'usb_media_access_enabled': 'bool' + } + + attribute_map = { + 'usb_media_access_enabled': 'usbMediaAccessEnabled' + } + + def __init__(self, usb_media_access_enabled=None, local_vars_configuration=None): # noqa: E501 + """CoordinatorConfig - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._usb_media_access_enabled = None + self.discriminator = None + + self.usb_media_access_enabled = usb_media_access_enabled + + @property + def usb_media_access_enabled(self): + """Gets the usb_media_access_enabled of this CoordinatorConfig. # noqa: E501 + + Designates the maximum number of snapshots that can be taken in a cluster # noqa: E501 + + :return: The usb_media_access_enabled of this CoordinatorConfig. # noqa: E501 + :rtype: bool + """ + return self._usb_media_access_enabled + + @usb_media_access_enabled.setter + def usb_media_access_enabled(self, usb_media_access_enabled): + """Sets the usb_media_access_enabled of this CoordinatorConfig. + + Designates the maximum number of snapshots that can be taken in a cluster # noqa: E501 + + :param usb_media_access_enabled: The usb_media_access_enabled of this CoordinatorConfig. # noqa: E501 + :type usb_media_access_enabled: bool + """ + + self._usb_media_access_enabled = usb_media_access_enabled + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoordinatorConfig): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CoordinatorConfig): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/coupon_options.py b/corellium_api/models/coupon_options.py index be939d3..b645933 100644 --- a/corellium_api/models/coupon_options.py +++ b/corellium_api/models/coupon_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/create_assessment_dto.py b/corellium_api/models/create_assessment_dto.py index 3729f9f..ec12276 100644 --- a/corellium_api/models/create_assessment_dto.py +++ b/corellium_api/models/create_assessment_dto.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/create_interconnect_request.py b/corellium_api/models/create_interconnect_request.py index b365b73..6face14 100644 --- a/corellium_api/models/create_interconnect_request.py +++ b/corellium_api/models/create_interconnect_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/create_network_connection_options.py b/corellium_api/models/create_network_connection_options.py index 1d3fdab..5af2574 100644 --- a/corellium_api/models/create_network_connection_options.py +++ b/corellium_api/models/create_network_connection_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/create_team.py b/corellium_api/models/create_team.py index 7653b80..51c65fb 100644 --- a/corellium_api/models/create_team.py +++ b/corellium_api/models/create_team.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/created_by.py b/corellium_api/models/created_by.py index 079a9e3..82a276e 100644 --- a/corellium_api/models/created_by.py +++ b/corellium_api/models/created_by.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/credentials.py b/corellium_api/models/credentials.py index 711bdbb..c9221cf 100644 --- a/corellium_api/models/credentials.py +++ b/corellium_api/models/credentials.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/detach_interface_request.py b/corellium_api/models/detach_interface_request.py index 2a709e5..34f59d5 100644 --- a/corellium_api/models/detach_interface_request.py +++ b/corellium_api/models/detach_interface_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/device.py b/corellium_api/models/device.py index b3874e1..6cf8647 100644 --- a/corellium_api/models/device.py +++ b/corellium_api/models/device.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/domain_auth_provider_request.py b/corellium_api/models/domain_auth_provider_request.py index 09789ff..6464286 100644 --- a/corellium_api/models/domain_auth_provider_request.py +++ b/corellium_api/models/domain_auth_provider_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/domain_auth_provider_response.py b/corellium_api/models/domain_auth_provider_response.py index e0c898d..6efddfc 100644 --- a/corellium_api/models/domain_auth_provider_response.py +++ b/corellium_api/models/domain_auth_provider_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/domain_options.py b/corellium_api/models/domain_options.py index fd2402e..59d716b 100644 --- a/corellium_api/models/domain_options.py +++ b/corellium_api/models/domain_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/extended_firmware_asset_info.py b/corellium_api/models/extended_firmware_asset_info.py index 4ecf581..8da8801 100644 --- a/corellium_api/models/extended_firmware_asset_info.py +++ b/corellium_api/models/extended_firmware_asset_info.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/extension.py b/corellium_api/models/extension.py index e4cbe17..85aabde 100644 --- a/corellium_api/models/extension.py +++ b/corellium_api/models/extension.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/features.py b/corellium_api/models/features.py index 230021a..ada864f 100644 --- a/corellium_api/models/features.py +++ b/corellium_api/models/features.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/file_changes.py b/corellium_api/models/file_changes.py index 83cdc03..5aebc17 100644 --- a/corellium_api/models/file_changes.py +++ b/corellium_api/models/file_changes.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/firmware.py b/corellium_api/models/firmware.py index d9423ee..2e6699a 100644 --- a/corellium_api/models/firmware.py +++ b/corellium_api/models/firmware.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/firmware_asset.py b/corellium_api/models/firmware_asset.py index 93016f0..c3d3806 100644 --- a/corellium_api/models/firmware_asset.py +++ b/corellium_api/models/firmware_asset.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/firmware_service_configuration.py b/corellium_api/models/firmware_service_configuration.py new file mode 100644 index 0000000..519ab51 --- /dev/null +++ b/corellium_api/models/firmware_service_configuration.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class FirmwareServiceConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'cache_firmware': 'bool', + 'cluster_firmware_assets': 'bool', + 'fallback_original_url': 'bool', + 'fetch_firmware_assets': 'bool', + 'should_download': 'bool' + } + + attribute_map = { + 'cache_firmware': 'cacheFirmware', + 'cluster_firmware_assets': 'clusterFirmwareAssets', + 'fallback_original_url': 'fallbackOriginalUrl', + 'fetch_firmware_assets': 'fetchFirmwareAssets', + 'should_download': 'shouldDownload' + } + + def __init__(self, cache_firmware=None, cluster_firmware_assets=None, fallback_original_url=None, fetch_firmware_assets=None, should_download=None, local_vars_configuration=None): # noqa: E501 + """FirmwareServiceConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._cache_firmware = None + self._cluster_firmware_assets = None + self._fallback_original_url = None + self._fetch_firmware_assets = None + self._should_download = None + self.discriminator = None + + self.cache_firmware = cache_firmware + self.cluster_firmware_assets = cluster_firmware_assets + self.fallback_original_url = fallback_original_url + self.fetch_firmware_assets = fetch_firmware_assets + self.should_download = should_download + + @property + def cache_firmware(self): + """Gets the cache_firmware of this FirmwareServiceConfiguration. # noqa: E501 + + Cache Firmwares in /var/ipsw # noqa: E501 + + :return: The cache_firmware of this FirmwareServiceConfiguration. # noqa: E501 + :rtype: bool + """ + return self._cache_firmware + + @cache_firmware.setter + def cache_firmware(self, cache_firmware): + """Sets the cache_firmware of this FirmwareServiceConfiguration. + + Cache Firmwares in /var/ipsw # noqa: E501 + + :param cache_firmware: The cache_firmware of this FirmwareServiceConfiguration. # noqa: E501 + :type cache_firmware: bool + """ + + self._cache_firmware = cache_firmware + + @property + def cluster_firmware_assets(self): + """Gets the cluster_firmware_assets of this FirmwareServiceConfiguration. # noqa: E501 + + Assets are cluster-wide # noqa: E501 + + :return: The cluster_firmware_assets of this FirmwareServiceConfiguration. # noqa: E501 + :rtype: bool + """ + return self._cluster_firmware_assets + + @cluster_firmware_assets.setter + def cluster_firmware_assets(self, cluster_firmware_assets): + """Sets the cluster_firmware_assets of this FirmwareServiceConfiguration. + + Assets are cluster-wide # noqa: E501 + + :param cluster_firmware_assets: The cluster_firmware_assets of this FirmwareServiceConfiguration. # noqa: E501 + :type cluster_firmware_assets: bool + """ + + self._cluster_firmware_assets = cluster_firmware_assets + + @property + def fallback_original_url(self): + """Gets the fallback_original_url of this FirmwareServiceConfiguration. # noqa: E501 + + Use original URL to fetch firmware # noqa: E501 + + :return: The fallback_original_url of this FirmwareServiceConfiguration. # noqa: E501 + :rtype: bool + """ + return self._fallback_original_url + + @fallback_original_url.setter + def fallback_original_url(self, fallback_original_url): + """Sets the fallback_original_url of this FirmwareServiceConfiguration. + + Use original URL to fetch firmware # noqa: E501 + + :param fallback_original_url: The fallback_original_url of this FirmwareServiceConfiguration. # noqa: E501 + :type fallback_original_url: bool + """ + + self._fallback_original_url = fallback_original_url + + @property + def fetch_firmware_assets(self): + """Gets the fetch_firmware_assets of this FirmwareServiceConfiguration. # noqa: E501 + + Automatically fetch assets # noqa: E501 + + :return: The fetch_firmware_assets of this FirmwareServiceConfiguration. # noqa: E501 + :rtype: bool + """ + return self._fetch_firmware_assets + + @fetch_firmware_assets.setter + def fetch_firmware_assets(self, fetch_firmware_assets): + """Sets the fetch_firmware_assets of this FirmwareServiceConfiguration. + + Automatically fetch assets # noqa: E501 + + :param fetch_firmware_assets: The fetch_firmware_assets of this FirmwareServiceConfiguration. # noqa: E501 + :type fetch_firmware_assets: bool + """ + + self._fetch_firmware_assets = fetch_firmware_assets + + @property + def should_download(self): + """Gets the should_download of this FirmwareServiceConfiguration. # noqa: E501 + + Download firmwares # noqa: E501 + + :return: The should_download of this FirmwareServiceConfiguration. # noqa: E501 + :rtype: bool + """ + return self._should_download + + @should_download.setter + def should_download(self, should_download): + """Sets the should_download of this FirmwareServiceConfiguration. + + Download firmwares # noqa: E501 + + :param should_download: The should_download of this FirmwareServiceConfiguration. # noqa: E501 + :type should_download: bool + """ + + self._should_download = should_download + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FirmwareServiceConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FirmwareServiceConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/get_assessments_by_instance_id500_response.py b/corellium_api/models/get_assessments_by_instance_id500_response.py index 22c7cf4..2d00410 100644 --- a/corellium_api/models/get_assessments_by_instance_id500_response.py +++ b/corellium_api/models/get_assessments_by_instance_id500_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/get_interconnects_response.py b/corellium_api/models/get_interconnects_response.py index 8e2f8c1..c7d3b38 100644 --- a/corellium_api/models/get_interconnects_response.py +++ b/corellium_api/models/get_interconnects_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/get_storage_response.py b/corellium_api/models/get_storage_response.py new file mode 100644 index 0000000..04feaf7 --- /dev/null +++ b/corellium_api/models/get_storage_response.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class GetStorageResponse(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'results': 'list[MediaStore]', + 'count': 'float', + 'total': 'float', + 'limit': 'float', + 'offset': 'float' + } + + attribute_map = { + 'results': 'results', + 'count': 'count', + 'total': 'total', + 'limit': 'limit', + 'offset': 'offset' + } + + def __init__(self, results=None, count=None, total=None, limit=None, offset=None, local_vars_configuration=None): # noqa: E501 + """GetStorageResponse - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._results = None + self._count = None + self._total = None + self._limit = None + self._offset = None + self.discriminator = None + + self.results = results + self.count = count + self.total = total + self.limit = limit + self.offset = offset + + @property + def results(self): + """Gets the results of this GetStorageResponse. # noqa: E501 + + Array of storage devices # noqa: E501 + + :return: The results of this GetStorageResponse. # noqa: E501 + :rtype: list[MediaStore] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this GetStorageResponse. + + Array of storage devices # noqa: E501 + + :param results: The results of this GetStorageResponse. # noqa: E501 + :type results: list[MediaStore] + """ + + self._results = results + + @property + def count(self): + """Gets the count of this GetStorageResponse. # noqa: E501 + + Number of storage devices in this response # noqa: E501 + + :return: The count of this GetStorageResponse. # noqa: E501 + :rtype: float + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this GetStorageResponse. + + Number of storage devices in this response # noqa: E501 + + :param count: The count of this GetStorageResponse. # noqa: E501 + :type count: float + """ + + self._count = count + + @property + def total(self): + """Gets the total of this GetStorageResponse. # noqa: E501 + + Total number of storage devices # noqa: E501 + + :return: The total of this GetStorageResponse. # noqa: E501 + :rtype: float + """ + return self._total + + @total.setter + def total(self, total): + """Sets the total of this GetStorageResponse. + + Total number of storage devices # noqa: E501 + + :param total: The total of this GetStorageResponse. # noqa: E501 + :type total: float + """ + + self._total = total + + @property + def limit(self): + """Gets the limit of this GetStorageResponse. # noqa: E501 + + Limit used for pagination # noqa: E501 + + :return: The limit of this GetStorageResponse. # noqa: E501 + :rtype: float + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this GetStorageResponse. + + Limit used for pagination # noqa: E501 + + :param limit: The limit of this GetStorageResponse. # noqa: E501 + :type limit: float + """ + + self._limit = limit + + @property + def offset(self): + """Gets the offset of this GetStorageResponse. # noqa: E501 + + Offset used for pagination # noqa: E501 + + :return: The offset of this GetStorageResponse. # noqa: E501 + :rtype: float + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this GetStorageResponse. + + Offset used for pagination # noqa: E501 + + :param offset: The offset of this GetStorageResponse. # noqa: E501 + :type offset: float + """ + + self._offset = offset + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GetStorageResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, GetStorageResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/gpio_state_definition.py b/corellium_api/models/gpio_state_definition.py index 3bae812..a46d493 100644 --- a/corellium_api/models/gpio_state_definition.py +++ b/corellium_api/models/gpio_state_definition.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/gpios_state.py b/corellium_api/models/gpios_state.py index 91585d7..6c97f11 100644 --- a/corellium_api/models/gpios_state.py +++ b/corellium_api/models/gpios_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/grant_trial_request_response.py b/corellium_api/models/grant_trial_request_response.py index 4e3f798..29690ed 100644 --- a/corellium_api/models/grant_trial_request_response.py +++ b/corellium_api/models/grant_trial_request_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/hook.py b/corellium_api/models/hook.py index bc1c749..d05c647 100644 --- a/corellium_api/models/hook.py +++ b/corellium_api/models/hook.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/image.py b/corellium_api/models/image.py index 0362882..6e7337a 100644 --- a/corellium_api/models/image.py +++ b/corellium_api/models/image.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/input_response.py b/corellium_api/models/input_response.py index ce8c5bc..8650b55 100644 --- a/corellium_api/models/input_response.py +++ b/corellium_api/models/input_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/install_firmware_assets_request.py b/corellium_api/models/install_firmware_assets_request.py new file mode 100644 index 0000000..4134597 --- /dev/null +++ b/corellium_api/models/install_firmware_assets_request.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class InstallFirmwareAssetsRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'image_id': 'str' + } + + attribute_map = { + 'image_id': 'imageId' + } + + def __init__(self, image_id=None, local_vars_configuration=None): # noqa: E501 + """InstallFirmwareAssetsRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._image_id = None + self.discriminator = None + + self.image_id = image_id + + @property + def image_id(self): + """Gets the image_id of this InstallFirmwareAssetsRequest. # noqa: E501 + + Image ID # noqa: E501 + + :return: The image_id of this InstallFirmwareAssetsRequest. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this InstallFirmwareAssetsRequest. + + Image ID # noqa: E501 + + :param image_id: The image_id of this InstallFirmwareAssetsRequest. # noqa: E501 + :type image_id: str + """ + if self.local_vars_configuration.client_side_validation and image_id is None: # noqa: E501 + raise ValueError("Invalid value for `image_id`, must not be `None`") # noqa: E501 + + self._image_id = image_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstallFirmwareAssetsRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InstallFirmwareAssetsRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/install_firmware_assets_response.py b/corellium_api/models/install_firmware_assets_response.py new file mode 100644 index 0000000..8615f89 --- /dev/null +++ b/corellium_api/models/install_firmware_assets_response.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class InstallFirmwareAssetsResponse(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'task_id': 'str' + } + + attribute_map = { + 'task_id': 'taskId' + } + + def __init__(self, task_id=None, local_vars_configuration=None): # noqa: E501 + """InstallFirmwareAssetsResponse - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._task_id = None + self.discriminator = None + + self.task_id = task_id + + @property + def task_id(self): + """Gets the task_id of this InstallFirmwareAssetsResponse. # noqa: E501 + + Task ID # noqa: E501 + + :return: The task_id of this InstallFirmwareAssetsResponse. # noqa: E501 + :rtype: str + """ + return self._task_id + + @task_id.setter + def task_id(self, task_id): + """Sets the task_id of this InstallFirmwareAssetsResponse. + + Task ID # noqa: E501 + + :param task_id: The task_id of this InstallFirmwareAssetsResponse. # noqa: E501 + :type task_id: str + """ + + self._task_id = task_id + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstallFirmwareAssetsResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InstallFirmwareAssetsResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/install_firmware_request.py b/corellium_api/models/install_firmware_request.py index 67ab1e2..bb07601 100644 --- a/corellium_api/models/install_firmware_request.py +++ b/corellium_api/models/install_firmware_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/install_firmware_response.py b/corellium_api/models/install_firmware_response.py index af2a974..7628d7c 100644 --- a/corellium_api/models/install_firmware_response.py +++ b/corellium_api/models/install_firmware_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance.py b/corellium_api/models/instance.py index 2311941..dca2b5a 100644 --- a/corellium_api/models/instance.py +++ b/corellium_api/models/instance.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_agent_state.py b/corellium_api/models/instance_agent_state.py index 884454c..9dfb857 100644 --- a/corellium_api/models/instance_agent_state.py +++ b/corellium_api/models/instance_agent_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_boot_options.py b/corellium_api/models/instance_boot_options.py index d1318c7..67305f9 100644 --- a/corellium_api/models/instance_boot_options.py +++ b/corellium_api/models/instance_boot_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -43,7 +43,8 @@ class InstanceBootOptions(object): 'random_seed': 'str', 'pac': 'bool', 'aprr': 'bool', - 'additional_tags': 'list[InstanceBootOptionsAdditionalTag]' + 'additional_tags': 'list[InstanceBootOptionsAdditionalTag]', + 'kernel': 'InstanceBootOptionsKernel' } attribute_map = { @@ -54,10 +55,11 @@ class InstanceBootOptions(object): 'random_seed': 'randomSeed', 'pac': 'pac', 'aprr': 'aprr', - 'additional_tags': 'additionalTags' + 'additional_tags': 'additionalTags', + 'kernel': 'kernel' } - def __init__(self, boot_args=None, restore_boot_args=None, udid=None, ecid=None, random_seed=None, pac=None, aprr=None, additional_tags=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, boot_args=None, restore_boot_args=None, udid=None, ecid=None, random_seed=None, pac=None, aprr=None, additional_tags=None, kernel=None, local_vars_configuration=None): # noqa: E501 """InstanceBootOptions - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -71,6 +73,7 @@ def __init__(self, boot_args=None, restore_boot_args=None, udid=None, ecid=None, self._pac = None self._aprr = None self._additional_tags = None + self._kernel = None self.discriminator = None self.boot_args = boot_args @@ -81,6 +84,8 @@ def __init__(self, boot_args=None, restore_boot_args=None, udid=None, ecid=None, self.pac = pac self.aprr = aprr self.additional_tags = additional_tags + if kernel is not None: + self.kernel = kernel @property def boot_args(self): @@ -266,6 +271,27 @@ def additional_tags(self, additional_tags): self._additional_tags = additional_tags + @property + def kernel(self): + """Gets the kernel of this InstanceBootOptions. # noqa: E501 + + + :return: The kernel of this InstanceBootOptions. # noqa: E501 + :rtype: InstanceBootOptionsKernel + """ + return self._kernel + + @kernel.setter + def kernel(self, kernel): + """Sets the kernel of this InstanceBootOptions. + + + :param kernel: The kernel of this InstanceBootOptions. # noqa: E501 + :type kernel: InstanceBootOptionsKernel + """ + + self._kernel = kernel + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/corellium_api/models/instance_boot_options_additional_tag.py b/corellium_api/models/instance_boot_options_additional_tag.py index 80586ba..c9fb367 100644 --- a/corellium_api/models/instance_boot_options_additional_tag.py +++ b/corellium_api/models/instance_boot_options_additional_tag.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_boot_options_kernel.py b/corellium_api/models/instance_boot_options_kernel.py new file mode 100644 index 0000000..3ee870d --- /dev/null +++ b/corellium_api/models/instance_boot_options_kernel.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class InstanceBootOptionsKernel(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'firmware_path': 'str' + } + + attribute_map = { + 'firmware_path': 'firmwarePath' + } + + def __init__(self, firmware_path=None, local_vars_configuration=None): # noqa: E501 + """InstanceBootOptionsKernel - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._firmware_path = None + self.discriminator = None + + self.firmware_path = firmware_path + + @property + def firmware_path(self): + """Gets the firmware_path of this InstanceBootOptionsKernel. # noqa: E501 + + The relative path within the firmware to the kernel file that has been bundled up with the selected firmware # noqa: E501 + + :return: The firmware_path of this InstanceBootOptionsKernel. # noqa: E501 + :rtype: str + """ + return self._firmware_path + + @firmware_path.setter + def firmware_path(self, firmware_path): + """Sets the firmware_path of this InstanceBootOptionsKernel. + + The relative path within the firmware to the kernel file that has been bundled up with the selected firmware # noqa: E501 + + :param firmware_path: The firmware_path of this InstanceBootOptionsKernel. # noqa: E501 + :type firmware_path: str + """ + + self._firmware_path = firmware_path + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InstanceBootOptionsKernel): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, InstanceBootOptionsKernel): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/instance_console_endpoint.py b/corellium_api/models/instance_console_endpoint.py index 93631c7..8a095d0 100644 --- a/corellium_api/models/instance_console_endpoint.py +++ b/corellium_api/models/instance_console_endpoint.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_create_options.py b/corellium_api/models/instance_create_options.py index 4cd5593..6fd0439 100644 --- a/corellium_api/models/instance_create_options.py +++ b/corellium_api/models/instance_create_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -48,7 +48,8 @@ class InstanceCreateOptions(object): 'fwpackage': 'str', 'orig_fw_package_url': 'str', 'encrypt': 'bool', - 'wifi_mac': 'str' + 'wifi_mac': 'str', + 'wan_access': 'bool' } attribute_map = { @@ -64,10 +65,11 @@ class InstanceCreateOptions(object): 'fwpackage': 'fwpackage', 'orig_fw_package_url': 'origFwPackageUrl', 'encrypt': 'encrypt', - 'wifi_mac': 'wifiMac' + 'wifi_mac': 'wifiMac', + 'wan_access': 'wanAccess' } - def __init__(self, shared_snapshot=None, shared_snapshot_password=None, name=None, key=None, flavor=None, project=None, os=None, osbuild=None, patches=None, fwpackage=None, orig_fw_package_url=None, encrypt=None, wifi_mac=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, shared_snapshot=None, shared_snapshot_password=None, name=None, key=None, flavor=None, project=None, os=None, osbuild=None, patches=None, fwpackage=None, orig_fw_package_url=None, encrypt=None, wifi_mac=None, wan_access=None, local_vars_configuration=None): # noqa: E501 """InstanceCreateOptions - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -86,6 +88,7 @@ def __init__(self, shared_snapshot=None, shared_snapshot_password=None, name=Non self._orig_fw_package_url = None self._encrypt = None self._wifi_mac = None + self._wan_access = None self.discriminator = None self.shared_snapshot = shared_snapshot @@ -101,6 +104,7 @@ def __init__(self, shared_snapshot=None, shared_snapshot_password=None, name=Non self.orig_fw_package_url = orig_fw_package_url self.encrypt = encrypt self.wifi_mac = wifi_mac + self.wan_access = wan_access @property def shared_snapshot(self): @@ -407,6 +411,29 @@ def wifi_mac(self, wifi_mac): self._wifi_mac = wifi_mac + @property + def wan_access(self): + """Gets the wan_access of this InstanceCreateOptions. # noqa: E501 + + manages internet access # noqa: E501 + + :return: The wan_access of this InstanceCreateOptions. # noqa: E501 + :rtype: bool + """ + return self._wan_access + + @wan_access.setter + def wan_access(self, wan_access): + """Sets the wan_access of this InstanceCreateOptions. + + manages internet access # noqa: E501 + + :param wan_access: The wan_access of this InstanceCreateOptions. # noqa: E501 + :type wan_access: bool + """ + + self._wan_access = wan_access + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/corellium_api/models/instance_input.py b/corellium_api/models/instance_input.py index 4a087aa..193dc5e 100644 --- a/corellium_api/models/instance_input.py +++ b/corellium_api/models/instance_input.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_interface.py b/corellium_api/models/instance_interface.py index cd99e87..abe9f72 100644 --- a/corellium_api/models/instance_interface.py +++ b/corellium_api/models/instance_interface.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_netdump_state.py b/corellium_api/models/instance_netdump_state.py index f8df951..cb0848f 100644 --- a/corellium_api/models/instance_netdump_state.py +++ b/corellium_api/models/instance_netdump_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_netmon_state.py b/corellium_api/models/instance_netmon_state.py index 155e053..41ea949 100644 --- a/corellium_api/models/instance_netmon_state.py +++ b/corellium_api/models/instance_netmon_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_return.py b/corellium_api/models/instance_return.py index 7d73e22..5e51c08 100644 --- a/corellium_api/models/instance_return.py +++ b/corellium_api/models/instance_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_services.py b/corellium_api/models/instance_services.py index 37a5d8f..0f7a8c4 100644 --- a/corellium_api/models/instance_services.py +++ b/corellium_api/models/instance_services.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_start_options.py b/corellium_api/models/instance_start_options.py index 8e90cb3..9229d76 100644 --- a/corellium_api/models/instance_start_options.py +++ b/corellium_api/models/instance_start_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_state.py b/corellium_api/models/instance_state.py index c69288f..39bc919 100644 --- a/corellium_api/models/instance_state.py +++ b/corellium_api/models/instance_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_stop_options.py b/corellium_api/models/instance_stop_options.py index c83cc0a..b220ecc 100644 --- a/corellium_api/models/instance_stop_options.py +++ b/corellium_api/models/instance_stop_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/instance_upgrade_body.py b/corellium_api/models/instance_upgrade_body.py index 992a364..09c0549 100644 --- a/corellium_api/models/instance_upgrade_body.py +++ b/corellium_api/models/instance_upgrade_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/interconnect_response.py b/corellium_api/models/interconnect_response.py index 705c5e6..e27f4bf 100644 --- a/corellium_api/models/interconnect_response.py +++ b/corellium_api/models/interconnect_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/invitation.py b/corellium_api/models/invitation.py index f29946f..c244b26 100644 --- a/corellium_api/models/invitation.py +++ b/corellium_api/models/invitation.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/invite_revoke_params.py b/corellium_api/models/invite_revoke_params.py index bb07663..a6fc9db 100644 --- a/corellium_api/models/invite_revoke_params.py +++ b/corellium_api/models/invite_revoke_params.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/invite_revoke_params_ids.py b/corellium_api/models/invite_revoke_params_ids.py index 3c07cd6..327842a 100644 --- a/corellium_api/models/invite_revoke_params_ids.py +++ b/corellium_api/models/invite_revoke_params_ids.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/kcrange.py b/corellium_api/models/kcrange.py index 01ed75a..9b96fcd 100644 --- a/corellium_api/models/kcrange.py +++ b/corellium_api/models/kcrange.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/kernel_task.py b/corellium_api/models/kernel_task.py index 99b20e3..ef408f5 100644 --- a/corellium_api/models/kernel_task.py +++ b/corellium_api/models/kernel_task.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/kernel_thread.py b/corellium_api/models/kernel_thread.py index 5f79bb8..7f800e0 100644 --- a/corellium_api/models/kernel_thread.py +++ b/corellium_api/models/kernel_thread.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/logging.py b/corellium_api/models/logging.py index 5605411..ef51458 100644 --- a/corellium_api/models/logging.py +++ b/corellium_api/models/logging.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/maintenance.py b/corellium_api/models/maintenance.py index ee3a543..a91b695 100644 --- a/corellium_api/models/maintenance.py +++ b/corellium_api/models/maintenance.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/media_play_body.py b/corellium_api/models/media_play_body.py index c96e884..8ea9eb8 100644 --- a/corellium_api/models/media_play_body.py +++ b/corellium_api/models/media_play_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/media_store.py b/corellium_api/models/media_store.py new file mode 100644 index 0000000..cef98d6 --- /dev/null +++ b/corellium_api/models/media_store.py @@ -0,0 +1,402 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class MediaStore(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'identifier': 'str', + 'device': 'str', + 'fs_type': 'str', + 'fs_uuid': 'str', + 'label': 'str', + 'serial': 'str', + 'vendor': 'str', + 'model': 'str', + 'mount_policy': 'str', + 'created_at': 'str', + 'updated_at': 'str' + } + + attribute_map = { + 'identifier': 'identifier', + 'device': 'device', + 'fs_type': 'fsType', + 'fs_uuid': 'fsUUID', + 'label': 'label', + 'serial': 'serial', + 'vendor': 'vendor', + 'model': 'model', + 'mount_policy': 'mountPolicy', + 'created_at': 'createdAt', + 'updated_at': 'updatedAt' + } + + def __init__(self, identifier=None, device=None, fs_type=None, fs_uuid=None, label=None, serial=None, vendor=None, model=None, mount_policy=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501 + """MediaStore - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._identifier = None + self._device = None + self._fs_type = None + self._fs_uuid = None + self._label = None + self._serial = None + self._vendor = None + self._model = None + self._mount_policy = None + self._created_at = None + self._updated_at = None + self.discriminator = None + + self.identifier = identifier + self.device = device + self.fs_type = fs_type + self.fs_uuid = fs_uuid + self.label = label + self.serial = serial + self.vendor = vendor + self.model = model + self.mount_policy = mount_policy + self.created_at = created_at + self.updated_at = updated_at + + @property + def identifier(self): + """Gets the identifier of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The identifier of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this MediaStore. + + # noqa: E501 + + :param identifier: The identifier of this MediaStore. # noqa: E501 + :type identifier: str + """ + + self._identifier = identifier + + @property + def device(self): + """Gets the device of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The device of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._device + + @device.setter + def device(self, device): + """Sets the device of this MediaStore. + + # noqa: E501 + + :param device: The device of this MediaStore. # noqa: E501 + :type device: str + """ + + self._device = device + + @property + def fs_type(self): + """Gets the fs_type of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The fs_type of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """Sets the fs_type of this MediaStore. + + # noqa: E501 + + :param fs_type: The fs_type of this MediaStore. # noqa: E501 + :type fs_type: str + """ + + self._fs_type = fs_type + + @property + def fs_uuid(self): + """Gets the fs_uuid of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The fs_uuid of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._fs_uuid + + @fs_uuid.setter + def fs_uuid(self, fs_uuid): + """Sets the fs_uuid of this MediaStore. + + # noqa: E501 + + :param fs_uuid: The fs_uuid of this MediaStore. # noqa: E501 + :type fs_uuid: str + """ + + self._fs_uuid = fs_uuid + + @property + def label(self): + """Gets the label of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The label of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._label + + @label.setter + def label(self, label): + """Sets the label of this MediaStore. + + # noqa: E501 + + :param label: The label of this MediaStore. # noqa: E501 + :type label: str + """ + + self._label = label + + @property + def serial(self): + """Gets the serial of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The serial of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._serial + + @serial.setter + def serial(self, serial): + """Sets the serial of this MediaStore. + + # noqa: E501 + + :param serial: The serial of this MediaStore. # noqa: E501 + :type serial: str + """ + + self._serial = serial + + @property + def vendor(self): + """Gets the vendor of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The vendor of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._vendor + + @vendor.setter + def vendor(self, vendor): + """Sets the vendor of this MediaStore. + + # noqa: E501 + + :param vendor: The vendor of this MediaStore. # noqa: E501 + :type vendor: str + """ + + self._vendor = vendor + + @property + def model(self): + """Gets the model of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The model of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._model + + @model.setter + def model(self, model): + """Sets the model of this MediaStore. + + # noqa: E501 + + :param model: The model of this MediaStore. # noqa: E501 + :type model: str + """ + + self._model = model + + @property + def mount_policy(self): + """Gets the mount_policy of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The mount_policy of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._mount_policy + + @mount_policy.setter + def mount_policy(self, mount_policy): + """Sets the mount_policy of this MediaStore. + + # noqa: E501 + + :param mount_policy: The mount_policy of this MediaStore. # noqa: E501 + :type mount_policy: str + """ + + self._mount_policy = mount_policy + + @property + def created_at(self): + """Gets the created_at of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The created_at of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this MediaStore. + + # noqa: E501 + + :param created_at: The created_at of this MediaStore. # noqa: E501 + :type created_at: str + """ + + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this MediaStore. # noqa: E501 + + # noqa: E501 + + :return: The updated_at of this MediaStore. # noqa: E501 + :rtype: str + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this MediaStore. + + # noqa: E501 + + :param updated_at: The updated_at of this MediaStore. # noqa: E501 + :type updated_at: str + """ + + self._updated_at = updated_at + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MediaStore): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, MediaStore): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/metered_subscription_usage.py b/corellium_api/models/metered_subscription_usage.py index 27e8bfd..340d666 100644 --- a/corellium_api/models/metered_subscription_usage.py +++ b/corellium_api/models/metered_subscription_usage.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/model.py b/corellium_api/models/model.py index 8e258ab..051b26e 100644 --- a/corellium_api/models/model.py +++ b/corellium_api/models/model.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/model_software.py b/corellium_api/models/model_software.py index b898ed7..9e987e7 100644 --- a/corellium_api/models/model_software.py +++ b/corellium_api/models/model_software.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/netdump_filter.py b/corellium_api/models/netdump_filter.py index 1cceebc..1f02133 100644 --- a/corellium_api/models/netdump_filter.py +++ b/corellium_api/models/netdump_filter.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/network_connection.py b/corellium_api/models/network_connection.py index 93ff22d..3c995ed 100644 --- a/corellium_api/models/network_connection.py +++ b/corellium_api/models/network_connection.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/network_connection_offset_pagination_result.py b/corellium_api/models/network_connection_offset_pagination_result.py index 03a3167..2ea5edd 100644 --- a/corellium_api/models/network_connection_offset_pagination_result.py +++ b/corellium_api/models/network_connection_offset_pagination_result.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/network_connection_provider.py b/corellium_api/models/network_connection_provider.py index 2c5e9b1..89fbba4 100644 --- a/corellium_api/models/network_connection_provider.py +++ b/corellium_api/models/network_connection_provider.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/network_connection_provider_offset_pagination_result.py b/corellium_api/models/network_connection_provider_offset_pagination_result.py index c8b144e..67cd8d1 100644 --- a/corellium_api/models/network_connection_provider_offset_pagination_result.py +++ b/corellium_api/models/network_connection_provider_offset_pagination_result.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/network_status_response.py b/corellium_api/models/network_status_response.py index 7655bdf..8b78528 100644 --- a/corellium_api/models/network_status_response.py +++ b/corellium_api/models/network_status_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/node_information.py b/corellium_api/models/node_information.py index 63c5c5a..a572ce6 100644 --- a/corellium_api/models/node_information.py +++ b/corellium_api/models/node_information.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/node_updates_failed.py b/corellium_api/models/node_updates_failed.py new file mode 100644 index 0000000..7aecbbf --- /dev/null +++ b/corellium_api/models/node_updates_failed.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class NodeUpdatesFailed(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'message': 'str', + 'nodes': 'list[NodeInformation]' + } + + attribute_map = { + 'message': 'message', + 'nodes': 'nodes' + } + + def __init__(self, message=None, nodes=None, local_vars_configuration=None): # noqa: E501 + """NodeUpdatesFailed - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._message = None + self._nodes = None + self.discriminator = None + + self.message = message + self.nodes = nodes + + @property + def message(self): + """Gets the message of this NodeUpdatesFailed. # noqa: E501 + + Instructions to try again or resolve manually # noqa: E501 + + :return: The message of this NodeUpdatesFailed. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this NodeUpdatesFailed. + + Instructions to try again or resolve manually # noqa: E501 + + :param message: The message of this NodeUpdatesFailed. # noqa: E501 + :type message: str + """ + + self._message = message + + @property + def nodes(self): + """Gets the nodes of this NodeUpdatesFailed. # noqa: E501 + + List of nodes that failed to receive updates. # noqa: E501 + + :return: The nodes of this NodeUpdatesFailed. # noqa: E501 + :rtype: list[NodeInformation] + """ + return self._nodes + + @nodes.setter + def nodes(self, nodes): + """Sets the nodes of this NodeUpdatesFailed. + + List of nodes that failed to receive updates. # noqa: E501 + + :param nodes: The nodes of this NodeUpdatesFailed. # noqa: E501 + :type nodes: list[NodeInformation] + """ + + self._nodes = nodes + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NodeUpdatesFailed): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, NodeUpdatesFailed): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/open_id_config.py b/corellium_api/models/open_id_config.py index 0bb86be..51c8c32 100644 --- a/corellium_api/models/open_id_config.py +++ b/corellium_api/models/open_id_config.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/pagination.py b/corellium_api/models/pagination.py index 3dfff99..9b09575 100644 --- a/corellium_api/models/pagination.py +++ b/corellium_api/models/pagination.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/partial_update_interconnect_request.py b/corellium_api/models/partial_update_interconnect_request.py index 227650e..1a3d905 100644 --- a/corellium_api/models/partial_update_interconnect_request.py +++ b/corellium_api/models/partial_update_interconnect_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -37,17 +37,15 @@ class PartialUpdateInterconnectRequest(object): """ openapi_types = { 'name': 'str', - 'interfaces': 'list[object]', - 'interfaces': 'str' + 'interfaces': 'list[object]' } attribute_map = { 'name': 'name', - 'interfaces': 'interfaces', - 'interfaces': 'interfaces[]' + 'interfaces': 'interfaces' } - def __init__(self, name=None, interfaces=None, interfaces=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, name=None, interfaces=None, local_vars_configuration=None): # noqa: E501 """PartialUpdateInterconnectRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -55,12 +53,10 @@ def __init__(self, name=None, interfaces=None, interfaces=None, local_vars_confi self._name = None self._interfaces = None - self._interfaces = None self.discriminator = None self.name = name self.interfaces = interfaces - self.interfaces = interfaces @property def name(self): @@ -108,29 +104,6 @@ def interfaces(self, interfaces): self._interfaces = interfaces - @property - def interfaces(self): - """Gets the interfaces of this PartialUpdateInterconnectRequest. # noqa: E501 - - The interface identifier # noqa: E501 - - :return: The interfaces of this PartialUpdateInterconnectRequest. # noqa: E501 - :rtype: str - """ - return self._interfaces - - @interfaces.setter - def interfaces(self, interfaces): - """Sets the interfaces of this PartialUpdateInterconnectRequest. - - The interface identifier # noqa: E501 - - :param interfaces: The interfaces of this PartialUpdateInterconnectRequest. # noqa: E501 - :type interfaces: str - """ - - self._interfaces = interfaces - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/corellium_api/models/password_change_body.py b/corellium_api/models/password_change_body.py index 4f46ad2..d4bf2ad 100644 --- a/corellium_api/models/password_change_body.py +++ b/corellium_api/models/password_change_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/password_reset_body.py b/corellium_api/models/password_reset_body.py index 29437b1..cfee8b4 100644 --- a/corellium_api/models/password_reset_body.py +++ b/corellium_api/models/password_reset_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/patch_instance_options.py b/corellium_api/models/patch_instance_options.py index 1bfd3cc..11edd1b 100644 --- a/corellium_api/models/patch_instance_options.py +++ b/corellium_api/models/patch_instance_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/patch_instance_read_only.py b/corellium_api/models/patch_instance_read_only.py index 806d771..2ba69e2 100644 --- a/corellium_api/models/patch_instance_read_only.py +++ b/corellium_api/models/patch_instance_read_only.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/peripherals_data.py b/corellium_api/models/peripherals_data.py index 2cb1994..7ae539a 100644 --- a/corellium_api/models/peripherals_data.py +++ b/corellium_api/models/peripherals_data.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/plan.py b/corellium_api/models/plan.py index 77ca43c..bd545a3 100644 --- a/corellium_api/models/plan.py +++ b/corellium_api/models/plan.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/post_share_snapshot_request_payload.py b/corellium_api/models/post_share_snapshot_request_payload.py index 0a050eb..c8bc2fa 100644 --- a/corellium_api/models/post_share_snapshot_request_payload.py +++ b/corellium_api/models/post_share_snapshot_request_payload.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/project.py b/corellium_api/models/project.py index 54fef82..e957e4a 100644 --- a/corellium_api/models/project.py +++ b/corellium_api/models/project.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/project_key.py b/corellium_api/models/project_key.py index 58b4b08..0037973 100644 --- a/corellium_api/models/project_key.py +++ b/corellium_api/models/project_key.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/project_network_state.py b/corellium_api/models/project_network_state.py index fd9a2b3..b90a136 100644 --- a/corellium_api/models/project_network_state.py +++ b/corellium_api/models/project_network_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/project_quota.py b/corellium_api/models/project_quota.py index ce4cacf..f2c49a5 100644 --- a/corellium_api/models/project_quota.py +++ b/corellium_api/models/project_quota.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/project_settings.py b/corellium_api/models/project_settings.py index 5b4be84..dcbecb8 100644 --- a/corellium_api/models/project_settings.py +++ b/corellium_api/models/project_settings.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/project_usage.py b/corellium_api/models/project_usage.py index 402ff60..6c2777b 100644 --- a/corellium_api/models/project_usage.py +++ b/corellium_api/models/project_usage.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/proxy_config.py b/corellium_api/models/proxy_config.py index 5a5f1f5..3192c5b 100644 --- a/corellium_api/models/proxy_config.py +++ b/corellium_api/models/proxy_config.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/reset_link_body.py b/corellium_api/models/reset_link_body.py index 8abfb7c..7cdef98 100644 --- a/corellium_api/models/reset_link_body.py +++ b/corellium_api/models/reset_link_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/reset_link_info_return.py b/corellium_api/models/reset_link_info_return.py index c742e32..525cdc3 100644 --- a/corellium_api/models/reset_link_info_return.py +++ b/corellium_api/models/reset_link_info_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/restore_backup_data.py b/corellium_api/models/restore_backup_data.py index 009d435..ef98592 100644 --- a/corellium_api/models/restore_backup_data.py +++ b/corellium_api/models/restore_backup_data.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/role.py b/corellium_api/models/role.py index f23c387..6b37586 100644 --- a/corellium_api/models/role.py +++ b/corellium_api/models/role.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/rotate_body.py b/corellium_api/models/rotate_body.py index b70cf9b..255bf04 100644 --- a/corellium_api/models/rotate_body.py +++ b/corellium_api/models/rotate_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/shared_snapshots_info.py b/corellium_api/models/shared_snapshots_info.py index 0d59784..111f212 100644 --- a/corellium_api/models/shared_snapshots_info.py +++ b/corellium_api/models/shared_snapshots_info.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/snapshot.py b/corellium_api/models/snapshot.py index 99ac04c..f41b5c2 100644 --- a/corellium_api/models/snapshot.py +++ b/corellium_api/models/snapshot.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/snapshot_creation_options.py b/corellium_api/models/snapshot_creation_options.py index 49aae1e..4a1e2c5 100644 --- a/corellium_api/models/snapshot_creation_options.py +++ b/corellium_api/models/snapshot_creation_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/snapshot_list.py b/corellium_api/models/snapshot_list.py new file mode 100644 index 0000000..2e451e0 --- /dev/null +++ b/corellium_api/models/snapshot_list.py @@ -0,0 +1,213 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class SnapshotList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'results': 'list[ClusterSnapshot]', + 'offset': 'float', + 'limit': 'float', + 'count': 'float' + } + + attribute_map = { + 'results': 'results', + 'offset': 'offset', + 'limit': 'limit', + 'count': 'count' + } + + def __init__(self, results=None, offset=None, limit=None, count=None, local_vars_configuration=None): # noqa: E501 + """SnapshotList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._results = None + self._offset = None + self._limit = None + self._count = None + self.discriminator = None + + self.results = results + self.offset = offset + self.limit = limit + self.count = count + + @property + def results(self): + """Gets the results of this SnapshotList. # noqa: E501 + + List of snapshots # noqa: E501 + + :return: The results of this SnapshotList. # noqa: E501 + :rtype: list[ClusterSnapshot] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this SnapshotList. + + List of snapshots # noqa: E501 + + :param results: The results of this SnapshotList. # noqa: E501 + :type results: list[ClusterSnapshot] + """ + + self._results = results + + @property + def offset(self): + """Gets the offset of this SnapshotList. # noqa: E501 + + Offset for pagination, defaults to 0 # noqa: E501 + + :return: The offset of this SnapshotList. # noqa: E501 + :rtype: float + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this SnapshotList. + + Offset for pagination, defaults to 0 # noqa: E501 + + :param offset: The offset of this SnapshotList. # noqa: E501 + :type offset: float + """ + + self._offset = offset + + @property + def limit(self): + """Gets the limit of this SnapshotList. # noqa: E501 + + Number of items to return, defaults to 100, minimum of 1 and maximum of 1000 # noqa: E501 + + :return: The limit of this SnapshotList. # noqa: E501 + :rtype: float + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this SnapshotList. + + Number of items to return, defaults to 100, minimum of 1 and maximum of 1000 # noqa: E501 + + :param limit: The limit of this SnapshotList. # noqa: E501 + :type limit: float + """ + + self._limit = limit + + @property + def count(self): + """Gets the count of this SnapshotList. # noqa: E501 + + Number of items in current response # noqa: E501 + + :return: The count of this SnapshotList. # noqa: E501 + :rtype: float + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this SnapshotList. + + Number of items in current response # noqa: E501 + + :param count: The count of this SnapshotList. # noqa: E501 + :type count: float + """ + + self._count = count + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SnapshotList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SnapshotList): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/snapshot_member.py b/corellium_api/models/snapshot_member.py index d6841ab..72f93d3 100644 --- a/corellium_api/models/snapshot_member.py +++ b/corellium_api/models/snapshot_member.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/snapshot_owner.py b/corellium_api/models/snapshot_owner.py index f82740a..b07acfe 100644 --- a/corellium_api/models/snapshot_owner.py +++ b/corellium_api/models/snapshot_owner.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/snapshot_permissions_request_payload.py b/corellium_api/models/snapshot_permissions_request_payload.py index 8d1593b..25ee75b 100644 --- a/corellium_api/models/snapshot_permissions_request_payload.py +++ b/corellium_api/models/snapshot_permissions_request_payload.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/snapshot_request.py b/corellium_api/models/snapshot_request.py new file mode 100644 index 0000000..1e3ed2d --- /dev/null +++ b/corellium_api/models/snapshot_request.py @@ -0,0 +1,402 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +try: + from inspect import getfullargspec +except ImportError: + from inspect import getargspec as getfullargspec +import pprint +import re # noqa: F401 +import six + +from corellium_api.configuration import Configuration + + +class SnapshotRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'limit': 'float', + 'offset': 'float', + 'springboard': 'bool', + 'live': 'bool', + 'fresh': 'bool', + 'device_name': 'str', + 'task': 'str', + 'to': 'str', + '_from': 'str', + 'order_by': 'str', + 'search': 'str' + } + + attribute_map = { + 'limit': 'limit', + 'offset': 'offset', + 'springboard': 'springboard', + 'live': 'live', + 'fresh': 'fresh', + 'device_name': 'deviceName', + 'task': 'task', + 'to': 'to', + '_from': 'from', + 'order_by': 'orderBy', + 'search': 'search' + } + + def __init__(self, limit=None, offset=None, springboard=None, live=None, fresh=None, device_name=None, task=None, to=None, _from=None, order_by=None, search=None, local_vars_configuration=None): # noqa: E501 + """SnapshotRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration.get_default_copy() + self.local_vars_configuration = local_vars_configuration + + self._limit = None + self._offset = None + self._springboard = None + self._live = None + self._fresh = None + self._device_name = None + self._task = None + self._to = None + self.__from = None + self._order_by = None + self._search = None + self.discriminator = None + + self.limit = limit + self.offset = offset + self.springboard = springboard + self.live = live + self.fresh = fresh + self.device_name = device_name + self.task = task + self.to = to + self._from = _from + self.order_by = order_by + self.search = search + + @property + def limit(self): + """Gets the limit of this SnapshotRequest. # noqa: E501 + + Number of entries to return, defaults to 100 # noqa: E501 + + :return: The limit of this SnapshotRequest. # noqa: E501 + :rtype: float + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this SnapshotRequest. + + Number of entries to return, defaults to 100 # noqa: E501 + + :param limit: The limit of this SnapshotRequest. # noqa: E501 + :type limit: float + """ + + self._limit = limit + + @property + def offset(self): + """Gets the offset of this SnapshotRequest. # noqa: E501 + + Number of rows to skip, defaults to 0 # noqa: E501 + + :return: The offset of this SnapshotRequest. # noqa: E501 + :rtype: float + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this SnapshotRequest. + + Number of rows to skip, defaults to 0 # noqa: E501 + + :param offset: The offset of this SnapshotRequest. # noqa: E501 + :type offset: float + """ + + self._offset = offset + + @property + def springboard(self): + """Gets the springboard of this SnapshotRequest. # noqa: E501 + + Denotes whether snapshot was a springboard snapshot # noqa: E501 + + :return: The springboard of this SnapshotRequest. # noqa: E501 + :rtype: bool + """ + return self._springboard + + @springboard.setter + def springboard(self, springboard): + """Sets the springboard of this SnapshotRequest. + + Denotes whether snapshot was a springboard snapshot # noqa: E501 + + :param springboard: The springboard of this SnapshotRequest. # noqa: E501 + :type springboard: bool + """ + + self._springboard = springboard + + @property + def live(self): + """Gets the live of this SnapshotRequest. # noqa: E501 + + Denotes whether snapshot was a live snapshot # noqa: E501 + + :return: The live of this SnapshotRequest. # noqa: E501 + :rtype: bool + """ + return self._live + + @live.setter + def live(self, live): + """Sets the live of this SnapshotRequest. + + Denotes whether snapshot was a live snapshot # noqa: E501 + + :param live: The live of this SnapshotRequest. # noqa: E501 + :type live: bool + """ + + self._live = live + + @property + def fresh(self): + """Gets the fresh of this SnapshotRequest. # noqa: E501 + + Denotes whether snapshot was created immediately after the device was restored # noqa: E501 + + :return: The fresh of this SnapshotRequest. # noqa: E501 + :rtype: bool + """ + return self._fresh + + @fresh.setter + def fresh(self, fresh): + """Sets the fresh of this SnapshotRequest. + + Denotes whether snapshot was created immediately after the device was restored # noqa: E501 + + :param fresh: The fresh of this SnapshotRequest. # noqa: E501 + :type fresh: bool + """ + + self._fresh = fresh + + @property + def device_name(self): + """Gets the device_name of this SnapshotRequest. # noqa: E501 + + Name of device # noqa: E501 + + :return: The device_name of this SnapshotRequest. # noqa: E501 + :rtype: str + """ + return self._device_name + + @device_name.setter + def device_name(self, device_name): + """Sets the device_name of this SnapshotRequest. + + Name of device # noqa: E501 + + :param device_name: The device_name of this SnapshotRequest. # noqa: E501 + :type device_name: str + """ + + self._device_name = device_name + + @property + def task(self): + """Gets the task of this SnapshotRequest. # noqa: E501 + + Task being executed on snapshot # noqa: E501 + + :return: The task of this SnapshotRequest. # noqa: E501 + :rtype: str + """ + return self._task + + @task.setter + def task(self, task): + """Sets the task of this SnapshotRequest. + + Task being executed on snapshot # noqa: E501 + + :param task: The task of this SnapshotRequest. # noqa: E501 + :type task: str + """ + + self._task = task + + @property + def to(self): + """Gets the to of this SnapshotRequest. # noqa: E501 + + Date to filter to, keyed off of createdAt # noqa: E501 + + :return: The to of this SnapshotRequest. # noqa: E501 + :rtype: str + """ + return self._to + + @to.setter + def to(self, to): + """Sets the to of this SnapshotRequest. + + Date to filter to, keyed off of createdAt # noqa: E501 + + :param to: The to of this SnapshotRequest. # noqa: E501 + :type to: str + """ + + self._to = to + + @property + def _from(self): + """Gets the _from of this SnapshotRequest. # noqa: E501 + + Date to filter from, keyed off of createdAt # noqa: E501 + + :return: The _from of this SnapshotRequest. # noqa: E501 + :rtype: str + """ + return self.__from + + @_from.setter + def _from(self, _from): + """Sets the _from of this SnapshotRequest. + + Date to filter from, keyed off of createdAt # noqa: E501 + + :param _from: The _from of this SnapshotRequest. # noqa: E501 + :type _from: str + """ + + self.__from = _from + + @property + def order_by(self): + """Gets the order_by of this SnapshotRequest. # noqa: E501 + + Sorting order ('-createdAt' or 'createdAt'), defaults to -createdAt # noqa: E501 + + :return: The order_by of this SnapshotRequest. # noqa: E501 + :rtype: str + """ + return self._order_by + + @order_by.setter + def order_by(self, order_by): + """Sets the order_by of this SnapshotRequest. + + Sorting order ('-createdAt' or 'createdAt'), defaults to -createdAt # noqa: E501 + + :param order_by: The order_by of this SnapshotRequest. # noqa: E501 + :type order_by: str + """ + + self._order_by = order_by + + @property + def search(self): + """Gets the search of this SnapshotRequest. # noqa: E501 + + Last filter applied and searches on snapshot / associated instance name and snapshot / instance id # noqa: E501 + + :return: The search of this SnapshotRequest. # noqa: E501 + :rtype: str + """ + return self._search + + @search.setter + def search(self, search): + """Sets the search of this SnapshotRequest. + + Last filter applied and searches on snapshot / associated instance name and snapshot / instance id # noqa: E501 + + :param search: The search of this SnapshotRequest. # noqa: E501 + :type search: str + """ + + self._search = search + + def to_dict(self, serialize=False): + """Returns the model properties as a dict""" + result = {} + + def convert(x): + if hasattr(x, "to_dict"): + args = getfullargspec(x.to_dict).args + if len(args) == 1: + return x.to_dict() + else: + return x.to_dict(serialize) + else: + return x + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + attr = self.attribute_map.get(attr, attr) if serialize else attr + if isinstance(value, list): + result[attr] = list(map( + lambda x: convert(x), + value + )) + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], convert(item[1])), + value.items() + )) + else: + result[attr] = convert(value) + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SnapshotRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SnapshotRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/corellium_api/models/snapshot_sharing.py b/corellium_api/models/snapshot_sharing.py index 5f1d3da..def62f5 100644 --- a/corellium_api/models/snapshot_sharing.py +++ b/corellium_api/models/snapshot_sharing.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/snapshot_sharing_permissions.py b/corellium_api/models/snapshot_sharing_permissions.py index ee93262..a978cab 100644 --- a/corellium_api/models/snapshot_sharing_permissions.py +++ b/corellium_api/models/snapshot_sharing_permissions.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/snapshot_status.py b/corellium_api/models/snapshot_status.py index d9c4512..43ddb85 100644 --- a/corellium_api/models/snapshot_status.py +++ b/corellium_api/models/snapshot_status.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/sslsplit_filter.py b/corellium_api/models/sslsplit_filter.py index 5240c87..a419b79 100644 --- a/corellium_api/models/sslsplit_filter.py +++ b/corellium_api/models/sslsplit_filter.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/team.py b/corellium_api/models/team.py index 7fc5dd9..a12d22d 100644 --- a/corellium_api/models/team.py +++ b/corellium_api/models/team.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/team_create.py b/corellium_api/models/team_create.py index 787c653..bcdc0fa 100644 --- a/corellium_api/models/team_create.py +++ b/corellium_api/models/team_create.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/test_assessment_dto.py b/corellium_api/models/test_assessment_dto.py index eba7e5d..a5e1e84 100644 --- a/corellium_api/models/test_assessment_dto.py +++ b/corellium_api/models/test_assessment_dto.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/text_input.py b/corellium_api/models/text_input.py index 80ec768..8867f3c 100644 --- a/corellium_api/models/text_input.py +++ b/corellium_api/models/text_input.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/token.py b/corellium_api/models/token.py index dfebc98..babe6b2 100644 --- a/corellium_api/models/token.py +++ b/corellium_api/models/token.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/touch_curve_input.py b/corellium_api/models/touch_curve_input.py index 7e2e1d9..1a7b5d7 100644 --- a/corellium_api/models/touch_curve_input.py +++ b/corellium_api/models/touch_curve_input.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/touch_input.py b/corellium_api/models/touch_input.py index 36f9ab3..a918acc 100644 --- a/corellium_api/models/touch_input.py +++ b/corellium_api/models/touch_input.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/touch_input_buttons_inner.py b/corellium_api/models/touch_input_buttons_inner.py index 8199da2..1eac8f5 100644 --- a/corellium_api/models/touch_input_buttons_inner.py +++ b/corellium_api/models/touch_input_buttons_inner.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/trial.py b/corellium_api/models/trial.py index 2571828..afe57dc 100644 --- a/corellium_api/models/trial.py +++ b/corellium_api/models/trial.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/trial_extension.py b/corellium_api/models/trial_extension.py index d817379..fcfa2ed 100644 --- a/corellium_api/models/trial_extension.py +++ b/corellium_api/models/trial_extension.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/trial_request_metadata.py b/corellium_api/models/trial_request_metadata.py index 7a6f95d..fdf8773 100644 --- a/corellium_api/models/trial_request_metadata.py +++ b/corellium_api/models/trial_request_metadata.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/trial_request_options.py b/corellium_api/models/trial_request_options.py index c1480bb..8115044 100644 --- a/corellium_api/models/trial_request_options.py +++ b/corellium_api/models/trial_request_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/update_assessment_dto.py b/corellium_api/models/update_assessment_dto.py index 059d213..494b78d 100644 --- a/corellium_api/models/update_assessment_dto.py +++ b/corellium_api/models/update_assessment_dto.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/update_extension.py b/corellium_api/models/update_extension.py index 0bb2778..18747ff 100644 --- a/corellium_api/models/update_extension.py +++ b/corellium_api/models/update_extension.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/update_interconnect_request.py b/corellium_api/models/update_interconnect_request.py index 27c0224..e8cd10b 100644 --- a/corellium_api/models/update_interconnect_request.py +++ b/corellium_api/models/update_interconnect_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -37,17 +37,15 @@ class UpdateInterconnectRequest(object): """ openapi_types = { 'name': 'str', - 'interfaces': 'list[object]', - 'interfaces': 'str' + 'interfaces': 'list[object]' } attribute_map = { 'name': 'name', - 'interfaces': 'interfaces', - 'interfaces': 'interfaces[]' + 'interfaces': 'interfaces' } - def __init__(self, name=None, interfaces=None, interfaces=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, name=None, interfaces=None, local_vars_configuration=None): # noqa: E501 """UpdateInterconnectRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -55,12 +53,10 @@ def __init__(self, name=None, interfaces=None, interfaces=None, local_vars_confi self._name = None self._interfaces = None - self._interfaces = None self.discriminator = None self.name = name self.interfaces = interfaces - self.interfaces = interfaces @property def name(self): @@ -108,29 +104,6 @@ def interfaces(self, interfaces): self._interfaces = interfaces - @property - def interfaces(self): - """Gets the interfaces of this UpdateInterconnectRequest. # noqa: E501 - - The interface identifier # noqa: E501 - - :return: The interfaces of this UpdateInterconnectRequest. # noqa: E501 - :rtype: str - """ - return self._interfaces - - @interfaces.setter - def interfaces(self, interfaces): - """Sets the interfaces of this UpdateInterconnectRequest. - - The interface identifier # noqa: E501 - - :param interfaces: The interfaces of this UpdateInterconnectRequest. # noqa: E501 - :type interfaces: str - """ - - self._interfaces = interfaces - def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/corellium_api/models/update_network_connection_options.py b/corellium_api/models/update_network_connection_options.py index 772210f..a5cf6a4 100644 --- a/corellium_api/models/update_network_connection_options.py +++ b/corellium_api/models/update_network_connection_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/update_trial_request_params.py b/corellium_api/models/update_trial_request_params.py index 2deb499..5224c83 100644 --- a/corellium_api/models/update_trial_request_params.py +++ b/corellium_api/models/update_trial_request_params.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/user.py b/corellium_api/models/user.py index dba503c..0dc9a65 100644 --- a/corellium_api/models/user.py +++ b/corellium_api/models/user.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/user_create.py b/corellium_api/models/user_create.py index 56e7f2b..3b18bca 100644 --- a/corellium_api/models/user_create.py +++ b/corellium_api/models/user_create.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/user_create_return.py b/corellium_api/models/user_create_return.py index cdf1b3c..15219cb 100644 --- a/corellium_api/models/user_create_return.py +++ b/corellium_api/models/user_create_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/user_error.py b/corellium_api/models/user_error.py index 9c08cd8..86be67c 100644 --- a/corellium_api/models/user_error.py +++ b/corellium_api/models/user_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/user_snapshots.py b/corellium_api/models/user_snapshots.py index 73e46b0..a645e91 100644 --- a/corellium_api/models/user_snapshots.py +++ b/corellium_api/models/user_snapshots.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/user_update.py b/corellium_api/models/user_update.py index a3303df..59f52fa 100644 --- a/corellium_api/models/user_update.py +++ b/corellium_api/models/user_update.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/v1_check_subdomain_existence_parameters.py b/corellium_api/models/v1_check_subdomain_existence_parameters.py index dcad032..16edb85 100644 --- a/corellium_api/models/v1_check_subdomain_existence_parameters.py +++ b/corellium_api/models/v1_check_subdomain_existence_parameters.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/v1_create_hook_parameters.py b/corellium_api/models/v1_create_hook_parameters.py index c2913fd..0d67910 100644 --- a/corellium_api/models/v1_create_hook_parameters.py +++ b/corellium_api/models/v1_create_hook_parameters.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/v1_load_extension_parameters.py b/corellium_api/models/v1_load_extension_parameters.py index 9e10ebf..ed21540 100644 --- a/corellium_api/models/v1_load_extension_parameters.py +++ b/corellium_api/models/v1_load_extension_parameters.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/v1_set_state_body.py b/corellium_api/models/v1_set_state_body.py index d8935b5..0705593 100644 --- a/corellium_api/models/v1_set_state_body.py +++ b/corellium_api/models/v1_set_state_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/v1_update_hook_parameters.py b/corellium_api/models/v1_update_hook_parameters.py index cb385e7..23ceeb3 100644 --- a/corellium_api/models/v1_update_hook_parameters.py +++ b/corellium_api/models/v1_update_hook_parameters.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/validation_error.py b/corellium_api/models/validation_error.py index 7c249c1..2d20855 100644 --- a/corellium_api/models/validation_error.py +++ b/corellium_api/models/validation_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/volume_options.py b/corellium_api/models/volume_options.py index ea52739..232820b 100644 --- a/corellium_api/models/volume_options.py +++ b/corellium_api/models/volume_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/vpn_definition.py b/corellium_api/models/vpn_definition.py index d06b309..c402562 100644 --- a/corellium_api/models/vpn_definition.py +++ b/corellium_api/models/vpn_definition.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/web_player_create_session_request.py b/corellium_api/models/web_player_create_session_request.py index a2c337a..97475be 100644 --- a/corellium_api/models/web_player_create_session_request.py +++ b/corellium_api/models/web_player_create_session_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/models/web_player_session.py b/corellium_api/models/web_player_session.py index 9f59c1e..f0ea0e6 100644 --- a/corellium_api/models/web_player_session.py +++ b/corellium_api/models/web_player_session.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/corellium_api/rest.py b/corellium_api/rest.py index b2ec19d..4464fb1 100644 --- a/corellium_api/rest.py +++ b/corellium_api/rest.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/docs/ClusterConfigurationPayload.md b/docs/ClusterConfigurationPayload.md new file mode 100644 index 0000000..2279dc3 --- /dev/null +++ b/docs/ClusterConfigurationPayload.md @@ -0,0 +1,13 @@ +# ClusterConfigurationPayload + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**snapshot_limit** | **float** | Designates the maximum number of snapshots that can be taken in a cluster | [optional] +**coordinator_config** | [**CoordinatorConfig**](CoordinatorConfig.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ClusterSnapshot.md b/docs/ClusterSnapshot.md new file mode 100644 index 0000000..6092f94 --- /dev/null +++ b/docs/ClusterSnapshot.md @@ -0,0 +1,12 @@ +# ClusterSnapshot + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**identifier** | **str** | Unique identifier for the snapshot | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CoordinatorConfig.md b/docs/CoordinatorConfig.md new file mode 100644 index 0000000..1ffb888 --- /dev/null +++ b/docs/CoordinatorConfig.md @@ -0,0 +1,12 @@ +# CoordinatorConfig + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**usb_media_access_enabled** | **bool** | Designates the maximum number of snapshots that can be taken in a cluster | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CorelliumApi.md b/docs/CorelliumApi.md index f1520c2..4a1a9cb 100644 --- a/docs/CorelliumApi.md +++ b/docs/CorelliumApi.md @@ -4,7 +4,6 @@ All URIs are relative to *https://app.corellium.com/api* Method | HTTP request | Description ------------- | ------------- | ------------- -[**api_v1_cluster_nodes_node_id_console_get**](CorelliumApi.md#api_v1_cluster_nodes_node_id_console_get) | **GET** /api/v1/cluster/nodes/:nodeId/console | Access node console via SSH [**api_v1_interconnects_get**](CorelliumApi.md#api_v1_interconnects_get) | **GET** /api/v1/interconnects | Get all I/O Interconnects [**api_v1_interconnects_interconnect_id_delete**](CorelliumApi.md#api_v1_interconnects_interconnect_id_delete) | **DELETE** /api/v1/interconnects/:interconnectId | Delete I/O Interconnect [**api_v1_interconnects_interconnect_id_get**](CorelliumApi.md#api_v1_interconnects_interconnect_id_get) | **GET** /api/v1/interconnects/:interconnectId | Get Interconnect @@ -58,6 +57,11 @@ Method | HTTP request | Description [**v1_clear_hyper_trace**](CorelliumApi.md#v1_clear_hyper_trace) | **DELETE** /v1/instances/{instanceId}/btrace | Clear HyperTrace logs [**v1_clear_hyper_trace_hooks**](CorelliumApi.md#v1_clear_hyper_trace_hooks) | **POST** /v1/instances/{instanceId}/hooks/clear | Clear Hooks on an instance [**v1_clear_instance_panics**](CorelliumApi.md#v1_clear_instance_panics) | **DELETE** /v1/instances/{instanceId}/panics | Clear Panics +[**v1_cluster_config_get**](CorelliumApi.md#v1_cluster_config_get) | **GET** /v1/cluster/config | Get cluster configuration +[**v1_cluster_config_patch**](CorelliumApi.md#v1_cluster_config_patch) | **PATCH** /v1/cluster/config | Update cluster configuration +[**v1_cluster_firmware_service_config_get**](CorelliumApi.md#v1_cluster_firmware_service_config_get) | **GET** /v1/cluster/firmware-service/config | Fetch firmware service configuration +[**v1_cluster_firmware_service_config_patch**](CorelliumApi.md#v1_cluster_firmware_service_config_patch) | **PATCH** /v1/cluster/firmware-service/config | Update firmware service configuration +[**v1_cluster_firmware_service_config_put**](CorelliumApi.md#v1_cluster_firmware_service_config_put) | **PUT** /v1/cluster/firmware-service/config | Set firmware service configuration [**v1_cluster_firmware_service_devices_get**](CorelliumApi.md#v1_cluster_firmware_service_devices_get) | **GET** /v1/cluster/firmware-service/devices | Fetch devices from the firmware service [**v1_cluster_firmware_service_firmware_assets_asset_url_delete**](CorelliumApi.md#v1_cluster_firmware_service_firmware_assets_asset_url_delete) | **DELETE** /v1/cluster/firmware-service/firmware-assets/{assetURL} | Delete a firmware asset by its URL [**v1_cluster_firmware_service_firmware_assets_asset_url_extended_get**](CorelliumApi.md#v1_cluster_firmware_service_firmware_assets_asset_url_extended_get) | **GET** /v1/cluster/firmware-service/firmware-assets/{assetURL}/extended | Fetch extended firmware-asset details including instances and associated IPSWs @@ -66,7 +70,11 @@ Method | HTTP request | Description [**v1_cluster_firmware_service_firmwares_filename_delete**](CorelliumApi.md#v1_cluster_firmware_service_firmwares_filename_delete) | **DELETE** /v1/cluster/firmware-service/firmwares/{filename} | Delete a firmware by filename from the firmware service [**v1_cluster_firmware_service_firmwares_get**](CorelliumApi.md#v1_cluster_firmware_service_firmwares_get) | **GET** /v1/cluster/firmware-service/firmwares | Fetch firmwares from the firmware service [**v1_cluster_nodes_get**](CorelliumApi.md#v1_cluster_nodes_get) | **GET** /v1/cluster/nodes | List servers in the cluster +[**v1_cluster_nodes_node_id_console_get**](CorelliumApi.md#v1_cluster_nodes_node_id_console_get) | **GET** /v1/cluster/nodes/:nodeId/console | Access node console via SSH [**v1_cluster_nodes_node_id_get**](CorelliumApi.md#v1_cluster_nodes_node_id_get) | **GET** /v1/cluster/nodes/:nodeId | Get node details by ID +[**v1_cluster_storage_get**](CorelliumApi.md#v1_cluster_storage_get) | **GET** /v1/cluster/storage | Get storage devices +[**v1_cluster_storage_id_attach_post**](CorelliumApi.md#v1_cluster_storage_id_attach_post) | **POST** /v1/cluster/storage/:id/attach | Mount and attach a storage device +[**v1_cluster_storage_id_eject_post**](CorelliumApi.md#v1_cluster_storage_id_eject_post) | **POST** /v1/cluster/storage/:id/eject | Eject/Unmount removable media [**v1_create_domain_auth_provider**](CorelliumApi.md#v1_create_domain_auth_provider) | **POST** /v1/domain/{domainId}/auth | Create a new auth provider for a domain [**v1_create_hook**](CorelliumApi.md#v1_create_hook) | **POST** /v1/instances/{instanceId}/hooks | Create hypervisor hook for Instance [**v1_create_image**](CorelliumApi.md#v1_create_image) | **POST** /v1/images | Create a new Image @@ -75,8 +83,8 @@ Method | HTTP request | Description [**v1_create_project**](CorelliumApi.md#v1_create_project) | **POST** /v1/projects | Create a Project [**v1_create_snapshot**](CorelliumApi.md#v1_create_snapshot) | **POST** /v1/instances/{instanceId}/snapshots | Create Instance Snapshot [**v1_create_user**](CorelliumApi.md#v1_create_user) | **POST** /v1/users | Create User +[**v1_delete_cluster_snapshot**](CorelliumApi.md#v1_delete_cluster_snapshot) | **DELETE** /v1/cluster/snapshots/{snapshotId} | Delete a Cluster Snapshot [**v1_delete_domain_auth_provider**](CorelliumApi.md#v1_delete_domain_auth_provider) | **DELETE** /v1/domain/{domainId}/auth/{providerId} | Delete an auth provider from a domain -[**v1_delete_extension**](CorelliumApi.md#v1_delete_extension) | **DELETE** /v1/extensions/{extensionId} | Delete an existing extension [**v1_delete_hook**](CorelliumApi.md#v1_delete_hook) | **DELETE** /v1/hooks/{hookId} | Delete an existing hypervisor hook [**v1_delete_image**](CorelliumApi.md#v1_delete_image) | **DELETE** /v2/images/{imageId} | Delete Image [**v1_delete_instance**](CorelliumApi.md#v1_delete_instance) | **DELETE** /v1/instances/{instanceId} | Remove Instance @@ -93,15 +101,15 @@ Method | HTTP request | Description [**v1_execute_hyper_trace_hooks**](CorelliumApi.md#v1_execute_hyper_trace_hooks) | **POST** /v1/instances/{instanceId}/hooks/execute | Execute Hooks on an instance [**v1_get_activity_export_status**](CorelliumApi.md#v1_get_activity_export_status) | **GET** /v1/activity/export/{taskId} | Get export task status [**v1_get_activity_export_tasks**](CorelliumApi.md#v1_get_activity_export_tasks) | **GET** /v1/activity/export | Get all export tasks for user +[**v1_get_cluster_snapshot**](CorelliumApi.md#v1_get_cluster_snapshot) | **GET** /v1/cluster/snapshots/{snapshotId} | Get Cluster Snapshot +[**v1_get_cluster_snapshots**](CorelliumApi.md#v1_get_cluster_snapshots) | **GET** /v1/cluster/snapshots | Get Cluster Snapshots [**v1_get_config**](CorelliumApi.md#v1_get_config) | **GET** /v1/config | Get all configs [**v1_get_domain_auth_providers**](CorelliumApi.md#v1_get_domain_auth_providers) | **GET** /v1/domain/{domainId}/auth | Return all configured auth providers for a domain (including globally configured providers) -[**v1_get_extension_by_id**](CorelliumApi.md#v1_get_extension_by_id) | **GET** /v1/extensions/{extensionId} | Get extension by id -[**v1_get_extensions**](CorelliumApi.md#v1_get_extensions) | **GET** /v1/extensions | Get all extensions [**v1_get_hook_by_id**](CorelliumApi.md#v1_get_hook_by_id) | **GET** /v1/hooks/{hookId} | Get hypervisor hook by id [**v1_get_hooks**](CorelliumApi.md#v1_get_hooks) | **GET** /v1/instances/{instanceId}/hooks | Get all hypervisor hooks for Instance [**v1_get_image**](CorelliumApi.md#v1_get_image) | **GET** /v1/images/{imageId} | Get Image Metadata [**v1_get_images**](CorelliumApi.md#v1_get_images) | **GET** /v1/images | Get all Images Metadata -[**v1_get_install_firmware_status**](CorelliumApi.md#v1_get_install_firmware_status) | **GET** /v1/images/install-firmware/:taskId | Query install firmware request status. +[**v1_get_install_firmware_status**](CorelliumApi.md#v1_get_install_firmware_status) | **GET** /v1/images/install-firmware/{taskId} | Query install firmware request status. [**v1_get_instance**](CorelliumApi.md#v1_get_instance) | **GET** /v1/instances/{instanceId} | Get Instance [**v1_get_instance_console**](CorelliumApi.md#v1_get_instance_console) | **GET** /v1/instances/{instanceId}/console | Get console websocket URL [**v1_get_instance_console_log**](CorelliumApi.md#v1_get_instance_console_log) | **GET** /v1/instances/{instanceId}/consoleLog | Get Console Log @@ -126,6 +134,7 @@ Method | HTTP request | Description [**v1_get_shared_snapshots**](CorelliumApi.md#v1_get_shared_snapshots) | **GET** /v1/snapshots/shared | Fetch shared snapshots [**v1_get_snapshot**](CorelliumApi.md#v1_get_snapshot) | **GET** /v1/snapshots/{snapshotId} | Get Snapshot [**v1_install_firmware**](CorelliumApi.md#v1_install_firmware) | **POST** /v1/images/install-firmware | Installs a firmware for cluster-wide use +[**v1_install_firmware_assets**](CorelliumApi.md#v1_install_firmware_assets) | **POST** /v1/images/install-firmware-assets | Installs firmware assets for cluster-wide use [**v1_instances_instance_id_message_post**](CorelliumApi.md#v1_instances_instance_id_message_post) | **POST** /v1/instances/{instanceId}/message | Inject a message into an iOS VM [**v1_instances_instance_id_netdump_pcap_get**](CorelliumApi.md#v1_instances_instance_id_netdump_pcap_get) | **GET** /v1/instances/{instanceId}/netdump.pcap | Download a netdump pcap file [**v1_instances_instance_id_network_monitor_pcap_get**](CorelliumApi.md#v1_instances_instance_id_network_monitor_pcap_get) | **GET** /v1/instances/{instanceId}/networkMonitor.pcap | Download a Network Monitor pcap file @@ -133,11 +142,10 @@ Method | HTTP request | Description [**v1_list_network_connections**](CorelliumApi.md#v1_list_network_connections) | **GET** /v1/network/connections | List available network connections [**v1_list_network_interfaces**](CorelliumApi.md#v1_list_network_interfaces) | **GET** /v1/network/interfaces | List available physical network interfaces [**v1_list_network_providers**](CorelliumApi.md#v1_list_network_providers) | **GET** /v1/network/providers | List available network providers +[**v1_list_storage_files**](CorelliumApi.md#v1_list_storage_files) | **GET** /v1/storage/{id}/files/{path} | List Storage Files [**v1_list_threads**](CorelliumApi.md#v1_list_threads) | **GET** /v1/instances/{instanceId}/strace/thread-list | Get Running Threads (CoreTrace) -[**v1_load_extension**](CorelliumApi.md#v1_load_extension) | **POST** /v1/extensions | Load an extension [**v1_media_play**](CorelliumApi.md#v1_media_play) | **POST** /v1/instances/{instanceId}/media/play | Start playing media [**v1_media_stop**](CorelliumApi.md#v1_media_stop) | **POST** /v1/instances/{instanceId}/media/stop | Stop playing media -[**v1_parse_extension_json**](CorelliumApi.md#v1_parse_extension_json) | **POST** /v1/extensions/parse/extension.json | Validates extension.json [**v1_partial_update_network_connection**](CorelliumApi.md#v1_partial_update_network_connection) | **PATCH** /v1/network/connections/{id} | Update Network Connection (partial) [**v1_patch_instance**](CorelliumApi.md#v1_patch_instance) | **PATCH** /v1/instances/{instanceId} | Update Instance [**v1_patch_instance_read_only**](CorelliumApi.md#v1_patch_instance_read_only) | **PATCH** /v1/instances/{instanceId}/read-only | Update Instance Read Only @@ -172,13 +180,13 @@ Method | HTTP request | Description [**v1_stop_instance**](CorelliumApi.md#v1_stop_instance) | **POST** /v1/instances/{instanceId}/stop | Stop an Instance [**v1_stop_netdump**](CorelliumApi.md#v1_stop_netdump) | **POST** /v1/instances/{instanceId}/netdump/disable | Stop Enhanced Network Monitor on an instance. [**v1_stop_network_monitor**](CorelliumApi.md#v1_stop_network_monitor) | **POST** /v1/instances/{instanceId}/sslsplit/disable | Stop Network Monitor on an instance. +[**v1_storage_get**](CorelliumApi.md#v1_storage_get) | **GET** /v1/storage | Get storage devices [**v1_team_change**](CorelliumApi.md#v1_team_change) | **PATCH** /v1/teams/{teamId} | Update team [**v1_team_create**](CorelliumApi.md#v1_team_create) | **POST** /v1/teams | Create team [**v1_team_delete**](CorelliumApi.md#v1_team_delete) | **DELETE** /v1/teams/{teamId} | Delete team [**v1_teams**](CorelliumApi.md#v1_teams) | **GET** /v1/teams | Get teams [**v1_unpause_instance**](CorelliumApi.md#v1_unpause_instance) | **POST** /v1/instances/{instanceId}/unpause | Unpause an Instance [**v1_update_domain_auth_provider**](CorelliumApi.md#v1_update_domain_auth_provider) | **PUT** /v1/domain/{domainId}/auth/{providerId} | Update an auth provider for a domain -[**v1_update_extension**](CorelliumApi.md#v1_update_extension) | **PUT** /v1/extensions/{extensionId} | Update an existing extension [**v1_update_hook**](CorelliumApi.md#v1_update_hook) | **PUT** /v1/hooks/{hookId} | Update an existing hypervisor hook [**v1_update_network_connection**](CorelliumApi.md#v1_update_network_connection) | **PUT** /v1/network/connections/{id} | Update Network Connection [**v1_update_project**](CorelliumApi.md#v1_update_project) | **PATCH** /v1/projects/{projectId} | Update a Project @@ -198,80 +206,6 @@ Method | HTTP request | Description [**v2_get_instance_state**](CorelliumApi.md#v2_get_instance_state) | **GET** /v2/instances/{instanceId}/state | Get state of Instance -# **api_v1_cluster_nodes_node_id_console_get** -> api_v1_cluster_nodes_node_id_console_get(node_id) - -Access node console via SSH - -Access node console via SSH (WebSocket upgrade) - -### Example - -* Bearer (ApiToken or JWT) Authentication (BearerAuth): -```python -from __future__ import print_function -import time -import asyncio -import corellium_api -from corellium_api.rest import ApiException -from pprint import pprint -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (ApiToken or JWT): BearerAuth -configuration = corellium_api.Configuration( - host = "https://app.corellium.com/api" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - - -async def main(): - # Enter a context with an instance of the API client - async with corellium_api.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = corellium_api.CorelliumApi(api_client) - node_id = 'node_id_example' # str | Node ID - - try: - # Access node console via SSH - api_instance.api_v1_cluster_nodes_node_id_console_get(node_id) - except ApiException as e: - print("Exception when calling CorelliumApi->api_v1_cluster_nodes_node_id_console_get: %s\n" % e) - -if __name__ == "__main__": - asyncio.run(main()) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **node_id** | **str**| Node ID | - -### Return type - -void (empty response body) - -### Authorization - -[BearerAuth](../README.md#BearerAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**101** | WebSocket connection upgraded | - | -**403** | Forbidden | - | -**404** | Node not found | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **api_v1_interconnects_get** > GetInterconnectsResponse api_v1_interconnects_get(limit=limit, offset=offset, name=name, protocol=protocol, type=type, status=status, project=project, sort=sort) @@ -636,15 +570,15 @@ update_interconnect_request = { "interfaces": [ { "deviceId": "fa783ebb-b020-47fb-af74-6898ed59b068", - "interfaceId": "can1:0" + "interfaceId": "can1/0" }, { "deviceId": "58db550e-bb96-403a-bcf0-86ff33e5e61d", - "interfaceId": "can1:0" + "interfaceId": "can1/0" }, { "deviceId": "bd576aca-9e31-4c6a-817e-f2a38122536e", - "interfaceId": "can1:0" + "interfaceId": "can1/0" } ] } # UpdateInterconnectRequest | The interconnect details to update @@ -733,7 +667,7 @@ async def main(): "project": "123e4567-e89b-12d3-a456-426614174000", "interfaces": [{ "deviceId": "2b331aaa-de76-4169-8442-9910e9c436fb", - "interfaceId": "gpio:7" + "interfaceId": "gpio/7" }] } # CreateInterconnectRequest | The interconnect details @@ -4337,12 +4271,12 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_firmware_service_devices_get** -> list[Device] v1_cluster_firmware_service_devices_get(limit=limit, offset=offset, search=search, order=order, type=type, model=model, name=name, platform=platform) +# **v1_cluster_config_get** +> object v1_cluster_config_get() -Fetch devices from the firmware service +Get cluster configuration -Proxies a request to the firmware service to retrieve a list of devices. +Get cluster configuration ### Example @@ -4371,42 +4305,24 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - limit = 3.4 # float | Number of results to return (min: 1, max: 10000, default: 100) (optional) -offset = 3.4 # float | Index of the first row to return (default: 0) (optional) -search = 'search_example' # str | Case-insensitive partial match across name, model, platform, and hwmodel fields (optional) -order = 'order_example' # str | Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: name, model, type, platform, hwmodel Filtering options: (optional) -type = 'type_example' # str | Filter by exact type. Example: coreimg (optional) -model = 'model_example' # str | Filter by exact model. Example: Example: iPhone8,1 (optional) -name = 'name_example' # str | Filter by exact name. Example: iPhone6s (optional) -platform = 'platform_example' # str | Filter by exact platform. Example: s5l8960x (optional) - + try: - # Fetch devices from the firmware service - api_response = await api_instance.v1_cluster_firmware_service_devices_get(limit=limit, offset=offset, search=search, order=order, type=type, model=model, name=name, platform=platform) + # Get cluster configuration + api_response = await api_instance.v1_cluster_config_get() pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_firmware_service_devices_get: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_config_get: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **float**| Number of results to return (min: 1, max: 10000, default: 100) | [optional] - **offset** | **float**| Index of the first row to return (default: 0) | [optional] - **search** | **str**| Case-insensitive partial match across name, model, platform, and hwmodel fields | [optional] - **order** | **str**| Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: name, model, type, platform, hwmodel Filtering options: | [optional] - **type** | **str**| Filter by exact type. Example: coreimg | [optional] - **model** | **str**| Filter by exact model. Example: Example: iPhone8,1 | [optional] - **name** | **str**| Filter by exact name. Example: iPhone6s | [optional] - **platform** | **str**| Filter by exact platform. Example: s5l8960x | [optional] +This endpoint does not need any parameter. ### Return type -[**list[Device]**](Device.md) +**object** ### Authorization @@ -4421,19 +4337,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**400** | Bad Request | - | **403** | Forbidden | - | -**404** | Not found | - | -**500** | Internal Server Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_firmware_service_firmware_assets_asset_url_delete** -> v1_cluster_firmware_service_firmware_assets_asset_url_delete(asset_url) +# **v1_cluster_config_patch** +> v1_cluster_config_patch(cluster_configuration_payload) -Delete a firmware asset by its URL +Update cluster configuration -Proxies a request to the firmware service to delete a firmware asset by URL. +Update cluster configuration ### Example @@ -4462,13 +4375,13 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - asset_url = 'asset_url_example' # str | The URL-encoded firmware asset URL to delete - format:uri - pattern:^[A-Za-z0-9\\-._~:/?#[\\]@!$&'()*+,;=%]+$ + cluster_configuration_payload = corellium_api.ClusterConfigurationPayload() # ClusterConfigurationPayload | Cluster Configuration Payload try: - # Delete a firmware asset by its URL - api_instance.v1_cluster_firmware_service_firmware_assets_asset_url_delete(asset_url) + # Update cluster configuration + api_instance.v1_cluster_config_patch(cluster_configuration_payload) except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmware_assets_asset_url_delete: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_config_patch: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -4478,7 +4391,7 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **asset_url** | **str**| The URL-encoded firmware asset URL to delete - format:uri - pattern:^[A-Za-z0-9\\-._~:/?#[\\]@!$&'()*+,;=%]+$ | + **cluster_configuration_payload** | [**ClusterConfigurationPayload**](ClusterConfigurationPayload.md)| Cluster Configuration Payload | ### Return type @@ -4490,26 +4403,24 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | +**200** | OK | - | **403** | Forbidden | - | -**404** | Not found | - | **500** | Internal Server Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_firmware_service_firmware_assets_asset_url_extended_get** -> ExtendedFirmwareAssetInfo v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(asset_url) +# **v1_cluster_firmware_service_config_get** +> v1_cluster_firmware_service_config_get() -Fetch extended firmware-asset details including instances and associated IPSWs +Fetch firmware service configuration -Retrieves extended information about a firmware including all instances using it and associated firmware assets. +Returns a firmware service configuration object ### Example @@ -4538,28 +4449,23 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - asset_url = 'asset_url_example' # str | The URL-encoded firmware asset to delete. Example: H4RUO0MX-Fz0ka2Q2vCfvP-27ElNZw5bWJEfyF04AxA= - + try: - # Fetch extended firmware-asset details including instances and associated IPSWs - api_response = await api_instance.v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(asset_url) - pprint(api_response) + # Fetch firmware service configuration + api_instance.v1_cluster_firmware_service_config_get() except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmware_assets_asset_url_extended_get: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_config_get: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **asset_url** | **str**| The URL-encoded firmware asset to delete. Example: H4RUO0MX-Fz0ka2Q2vCfvP-27ElNZw5bWJEfyF04AxA= | +This endpoint does not need any parameter. ### Return type -[**ExtendedFirmwareAssetInfo**](ExtendedFirmwareAssetInfo.md) +void (empty response body) ### Authorization @@ -4573,7 +4479,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**200** | application/json | - | **400** | Bad Request | - | **403** | Forbidden | - | **404** | Not found | - | @@ -4581,12 +4487,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_firmware_service_firmware_assets_get** -> list[FirmwareAsset] v1_cluster_firmware_service_firmware_assets_get(limit=limit, offset=offset, order=order, search=search) +# **v1_cluster_firmware_service_config_patch** +> v1_cluster_firmware_service_config_patch(firmware_service_configuration) -Fetch firmware assets from the firmware service +Update firmware service configuration -Proxies a request to the firmware service to retrieve a list of firmware assets. +Updates firmware service configuration ### Example @@ -4615,17 +4521,13 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - limit = 3.4 # float | Number of results to return (min: 1, max: 10000, default: 100) (optional) -offset = 3.4 # float | Index of the first row to return (default: 0) (optional) -order = 'order_example' # str | Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'url,-domain'). Allowed fields: url, domain (optional) -search = 'search_example' # str | Case-insensitive partial match across url, domain (optional) + firmware_service_configuration = corellium_api.FirmwareServiceConfiguration() # FirmwareServiceConfiguration | Firmware configuration payload try: - # Fetch firmware assets from the firmware service - api_response = await api_instance.v1_cluster_firmware_service_firmware_assets_get(limit=limit, offset=offset, order=order, search=search) - pprint(api_response) + # Update firmware service configuration + api_instance.v1_cluster_firmware_service_config_patch(firmware_service_configuration) except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmware_assets_get: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_config_patch: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -4635,14 +4537,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **limit** | **float**| Number of results to return (min: 1, max: 10000, default: 100) | [optional] - **offset** | **float**| Index of the first row to return (default: 0) | [optional] - **order** | **str**| Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'url,-domain'). Allowed fields: url, domain | [optional] - **search** | **str**| Case-insensitive partial match across url, domain | [optional] + **firmware_service_configuration** | [**FirmwareServiceConfiguration**](FirmwareServiceConfiguration.md)| Firmware configuration payload | ### Return type -[**list[FirmwareAsset]**](FirmwareAsset.md) +void (empty response body) ### Authorization @@ -4650,7 +4549,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -4664,12 +4563,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_firmware_service_firmware_assets_post** -> str v1_cluster_firmware_service_firmware_assets_post(body) +# **v1_cluster_firmware_service_config_put** +> v1_cluster_firmware_service_config_put(firmware_service_configuration) -Add firmware assets via the firmware service +Set firmware service configuration -Proxies a request to the firmware service to add firmware assets. +Sets firmware service configuration ### Example @@ -4698,17 +4597,13 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - body = { - "https://wkms-public.apple.com/fcs-keys/0-rpBmpVnBmLtxdIwb97a_jAodE52Gv8Al_CN8DdwzQ=": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JR0hBZ0VBTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEJHMHdhd0lCQVFRZ1plQ25uTW5CZEx3RkM1K2EKUU9ITGswQ1Z1aGJHWE1kUlBiekJOMTREOWp1aFJBTkNBQVRLT3NyZUc4VG1XbExTeU1KUnBSWTA2N1NudFhmZgpkakhWenQwN1ZZVm1wZ1dGZEJGUERGTFdiQkYrYlpQeGRJVW14dzFMN3NlMEUrdE1DcTk4bkEyMQotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg==", - "https://wkms-public.apple.com/fcs-keys/09QNzDMRwGnqUMjbRQcsH7sHx2GJUub-NmLLpIsd8Yc=": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JR0hBZ0VBTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEJHMHdhd0lCQVFRZ0QyeTRzZE1QNXE2eHZ4NTIKMFNqaCt1S0JkcWVTRlF2T083Rm9PaHg1RHZxaFJBTkNBQVRLbEMvdXhKa3Q4d0FhS1Fzd3paeVJ4WWVTN0pOVAowRlFsS0w3S0hZb1k0U1FWekZWNTBkQkhGeGRVMHVaeGN3Rk9MaW1MTVZZaHBtREQ0enFpZGtPeAotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg==" -} # object | Firmware assets payload + firmware_service_configuration = corellium_api.FirmwareServiceConfiguration() # FirmwareServiceConfiguration | Firmware configuration payload try: - # Add firmware assets via the firmware service - api_response = await api_instance.v1_cluster_firmware_service_firmware_assets_post(body) - pprint(api_response) + # Set firmware service configuration + api_instance.v1_cluster_firmware_service_config_put(firmware_service_configuration) except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmware_assets_post: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_config_put: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -4718,11 +4613,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | **object**| Firmware assets payload | + **firmware_service_configuration** | [**FirmwareServiceConfiguration**](FirmwareServiceConfiguration.md)| Firmware configuration payload | ### Return type -**str** +void (empty response body) ### Authorization @@ -4731,12 +4626,12 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: text/html, application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | +**200** | application/json | - | **400** | Bad Request | - | **403** | Forbidden | - | **404** | Not found | - | @@ -4744,12 +4639,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_firmware_service_firmwares_filename_delete** -> v1_cluster_firmware_service_firmwares_filename_delete(filename) +# **v1_cluster_firmware_service_devices_get** +> list[Device] v1_cluster_firmware_service_devices_get(limit=limit, offset=offset, search=search, order=order, type=type, model=model, name=name, platform=platform) -Delete a firmware by filename from the firmware service +Fetch devices from the firmware service -Proxies a request to the firmware service to delete a firmware by filename. +Proxies a request to the firmware service to retrieve a list of devices. ### Example @@ -4778,13 +4673,21 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - filename = 'filename_example' # str | The filename of the firmware to delete + limit = 3.4 # float | Number of results to return (min: 1, max: 10000, default: 100) (optional) +offset = 3.4 # float | Index of the first row to return (default: 0) (optional) +search = 'search_example' # str | Case-insensitive partial match across name, model, platform, and hwmodel fields (optional) +order = 'order_example' # str | Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: name, model, type, platform, hwmodel Filtering options: (optional) +type = 'type_example' # str | Filter by exact type. Example: coreimg (optional) +model = 'model_example' # str | Filter by exact model. Example: Example: iPhone8,1 (optional) +name = 'name_example' # str | Filter by exact name. Example: iPhone6s (optional) +platform = 'platform_example' # str | Filter by exact platform. Example: s5l8960x (optional) try: - # Delete a firmware by filename from the firmware service - api_instance.v1_cluster_firmware_service_firmwares_filename_delete(filename) + # Fetch devices from the firmware service + api_response = await api_instance.v1_cluster_firmware_service_devices_get(limit=limit, offset=offset, search=search, order=order, type=type, model=model, name=name, platform=platform) + pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmwares_filename_delete: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_devices_get: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -4794,11 +4697,18 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filename** | **str**| The filename of the firmware to delete | + **limit** | **float**| Number of results to return (min: 1, max: 10000, default: 100) | [optional] + **offset** | **float**| Index of the first row to return (default: 0) | [optional] + **search** | **str**| Case-insensitive partial match across name, model, platform, and hwmodel fields | [optional] + **order** | **str**| Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: name, model, type, platform, hwmodel Filtering options: | [optional] + **type** | **str**| Filter by exact type. Example: coreimg | [optional] + **model** | **str**| Filter by exact model. Example: Example: iPhone8,1 | [optional] + **name** | **str**| Filter by exact name. Example: iPhone6s | [optional] + **platform** | **str**| Filter by exact platform. Example: s5l8960x | [optional] ### Return type -void (empty response body) +[**list[Device]**](Device.md) ### Authorization @@ -4812,21 +4722,20 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | **400** | Bad Request | - | **403** | Forbidden | - | **404** | Not found | - | -**409** | Conflict | - | **500** | Internal Server Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_firmware_service_firmwares_get** -> list[Firmware] v1_cluster_firmware_service_firmwares_get(limit=limit, offset=offset, search=search, order=order, filename=filename, model=model, type=type, version=version, buildid=buildid, firmware_assets=firmware_assets) +# **v1_cluster_firmware_service_firmware_assets_asset_url_delete** +> v1_cluster_firmware_service_firmware_assets_asset_url_delete(asset_url) -Fetch firmwares from the firmware service +Delete a firmware asset by its URL -Proxies a request to the firmware service to retrieve a list of firmwares. +Proxies a request to the firmware service to delete a firmware asset by URL. ### Example @@ -4855,23 +4764,13 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - limit = 3.4 # float | Number of results to return (min: 1, max: 10000, default: 100) (optional) -offset = 3.4 # float | Index of the first row to return (default: 0) (optional) -search = 'search_example' # str | Case-insensitive partial match across filename, model, type, version and buildid fields (optional) -order = 'order_example' # str | Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: filename, model, type, version, buildid Filtering options: (optional) -filename = 'filename_example' # str | Filter by exact filename. Example: iPhone_4.7_P3_12.1.4_16D57_Restore.ipsw (optional) -model = 'model_example' # str | Filter by exact model. Example: iPhone10,4 (optional) -type = 'type_example' # str | Filter by exact type. Example: ipsw (optional) -version = 'version_example' # str | Filter by exact version. Example: 12.1.4 (optional) -buildid = 'buildid_example' # str | Filter by exact buildid. Example: 16D57 (optional) -firmware_assets = 'firmware_assets_example' # str | Filter by exact asset URL/ID. Example: https://wkms-public.apple.com/fcs-keys/rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= -OR- rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= (optional) + asset_url = 'asset_url_example' # str | The URL-encoded firmware asset URL to delete - format:uri - pattern:^[A-Za-z0-9\\-._~:/?#[\\]@!$&'()*+,;=%]+$ try: - # Fetch firmwares from the firmware service - api_response = await api_instance.v1_cluster_firmware_service_firmwares_get(limit=limit, offset=offset, search=search, order=order, filename=filename, model=model, type=type, version=version, buildid=buildid, firmware_assets=firmware_assets) - pprint(api_response) + # Delete a firmware asset by its URL + api_instance.v1_cluster_firmware_service_firmware_assets_asset_url_delete(asset_url) except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmwares_get: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmware_assets_asset_url_delete: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -4881,20 +4780,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **limit** | **float**| Number of results to return (min: 1, max: 10000, default: 100) | [optional] - **offset** | **float**| Index of the first row to return (default: 0) | [optional] - **search** | **str**| Case-insensitive partial match across filename, model, type, version and buildid fields | [optional] - **order** | **str**| Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: filename, model, type, version, buildid Filtering options: | [optional] - **filename** | **str**| Filter by exact filename. Example: iPhone_4.7_P3_12.1.4_16D57_Restore.ipsw | [optional] - **model** | **str**| Filter by exact model. Example: iPhone10,4 | [optional] - **type** | **str**| Filter by exact type. Example: ipsw | [optional] - **version** | **str**| Filter by exact version. Example: 12.1.4 | [optional] - **buildid** | **str**| Filter by exact buildid. Example: 16D57 | [optional] - **firmware_assets** | **str**| Filter by exact asset URL/ID. Example: https://wkms-public.apple.com/fcs-keys/rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= -OR- rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= | [optional] + **asset_url** | **str**| The URL-encoded firmware asset URL to delete - format:uri - pattern:^[A-Za-z0-9\\-._~:/?#[\\]@!$&'()*+,;=%]+$ | ### Return type -[**list[Firmware]**](Firmware.md) +void (empty response body) ### Authorization @@ -4908,7 +4798,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | **400** | Bad Request | - | **403** | Forbidden | - | **404** | Not found | - | @@ -4916,12 +4806,747 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_nodes_get** -> list[NodeInformation] v1_cluster_nodes_get(limit=limit, offset=offset) - +# **v1_cluster_firmware_service_firmware_assets_asset_url_extended_get** +> ExtendedFirmwareAssetInfo v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(asset_url) + +Fetch extended firmware-asset details including instances and associated IPSWs + +Retrieves extended information about a firmware including all instances using it and associated firmware assets. + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + asset_url = 'asset_url_example' # str | The URL-encoded firmware asset to delete. Example: H4RUO0MX-Fz0ka2Q2vCfvP-27ElNZw5bWJEfyF04AxA= + + try: + # Fetch extended firmware-asset details including instances and associated IPSWs + api_response = await api_instance.v1_cluster_firmware_service_firmware_assets_asset_url_extended_get(asset_url) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmware_assets_asset_url_extended_get: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **asset_url** | **str**| The URL-encoded firmware asset to delete. Example: H4RUO0MX-Fz0ka2Q2vCfvP-27ElNZw5bWJEfyF04AxA= | + +### Return type + +[**ExtendedFirmwareAssetInfo**](ExtendedFirmwareAssetInfo.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request | - | +**403** | Forbidden | - | +**404** | Not found | - | +**500** | Internal Server Error | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_firmware_service_firmware_assets_get** +> list[FirmwareAsset] v1_cluster_firmware_service_firmware_assets_get(limit=limit, offset=offset, order=order, search=search) + +Fetch firmware assets from the firmware service + +Proxies a request to the firmware service to retrieve a list of firmware assets. + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + limit = 3.4 # float | Number of results to return (min: 1, max: 10000, default: 100) (optional) +offset = 3.4 # float | Index of the first row to return (default: 0) (optional) +order = 'order_example' # str | Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'url,-domain'). (optional) +search = 'search_example' # str | Case-insensitive partial match across url, domain (optional) + + try: + # Fetch firmware assets from the firmware service + api_response = await api_instance.v1_cluster_firmware_service_firmware_assets_get(limit=limit, offset=offset, order=order, search=search) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmware_assets_get: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **limit** | **float**| Number of results to return (min: 1, max: 10000, default: 100) | [optional] + **offset** | **float**| Index of the first row to return (default: 0) | [optional] + **order** | **str**| Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'url,-domain'). | [optional] + **search** | **str**| Case-insensitive partial match across url, domain | [optional] + +### Return type + +[**list[FirmwareAsset]**](FirmwareAsset.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | application/json | - | +**400** | Bad Request | - | +**403** | Forbidden | - | +**404** | Not found | - | +**500** | Internal Server Error | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_firmware_service_firmware_assets_post** +> str v1_cluster_firmware_service_firmware_assets_post(body) + +Add firmware assets via the firmware service + +Proxies a request to the firmware service to add firmware assets. + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + body = { + "https://wkms-public.apple.com/fcs-keys/0-rpBmpVnBmLtxdIwb97a_jAodE52Gv8Al_CN8DdwzQ=": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JR0hBZ0VBTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEJHMHdhd0lCQVFRZ1plQ25uTW5CZEx3RkM1K2EKUU9ITGswQ1Z1aGJHWE1kUlBiekJOMTREOWp1aFJBTkNBQVRLT3NyZUc4VG1XbExTeU1KUnBSWTA2N1NudFhmZgpkakhWenQwN1ZZVm1wZ1dGZEJGUERGTFdiQkYrYlpQeGRJVW14dzFMN3NlMEUrdE1DcTk4bkEyMQotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg==", + "https://wkms-public.apple.com/fcs-keys/09QNzDMRwGnqUMjbRQcsH7sHx2GJUub-NmLLpIsd8Yc=": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JR0hBZ0VBTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEJHMHdhd0lCQVFRZ0QyeTRzZE1QNXE2eHZ4NTIKMFNqaCt1S0JkcWVTRlF2T083Rm9PaHg1RHZxaFJBTkNBQVRLbEMvdXhKa3Q4d0FhS1Fzd3paeVJ4WWVTN0pOVAowRlFsS0w3S0hZb1k0U1FWekZWNTBkQkhGeGRVMHVaeGN3Rk9MaW1MTVZZaHBtREQ0enFpZGtPeAotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg==" +} # object | Firmware assets payload + + try: + # Add firmware assets via the firmware service + api_response = await api_instance.v1_cluster_firmware_service_firmware_assets_post(body) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmware_assets_post: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **object**| Firmware assets payload | + +### Return type + +**str** + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: text/html, application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Created | - | +**400** | Bad Request | - | +**403** | Forbidden | - | +**404** | Not found | - | +**500** | Internal Server Error | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_firmware_service_firmwares_filename_delete** +> v1_cluster_firmware_service_firmwares_filename_delete(filename) + +Delete a firmware by filename from the firmware service + +Proxies a request to the firmware service to delete a firmware by filename. + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + filename = 'filename_example' # str | The filename of the firmware to delete + + try: + # Delete a firmware by filename from the firmware service + api_instance.v1_cluster_firmware_service_firmwares_filename_delete(filename) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmwares_filename_delete: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filename** | **str**| The filename of the firmware to delete | + +### Return type + +void (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | +**400** | Bad Request | - | +**403** | Forbidden | - | +**404** | Not found | - | +**409** | Conflict | - | +**500** | Internal Server Error | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_firmware_service_firmwares_get** +> list[Firmware] v1_cluster_firmware_service_firmwares_get(limit=limit, offset=offset, search=search, order=order, filename=filename, model=model, type=type, version=version, buildid=buildid, firmware_assets=firmware_assets, installed=installed) + +Fetch firmwares from the firmware service + +Proxies a request to the firmware service to retrieve a list of firmwares. + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + limit = 3.4 # float | Number of results to return (min: 1, max: 10000, default: 100) (optional) +offset = 3.4 # float | Index of the first row to return (default: 0) (optional) +search = 'search_example' # str | Case-insensitive partial match across filename, model, type, version and buildid fields (optional) +order = 'order_example' # str | Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: filename, model, type, version, buildid Filtering options: (optional) +filename = 'filename_example' # str | Filter by exact filename. Example: iPhone_4.7_P3_12.1.4_16D57_Restore.ipsw (optional) +model = 'model_example' # str | Filter by exact model. Example: iPhone10,4 (optional) +type = 'type_example' # str | Filter by exact type. Example: ipsw (optional) +version = 'version_example' # str | Filter by exact version. Example: 12.1.4 (optional) +buildid = 'buildid_example' # str | Filter by exact buildid. Example: 16D57 (optional) +firmware_assets = 'firmware_assets_example' # str | Filter by exact asset URL/ID. Example: https://wkms-public.apple.com/fcs-keys/rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= -OR- rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= (optional) +installed = True # bool | Filter by installed status (optional) + + try: + # Fetch firmwares from the firmware service + api_response = await api_instance.v1_cluster_firmware_service_firmwares_get(limit=limit, offset=offset, search=search, order=order, filename=filename, model=model, type=type, version=version, buildid=buildid, firmware_assets=firmware_assets, installed=installed) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_firmware_service_firmwares_get: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **limit** | **float**| Number of results to return (min: 1, max: 10000, default: 100) | [optional] + **offset** | **float**| Index of the first row to return (default: 0) | [optional] + **search** | **str**| Case-insensitive partial match across filename, model, type, version and buildid fields | [optional] + **order** | **str**| Comma-separated field names for sorting. Prefix with '-' for ascending order (e.g., 'name,-platform'). Allowed fields: filename, model, type, version, buildid Filtering options: | [optional] + **filename** | **str**| Filter by exact filename. Example: iPhone_4.7_P3_12.1.4_16D57_Restore.ipsw | [optional] + **model** | **str**| Filter by exact model. Example: iPhone10,4 | [optional] + **type** | **str**| Filter by exact type. Example: ipsw | [optional] + **version** | **str**| Filter by exact version. Example: 12.1.4 | [optional] + **buildid** | **str**| Filter by exact buildid. Example: 16D57 | [optional] + **firmware_assets** | **str**| Filter by exact asset URL/ID. Example: https://wkms-public.apple.com/fcs-keys/rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= -OR- rl_td3o_0EtXT8t6HvVJoeWXnoBuzumHyUTD8-MUaF8= | [optional] + **installed** | **bool**| Filter by installed status | [optional] + +### Return type + +[**list[Firmware]**](Firmware.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request | - | +**403** | Forbidden | - | +**404** | Not found | - | +**500** | Internal Server Error | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_nodes_get** +> list[NodeInformation] v1_cluster_nodes_get(limit=limit, offset=offset) + +List servers in the cluster + List servers in the cluster -List servers in the cluster +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + limit = 3.4 # float | limit for pagination results, defaults to 100 (optional) +offset = 3.4 # float | offset for pagination results, defaults to 0 (optional) + + try: + # List servers in the cluster + api_response = await api_instance.v1_cluster_nodes_get(limit=limit, offset=offset) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_nodes_get: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **limit** | **float**| limit for pagination results, defaults to 100 | [optional] + **offset** | **float**| offset for pagination results, defaults to 0 | [optional] + +### Return type + +[**list[NodeInformation]**](NodeInformation.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | application/json | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_nodes_node_id_console_get** +> v1_cluster_nodes_node_id_console_get(node_id) + +Access node console via SSH + +Access node console via SSH (WebSocket upgrade) + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + node_id = 'node_id_example' # str | Node ID + + try: + # Access node console via SSH + api_instance.v1_cluster_nodes_node_id_console_get(node_id) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_nodes_node_id_console_get: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **node_id** | **str**| Node ID | + +### Return type + +void (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**101** | WebSocket connection upgraded | - | +**403** | Forbidden | - | +**404** | Node not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_nodes_node_id_get** +> NodeInformation v1_cluster_nodes_node_id_get(node_id) + +Get node details by ID + +Get node details by ID + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + node_id = 'node_id_example' # str | Node ID + + try: + # Get node details by ID + api_response = await api_instance.v1_cluster_nodes_node_id_get(node_id) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_nodes_node_id_get: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **node_id** | **str**| Node ID | + +### Return type + +[**NodeInformation**](NodeInformation.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | application/json | - | +**403** | Forbidden | - | +**404** | Node not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_storage_get** +> GetStorageResponse v1_cluster_storage_get(limit=limit, offset=offset, device=device, fs_type=fs_type, fs_uuid=fs_uuid, label=label, serial=serial, vendor=vendor, model=model, mount_policy=mount_policy, sort=sort) + +Get storage devices + +List all attached storage devices. This endpoint is only available to cluster administrators. + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + limit = 3.4 # float | Maximum number of results to return (1–1000, default: 100) (optional) +offset = 3.4 # float | Number of results to skip (default: 0) (optional) +device = 'device_example' # str | Filter by device name (partial match) (optional) +fs_type = 'fs_type_example' # str | Filter by filesystem type (comma separated) (optional) +fs_uuid = 'fs_uuid_example' # str | Filter by filesystem UUID (partial match) (optional) +label = 'label_example' # str | Filter by label (partial match) (optional) +serial = 'serial_example' # str | Filter by serial number (partial match) (optional) +vendor = 'vendor_example' # str | Filter by vendor (partial match) (optional) +model = 'model_example' # str | Filter by model (partial match) (optional) +mount_policy = 'mount_policy_example' # str | Filter by mount policy (RO or RW) (optional) +sort = 'sort_example' # str | Sort order (e.g. \"device\" or \"-device\") (optional) + + try: + # Get storage devices + api_response = await api_instance.v1_cluster_storage_get(limit=limit, offset=offset, device=device, fs_type=fs_type, fs_uuid=fs_uuid, label=label, serial=serial, vendor=vendor, model=model, mount_policy=mount_policy, sort=sort) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_cluster_storage_get: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **limit** | **float**| Maximum number of results to return (1–1000, default: 100) | [optional] + **offset** | **float**| Number of results to skip (default: 0) | [optional] + **device** | **str**| Filter by device name (partial match) | [optional] + **fs_type** | **str**| Filter by filesystem type (comma separated) | [optional] + **fs_uuid** | **str**| Filter by filesystem UUID (partial match) | [optional] + **label** | **str**| Filter by label (partial match) | [optional] + **serial** | **str**| Filter by serial number (partial match) | [optional] + **vendor** | **str**| Filter by vendor (partial match) | [optional] + **model** | **str**| Filter by model (partial match) | [optional] + **mount_policy** | **str**| Filter by mount policy (RO or RW) | [optional] + **sort** | **str**| Sort order (e.g. \"device\" or \"-device\") | [optional] + +### Return type + +[**GetStorageResponse**](GetStorageResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved storage devices | - | +**401** | Unauthorized | - | +**403** | Forbidden | - | +**500** | Internal server error | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_cluster_storage_id_attach_post** +> object v1_cluster_storage_id_attach_post(id) + +Mount and attach a storage device + +Initiates an asynchronous mount job for a registered storage device. If already mounted, returns status 200. If not, queues a background job and returns 202. ### Example @@ -4950,15 +5575,14 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - limit = 3.4 # float | limit for pagination results, defaults to 100 (optional) -offset = 3.4 # float | offset for pagination results, defaults to 0 (optional) + id = 'id_example' # str | The unique identifier of the storage media try: - # List servers in the cluster - api_response = await api_instance.v1_cluster_nodes_get(limit=limit, offset=offset) + # Mount and attach a storage device + api_response = await api_instance.v1_cluster_storage_id_attach_post(id) pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_nodes_get: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_storage_id_attach_post: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -4968,12 +5592,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **limit** | **float**| limit for pagination results, defaults to 100 | [optional] - **offset** | **float**| offset for pagination results, defaults to 0 | [optional] + **id** | **str**| The unique identifier of the storage media | ### Return type -[**list[NodeInformation]**](NodeInformation.md) +**object** ### Authorization @@ -4987,17 +5610,20 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | application/json | - | +**200** | Device is already mounted | - | +**202** | Mount job successfully queued | - | **403** | Forbidden | - | +**404** | MediaStore record not found | - | +**500** | System failure while queuing the job | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_cluster_nodes_node_id_get** -> NodeInformation v1_cluster_nodes_node_id_get(node_id) +# **v1_cluster_storage_id_eject_post** +> object v1_cluster_storage_id_eject_post(id) -Get node details by ID +Eject/Unmount removable media -Get node details by ID +Initiates an asynchronous unmount job for the physical storage device. If the device is already unmounted, returns success. If mounted, creates a background job to safely unmount. ### Example @@ -5026,14 +5652,14 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - node_id = 'node_id_example' # str | Node ID + id = 'id_example' # str | Storage device identifier (UUID) try: - # Get node details by ID - api_response = await api_instance.v1_cluster_nodes_node_id_get(node_id) + # Eject/Unmount removable media + api_response = await api_instance.v1_cluster_storage_id_eject_post(id) pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_cluster_nodes_node_id_get: %s\n" % e) + print("Exception when calling CorelliumApi->v1_cluster_storage_id_eject_post: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -5043,11 +5669,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **node_id** | **str**| Node ID | + **id** | **str**| Storage device identifier (UUID) | ### Return type -[**NodeInformation**](NodeInformation.md) +**object** ### Authorization @@ -5061,9 +5687,11 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | application/json | - | +**200** | Device is already unmounted | - | +**202** | Unmount job successfully queued | - | **403** | Forbidden | - | -**404** | Node not found | - | +**404** | MediaStore record not found | - | +**500** | System failure during job queuing | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -5231,11 +5859,11 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_create_image** -> Image v1_create_image(type, encoding, encapsulated=encapsulated, name=name, project=project, instance=instance, file=file) +> Image v1_create_image(type, encoding, encapsulated=encapsulated, name=name, full_path=full_path, project=project, instance=instance, file=file) Create a new Image -Create a new Image +Create a new Image. Accepts multipart/form-data (with optional file upload) or application/json (metadata only). ### Example @@ -5264,17 +5892,18 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - type = 'type_example' # str | Image type + type = 'type_example' # str | Image type: 'iotfirmware' | 'kernel' | 'devicetree' | 'ramdisk' | 'loaderfile' | 'clbi' | 'ufd' | 'media' | 'sepfw' | 'seprom' | 'bootrom' | 'llb' | 'iboot' | 'ibootdata' | 'fw' | 'fwasset' | 'partition' | 'extension' | 'vmfile' | 'backup' | 'activity-export' encoding = 'encoding_example' # str | How the file is stored encapsulated = True # bool | set to false if the uploaded file is not encapsulated inside an outer zipfile (optional) name = 'name_example' # str | Image name (optional) +full_path = 'full_path_example' # str | Full local path to image file (optional) project = 'project_example' # str | Project ID (optional) instance = 'instance_example' # str | Instance ID (optional) file = '/path/to/file' # file | Optionally the actual file (optional) try: # Create a new Image - api_response = await api_instance.v1_create_image(type, encoding, encapsulated=encapsulated, name=name, project=project, instance=instance, file=file) + api_response = await api_instance.v1_create_image(type, encoding, encapsulated=encapsulated, name=name, full_path=full_path, project=project, instance=instance, file=file) pprint(api_response) except ApiException as e: print("Exception when calling CorelliumApi->v1_create_image: %s\n" % e) @@ -5287,10 +5916,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **type** | **str**| Image type | + **type** | **str**| Image type: 'iotfirmware' | 'kernel' | 'devicetree' | 'ramdisk' | 'loaderfile' | 'clbi' | 'ufd' | 'media' | 'sepfw' | 'seprom' | 'bootrom' | 'llb' | 'iboot' | 'ibootdata' | 'fw' | 'fwasset' | 'partition' | 'extension' | 'vmfile' | 'backup' | 'activity-export' | **encoding** | **str**| How the file is stored | **encapsulated** | **bool**| set to false if the uploaded file is not encapsulated inside an outer zipfile | [optional] **name** | **str**| Image name | [optional] + **full_path** | **str**| Full local path to image file | [optional] **project** | **str**| Project ID | [optional] **instance** | **str**| Instance ID | [optional] **file** | **file**| Optionally the actual file | [optional] @@ -5633,8 +6263,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | application/json | - | +**400** | Bad Request | - | **403** | Forbidden | - | -**404** | Not Found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -5715,12 +6345,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_delete_domain_auth_provider** -> v1_delete_domain_auth_provider(domain_id, provider_id) +# **v1_delete_cluster_snapshot** +> v1_delete_cluster_snapshot(snapshot_id) -Delete an auth provider from a domain +Delete a Cluster Snapshot -Delete an auth provider from a domain +Delete a Cluster Snapshot ### Example @@ -5749,14 +6379,13 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - domain_id = 'domain_id_example' # str | Domain ID - uuid -provider_id = 'provider_id_example' # str | Provider ID - uuid + snapshot_id = 'snapshot_id_example' # str | Snapshot ID - uuid try: - # Delete an auth provider from a domain - api_instance.v1_delete_domain_auth_provider(domain_id, provider_id) + # Delete a Cluster Snapshot + api_instance.v1_delete_cluster_snapshot(snapshot_id) except ApiException as e: - print("Exception when calling CorelliumApi->v1_delete_domain_auth_provider: %s\n" % e) + print("Exception when calling CorelliumApi->v1_delete_cluster_snapshot: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -5766,8 +6395,7 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **domain_id** | **str**| Domain ID - uuid | - **provider_id** | **str**| Provider ID - uuid | + **snapshot_id** | **str**| Snapshot ID - uuid | ### Return type @@ -5785,15 +6413,18 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | Accepted | - | +**400** | Bad Request | - | **403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_delete_extension** -> v1_delete_extension(extension_id) +# **v1_delete_domain_auth_provider** +> v1_delete_domain_auth_provider(domain_id, provider_id) + +Delete an auth provider from a domain -Delete an existing extension +Delete an auth provider from a domain ### Example @@ -5822,13 +6453,14 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - extension_id = 'extension_id_example' # str | Extension ID + domain_id = 'domain_id_example' # str | Domain ID - uuid +provider_id = 'provider_id_example' # str | Provider ID - uuid try: - # Delete an existing extension - api_instance.v1_delete_extension(extension_id) + # Delete an auth provider from a domain + api_instance.v1_delete_domain_auth_provider(domain_id, provider_id) except ApiException as e: - print("Exception when calling CorelliumApi->v1_delete_extension: %s\n" % e) + print("Exception when calling CorelliumApi->v1_delete_domain_auth_provider: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -5838,7 +6470,8 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **extension_id** | **str**| Extension ID | + **domain_id** | **str**| Domain ID - uuid | + **provider_id** | **str**| Provider ID - uuid | ### Return type @@ -5856,8 +6489,7 @@ void (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | Accepted | - | -**400** | Bad Request | - | +**200** | OK | - | **403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -6154,8 +6786,8 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **204** | Accepted | - | +**400** | Bad Request { \"error\": \"Invalid snapshot id: 3a28e565-cf46-4706-86e7-e3af6b33ae0dd\", \"errorID\": \"UserError\", \"field\": \"snapshotId\" } | - | **403** | Forbidden | - | -**404** | Not Found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -7061,15 +7693,16 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_get_config** -> ConfigResponse v1_get_config() +# **v1_get_cluster_snapshot** +> ClusterSnapshot v1_get_cluster_snapshot(snapshot_id) -Get all configs +Get Cluster Snapshot -Get all configs +Get Cluster Snapshot ### Example +* Bearer (ApiToken or JWT) Authentication (BearerAuth): ```python from __future__ import print_function import time @@ -7077,11 +7710,16 @@ import asyncio import corellium_api from corellium_api.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://app.corellium.com/api -# See configuration.py for a list of all supported configuration parameters. +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth configuration = corellium_api.Configuration( host = "https://app.corellium.com/api" ) +configuration.access_token = 'YOUR_ACCESS_TOKEN' async def main(): @@ -7089,28 +7727,32 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - + snapshot_id = 'snapshot_id_example' # str | Snapshot ID - uuid + try: - # Get all configs - api_response = await api_instance.v1_get_config() + # Get Cluster Snapshot + api_response = await api_instance.v1_get_cluster_snapshot(snapshot_id) pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_get_config: %s\n" % e) + print("Exception when calling CorelliumApi->v1_get_cluster_snapshot: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **snapshot_id** | **str**| Snapshot ID - uuid | ### Return type -[**ConfigResponse**](ConfigResponse.md) +[**ClusterSnapshot**](ClusterSnapshot.md) ### Authorization -No authorization required +[BearerAuth](../README.md#BearerAuth) ### HTTP request headers @@ -7121,15 +7763,17 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | application/json | - | +**400** | Bad Request | - | +**403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_get_domain_auth_providers** -> list[DomainAuthProviderResponse] v1_get_domain_auth_providers(domain_id) +# **v1_get_cluster_snapshots** +> SnapshotList v1_get_cluster_snapshots(request=request) -Return all configured auth providers for a domain (including globally configured providers) +Get Cluster Snapshots -Return all configured auth providers for a domain (including globally configured providers) +Get Cluster Snapshots ### Example @@ -7158,14 +7802,14 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - domain_id = 'domain_id_example' # str | Domain ID - uuid + request = {'key': corellium_api.SnapshotRequest()} # SnapshotRequest | (optional) try: - # Return all configured auth providers for a domain (including globally configured providers) - api_response = await api_instance.v1_get_domain_auth_providers(domain_id) + # Get Cluster Snapshots + api_response = await api_instance.v1_get_cluster_snapshots(request=request) pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_get_domain_auth_providers: %s\n" % e) + print("Exception when calling CorelliumApi->v1_get_cluster_snapshots: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -7175,11 +7819,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **domain_id** | **str**| Domain ID - uuid | + **request** | [**SnapshotRequest**](.md)| | [optional] ### Return type -[**list[DomainAuthProviderResponse]**](DomainAuthProviderResponse.md) +[**SnapshotList**](SnapshotList.md) ### Authorization @@ -7193,19 +7837,21 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**200** | Success | - | +**400** | Bad Request | - | **403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_get_extension_by_id** -> Extension v1_get_extension_by_id(extension_id) +# **v1_get_config** +> ConfigResponse v1_get_config() + +Get all configs -Get extension by id +Get all configs ### Example -* Bearer (ApiToken or JWT) Authentication (BearerAuth): ```python from __future__ import print_function import time @@ -7213,16 +7859,11 @@ import asyncio import corellium_api from corellium_api.rest import ApiException from pprint import pprint -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (ApiToken or JWT): BearerAuth +# Defining the host is optional and defaults to https://app.corellium.com/api +# See configuration.py for a list of all supported configuration parameters. configuration = corellium_api.Configuration( host = "https://app.corellium.com/api" ) -configuration.access_token = 'YOUR_ACCESS_TOKEN' async def main(): @@ -7230,32 +7871,28 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - extension_id = 'extension_id_example' # str | Extension Id - + try: - # Get extension by id - api_response = await api_instance.v1_get_extension_by_id(extension_id) + # Get all configs + api_response = await api_instance.v1_get_config() pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_get_extension_by_id: %s\n" % e) + print("Exception when calling CorelliumApi->v1_get_config: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **extension_id** | **str**| Extension Id | +This endpoint does not need any parameter. ### Return type -[**Extension**](Extension.md) +[**ConfigResponse**](ConfigResponse.md) ### Authorization -[BearerAuth](../README.md#BearerAuth) +No authorization required ### HTTP request headers @@ -7265,16 +7902,16 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Extension | - | -**400** | Bad Request | - | -**403** | Forbidden | - | +**200** | application/json | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_get_extensions** -> list[Extension] v1_get_extensions(limit=limit, offset=offset, if_none_match=if_none_match) +# **v1_get_domain_auth_providers** +> list[DomainAuthProviderResponse] v1_get_domain_auth_providers(domain_id) + +Return all configured auth providers for a domain (including globally configured providers) -Get all extensions +Return all configured auth providers for a domain (including globally configured providers) ### Example @@ -7303,16 +7940,14 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - limit = 3.4 # float | limit for pagination results, defaults to 20 (optional) -offset = 3.4 # float | offset for pagination results, defaults to 0 (optional) -if_none_match = 'if_none_match_example' # str | sha256sum of the last response with the same parameters (optional) (optional) + domain_id = 'domain_id_example' # str | Domain ID - uuid try: - # Get all extensions - api_response = await api_instance.v1_get_extensions(limit=limit, offset=offset, if_none_match=if_none_match) + # Return all configured auth providers for a domain (including globally configured providers) + api_response = await api_instance.v1_get_domain_auth_providers(domain_id) pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_get_extensions: %s\n" % e) + print("Exception when calling CorelliumApi->v1_get_domain_auth_providers: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -7322,13 +7957,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **limit** | **float**| limit for pagination results, defaults to 20 | [optional] - **offset** | **float**| offset for pagination results, defaults to 0 | [optional] - **if_none_match** | **str**| sha256sum of the last response with the same parameters (optional) | [optional] + **domain_id** | **str**| Domain ID - uuid | ### Return type -[**list[Extension]**](Extension.md) +[**list[DomainAuthProviderResponse]**](DomainAuthProviderResponse.md) ### Authorization @@ -7342,9 +7975,7 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Extensions | - | -**304** | No changes | - | -**400** | Bad Request | - | +**200** | OK | - | **403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -9451,7 +10082,7 @@ Name | Type | Description | Notes Installs a firmware for cluster-wide use -Takes an uploaded firmware image and installs it for cluster-wide use. The firmware is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fw' } using content-type application/json to acquire an imageId. Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/cluster/firmware-service/firmware with { imageId: string; filename: string } using content-type application/json to acquire a taskId. The 'filename' must be an exact match for the filename in the firmware service that you're uploading this image for. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware/:taskId. +Takes an uploaded firmware image and installs it for cluster-wide use. The firmware is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fw' } using content-type application/json to acquire an imageId. Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/images/install-firmware with { imageId: string; filename: string } using content-type application/json to acquire a taskId. The 'filename' must be an exact match for the filename in the firmware service that you're uploading this image for. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware/:taskId. ### Example @@ -9501,7 +10132,82 @@ Name | Type | Description | Notes ### Return type -[**InstallFirmwareResponse**](InstallFirmwareResponse.md) +[**InstallFirmwareResponse**](InstallFirmwareResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | application/json | - | +**400** | Bad Request | - | +**404** | Not Found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_install_firmware_assets** +> InstallFirmwareAssetsResponse v1_install_firmware_assets(install_firmware_assets_request) + +Installs firmware assets for cluster-wide use + +Takes an uploaded firmware assets blob image and installs it for cluster-wide use. The image is then removed from Images. In order to install a firmware, you need to follow a 4-step process. First, POST /v1/images/ with { name: string, type: 'fwasset' } using content-type application/json to acquire an imageId. name should be something like 'fcs-keys.json' Second, upload the firmware file via a multipart/form-data POST to /v1/images/:imageId. Third, POST /v1/images/install-firmware-assets with { imageId: string; } using content-type application/json to acquire a taskId. Fourth, you can poll the state of the installation via GET /v1/images/install-firmware-assets/:taskId. + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + install_firmware_assets_request = corellium_api.InstallFirmwareAssetsRequest() # InstallFirmwareAssetsRequest | User data + + try: + # Installs firmware assets for cluster-wide use + api_response = await api_instance.v1_install_firmware_assets(install_firmware_assets_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_install_firmware_assets: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **install_firmware_assets_request** | [**InstallFirmwareAssetsRequest**](InstallFirmwareAssetsRequest.md)| User data | + +### Return type + +[**InstallFirmwareAssetsResponse**](InstallFirmwareAssetsResponse.md) ### Authorization @@ -10039,12 +10745,12 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_list_threads** -> list[KernelTask] v1_list_threads(instance_id) +# **v1_list_storage_files** +> object v1_list_storage_files(id, path, limit=limit, offset=offset, name=name, type=type, sort=sort) -Get Running Threads (CoreTrace) +List Storage Files -Get Running Threads (CoreTrace) +List files from attached storage devices. Looks up the storage device by identifier, then lists filesystem contents at the given path within the device's mount point. This endpoint is available to all authenticated users. ### Example @@ -10073,14 +10779,20 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - instance_id = 'instance_id_example' # str | Instance ID - uuid + id = 'id_example' # str | Storage device identifier (MediaStore identifier) +path = 'path_example' # str | Path within the storage device to list +limit = 3.4 # float | Maximum number of results to return (1–1000, default: 100) (optional) +offset = 3.4 # float | Number of results to skip (default: 0) (optional) +name = 'name_example' # str | Filter by name (case insensitive exact match, comma separated for multiple values) (optional) +type = 'type_example' # str | Filter by type (case insensitive partial match, e.g. \"file\" or \"dir\") (optional) +sort = 'sort_example' # str | Sort order (e.g., 'name', '-name', 'type,-size,-lastModifiedTime'). Prefix with '-' for descending. (optional) try: - # Get Running Threads (CoreTrace) - api_response = await api_instance.v1_list_threads(instance_id) + # List Storage Files + api_response = await api_instance.v1_list_storage_files(id, path, limit=limit, offset=offset, name=name, type=type, sort=sort) pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_list_threads: %s\n" % e) + print("Exception when calling CorelliumApi->v1_list_storage_files: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -10090,11 +10802,17 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **instance_id** | **str**| Instance ID - uuid | + **id** | **str**| Storage device identifier (MediaStore identifier) | + **path** | **str**| Path within the storage device to list | + **limit** | **float**| Maximum number of results to return (1–1000, default: 100) | [optional] + **offset** | **float**| Number of results to skip (default: 0) | [optional] + **name** | **str**| Filter by name (case insensitive exact match, comma separated for multiple values) | [optional] + **type** | **str**| Filter by type (case insensitive partial match, e.g. \"file\" or \"dir\") | [optional] + **sort** | **str**| Sort order (e.g., 'name', '-name', 'type,-size,-lastModifiedTime'). Prefix with '-' for descending. | [optional] ### Return type -[**list[KernelTask]**](KernelTask.md) +**object** ### Authorization @@ -10108,16 +10826,21 @@ Name | Type | Description | Notes ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Threads | - | +**200** | Success | - | **400** | Bad Request | - | +**401** | Unauthorized | - | **403** | Forbidden | - | +**404** | Not Found (storage device or path) | - | +**500** | Internal Server Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_load_extension** -> Extension v1_load_extension(v1_load_extension_parameters) +# **v1_list_threads** +> list[KernelTask] v1_list_threads(instance_id) + +Get Running Threads (CoreTrace) -Load an extension +Get Running Threads (CoreTrace) ### Example @@ -10146,14 +10869,14 @@ async def main(): async with corellium_api.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) - v1_load_extension_parameters = corellium_api.V1LoadExtensionParameters() # V1LoadExtensionParameters | application/json + instance_id = 'instance_id_example' # str | Instance ID - uuid try: - # Load an extension - api_response = await api_instance.v1_load_extension(v1_load_extension_parameters) + # Get Running Threads (CoreTrace) + api_response = await api_instance.v1_list_threads(instance_id) pprint(api_response) except ApiException as e: - print("Exception when calling CorelliumApi->v1_load_extension: %s\n" % e) + print("Exception when calling CorelliumApi->v1_list_threads: %s\n" % e) if __name__ == "__main__": asyncio.run(main()) @@ -10163,11 +10886,11 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **v1_load_extension_parameters** | [**V1LoadExtensionParameters**](V1LoadExtensionParameters.md)| application/json | + **instance_id** | **str**| Instance ID - uuid | ### Return type -[**Extension**](Extension.md) +[**list[KernelTask]**](KernelTask.md) ### Authorization @@ -10175,13 +10898,13 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Extension | - | +**200** | Threads | - | **400** | Bad Request | - | **403** | Forbidden | - | @@ -10340,96 +11063,6 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_parse_extension_json** -> object v1_parse_extension_json(extension) - -Validates extension.json - -### Example - -* Bearer (ApiToken or JWT) Authentication (BearerAuth): -```python -from __future__ import print_function -import time -import asyncio -import corellium_api -from corellium_api.rest import ApiException -from pprint import pprint -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (ApiToken or JWT): BearerAuth -configuration = corellium_api.Configuration( - host = "https://app.corellium.com/api" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - - -async def main(): - # Enter a context with an instance of the API client - async with corellium_api.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = corellium_api.CorelliumApi(api_client) - extension = { - "parserVersion": 1, - "version": "1.0.0", - "identifier": "mach-rpi4b", - "definitions": [{ - "type": "iot", - "flavor": "Raspberry Pi 4", - "flavorId": "rpi4b", - "cores": 4, - "bootargs": [], - "volume": { - "allocate": 1 - }, - "ram": 4096, - "supportsGDB": true, - "supportsSerialConsole": true, - "supportsPresetBootOptions": true - }] -} # Extension | extension.json contents - - try: - # Validates extension.json - api_response = await api_instance.v1_parse_extension_json(extension) - pprint(api_response) - except ApiException as e: - print("Exception when calling CorelliumApi->v1_parse_extension_json: %s\n" % e) - -if __name__ == "__main__": - asyncio.run(main()) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **extension** | [**Extension**](Extension.md)| extension.json contents | - -### Return type - -**object** - -### Authorization - -[BearerAuth](../README.md#BearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **v1_partial_update_network_connection** > NetworkConnection v1_partial_update_network_connection(id, update_network_connection_options, force=force) @@ -11347,8 +11980,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | application/json | - | +**400** | Validation Error | - | **403** | Forbidden | - | -**404** | Not Found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -11572,8 +12205,8 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **204** | Accepted | - | +**400** | Bad Request | - | **403** | Forbidden | - | -**404** | Not Found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -13034,6 +13667,94 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **v1_storage_get** +> GetStorageResponse v1_storage_get(limit=limit, offset=offset, identifier=identifier, device=device, fs_type=fs_type, mount_policy=mount_policy, sort=sort) + +Get storage devices + +List all attached storage devices. This endpoint is only available to all authenticated users. + +### Example + +* Bearer (ApiToken or JWT) Authentication (BearerAuth): +```python +from __future__ import print_function +import time +import asyncio +import corellium_api +from corellium_api.rest import ApiException +from pprint import pprint +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth +configuration = corellium_api.Configuration( + host = "https://app.corellium.com/api" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + + +async def main(): + # Enter a context with an instance of the API client + async with corellium_api.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = corellium_api.CorelliumApi(api_client) + limit = 3.4 # float | Maximum number of results to return (1–1000, default: 100) (optional) +offset = 3.4 # float | Number of results to skip (default: 0) (optional) +identifier = 'identifier_example' # str | Filter by identifier (comma separated) (optional) +device = 'device_example' # str | Filter by device name (partial match) (optional) +fs_type = 'fs_type_example' # str | Filter by filesystem type (comma separated) (optional) +mount_policy = 'mount_policy_example' # str | Filter by mount policy (RO or RW) (optional) +sort = 'sort_example' # str | Sort order (e.g. \"device\" or \"-device\") (optional) + + try: + # Get storage devices + api_response = await api_instance.v1_storage_get(limit=limit, offset=offset, identifier=identifier, device=device, fs_type=fs_type, mount_policy=mount_policy, sort=sort) + pprint(api_response) + except ApiException as e: + print("Exception when calling CorelliumApi->v1_storage_get: %s\n" % e) + +if __name__ == "__main__": + asyncio.run(main()) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **limit** | **float**| Maximum number of results to return (1–1000, default: 100) | [optional] + **offset** | **float**| Number of results to skip (default: 0) | [optional] + **identifier** | **str**| Filter by identifier (comma separated) | [optional] + **device** | **str**| Filter by device name (partial match) | [optional] + **fs_type** | **str**| Filter by filesystem type (comma separated) | [optional] + **mount_policy** | **str**| Filter by mount policy (RO or RW) | [optional] + **sort** | **str**| Sort order (e.g. \"device\" or \"-device\") | [optional] + +### Return type + +[**GetStorageResponse**](GetStorageResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved storage devices | - | +**401** | Unauthorized | - | +**403** | Forbidden | - | +**500** | Internal server error | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **v1_team_change** > v1_team_change(team_id, create_team) @@ -13491,80 +14212,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_update_extension** -> v1_update_extension(extension_id, update_extension) - -Update an existing extension - -### Example - -* Bearer (ApiToken or JWT) Authentication (BearerAuth): -```python -from __future__ import print_function -import time -import asyncio -import corellium_api -from corellium_api.rest import ApiException -from pprint import pprint -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization (ApiToken or JWT): BearerAuth -configuration = corellium_api.Configuration( - host = "https://app.corellium.com/api" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - - -async def main(): - # Enter a context with an instance of the API client - async with corellium_api.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = corellium_api.CorelliumApi(api_client) - extension_id = 'extension_id_example' # str | Extension ID -update_extension = { "enabled": false} # UpdateExtension | application/json - - try: - # Update an existing extension - api_instance.v1_update_extension(extension_id, update_extension) - except ApiException as e: - print("Exception when calling CorelliumApi->v1_update_extension: %s\n" % e) - -if __name__ == "__main__": - asyncio.run(main()) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **extension_id** | **str**| Extension ID | - **update_extension** | [**UpdateExtension**](UpdateExtension.md)| application/json | - -### Return type - -void (empty response body) - -### Authorization - -[BearerAuth](../README.md#BearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Accepted | - | -**400** | Bad Request | - | -**403** | Forbidden | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **v1_update_hook** > Hook v1_update_hook(hook_id, v1_update_hook_parameters) @@ -14038,7 +14685,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_upload_image_data** -> v1_upload_image_data(image_id, body) +> Image v1_upload_image_data(image_id, corellium_checksum=corellium_checksum, file=file) Upload Image Data @@ -14046,6 +14693,7 @@ If the active project has enough remaining quota, updates an Image with the cont ### Example +* Bearer (ApiToken or JWT) Authentication (BearerAuth): ```python from __future__ import print_function import time @@ -14053,11 +14701,16 @@ import asyncio import corellium_api from corellium_api.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://app.corellium.com/api -# See configuration.py for a list of all supported configuration parameters. +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (ApiToken or JWT): BearerAuth configuration = corellium_api.Configuration( host = "https://app.corellium.com/api" ) +configuration.access_token = 'YOUR_ACCESS_TOKEN' async def main(): @@ -14066,11 +14719,13 @@ async def main(): # Create an instance of the API class api_instance = corellium_api.CorelliumApi(api_client) image_id = 'image_id_example' # str | Image ID - uuid -body = 'body_example' # str | Uploaded Image +corellium_checksum = 'corellium_checksum_example' # str | Corellium Checksum of the uploaded firmware (optional) +file = '/path/to/file' # file | Optionally the actual file (optional) try: # Upload Image Data - api_instance.v1_upload_image_data(image_id, body) + api_response = await api_instance.v1_upload_image_data(image_id, corellium_checksum=corellium_checksum, file=file) + pprint(api_response) except ApiException as e: print("Exception when calling CorelliumApi->v1_upload_image_data: %s\n" % e) @@ -14083,21 +14738,28 @@ if __name__ == "__main__": Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **image_id** | **str**| Image ID - uuid | - **body** | **str**| Uploaded Image | + **corellium_checksum** | **str**| Corellium Checksum of the uploaded firmware | [optional] + **file** | **file**| Optionally the actual file | [optional] ### Return type -void (empty response body) +[**Image**](Image.md) ### Authorization -No authorization required +[BearerAuth](../README.md#BearerAuth) ### HTTP request headers - - **Content-Type**: binary - - **Accept**: Not defined + - **Content-Type**: multipart/form-data + - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | application/json | - | +**404** | application/json | - | +**409** | Conflict | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/FirmwareServiceConfiguration.md b/docs/FirmwareServiceConfiguration.md new file mode 100644 index 0000000..9cb9652 --- /dev/null +++ b/docs/FirmwareServiceConfiguration.md @@ -0,0 +1,16 @@ +# FirmwareServiceConfiguration + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cache_firmware** | **bool** | Cache Firmwares in /var/ipsw | [optional] +**cluster_firmware_assets** | **bool** | Assets are cluster-wide | [optional] +**fallback_original_url** | **bool** | Use original URL to fetch firmware | [optional] +**fetch_firmware_assets** | **bool** | Automatically fetch assets | [optional] +**should_download** | **bool** | Download firmwares | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetStorageResponse.md b/docs/GetStorageResponse.md new file mode 100644 index 0000000..3c21e18 --- /dev/null +++ b/docs/GetStorageResponse.md @@ -0,0 +1,16 @@ +# GetStorageResponse + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**results** | [**list[MediaStore]**](MediaStore.md) | Array of storage devices | [optional] +**count** | **float** | Number of storage devices in this response | [optional] +**total** | **float** | Total number of storage devices | [optional] +**limit** | **float** | Limit used for pagination | [optional] +**offset** | **float** | Offset used for pagination | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InstallFirmwareAssetsRequest.md b/docs/InstallFirmwareAssetsRequest.md new file mode 100644 index 0000000..ac64f8c --- /dev/null +++ b/docs/InstallFirmwareAssetsRequest.md @@ -0,0 +1,12 @@ +# InstallFirmwareAssetsRequest + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**image_id** | **str** | Image ID | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InstallFirmwareAssetsResponse.md b/docs/InstallFirmwareAssetsResponse.md new file mode 100644 index 0000000..45817f0 --- /dev/null +++ b/docs/InstallFirmwareAssetsResponse.md @@ -0,0 +1,12 @@ +# InstallFirmwareAssetsResponse + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**task_id** | **str** | Task ID | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InstanceBootOptions.md b/docs/InstanceBootOptions.md index 4461c99..75a97e2 100644 --- a/docs/InstanceBootOptions.md +++ b/docs/InstanceBootOptions.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **pac** | **bool** | Enable PAC | [optional] **aprr** | **bool** | Enable APRR | [optional] **additional_tags** | [**list[InstanceBootOptionsAdditionalTag]**](InstanceBootOptionsAdditionalTag.md) | | [optional] +**kernel** | [**InstanceBootOptionsKernel**](InstanceBootOptionsKernel.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InstanceBootOptionsKernel.md b/docs/InstanceBootOptionsKernel.md new file mode 100644 index 0000000..ff0594a --- /dev/null +++ b/docs/InstanceBootOptionsKernel.md @@ -0,0 +1,12 @@ +# InstanceBootOptionsKernel + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**firmware_path** | **str** | The relative path within the firmware to the kernel file that has been bundled up with the selected firmware | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InstanceCreateOptions.md b/docs/InstanceCreateOptions.md index 6307ad4..34d794f 100644 --- a/docs/InstanceCreateOptions.md +++ b/docs/InstanceCreateOptions.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **orig_fw_package_url** | **str** | URL that firmware package used to create this instance is available at | [optional] **encrypt** | **bool** | | [optional] **wifi_mac** | **str** | | [optional] +**wan_access** | **bool** | manages internet access | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MediaStore.md b/docs/MediaStore.md new file mode 100644 index 0000000..7a156e8 --- /dev/null +++ b/docs/MediaStore.md @@ -0,0 +1,22 @@ +# MediaStore + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**identifier** | **str** | | [optional] +**device** | **str** | | [optional] +**fs_type** | **str** | | [optional] +**fs_uuid** | **str** | | [optional] +**label** | **str** | | [optional] +**serial** | **str** | | [optional] +**vendor** | **str** | | [optional] +**model** | **str** | | [optional] +**mount_policy** | **str** | | [optional] +**created_at** | **str** | | [optional] +**updated_at** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NodeUpdatesFailed.md b/docs/NodeUpdatesFailed.md new file mode 100644 index 0000000..5d9336a --- /dev/null +++ b/docs/NodeUpdatesFailed.md @@ -0,0 +1,13 @@ +# NodeUpdatesFailed + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | Instructions to try again or resolve manually | [optional] +**nodes** | [**list[NodeInformation]**](NodeInformation.md) | List of nodes that failed to receive updates. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PartialUpdateInterconnectRequest.md b/docs/PartialUpdateInterconnectRequest.md index 1362277..03a799f 100644 --- a/docs/PartialUpdateInterconnectRequest.md +++ b/docs/PartialUpdateInterconnectRequest.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | The name of the interconnect (optional) | [optional] **interfaces** | **list[object]** | Array of interfaces with deviceId and interfaceId (optional) | [optional] -**interfaces** | **str** | The interface identifier | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SnapshotList.md b/docs/SnapshotList.md new file mode 100644 index 0000000..835b5a2 --- /dev/null +++ b/docs/SnapshotList.md @@ -0,0 +1,15 @@ +# SnapshotList + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**results** | [**list[ClusterSnapshot]**](ClusterSnapshot.md) | List of snapshots | [optional] +**offset** | **float** | Offset for pagination, defaults to 0 | [optional] +**limit** | **float** | Number of items to return, defaults to 100, minimum of 1 and maximum of 1000 | [optional] +**count** | **float** | Number of items in current response | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SnapshotRequest.md b/docs/SnapshotRequest.md new file mode 100644 index 0000000..fb90c1e --- /dev/null +++ b/docs/SnapshotRequest.md @@ -0,0 +1,22 @@ +# SnapshotRequest + + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**limit** | **float** | Number of entries to return, defaults to 100 | [optional] +**offset** | **float** | Number of rows to skip, defaults to 0 | [optional] +**springboard** | **bool** | Denotes whether snapshot was a springboard snapshot | [optional] +**live** | **bool** | Denotes whether snapshot was a live snapshot | [optional] +**fresh** | **bool** | Denotes whether snapshot was created immediately after the device was restored | [optional] +**device_name** | **str** | Name of device | [optional] +**task** | **str** | Task being executed on snapshot | [optional] +**to** | **str** | Date to filter to, keyed off of createdAt | [optional] +**_from** | **str** | Date to filter from, keyed off of createdAt | [optional] +**order_by** | **str** | Sorting order ('-createdAt' or 'createdAt'), defaults to -createdAt | [optional] +**search** | **str** | Last filter applied and searches on snapshot / associated instance name and snapshot / instance id | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpdateInterconnectRequest.md b/docs/UpdateInterconnectRequest.md index 3949f67..441462f 100644 --- a/docs/UpdateInterconnectRequest.md +++ b/docs/UpdateInterconnectRequest.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | The name of the interconnect | [optional] **interfaces** | **list[object]** | Array of interfaces with deviceId and interfaceId | [optional] -**interfaces** | **str** | The interface identifier | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/setup.py b/setup.py index 8a0dc5a..32d4907 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_activity.py b/test/test_activity.py index 1dcb301..8d5f664 100644 --- a/test/test_activity.py +++ b/test/test_activity.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_activity_export_dto.py b/test/test_activity_export_dto.py index be2699a..4a7c501 100644 --- a/test/test_activity_export_dto.py +++ b/test/test_activity_export_dto.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_activity_export_response.py b/test/test_activity_export_response.py index 2c8141b..5a7657d 100644 --- a/test/test_activity_export_response.py +++ b/test/test_activity_export_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_activity_list.py b/test/test_activity_list.py index 1a9dced..a89412f 100644 --- a/test/test_activity_list.py +++ b/test/test_activity_list.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_activity_request.py b/test/test_activity_request.py index fc50bd1..b0f6f44 100644 --- a/test/test_activity_request.py +++ b/test/test_activity_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_address.py b/test/test_address.py index 96c9db4..3a030b6 100644 --- a/test/test_address.py +++ b/test/test_address.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_app.py b/test/test_agent_app.py index c0bffc9..ee444ba 100644 --- a/test/test_agent_app.py +++ b/test/test_agent_app.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_app_ready_response.py b/test/test_agent_app_ready_response.py index 67dcdaf..9507102 100644 --- a/test/test_agent_app_ready_response.py +++ b/test/test_agent_app_ready_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_app_status.py b/test/test_agent_app_status.py index 2d2ba53..bc45039 100644 --- a/test/test_agent_app_status.py +++ b/test/test_agent_app_status.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_apps_list.py b/test/test_agent_apps_list.py index 613abcc..0ab7039 100644 --- a/test/test_agent_apps_list.py +++ b/test/test_agent_apps_list.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_apps_status_list.py b/test/test_agent_apps_status_list.py index 593f0a7..6e49a34 100644 --- a/test/test_agent_apps_status_list.py +++ b/test/test_agent_apps_status_list.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_error.py b/test/test_agent_error.py index dbde7ec..6f39abc 100644 --- a/test/test_agent_error.py +++ b/test/test_agent_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_icons.py b/test/test_agent_icons.py index d283baa..1d5756a 100644 --- a/test/test_agent_icons.py +++ b/test/test_agent_icons.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_install_body.py b/test/test_agent_install_body.py index 697a7eb..d1c7d08 100644 --- a/test/test_agent_install_body.py +++ b/test/test_agent_install_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_profiles_return.py b/test/test_agent_profiles_return.py index 21a0451..63cf674 100644 --- a/test/test_agent_profiles_return.py +++ b/test/test_agent_profiles_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_system_adb_auth.py b/test/test_agent_system_adb_auth.py index aaf5d86..56b8b2b 100644 --- a/test/test_agent_system_adb_auth.py +++ b/test/test_agent_system_adb_auth.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_system_get_prop_body.py b/test/test_agent_system_get_prop_body.py index 3a83ac1..034cbaf 100644 --- a/test/test_agent_system_get_prop_body.py +++ b/test/test_agent_system_get_prop_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_system_set_hostname_body.py b/test/test_agent_system_set_hostname_body.py index c37403c..8e2b12d 100644 --- a/test/test_agent_system_set_hostname_body.py +++ b/test/test_agent_system_set_hostname_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agent_value_return.py b/test/test_agent_value_return.py index 33131f3..604ba03 100644 --- a/test/test_agent_value_return.py +++ b/test/test_agent_value_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_agreed_ack.py b/test/test_agreed_ack.py index 1b9dd2a..406909f 100644 --- a/test/test_agreed_ack.py +++ b/test/test_agreed_ack.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_allowed_domains_response.py b/test/test_allowed_domains_response.py index 685631a..2369916 100644 --- a/test/test_allowed_domains_response.py +++ b/test/test_allowed_domains_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_conflict_error.py b/test/test_api_conflict_error.py index d277526..a16076b 100644 --- a/test/test_api_conflict_error.py +++ b/test/test_api_conflict_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_error.py b/test/test_api_error.py index 93a530e..876b7de 100644 --- a/test/test_api_error.py +++ b/test/test_api_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_internal_consistency_error.py b/test/test_api_internal_consistency_error.py index c72e75b..7508120 100644 --- a/test/test_api_internal_consistency_error.py +++ b/test/test_api_internal_consistency_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_not_found_error.py b/test/test_api_not_found_error.py index f2bf5d2..5e0dc7f 100644 --- a/test/test_api_not_found_error.py +++ b/test/test_api_not_found_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_token.py b/test/test_api_token.py index 63ce61d..07af3cd 100644 --- a/test/test_api_token.py +++ b/test/test_api_token.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_assessment.py b/test/test_assessment.py index 8c5606e..6f5c2ef 100644 --- a/test/test_assessment.py +++ b/test/test_assessment.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_assessment_history.py b/test/test_assessment_history.py index 05ba832..d06b945 100644 --- a/test/test_assessment_history.py +++ b/test/test_assessment_history.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_assessment_history_line_item.py b/test/test_assessment_history_line_item.py index 8cc70d2..942df98 100644 --- a/test/test_assessment_history_line_item.py +++ b/test/test_assessment_history_line_item.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_assessment_id_status.py b/test/test_assessment_id_status.py index beef4a8..42af084 100644 --- a/test/test_assessment_id_status.py +++ b/test/test_assessment_id_status.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_attach_interface_request.py b/test/test_attach_interface_request.py index b4bd0ed..d9ba919 100644 --- a/test/test_attach_interface_request.py +++ b/test/test_attach_interface_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_auth_provider.py b/test/test_auth_provider.py index 7ac8762..6a59b3f 100644 --- a/test/test_auth_provider.py +++ b/test/test_auth_provider.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_bit.py b/test/test_bit.py index b190923..ddc77c7 100644 --- a/test/test_bit.py +++ b/test/test_bit.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_btrace_enable_options.py b/test/test_btrace_enable_options.py index b30faa9..4e5f6bf 100644 --- a/test/test_btrace_enable_options.py +++ b/test/test_btrace_enable_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_button.py b/test/test_button.py index 543edd7..a843e14 100644 --- a/test/test_button.py +++ b/test/test_button.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_check_subdomain_response.py b/test/test_check_subdomain_response.py index 4fb86c6..e312c38 100644 --- a/test/test_check_subdomain_response.py +++ b/test/test_check_subdomain_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_cluster_configuration_payload.py b/test/test_cluster_configuration_payload.py new file mode 100644 index 0000000..d5cb9b3 --- /dev/null +++ b/test/test_cluster_configuration_payload.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.cluster_configuration_payload import ClusterConfigurationPayload # noqa: E501 +from corellium_api.rest import ApiException + +class TestClusterConfigurationPayload(unittest.TestCase): + """ClusterConfigurationPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ClusterConfigurationPayload + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.cluster_configuration_payload.ClusterConfigurationPayload() # noqa: E501 + if include_optional : + return ClusterConfigurationPayload( + snapshot_limit = 1.337, + coordinator_config = corellium_api.models.coordinator_config.CoordinatorConfig( + usb_media_access_enabled = True, ) + ) + else : + return ClusterConfigurationPayload( + ) + + def testClusterConfigurationPayload(self): + """Test ClusterConfigurationPayload""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_cluster_snapshot.py b/test/test_cluster_snapshot.py new file mode 100644 index 0000000..c6f9dc6 --- /dev/null +++ b/test/test_cluster_snapshot.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.cluster_snapshot import ClusterSnapshot # noqa: E501 +from corellium_api.rest import ApiException + +class TestClusterSnapshot(unittest.TestCase): + """ClusterSnapshot unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ClusterSnapshot + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.cluster_snapshot.ClusterSnapshot() # noqa: E501 + if include_optional : + return ClusterSnapshot( + identifier = '' + ) + else : + return ClusterSnapshot( + ) + + def testClusterSnapshot(self): + """Test ClusterSnapshot""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_config_response.py b/test/test_config_response.py index 1adc673..ecbb498 100644 --- a/test/test_config_response.py +++ b/test/test_config_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_config_response_maintenance.py b/test/test_config_response_maintenance.py index a47070b..05664b8 100644 --- a/test/test_config_response_maintenance.py +++ b/test/test_config_response_maintenance.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_coordinator_config.py b/test/test_coordinator_config.py new file mode 100644 index 0000000..adbf977 --- /dev/null +++ b/test/test_coordinator_config.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.coordinator_config import CoordinatorConfig # noqa: E501 +from corellium_api.rest import ApiException + +class TestCoordinatorConfig(unittest.TestCase): + """CoordinatorConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test CoordinatorConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.coordinator_config.CoordinatorConfig() # noqa: E501 + if include_optional : + return CoordinatorConfig( + usb_media_access_enabled = True + ) + else : + return CoordinatorConfig( + ) + + def testCoordinatorConfig(self): + """Test CoordinatorConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_corellium_api.py b/test/test_corellium_api.py index 66d1701..a1c2fa2 100644 --- a/test/test_corellium_api.py +++ b/test/test_corellium_api.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -28,13 +28,6 @@ def setUp(self): def tearDown(self): pass - def test_api_v1_cluster_nodes_node_id_console_get(self): - """Test case for api_v1_cluster_nodes_node_id_console_get - - Access node console via SSH # noqa: E501 - """ - pass - def test_api_v1_interconnects_get(self): """Test case for api_v1_interconnects_get @@ -406,6 +399,41 @@ def test_v1_clear_instance_panics(self): """ pass + def test_v1_cluster_config_get(self): + """Test case for v1_cluster_config_get + + Get cluster configuration # noqa: E501 + """ + pass + + def test_v1_cluster_config_patch(self): + """Test case for v1_cluster_config_patch + + Update cluster configuration # noqa: E501 + """ + pass + + def test_v1_cluster_firmware_service_config_get(self): + """Test case for v1_cluster_firmware_service_config_get + + Fetch firmware service configuration # noqa: E501 + """ + pass + + def test_v1_cluster_firmware_service_config_patch(self): + """Test case for v1_cluster_firmware_service_config_patch + + Update firmware service configuration # noqa: E501 + """ + pass + + def test_v1_cluster_firmware_service_config_put(self): + """Test case for v1_cluster_firmware_service_config_put + + Set firmware service configuration # noqa: E501 + """ + pass + def test_v1_cluster_firmware_service_devices_get(self): """Test case for v1_cluster_firmware_service_devices_get @@ -462,6 +490,13 @@ def test_v1_cluster_nodes_get(self): """ pass + def test_v1_cluster_nodes_node_id_console_get(self): + """Test case for v1_cluster_nodes_node_id_console_get + + Access node console via SSH # noqa: E501 + """ + pass + def test_v1_cluster_nodes_node_id_get(self): """Test case for v1_cluster_nodes_node_id_get @@ -469,6 +504,27 @@ def test_v1_cluster_nodes_node_id_get(self): """ pass + def test_v1_cluster_storage_get(self): + """Test case for v1_cluster_storage_get + + Get storage devices # noqa: E501 + """ + pass + + def test_v1_cluster_storage_id_attach_post(self): + """Test case for v1_cluster_storage_id_attach_post + + Mount and attach a storage device # noqa: E501 + """ + pass + + def test_v1_cluster_storage_id_eject_post(self): + """Test case for v1_cluster_storage_id_eject_post + + Eject/Unmount removable media # noqa: E501 + """ + pass + def test_v1_create_domain_auth_provider(self): """Test case for v1_create_domain_auth_provider @@ -525,17 +581,17 @@ def test_v1_create_user(self): """ pass - def test_v1_delete_domain_auth_provider(self): - """Test case for v1_delete_domain_auth_provider + def test_v1_delete_cluster_snapshot(self): + """Test case for v1_delete_cluster_snapshot - Delete an auth provider from a domain # noqa: E501 + Delete a Cluster Snapshot # noqa: E501 """ pass - def test_v1_delete_extension(self): - """Test case for v1_delete_extension + def test_v1_delete_domain_auth_provider(self): + """Test case for v1_delete_domain_auth_provider - Delete an existing extension # noqa: E501 + Delete an auth provider from a domain # noqa: E501 """ pass @@ -651,31 +707,31 @@ def test_v1_get_activity_export_tasks(self): """ pass - def test_v1_get_config(self): - """Test case for v1_get_config + def test_v1_get_cluster_snapshot(self): + """Test case for v1_get_cluster_snapshot - Get all configs # noqa: E501 + Get Cluster Snapshot # noqa: E501 """ pass - def test_v1_get_domain_auth_providers(self): - """Test case for v1_get_domain_auth_providers + def test_v1_get_cluster_snapshots(self): + """Test case for v1_get_cluster_snapshots - Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 + Get Cluster Snapshots # noqa: E501 """ pass - def test_v1_get_extension_by_id(self): - """Test case for v1_get_extension_by_id + def test_v1_get_config(self): + """Test case for v1_get_config - Get extension by id # noqa: E501 + Get all configs # noqa: E501 """ pass - def test_v1_get_extensions(self): - """Test case for v1_get_extensions + def test_v1_get_domain_auth_providers(self): + """Test case for v1_get_domain_auth_providers - Get all extensions # noqa: E501 + Return all configured auth providers for a domain (including globally configured providers) # noqa: E501 """ pass @@ -882,6 +938,13 @@ def test_v1_install_firmware(self): """ pass + def test_v1_install_firmware_assets(self): + """Test case for v1_install_firmware_assets + + Installs firmware assets for cluster-wide use # noqa: E501 + """ + pass + def test_v1_instances_instance_id_message_post(self): """Test case for v1_instances_instance_id_message_post @@ -931,17 +994,17 @@ def test_v1_list_network_providers(self): """ pass - def test_v1_list_threads(self): - """Test case for v1_list_threads + def test_v1_list_storage_files(self): + """Test case for v1_list_storage_files - Get Running Threads (CoreTrace) # noqa: E501 + List Storage Files # noqa: E501 """ pass - def test_v1_load_extension(self): - """Test case for v1_load_extension + def test_v1_list_threads(self): + """Test case for v1_list_threads - Load an extension # noqa: E501 + Get Running Threads (CoreTrace) # noqa: E501 """ pass @@ -959,13 +1022,6 @@ def test_v1_media_stop(self): """ pass - def test_v1_parse_extension_json(self): - """Test case for v1_parse_extension_json - - Validates extension.json # noqa: E501 - """ - pass - def test_v1_partial_update_network_connection(self): """Test case for v1_partial_update_network_connection @@ -1204,6 +1260,13 @@ def test_v1_stop_network_monitor(self): """ pass + def test_v1_storage_get(self): + """Test case for v1_storage_get + + Get storage devices # noqa: E501 + """ + pass + def test_v1_team_change(self): """Test case for v1_team_change @@ -1246,13 +1309,6 @@ def test_v1_update_domain_auth_provider(self): """ pass - def test_v1_update_extension(self): - """Test case for v1_update_extension - - Update an existing extension # noqa: E501 - """ - pass - def test_v1_update_hook(self): """Test case for v1_update_hook diff --git a/test/test_coupon_options.py b/test/test_coupon_options.py index 85cdbe6..862da9b 100644 --- a/test/test_coupon_options.py +++ b/test/test_coupon_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_assessment_dto.py b/test/test_create_assessment_dto.py index af7bd6f..99f1ae1 100644 --- a/test/test_create_assessment_dto.py +++ b/test/test_create_assessment_dto.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_interconnect_request.py b/test/test_create_interconnect_request.py index 6033fc0..d1918ac 100644 --- a/test/test_create_interconnect_request.py +++ b/test/test_create_interconnect_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_network_connection_options.py b/test/test_create_network_connection_options.py index 526581e..f288ade 100644 --- a/test/test_create_network_connection_options.py +++ b/test/test_create_network_connection_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_team.py b/test/test_create_team.py index 7a2390f..f2b54db 100644 --- a/test/test_create_team.py +++ b/test/test_create_team.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_created_by.py b/test/test_created_by.py index 7579869..e894f1b 100644 --- a/test/test_created_by.py +++ b/test/test_created_by.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_credentials.py b/test/test_credentials.py index dd99cbf..8f94b0a 100644 --- a/test/test_credentials.py +++ b/test/test_credentials.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_detach_interface_request.py b/test/test_detach_interface_request.py index 2db9802..29991a8 100644 --- a/test/test_detach_interface_request.py +++ b/test/test_detach_interface_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_device.py b/test/test_device.py index d534fcd..00ba375 100644 --- a/test/test_device.py +++ b/test/test_device.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_domain_auth_provider_request.py b/test/test_domain_auth_provider_request.py index 1e87092..f76ed3e 100644 --- a/test/test_domain_auth_provider_request.py +++ b/test/test_domain_auth_provider_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_domain_auth_provider_response.py b/test/test_domain_auth_provider_response.py index 0dd98a3..aee796b 100644 --- a/test/test_domain_auth_provider_response.py +++ b/test/test_domain_auth_provider_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_domain_options.py b/test/test_domain_options.py index 7a62e9b..ea796cb 100644 --- a/test/test_domain_options.py +++ b/test/test_domain_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_extended_firmware_asset_info.py b/test/test_extended_firmware_asset_info.py index 2491baa..ab2f0ed 100644 --- a/test/test_extended_firmware_asset_info.py +++ b/test/test_extended_firmware_asset_info.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_extension.py b/test/test_extension.py index fd28628..28690eb 100644 --- a/test/test_extension.py +++ b/test/test_extension.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_features.py b/test/test_features.py index 8a77dc8..88ff222 100644 --- a/test/test_features.py +++ b/test/test_features.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_file_changes.py b/test/test_file_changes.py index 5e3948a..3a279f6 100644 --- a/test/test_file_changes.py +++ b/test/test_file_changes.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_firmware.py b/test/test_firmware.py index 8183e13..81d213e 100644 --- a/test/test_firmware.py +++ b/test/test_firmware.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_firmware_asset.py b/test/test_firmware_asset.py index 12c0dc6..aa069aa 100644 --- a/test/test_firmware_asset.py +++ b/test/test_firmware_asset.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_firmware_service_configuration.py b/test/test_firmware_service_configuration.py new file mode 100644 index 0000000..29d5aa6 --- /dev/null +++ b/test/test_firmware_service_configuration.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.firmware_service_configuration import FirmwareServiceConfiguration # noqa: E501 +from corellium_api.rest import ApiException + +class TestFirmwareServiceConfiguration(unittest.TestCase): + """FirmwareServiceConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test FirmwareServiceConfiguration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.firmware_service_configuration.FirmwareServiceConfiguration() # noqa: E501 + if include_optional : + return FirmwareServiceConfiguration( + cache_firmware = True, + cluster_firmware_assets = True, + fallback_original_url = True, + fetch_firmware_assets = True, + should_download = True + ) + else : + return FirmwareServiceConfiguration( + ) + + def testFirmwareServiceConfiguration(self): + """Test FirmwareServiceConfiguration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_get_assessments_by_instance_id500_response.py b/test/test_get_assessments_by_instance_id500_response.py index fbc3ff6..9d44d5c 100644 --- a/test/test_get_assessments_by_instance_id500_response.py +++ b/test/test_get_assessments_by_instance_id500_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_get_interconnects_response.py b/test/test_get_interconnects_response.py index d38a721..e972480 100644 --- a/test/test_get_interconnects_response.py +++ b/test/test_get_interconnects_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_get_storage_response.py b/test/test_get_storage_response.py new file mode 100644 index 0000000..2457be8 --- /dev/null +++ b/test/test_get_storage_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.get_storage_response import GetStorageResponse # noqa: E501 +from corellium_api.rest import ApiException + +class TestGetStorageResponse(unittest.TestCase): + """GetStorageResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test GetStorageResponse + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.get_storage_response.GetStorageResponse() # noqa: E501 + if include_optional : + return GetStorageResponse( + results = [ + corellium_api.models.media_store.MediaStore( + identifier = '', + device = '', + fs_type = '', + fs_uuid = '', + label = '', + serial = '', + vendor = '', + model = '', + mount_policy = '', + created_at = '', + updated_at = '', ) + ], + count = 1.337, + total = 1.337, + limit = 1.337, + offset = 1.337 + ) + else : + return GetStorageResponse( + ) + + def testGetStorageResponse(self): + """Test GetStorageResponse""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gpio_state_definition.py b/test/test_gpio_state_definition.py index c001126..c02a5e8 100644 --- a/test/test_gpio_state_definition.py +++ b/test/test_gpio_state_definition.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_gpios_state.py b/test/test_gpios_state.py index fc7d077..8a09d62 100644 --- a/test/test_gpios_state.py +++ b/test/test_gpios_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_grant_trial_request_response.py b/test/test_grant_trial_request_response.py index 8e134cc..8c4268d 100644 --- a/test/test_grant_trial_request_response.py +++ b/test/test_grant_trial_request_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_hook.py b/test/test_hook.py index d6680c3..547f27b 100644 --- a/test/test_hook.py +++ b/test/test_hook.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_image.py b/test/test_image.py index c74f310..993955e 100644 --- a/test/test_image.py +++ b/test/test_image.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_input_response.py b/test/test_input_response.py index a445b25..9dfe012 100644 --- a/test/test_input_response.py +++ b/test/test_input_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_install_firmware_assets_request.py b/test/test_install_firmware_assets_request.py new file mode 100644 index 0000000..ed33db3 --- /dev/null +++ b/test/test_install_firmware_assets_request.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.install_firmware_assets_request import InstallFirmwareAssetsRequest # noqa: E501 +from corellium_api.rest import ApiException + +class TestInstallFirmwareAssetsRequest(unittest.TestCase): + """InstallFirmwareAssetsRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test InstallFirmwareAssetsRequest + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.install_firmware_assets_request.InstallFirmwareAssetsRequest() # noqa: E501 + if include_optional : + return InstallFirmwareAssetsRequest( + image_id = '' + ) + else : + return InstallFirmwareAssetsRequest( + image_id = '', + ) + + def testInstallFirmwareAssetsRequest(self): + """Test InstallFirmwareAssetsRequest""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_install_firmware_assets_response.py b/test/test_install_firmware_assets_response.py new file mode 100644 index 0000000..00f47b9 --- /dev/null +++ b/test/test_install_firmware_assets_response.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.install_firmware_assets_response import InstallFirmwareAssetsResponse # noqa: E501 +from corellium_api.rest import ApiException + +class TestInstallFirmwareAssetsResponse(unittest.TestCase): + """InstallFirmwareAssetsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test InstallFirmwareAssetsResponse + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.install_firmware_assets_response.InstallFirmwareAssetsResponse() # noqa: E501 + if include_optional : + return InstallFirmwareAssetsResponse( + task_id = '' + ) + else : + return InstallFirmwareAssetsResponse( + ) + + def testInstallFirmwareAssetsResponse(self): + """Test InstallFirmwareAssetsResponse""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_install_firmware_request.py b/test/test_install_firmware_request.py index b658197..2bb6570 100644 --- a/test/test_install_firmware_request.py +++ b/test/test_install_firmware_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_install_firmware_response.py b/test/test_install_firmware_response.py index 8f554d1..1ca0b97 100644 --- a/test/test_install_firmware_response.py +++ b/test/test_install_firmware_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance.py b/test/test_instance.py index 040796b..56b7f2e 100644 --- a/test/test_instance.py +++ b/test/test_instance.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -58,7 +58,9 @@ def make_instance(self, include_optional): aprr = True, additional_tags = [ 'kalloc' - ], ), + ], + kernel = corellium_api.models.instance_boot_options_kernel.InstanceBootOptionsKernel( + firmware_path = '', ), ), service_ip = '', wifi_ip = '', secondary_ip = '', diff --git a/test/test_instance_agent_state.py b/test/test_instance_agent_state.py index 0944e92..e2d18fe 100644 --- a/test/test_instance_agent_state.py +++ b/test/test_instance_agent_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_boot_options.py b/test/test_instance_boot_options.py index d21cd04..39ff0c7 100644 --- a/test/test_instance_boot_options.py +++ b/test/test_instance_boot_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -45,7 +45,9 @@ def make_instance(self, include_optional): aprr = True, additional_tags = [ 'kalloc' - ] + ], + kernel = corellium_api.models.instance_boot_options_kernel.InstanceBootOptionsKernel( + firmware_path = '', ) ) else : return InstanceBootOptions( diff --git a/test/test_instance_boot_options_additional_tag.py b/test/test_instance_boot_options_additional_tag.py index e7c193b..5e01f61 100644 --- a/test/test_instance_boot_options_additional_tag.py +++ b/test/test_instance_boot_options_additional_tag.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_boot_options_kernel.py b/test/test_instance_boot_options_kernel.py new file mode 100644 index 0000000..cdf11a3 --- /dev/null +++ b/test/test_instance_boot_options_kernel.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.instance_boot_options_kernel import InstanceBootOptionsKernel # noqa: E501 +from corellium_api.rest import ApiException + +class TestInstanceBootOptionsKernel(unittest.TestCase): + """InstanceBootOptionsKernel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test InstanceBootOptionsKernel + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.instance_boot_options_kernel.InstanceBootOptionsKernel() # noqa: E501 + if include_optional : + return InstanceBootOptionsKernel( + firmware_path = '' + ) + else : + return InstanceBootOptionsKernel( + ) + + def testInstanceBootOptionsKernel(self): + """Test InstanceBootOptionsKernel""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_instance_console_endpoint.py b/test/test_instance_console_endpoint.py index 5ac6172..53c0eab 100644 --- a/test/test_instance_console_endpoint.py +++ b/test/test_instance_console_endpoint.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_create_options.py b/test/test_instance_create_options.py index c8d807c..6565924 100644 --- a/test/test_instance_create_options.py +++ b/test/test_instance_create_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -50,7 +50,8 @@ def make_instance(self, include_optional): fwpackage = '', orig_fw_package_url = '', encrypt = True, - wifi_mac = '' + wifi_mac = '', + wan_access = True ) else : return InstanceCreateOptions( diff --git a/test/test_instance_input.py b/test/test_instance_input.py index 766d395..550713e 100644 --- a/test/test_instance_input.py +++ b/test/test_instance_input.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_interface.py b/test/test_instance_interface.py index dd765bc..6e24ee1 100644 --- a/test/test_instance_interface.py +++ b/test/test_instance_interface.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_netdump_state.py b/test/test_instance_netdump_state.py index 9c25782..2238bac 100644 --- a/test/test_instance_netdump_state.py +++ b/test/test_instance_netdump_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_netmon_state.py b/test/test_instance_netmon_state.py index 3924682..4bfaa13 100644 --- a/test/test_instance_netmon_state.py +++ b/test/test_instance_netmon_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_return.py b/test/test_instance_return.py index 80f08f7..34e9b69 100644 --- a/test/test_instance_return.py +++ b/test/test_instance_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_services.py b/test/test_instance_services.py index e2ab6ea..ffb4b18 100644 --- a/test/test_instance_services.py +++ b/test/test_instance_services.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_start_options.py b/test/test_instance_start_options.py index 81fc98b..38ee0ec 100644 --- a/test/test_instance_start_options.py +++ b/test/test_instance_start_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_state.py b/test/test_instance_state.py index e2cd61f..fa125bd 100644 --- a/test/test_instance_state.py +++ b/test/test_instance_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_stop_options.py b/test/test_instance_stop_options.py index 4147b41..17b0520 100644 --- a/test/test_instance_stop_options.py +++ b/test/test_instance_stop_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_instance_upgrade_body.py b/test/test_instance_upgrade_body.py index fa9c9fa..4dcc9c4 100644 --- a/test/test_instance_upgrade_body.py +++ b/test/test_instance_upgrade_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_interconnect_response.py b/test/test_interconnect_response.py index 7a46631..f7fea79 100644 --- a/test/test_interconnect_response.py +++ b/test/test_interconnect_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_invitation.py b/test/test_invitation.py index ddfecfe..52523e9 100644 --- a/test/test_invitation.py +++ b/test/test_invitation.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_invite_revoke_params.py b/test/test_invite_revoke_params.py index 2b068fe..caf4af0 100644 --- a/test/test_invite_revoke_params.py +++ b/test/test_invite_revoke_params.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_invite_revoke_params_ids.py b/test/test_invite_revoke_params_ids.py index 2c87577..5a940cd 100644 --- a/test/test_invite_revoke_params_ids.py +++ b/test/test_invite_revoke_params_ids.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_kcrange.py b/test/test_kcrange.py index 636acf8..c731741 100644 --- a/test/test_kcrange.py +++ b/test/test_kcrange.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_kernel_task.py b/test/test_kernel_task.py index 50bb785..9972127 100644 --- a/test/test_kernel_task.py +++ b/test/test_kernel_task.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_kernel_thread.py b/test/test_kernel_thread.py index 5729bbc..53a220b 100644 --- a/test/test_kernel_thread.py +++ b/test/test_kernel_thread.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_logging.py b/test/test_logging.py index 43fbe0d..14044b3 100644 --- a/test/test_logging.py +++ b/test/test_logging.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_maintenance.py b/test/test_maintenance.py index d11d3eb..b9b3e6f 100644 --- a/test/test_maintenance.py +++ b/test/test_maintenance.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_media_play_body.py b/test/test_media_play_body.py index 0c3d41d..1c43c0a 100644 --- a/test/test_media_play_body.py +++ b/test/test_media_play_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_media_store.py b/test/test_media_store.py new file mode 100644 index 0000000..ce5c154 --- /dev/null +++ b/test/test_media_store.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.media_store import MediaStore # noqa: E501 +from corellium_api.rest import ApiException + +class TestMediaStore(unittest.TestCase): + """MediaStore unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test MediaStore + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.media_store.MediaStore() # noqa: E501 + if include_optional : + return MediaStore( + identifier = '', + device = '', + fs_type = '', + fs_uuid = '', + label = '', + serial = '', + vendor = '', + model = '', + mount_policy = '', + created_at = '', + updated_at = '' + ) + else : + return MediaStore( + ) + + def testMediaStore(self): + """Test MediaStore""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_metered_subscription_usage.py b/test/test_metered_subscription_usage.py index 011f593..04f5b70 100644 --- a/test/test_metered_subscription_usage.py +++ b/test/test_metered_subscription_usage.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_model.py b/test/test_model.py index fb6dc6b..aa7c84e 100644 --- a/test/test_model.py +++ b/test/test_model.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_model_software.py b/test/test_model_software.py index bf1eadd..0ed94c0 100644 --- a/test/test_model_software.py +++ b/test/test_model_software.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_netdump_filter.py b/test/test_netdump_filter.py index d205a0b..70442f7 100644 --- a/test/test_netdump_filter.py +++ b/test/test_netdump_filter.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_network_connection.py b/test/test_network_connection.py index 6ceff72..dc179fa 100644 --- a/test/test_network_connection.py +++ b/test/test_network_connection.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_network_connection_offset_pagination_result.py b/test/test_network_connection_offset_pagination_result.py index 2a1c770..c9d3e85 100644 --- a/test/test_network_connection_offset_pagination_result.py +++ b/test/test_network_connection_offset_pagination_result.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_network_connection_provider.py b/test/test_network_connection_provider.py index 40a570a..e6e98c4 100644 --- a/test/test_network_connection_provider.py +++ b/test/test_network_connection_provider.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_network_connection_provider_offset_pagination_result.py b/test/test_network_connection_provider_offset_pagination_result.py index fd00092..3b97327 100644 --- a/test/test_network_connection_provider_offset_pagination_result.py +++ b/test/test_network_connection_provider_offset_pagination_result.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_network_status_response.py b/test/test_network_status_response.py index 882b063..00e7ad5 100644 --- a/test/test_network_status_response.py +++ b/test/test_network_status_response.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_node_information.py b/test/test_node_information.py index 8df108d..bd096e7 100644 --- a/test/test_node_information.py +++ b/test/test_node_information.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_node_updates_failed.py b/test/test_node_updates_failed.py new file mode 100644 index 0000000..80cfc6c --- /dev/null +++ b/test/test_node_updates_failed.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.node_updates_failed import NodeUpdatesFailed # noqa: E501 +from corellium_api.rest import ApiException + +class TestNodeUpdatesFailed(unittest.TestCase): + """NodeUpdatesFailed unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NodeUpdatesFailed + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.node_updates_failed.NodeUpdatesFailed() # noqa: E501 + if include_optional : + return NodeUpdatesFailed( + message = '', + nodes = [ + corellium_api.models.node_information.NodeInformation( + node_id = '', + address = '', + hostname = '', + ssh_port = 1.337, + node_types = [ + '' + ], ) + ] + ) + else : + return NodeUpdatesFailed( + ) + + def testNodeUpdatesFailed(self): + """Test NodeUpdatesFailed""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_open_id_config.py b/test/test_open_id_config.py index f53c10e..0e9b741 100644 --- a/test/test_open_id_config.py +++ b/test/test_open_id_config.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_pagination.py b/test/test_pagination.py index ee11c52..18843db 100644 --- a/test/test_pagination.py +++ b/test/test_pagination.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_partial_update_interconnect_request.py b/test/test_partial_update_interconnect_request.py index b52a5fa..a3a8e77 100644 --- a/test/test_partial_update_interconnect_request.py +++ b/test/test_partial_update_interconnect_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -39,8 +39,7 @@ def make_instance(self, include_optional): name = '', interfaces = [ None - ], - interfaces = '' + ] ) else : return PartialUpdateInterconnectRequest( diff --git a/test/test_password_change_body.py b/test/test_password_change_body.py index 88fe2bc..3311fcb 100644 --- a/test/test_password_change_body.py +++ b/test/test_password_change_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_password_reset_body.py b/test/test_password_reset_body.py index fb440ad..1f90f70 100644 --- a/test/test_password_reset_body.py +++ b/test/test_password_reset_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_patch_instance_options.py b/test/test_patch_instance_options.py index c882b61..41062eb 100644 --- a/test/test_patch_instance_options.py +++ b/test/test_patch_instance_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -48,7 +48,9 @@ def make_instance(self, include_optional): aprr = True, additional_tags = [ 'kalloc' - ], ), + ], + kernel = corellium_api.models.instance_boot_options_kernel.InstanceBootOptionsKernel( + firmware_path = '', ), ), proxy = [ corellium_api.models.proxy_config.ProxyConfig( device_port = 1.337, diff --git a/test/test_patch_instance_read_only.py b/test/test_patch_instance_read_only.py index dc43e4c..c207510 100644 --- a/test/test_patch_instance_read_only.py +++ b/test/test_patch_instance_read_only.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_peripherals_data.py b/test/test_peripherals_data.py index c534228..ff46de5 100644 --- a/test/test_peripherals_data.py +++ b/test/test_peripherals_data.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_plan.py b/test/test_plan.py index 8ec9f18..f9c1e9a 100644 --- a/test/test_plan.py +++ b/test/test_plan.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_post_share_snapshot_request_payload.py b/test/test_post_share_snapshot_request_payload.py index e0980c4..d9d5400 100644 --- a/test/test_post_share_snapshot_request_payload.py +++ b/test/test_post_share_snapshot_request_payload.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_project.py b/test/test_project.py index dbceb70..4133885 100644 --- a/test/test_project.py +++ b/test/test_project.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_project_key.py b/test/test_project_key.py index fab31a5..2b9fcdf 100644 --- a/test/test_project_key.py +++ b/test/test_project_key.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_project_network_state.py b/test/test_project_network_state.py index 70188ea..d5b9527 100644 --- a/test/test_project_network_state.py +++ b/test/test_project_network_state.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_project_quota.py b/test/test_project_quota.py index 9d05fa4..a10121b 100644 --- a/test/test_project_quota.py +++ b/test/test_project_quota.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_project_settings.py b/test/test_project_settings.py index 44fb1d5..472bb69 100644 --- a/test/test_project_settings.py +++ b/test/test_project_settings.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_project_usage.py b/test/test_project_usage.py index e003918..ff04464 100644 --- a/test/test_project_usage.py +++ b/test/test_project_usage.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_proxy_config.py b/test/test_proxy_config.py index 280a3df..cb1b9fa 100644 --- a/test/test_proxy_config.py +++ b/test/test_proxy_config.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_reset_link_body.py b/test/test_reset_link_body.py index a48f5e2..7e7d58e 100644 --- a/test/test_reset_link_body.py +++ b/test/test_reset_link_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_reset_link_info_return.py b/test/test_reset_link_info_return.py index afcd29e..b4da99d 100644 --- a/test/test_reset_link_info_return.py +++ b/test/test_reset_link_info_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_restore_backup_data.py b/test/test_restore_backup_data.py index c9c5cd8..8657e2e 100644 --- a/test/test_restore_backup_data.py +++ b/test/test_restore_backup_data.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_role.py b/test/test_role.py index 26e7120..c10523f 100644 --- a/test/test_role.py +++ b/test/test_role.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_rotate_body.py b/test/test_rotate_body.py index b77df74..9c6319f 100644 --- a/test/test_rotate_body.py +++ b/test/test_rotate_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_shared_snapshots_info.py b/test/test_shared_snapshots_info.py index fe11f70..463460e 100644 --- a/test/test_shared_snapshots_info.py +++ b/test/test_shared_snapshots_info.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_snapshot.py b/test/test_snapshot.py index 2eb29bb..3ffe6e7 100644 --- a/test/test_snapshot.py +++ b/test/test_snapshot.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_snapshot_creation_options.py b/test/test_snapshot_creation_options.py index d49e4b1..65babbc 100644 --- a/test/test_snapshot_creation_options.py +++ b/test/test_snapshot_creation_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_snapshot_list.py b/test/test_snapshot_list.py new file mode 100644 index 0000000..cf7ac84 --- /dev/null +++ b/test/test_snapshot_list.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.snapshot_list import SnapshotList # noqa: E501 +from corellium_api.rest import ApiException + +class TestSnapshotList(unittest.TestCase): + """SnapshotList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test SnapshotList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.snapshot_list.SnapshotList() # noqa: E501 + if include_optional : + return SnapshotList( + results = [ + corellium_api.models.cluster_snapshot.ClusterSnapshot( + identifier = '', ) + ], + offset = 1.337, + limit = 1.337, + count = 1.337 + ) + else : + return SnapshotList( + ) + + def testSnapshotList(self): + """Test SnapshotList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_snapshot_member.py b/test/test_snapshot_member.py index 428a6ea..22929b9 100644 --- a/test/test_snapshot_member.py +++ b/test/test_snapshot_member.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_snapshot_owner.py b/test/test_snapshot_owner.py index ab16f02..b0da0b6 100644 --- a/test/test_snapshot_owner.py +++ b/test/test_snapshot_owner.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_snapshot_permissions_request_payload.py b/test/test_snapshot_permissions_request_payload.py index 3ac824c..5d52c5a 100644 --- a/test/test_snapshot_permissions_request_payload.py +++ b/test/test_snapshot_permissions_request_payload.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_snapshot_request.py b/test/test_snapshot_request.py new file mode 100644 index 0000000..57db5cf --- /dev/null +++ b/test/test_snapshot_request.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Corellium API + + REST API to manage your virtual devices. # noqa: E501 + + The version of the OpenAPI document: 7.9.0 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import corellium_api +from corellium_api.models.snapshot_request import SnapshotRequest # noqa: E501 +from corellium_api.rest import ApiException + +class TestSnapshotRequest(unittest.TestCase): + """SnapshotRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test SnapshotRequest + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = corellium_api.models.snapshot_request.SnapshotRequest() # noqa: E501 + if include_optional : + return SnapshotRequest( + limit = 1.337, + offset = 1.337, + springboard = True, + live = True, + fresh = True, + device_name = '', + task = '', + to = '', + _from = '', + order_by = '', + search = '' + ) + else : + return SnapshotRequest( + ) + + def testSnapshotRequest(self): + """Test SnapshotRequest""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_snapshot_sharing.py b/test/test_snapshot_sharing.py index 745e90a..e0726f4 100644 --- a/test/test_snapshot_sharing.py +++ b/test/test_snapshot_sharing.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_snapshot_sharing_permissions.py b/test/test_snapshot_sharing_permissions.py index 7bda87d..eb8be9a 100644 --- a/test/test_snapshot_sharing_permissions.py +++ b/test/test_snapshot_sharing_permissions.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_snapshot_status.py b/test/test_snapshot_status.py index da84d44..85a0e1e 100644 --- a/test/test_snapshot_status.py +++ b/test/test_snapshot_status.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_sslsplit_filter.py b/test/test_sslsplit_filter.py index 3711a06..0c3e26a 100644 --- a/test/test_sslsplit_filter.py +++ b/test/test_sslsplit_filter.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_team.py b/test/test_team.py index c07babb..7dab336 100644 --- a/test/test_team.py +++ b/test/test_team.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_team_create.py b/test/test_team_create.py index b42ed66..616f300 100644 --- a/test/test_team_create.py +++ b/test/test_team_create.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_test_assessment_dto.py b/test/test_test_assessment_dto.py index f440317..0898ad1 100644 --- a/test/test_test_assessment_dto.py +++ b/test/test_test_assessment_dto.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_text_input.py b/test/test_text_input.py index 2b17871..a3b30b0 100644 --- a/test/test_text_input.py +++ b/test/test_text_input.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_token.py b/test/test_token.py index ba00220..14e9d93 100644 --- a/test/test_token.py +++ b/test/test_token.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_touch_curve_input.py b/test/test_touch_curve_input.py index b0c7000..d5e216c 100644 --- a/test/test_touch_curve_input.py +++ b/test/test_touch_curve_input.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_touch_input.py b/test/test_touch_input.py index e0b5fa8..ef46281 100644 --- a/test/test_touch_input.py +++ b/test/test_touch_input.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_touch_input_buttons_inner.py b/test/test_touch_input_buttons_inner.py index f0d3107..d69ac60 100644 --- a/test/test_touch_input_buttons_inner.py +++ b/test/test_touch_input_buttons_inner.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_trial.py b/test/test_trial.py index 464695e..0c6b1d9 100644 --- a/test/test_trial.py +++ b/test/test_trial.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_trial_extension.py b/test/test_trial_extension.py index c5da3f8..9f207cb 100644 --- a/test/test_trial_extension.py +++ b/test/test_trial_extension.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_trial_request_metadata.py b/test/test_trial_request_metadata.py index b214f05..a678452 100644 --- a/test/test_trial_request_metadata.py +++ b/test/test_trial_request_metadata.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_trial_request_options.py b/test/test_trial_request_options.py index 668edd1..7a69726 100644 --- a/test/test_trial_request_options.py +++ b/test/test_trial_request_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_assessment_dto.py b/test/test_update_assessment_dto.py index 9582ee1..e091dd5 100644 --- a/test/test_update_assessment_dto.py +++ b/test/test_update_assessment_dto.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_extension.py b/test/test_update_extension.py index 3d08518..9cfd3ba 100644 --- a/test/test_update_extension.py +++ b/test/test_update_extension.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_interconnect_request.py b/test/test_update_interconnect_request.py index 4b7313f..900dcda 100644 --- a/test/test_update_interconnect_request.py +++ b/test/test_update_interconnect_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ @@ -39,8 +39,7 @@ def make_instance(self, include_optional): name = '', interfaces = [ None - ], - interfaces = '' + ] ) else : return UpdateInterconnectRequest( diff --git a/test/test_update_network_connection_options.py b/test/test_update_network_connection_options.py index 3f65497..154fd8f 100644 --- a/test/test_update_network_connection_options.py +++ b/test/test_update_network_connection_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_trial_request_params.py b/test/test_update_trial_request_params.py index 758d8ed..49633e2 100644 --- a/test/test_update_trial_request_params.py +++ b/test/test_update_trial_request_params.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_user.py b/test/test_user.py index fb0219b..7d35b27 100644 --- a/test/test_user.py +++ b/test/test_user.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_user_create.py b/test/test_user_create.py index d354d86..0da5e28 100644 --- a/test/test_user_create.py +++ b/test/test_user_create.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_user_create_return.py b/test/test_user_create_return.py index c42fb3a..5c6c7a3 100644 --- a/test/test_user_create_return.py +++ b/test/test_user_create_return.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_user_error.py b/test/test_user_error.py index 09a60ec..8414f2a 100644 --- a/test/test_user_error.py +++ b/test/test_user_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_user_snapshots.py b/test/test_user_snapshots.py index 27cbb63..8382289 100644 --- a/test/test_user_snapshots.py +++ b/test/test_user_snapshots.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_user_update.py b/test/test_user_update.py index c928b8e..ebe500c 100644 --- a/test/test_user_update.py +++ b/test/test_user_update.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_v1_check_subdomain_existence_parameters.py b/test/test_v1_check_subdomain_existence_parameters.py index 825c178..0a2619d 100644 --- a/test/test_v1_check_subdomain_existence_parameters.py +++ b/test/test_v1_check_subdomain_existence_parameters.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_v1_create_hook_parameters.py b/test/test_v1_create_hook_parameters.py index 218c9a1..d5b1f54 100644 --- a/test/test_v1_create_hook_parameters.py +++ b/test/test_v1_create_hook_parameters.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_v1_load_extension_parameters.py b/test/test_v1_load_extension_parameters.py index 5af37ce..f2d6cdc 100644 --- a/test/test_v1_load_extension_parameters.py +++ b/test/test_v1_load_extension_parameters.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_v1_set_state_body.py b/test/test_v1_set_state_body.py index c4d6203..562b838 100644 --- a/test/test_v1_set_state_body.py +++ b/test/test_v1_set_state_body.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_v1_update_hook_parameters.py b/test/test_v1_update_hook_parameters.py index d2ca4a3..6211268 100644 --- a/test/test_v1_update_hook_parameters.py +++ b/test/test_v1_update_hook_parameters.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_validation_error.py b/test/test_validation_error.py index 7557aea..0151be9 100644 --- a/test/test_validation_error.py +++ b/test/test_validation_error.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_volume_options.py b/test/test_volume_options.py index b0d9f4b..a22e35d 100644 --- a/test/test_volume_options.py +++ b/test/test_volume_options.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_vpn_definition.py b/test/test_vpn_definition.py index 94f04d7..f07e8c7 100644 --- a/test/test_vpn_definition.py +++ b/test/test_vpn_definition.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_web_player_create_session_request.py b/test/test_web_player_create_session_request.py index 7eb9d04..d92d5a4 100644 --- a/test/test_web_player_create_session_request.py +++ b/test/test_web_player_create_session_request.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ diff --git a/test/test_web_player_session.py b/test/test_web_player_session.py index 2cd60db..27f4759 100644 --- a/test/test_web_player_session.py +++ b/test/test_web_player_session.py @@ -5,7 +5,7 @@ REST API to manage your virtual devices. # noqa: E501 - The version of the OpenAPI document: 7.6.0-29198 + The version of the OpenAPI document: 7.9.0 Generated by: https://openapi-generator.tech """ From 999ad54fdf032656ffb299f60393be69e0daac8b Mon Sep 17 00:00:00 2001 From: Alex Kupryienka Date: Wed, 11 Mar 2026 16:10:55 -0400 Subject: [PATCH 2/2] Update API to 7.9.0 baseline --- README.md | 2 +- corellium_api/__init__.py | 2 +- corellium_api/api_client.py | 2 +- corellium_api/configuration.py | 2 +- setup.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e47ef94..d9652c5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ REST API to manage your virtual devices. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 7.9.0 -- Package version: 0.4.2 +- Package version: 0.4.3 - Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen ## Requirements. diff --git a/corellium_api/__init__.py b/corellium_api/__init__.py index fe931dc..8c86be3 100644 --- a/corellium_api/__init__.py +++ b/corellium_api/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "0.4.2" +__version__ = "0.4.3" # import apis into sdk package from corellium_api.api.corellium_api import CorelliumApi diff --git a/corellium_api/api_client.py b/corellium_api/api_client.py index dd5f392..3ad18bb 100644 --- a/corellium_api/api_client.py +++ b/corellium_api/api_client.py @@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.4.2/python' + self.user_agent = 'OpenAPI-Generator/0.4.3/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/corellium_api/configuration.py b/corellium_api/configuration.py index 95734fd..1ee85b2 100644 --- a/corellium_api/configuration.py +++ b/corellium_api/configuration.py @@ -386,7 +386,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 7.9.0\n"\ - "SDK Package Version: 0.4.2".\ + "SDK Package Version: 0.4.3".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index 32d4907..15d29fd 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "corellium-api" -VERSION = "0.4.2" +VERSION = "0.4.3" # To install the library, run the following # # python setup.py install