perceptic-core-client 0.6.0__py3-none-any.whl → 0.6.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of perceptic-core-client might be problematic. Click here for more details.
- perceptic_core_client/__init__.py +0 -0
- perceptic_core_client/perceptic_core_client/__init__.py +101 -0
- perceptic_core_client/perceptic_core_client/api/__init__.py +12 -0
- perceptic_core_client/perceptic_core_client/api/connection_resource_api.py +569 -0
- perceptic_core_client/perceptic_core_client/api/file_system_contents_resource_api.py +2361 -0
- perceptic_core_client/perceptic_core_client/api/file_system_resource_api.py +1086 -0
- perceptic_core_client/perceptic_core_client/api/indexer_resource_api.py +537 -0
- perceptic_core_client/perceptic_core_client/api/indexing_task_resource_api.py +1173 -0
- perceptic_core_client/perceptic_core_client/api/uri_resource_api.py +1630 -0
- perceptic_core_client/perceptic_core_client/api/user_resource_api.py +278 -0
- perceptic_core_client/perceptic_core_client/api/worker_resource_api.py +1746 -0
- perceptic_core_client/perceptic_core_client/api_client.py +797 -0
- perceptic_core_client/perceptic_core_client/api_response.py +21 -0
- perceptic_core_client/perceptic_core_client/configuration.py +573 -0
- perceptic_core_client/perceptic_core_client/docs/ActionType.md +14 -0
- perceptic_core_client/perceptic_core_client/docs/AzureBlobConnectionSettingsApiDto.md +33 -0
- perceptic_core_client/perceptic_core_client/docs/AzureBlobFileSystemRootMetadataApiDto.md +30 -0
- perceptic_core_client/perceptic_core_client/docs/ConnectionApiDto.md +33 -0
- perceptic_core_client/perceptic_core_client/docs/ConnectionResourceApi.md +144 -0
- perceptic_core_client/perceptic_core_client/docs/ConnectionSettingsApiDto.md +36 -0
- perceptic_core_client/perceptic_core_client/docs/CreateConnectionRequest.md +31 -0
- perceptic_core_client/perceptic_core_client/docs/CreateConnectionResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/CreateFileSystemResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/CreateFolderRequest.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/CreateFolderResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/CreateIndexingTaskRequest.md +33 -0
- perceptic_core_client/perceptic_core_client/docs/CreateIndexingTaskResponse.md +31 -0
- perceptic_core_client/perceptic_core_client/docs/CreateManagedFileSystemRequest.md +30 -0
- perceptic_core_client/perceptic_core_client/docs/CreateRemoteFileSystemRequest.md +32 -0
- perceptic_core_client/perceptic_core_client/docs/FileSystemApiDto.md +34 -0
- perceptic_core_client/perceptic_core_client/docs/FileSystemContentsResourceApi.md +573 -0
- perceptic_core_client/perceptic_core_client/docs/FileSystemResourceApi.md +276 -0
- perceptic_core_client/perceptic_core_client/docs/FileSystemRootMetadataApiDto.md +31 -0
- perceptic_core_client/perceptic_core_client/docs/GetConnectionResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetIndexerResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetIndexingTaskResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetMetadataResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetParentResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetParentUriResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetSignedUrlResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetWorkerEventsResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetWorkerMetadataResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetWorkerStatusResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/GetWorkersResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/IndexerDto.md +32 -0
- perceptic_core_client/perceptic_core_client/docs/IndexerResourceApi.md +138 -0
- perceptic_core_client/perceptic_core_client/docs/IndexingActionDto.md +35 -0
- perceptic_core_client/perceptic_core_client/docs/IndexingActionStatus.md +16 -0
- perceptic_core_client/perceptic_core_client/docs/IndexingTaskDto.md +36 -0
- perceptic_core_client/perceptic_core_client/docs/IndexingTaskResourceApi.md +289 -0
- perceptic_core_client/perceptic_core_client/docs/IndexingTaskStatus.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/InfoEvent.md +31 -0
- perceptic_core_client/perceptic_core_client/docs/JsonNode.md +50 -0
- perceptic_core_client/perceptic_core_client/docs/JsonNodeType.md +26 -0
- perceptic_core_client/perceptic_core_client/docs/ListAllFileSystemsResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/ListFileSystemResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/ListIndexersResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/ListIndexingActionsResponse.md +37 -0
- perceptic_core_client/perceptic_core_client/docs/ManagedFileSystemApiDto.md +32 -0
- perceptic_core_client/perceptic_core_client/docs/MeResponse.md +33 -0
- perceptic_core_client/perceptic_core_client/docs/ModelSchema.md +38 -0
- perceptic_core_client/perceptic_core_client/docs/PagedListFileSystemResponse.md +30 -0
- perceptic_core_client/perceptic_core_client/docs/PostWorkerRunRequest.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/PostWorkerRunResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/ProgressEvent.md +31 -0
- perceptic_core_client/perceptic_core_client/docs/RemoteFileSystemApiDto.md +34 -0
- perceptic_core_client/perceptic_core_client/docs/RequestForInputEvent.md +32 -0
- perceptic_core_client/perceptic_core_client/docs/ResourceEntryDto.md +30 -0
- perceptic_core_client/perceptic_core_client/docs/ResourceId.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/ResourceIdentifier.md +36 -0
- perceptic_core_client/perceptic_core_client/docs/ResourceMetadataDto.md +38 -0
- perceptic_core_client/perceptic_core_client/docs/ResourceTypeDto.md +12 -0
- perceptic_core_client/perceptic_core_client/docs/RunStatusDto.md +26 -0
- perceptic_core_client/perceptic_core_client/docs/S3ConnectionSettingsApiDto.md +33 -0
- perceptic_core_client/perceptic_core_client/docs/S3FileSystemRootMetadataApiDto.md +30 -0
- perceptic_core_client/perceptic_core_client/docs/SchemaLocation.md +30 -0
- perceptic_core_client/perceptic_core_client/docs/StartExecutionResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/UploadFileToManagedFileSystemResponse.md +29 -0
- perceptic_core_client/perceptic_core_client/docs/UriResourceApi.md +413 -0
- perceptic_core_client/perceptic_core_client/docs/UserResourceApi.md +71 -0
- perceptic_core_client/perceptic_core_client/docs/WorkerEvent.md +34 -0
- perceptic_core_client/perceptic_core_client/docs/WorkerMetadataDto.md +32 -0
- perceptic_core_client/perceptic_core_client/docs/WorkerResourceApi.md +427 -0
- perceptic_core_client/perceptic_core_client/exceptions.py +216 -0
- perceptic_core_client/perceptic_core_client/models/__init__.py +77 -0
- perceptic_core_client/perceptic_core_client/models/action_type.py +38 -0
- perceptic_core_client/perceptic_core_client/models/azure_blob_connection_settings_api_dto.py +124 -0
- perceptic_core_client/perceptic_core_client/models/azure_blob_file_system_root_metadata_api_dto.py +89 -0
- perceptic_core_client/perceptic_core_client/models/connection_api_dto.py +99 -0
- perceptic_core_client/perceptic_core_client/models/connection_settings_api_dto.py +165 -0
- perceptic_core_client/perceptic_core_client/models/create_connection_request.py +95 -0
- perceptic_core_client/perceptic_core_client/models/create_connection_response.py +87 -0
- perceptic_core_client/perceptic_core_client/models/create_file_system_response.py +87 -0
- perceptic_core_client/perceptic_core_client/models/create_folder_request.py +87 -0
- perceptic_core_client/perceptic_core_client/models/create_folder_response.py +87 -0
- perceptic_core_client/perceptic_core_client/models/create_indexing_task_request.py +95 -0
- perceptic_core_client/perceptic_core_client/models/create_indexing_task_response.py +95 -0
- perceptic_core_client/perceptic_core_client/models/create_managed_file_system_request.py +89 -0
- perceptic_core_client/perceptic_core_client/models/create_remote_file_system_request.py +97 -0
- perceptic_core_client/perceptic_core_client/models/file_system_api_dto.py +165 -0
- perceptic_core_client/perceptic_core_client/models/file_system_root_metadata_api_dto.py +165 -0
- perceptic_core_client/perceptic_core_client/models/get_connection_response.py +91 -0
- perceptic_core_client/perceptic_core_client/models/get_indexer_response.py +91 -0
- perceptic_core_client/perceptic_core_client/models/get_indexing_task_response.py +91 -0
- perceptic_core_client/perceptic_core_client/models/get_metadata_response.py +91 -0
- perceptic_core_client/perceptic_core_client/models/get_parent_response.py +96 -0
- perceptic_core_client/perceptic_core_client/models/get_parent_uri_response.py +92 -0
- perceptic_core_client/perceptic_core_client/models/get_signed_url_response.py +92 -0
- perceptic_core_client/perceptic_core_client/models/get_worker_events_response.py +95 -0
- perceptic_core_client/perceptic_core_client/models/get_worker_metadata_response.py +91 -0
- perceptic_core_client/perceptic_core_client/models/get_worker_status_response.py +88 -0
- perceptic_core_client/perceptic_core_client/models/get_workers_response.py +87 -0
- perceptic_core_client/perceptic_core_client/models/indexer_dto.py +91 -0
- perceptic_core_client/perceptic_core_client/models/indexing_action_dto.py +107 -0
- perceptic_core_client/perceptic_core_client/models/indexing_action_status.py +39 -0
- perceptic_core_client/perceptic_core_client/models/indexing_task_dto.py +106 -0
- perceptic_core_client/perceptic_core_client/models/indexing_task_status.py +87 -0
- perceptic_core_client/perceptic_core_client/models/info_event.py +91 -0
- perceptic_core_client/perceptic_core_client/models/json_node.py +130 -0
- perceptic_core_client/perceptic_core_client/models/json_node_type.py +44 -0
- perceptic_core_client/perceptic_core_client/models/list_all_file_systems_response.py +100 -0
- perceptic_core_client/perceptic_core_client/models/list_file_system_response.py +100 -0
- perceptic_core_client/perceptic_core_client/models/list_indexers_response.py +100 -0
- perceptic_core_client/perceptic_core_client/models/list_indexing_actions_response.py +116 -0
- perceptic_core_client/perceptic_core_client/models/managed_file_system_api_dto.py +93 -0
- perceptic_core_client/perceptic_core_client/models/me_response.py +95 -0
- perceptic_core_client/perceptic_core_client/models/model_schema.py +114 -0
- perceptic_core_client/perceptic_core_client/models/paged_list_file_system_response.py +102 -0
- perceptic_core_client/perceptic_core_client/models/post_worker_run_request.py +87 -0
- perceptic_core_client/perceptic_core_client/models/post_worker_run_response.py +87 -0
- perceptic_core_client/perceptic_core_client/models/progress_event.py +91 -0
- perceptic_core_client/perceptic_core_client/models/remote_file_system_api_dto.py +101 -0
- perceptic_core_client/perceptic_core_client/models/request_for_input_event.py +98 -0
- perceptic_core_client/perceptic_core_client/models/resource_entry_dto.py +93 -0
- perceptic_core_client/perceptic_core_client/models/resource_id.py +87 -0
- perceptic_core_client/perceptic_core_client/models/resource_identifier.py +101 -0
- perceptic_core_client/perceptic_core_client/models/resource_metadata_dto.py +122 -0
- perceptic_core_client/perceptic_core_client/models/resource_type_dto.py +37 -0
- perceptic_core_client/perceptic_core_client/models/run_status_dto.py +44 -0
- perceptic_core_client/perceptic_core_client/models/s3_connection_settings_api_dto.py +124 -0
- perceptic_core_client/perceptic_core_client/models/s3_file_system_root_metadata_api_dto.py +89 -0
- perceptic_core_client/perceptic_core_client/models/schema_location.py +89 -0
- perceptic_core_client/perceptic_core_client/models/start_execution_response.py +91 -0
- perceptic_core_client/perceptic_core_client/models/upload_file_to_managed_file_system_response.py +87 -0
- perceptic_core_client/perceptic_core_client/models/worker_event.py +189 -0
- perceptic_core_client/perceptic_core_client/models/worker_metadata_dto.py +93 -0
- perceptic_core_client/perceptic_core_client/rest.py +258 -0
- perceptic_core_client/perceptic_core_client/test/__init__.py +0 -0
- perceptic_core_client/perceptic_core_client/test/test_action_type.py +33 -0
- perceptic_core_client/perceptic_core_client/test/test_azure_blob_connection_settings_api_dto.py +59 -0
- perceptic_core_client/perceptic_core_client/test/test_azure_blob_file_system_root_metadata_api_dto.py +52 -0
- perceptic_core_client/perceptic_core_client/test/test_connection_api_dto.py +55 -0
- perceptic_core_client/perceptic_core_client/test/test_connection_resource_api.py +45 -0
- perceptic_core_client/perceptic_core_client/test/test_connection_settings_api_dto.py +65 -0
- perceptic_core_client/perceptic_core_client/test/test_create_connection_request.py +53 -0
- perceptic_core_client/perceptic_core_client/test/test_create_connection_response.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_create_file_system_response.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_create_folder_request.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_create_folder_response.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_create_indexing_task_request.py +57 -0
- perceptic_core_client/perceptic_core_client/test/test_create_indexing_task_response.py +64 -0
- perceptic_core_client/perceptic_core_client/test/test_create_managed_file_system_request.py +52 -0
- perceptic_core_client/perceptic_core_client/test/test_create_remote_file_system_request.py +54 -0
- perceptic_core_client/perceptic_core_client/test/test_file_system_api_dto.py +56 -0
- perceptic_core_client/perceptic_core_client/test/test_file_system_contents_resource_api.py +87 -0
- perceptic_core_client/perceptic_core_client/test/test_file_system_resource_api.py +59 -0
- perceptic_core_client/perceptic_core_client/test/test_file_system_root_metadata_api_dto.py +53 -0
- perceptic_core_client/perceptic_core_client/test/test_get_connection_response.py +56 -0
- perceptic_core_client/perceptic_core_client/test/test_get_indexer_response.py +54 -0
- perceptic_core_client/perceptic_core_client/test/test_get_indexing_task_response.py +62 -0
- perceptic_core_client/perceptic_core_client/test/test_get_metadata_response.py +61 -0
- perceptic_core_client/perceptic_core_client/test/test_get_parent_response.py +52 -0
- perceptic_core_client/perceptic_core_client/test/test_get_parent_uri_response.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_get_signed_url_response.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_get_worker_events_response.py +53 -0
- perceptic_core_client/perceptic_core_client/test/test_get_worker_metadata_response.py +55 -0
- perceptic_core_client/perceptic_core_client/test/test_get_worker_status_response.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_get_workers_response.py +55 -0
- perceptic_core_client/perceptic_core_client/test/test_indexer_dto.py +53 -0
- perceptic_core_client/perceptic_core_client/test/test_indexer_resource_api.py +45 -0
- perceptic_core_client/perceptic_core_client/test/test_indexing_action_dto.py +57 -0
- perceptic_core_client/perceptic_core_client/test/test_indexing_action_status.py +33 -0
- perceptic_core_client/perceptic_core_client/test/test_indexing_task_dto.py +61 -0
- perceptic_core_client/perceptic_core_client/test/test_indexing_task_resource_api.py +59 -0
- perceptic_core_client/perceptic_core_client/test/test_indexing_task_status.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_info_event.py +53 -0
- perceptic_core_client/perceptic_core_client/test/test_json_node.py +72 -0
- perceptic_core_client/perceptic_core_client/test/test_json_node_type.py +33 -0
- perceptic_core_client/perceptic_core_client/test/test_list_all_file_systems_response.py +53 -0
- perceptic_core_client/perceptic_core_client/test/test_list_file_system_response.py +63 -0
- perceptic_core_client/perceptic_core_client/test/test_list_indexers_response.py +56 -0
- perceptic_core_client/perceptic_core_client/test/test_list_indexing_actions_response.py +68 -0
- perceptic_core_client/perceptic_core_client/test/test_managed_file_system_api_dto.py +54 -0
- perceptic_core_client/perceptic_core_client/test/test_me_response.py +55 -0
- perceptic_core_client/perceptic_core_client/test/test_model_schema.py +66 -0
- perceptic_core_client/perceptic_core_client/test/test_paged_list_file_system_response.py +65 -0
- perceptic_core_client/perceptic_core_client/test/test_post_worker_run_request.py +52 -0
- perceptic_core_client/perceptic_core_client/test/test_post_worker_run_response.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_progress_event.py +53 -0
- perceptic_core_client/perceptic_core_client/test/test_remote_file_system_api_dto.py +56 -0
- perceptic_core_client/perceptic_core_client/test/test_request_for_input_event.py +54 -0
- perceptic_core_client/perceptic_core_client/test/test_resource_entry_dto.py +62 -0
- perceptic_core_client/perceptic_core_client/test/test_resource_id.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_resource_identifier.py +58 -0
- perceptic_core_client/perceptic_core_client/test/test_resource_metadata_dto.py +60 -0
- perceptic_core_client/perceptic_core_client/test/test_resource_type_dto.py +33 -0
- perceptic_core_client/perceptic_core_client/test/test_run_status_dto.py +33 -0
- perceptic_core_client/perceptic_core_client/test/test_s3_connection_settings_api_dto.py +59 -0
- perceptic_core_client/perceptic_core_client/test/test_s3_file_system_root_metadata_api_dto.py +52 -0
- perceptic_core_client/perceptic_core_client/test/test_schema_location.py +54 -0
- perceptic_core_client/perceptic_core_client/test/test_start_execution_response.py +62 -0
- perceptic_core_client/perceptic_core_client/test/test_upload_file_to_managed_file_system_response.py +51 -0
- perceptic_core_client/perceptic_core_client/test/test_uri_resource_api.py +73 -0
- perceptic_core_client/perceptic_core_client/test/test_user_resource_api.py +38 -0
- perceptic_core_client/perceptic_core_client/test/test_worker_event.py +56 -0
- perceptic_core_client/perceptic_core_client/test/test_worker_metadata_dto.py +54 -0
- perceptic_core_client/perceptic_core_client/test/test_worker_resource_api.py +73 -0
- perceptic_core_client/perceptic_core_client_README.md +181 -0
- perceptic_core_client-0.6.2.dist-info/METADATA +93 -0
- perceptic_core_client-0.6.2.dist-info/RECORD +222 -0
- perceptic_core_client-0.6.2.dist-info/top_level.txt +1 -0
- perceptic_core_client-0.6.0.dist-info/METADATA +0 -179
- perceptic_core_client-0.6.0.dist-info/RECORD +0 -4
- perceptic_core_client-0.6.0.dist-info/top_level.txt +0 -1
- {perceptic_core_client-0.6.0.dist-info → perceptic_core_client-0.6.2.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import json
|
|
17
|
+
from enum import Enum
|
|
18
|
+
from typing_extensions import Self
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class ResourceTypeDto(str, Enum):
|
|
22
|
+
"""
|
|
23
|
+
ResourceTypeDto
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
allowed enum values
|
|
28
|
+
"""
|
|
29
|
+
FILE = 'FILE'
|
|
30
|
+
FOLDER = 'FOLDER'
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def from_json(cls, json_str: str) -> Self:
|
|
34
|
+
"""Create an instance of ResourceTypeDto from a JSON string"""
|
|
35
|
+
return cls(json.loads(json_str))
|
|
36
|
+
|
|
37
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import json
|
|
17
|
+
from enum import Enum
|
|
18
|
+
from typing_extensions import Self
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class RunStatusDto(str, Enum):
|
|
22
|
+
"""
|
|
23
|
+
RunStatusDto
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
allowed enum values
|
|
28
|
+
"""
|
|
29
|
+
QUEUED = 'QUEUED'
|
|
30
|
+
QUEUED_FOR_RESUME = 'QUEUED_FOR_RESUME'
|
|
31
|
+
RUNNING = 'RUNNING'
|
|
32
|
+
PAUSED_FOR_INPUT = 'PAUSED_FOR_INPUT'
|
|
33
|
+
COMPLETED = 'COMPLETED'
|
|
34
|
+
ERROR_REJECTED = 'ERROR_REJECTED'
|
|
35
|
+
ERROR_TIMEOUT = 'ERROR_TIMEOUT'
|
|
36
|
+
ERROR_CLIENT = 'ERROR_CLIENT'
|
|
37
|
+
ERROR_SERVER = 'ERROR_SERVER'
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_json(cls, json_str: str) -> Self:
|
|
41
|
+
"""Create an instance of RunStatusDto from a JSON string"""
|
|
42
|
+
return cls(json.loads(json_str))
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class S3ConnectionSettingsApiDto(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
S3ConnectionSettingsApiDto
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
region: Annotated[str, Field(strict=True)]
|
|
31
|
+
access_key: Annotated[str, Field(strict=True)] = Field(alias="accessKey")
|
|
32
|
+
secret_key: Annotated[str, Field(strict=True)] = Field(alias="secretKey")
|
|
33
|
+
url: Annotated[str, Field(strict=True)]
|
|
34
|
+
type: Optional[StrictStr] = None
|
|
35
|
+
__properties: ClassVar[List[str]] = ["region", "accessKey", "secretKey", "url", "type"]
|
|
36
|
+
|
|
37
|
+
@field_validator('region')
|
|
38
|
+
def region_validate_regular_expression(cls, value):
|
|
39
|
+
"""Validates the regular expression"""
|
|
40
|
+
if not re.match(r"\S", value):
|
|
41
|
+
raise ValueError(r"must validate the regular expression /\S/")
|
|
42
|
+
return value
|
|
43
|
+
|
|
44
|
+
@field_validator('access_key')
|
|
45
|
+
def access_key_validate_regular_expression(cls, value):
|
|
46
|
+
"""Validates the regular expression"""
|
|
47
|
+
if not re.match(r"\S", value):
|
|
48
|
+
raise ValueError(r"must validate the regular expression /\S/")
|
|
49
|
+
return value
|
|
50
|
+
|
|
51
|
+
@field_validator('secret_key')
|
|
52
|
+
def secret_key_validate_regular_expression(cls, value):
|
|
53
|
+
"""Validates the regular expression"""
|
|
54
|
+
if not re.match(r"\S", value):
|
|
55
|
+
raise ValueError(r"must validate the regular expression /\S/")
|
|
56
|
+
return value
|
|
57
|
+
|
|
58
|
+
@field_validator('url')
|
|
59
|
+
def url_validate_regular_expression(cls, value):
|
|
60
|
+
"""Validates the regular expression"""
|
|
61
|
+
if not re.match(r"\S", value):
|
|
62
|
+
raise ValueError(r"must validate the regular expression /\S/")
|
|
63
|
+
return value
|
|
64
|
+
|
|
65
|
+
model_config = ConfigDict(
|
|
66
|
+
populate_by_name=True,
|
|
67
|
+
validate_assignment=True,
|
|
68
|
+
protected_namespaces=(),
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def to_str(self) -> str:
|
|
73
|
+
"""Returns the string representation of the model using alias"""
|
|
74
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
75
|
+
|
|
76
|
+
def to_json(self) -> str:
|
|
77
|
+
"""Returns the JSON representation of the model using alias"""
|
|
78
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
79
|
+
return json.dumps(self.to_dict())
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
83
|
+
"""Create an instance of S3ConnectionSettingsApiDto from a JSON string"""
|
|
84
|
+
return cls.from_dict(json.loads(json_str))
|
|
85
|
+
|
|
86
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
87
|
+
"""Return the dictionary representation of the model using alias.
|
|
88
|
+
|
|
89
|
+
This has the following differences from calling pydantic's
|
|
90
|
+
`self.model_dump(by_alias=True)`:
|
|
91
|
+
|
|
92
|
+
* `None` is only added to the output dict for nullable fields that
|
|
93
|
+
were set at model initialization. Other fields with value `None`
|
|
94
|
+
are ignored.
|
|
95
|
+
"""
|
|
96
|
+
excluded_fields: Set[str] = set([
|
|
97
|
+
])
|
|
98
|
+
|
|
99
|
+
_dict = self.model_dump(
|
|
100
|
+
by_alias=True,
|
|
101
|
+
exclude=excluded_fields,
|
|
102
|
+
exclude_none=True,
|
|
103
|
+
)
|
|
104
|
+
return _dict
|
|
105
|
+
|
|
106
|
+
@classmethod
|
|
107
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
108
|
+
"""Create an instance of S3ConnectionSettingsApiDto from a dict"""
|
|
109
|
+
if obj is None:
|
|
110
|
+
return None
|
|
111
|
+
|
|
112
|
+
if not isinstance(obj, dict):
|
|
113
|
+
return cls.model_validate(obj)
|
|
114
|
+
|
|
115
|
+
_obj = cls.model_validate({
|
|
116
|
+
"region": obj.get("region"),
|
|
117
|
+
"accessKey": obj.get("accessKey"),
|
|
118
|
+
"secretKey": obj.get("secretKey"),
|
|
119
|
+
"url": obj.get("url"),
|
|
120
|
+
"type": obj.get("type")
|
|
121
|
+
})
|
|
122
|
+
return _obj
|
|
123
|
+
|
|
124
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class S3FileSystemRootMetadataApiDto(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
S3FileSystemRootMetadataApiDto
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
bucket_name: Optional[StrictStr] = Field(default=None, alias="bucketName")
|
|
30
|
+
type: Optional[StrictStr] = None
|
|
31
|
+
__properties: ClassVar[List[str]] = ["bucketName", "type"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of S3FileSystemRootMetadataApiDto from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of S3FileSystemRootMetadataApiDto from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({
|
|
84
|
+
"bucketName": obj.get("bucketName"),
|
|
85
|
+
"type": obj.get("type")
|
|
86
|
+
})
|
|
87
|
+
return _obj
|
|
88
|
+
|
|
89
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class SchemaLocation(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
SchemaLocation
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
root_document_uri: Optional[StrictStr] = Field(default=None, alias="rootDocumentURI")
|
|
30
|
+
pointer_to_location: Optional[List[StrictStr]] = Field(default=None, alias="pointerToLocation")
|
|
31
|
+
__properties: ClassVar[List[str]] = ["rootDocumentURI", "pointerToLocation"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of SchemaLocation from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of SchemaLocation from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({
|
|
84
|
+
"rootDocumentURI": obj.get("rootDocumentURI"),
|
|
85
|
+
"pointerToLocation": obj.get("pointerToLocation")
|
|
86
|
+
})
|
|
87
|
+
return _obj
|
|
88
|
+
|
|
89
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from perceptic_core_client.models.indexing_task_dto import IndexingTaskDto
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class StartExecutionResponse(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
StartExecutionResponse
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
task: Optional[IndexingTaskDto] = None
|
|
31
|
+
__properties: ClassVar[List[str]] = ["task"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of StartExecutionResponse from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
# override the default output from pydantic by calling `to_dict()` of task
|
|
73
|
+
if self.task:
|
|
74
|
+
_dict['task'] = self.task.to_dict()
|
|
75
|
+
return _dict
|
|
76
|
+
|
|
77
|
+
@classmethod
|
|
78
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
79
|
+
"""Create an instance of StartExecutionResponse from a dict"""
|
|
80
|
+
if obj is None:
|
|
81
|
+
return None
|
|
82
|
+
|
|
83
|
+
if not isinstance(obj, dict):
|
|
84
|
+
return cls.model_validate(obj)
|
|
85
|
+
|
|
86
|
+
_obj = cls.model_validate({
|
|
87
|
+
"task": IndexingTaskDto.from_dict(obj["task"]) if obj.get("task") is not None else None
|
|
88
|
+
})
|
|
89
|
+
return _obj
|
|
90
|
+
|
|
91
|
+
|
perceptic_core_client/perceptic_core_client/models/upload_file_to_managed_file_system_response.py
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class UploadFileToManagedFileSystemResponse(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
UploadFileToManagedFileSystemResponse
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
size_in_bytes: Optional[StrictInt] = Field(default=None, alias="sizeInBytes")
|
|
30
|
+
__properties: ClassVar[List[str]] = ["sizeInBytes"]
|
|
31
|
+
|
|
32
|
+
model_config = ConfigDict(
|
|
33
|
+
populate_by_name=True,
|
|
34
|
+
validate_assignment=True,
|
|
35
|
+
protected_namespaces=(),
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def to_str(self) -> str:
|
|
40
|
+
"""Returns the string representation of the model using alias"""
|
|
41
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
42
|
+
|
|
43
|
+
def to_json(self) -> str:
|
|
44
|
+
"""Returns the JSON representation of the model using alias"""
|
|
45
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
46
|
+
return json.dumps(self.to_dict())
|
|
47
|
+
|
|
48
|
+
@classmethod
|
|
49
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
50
|
+
"""Create an instance of UploadFileToManagedFileSystemResponse from a JSON string"""
|
|
51
|
+
return cls.from_dict(json.loads(json_str))
|
|
52
|
+
|
|
53
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
54
|
+
"""Return the dictionary representation of the model using alias.
|
|
55
|
+
|
|
56
|
+
This has the following differences from calling pydantic's
|
|
57
|
+
`self.model_dump(by_alias=True)`:
|
|
58
|
+
|
|
59
|
+
* `None` is only added to the output dict for nullable fields that
|
|
60
|
+
were set at model initialization. Other fields with value `None`
|
|
61
|
+
are ignored.
|
|
62
|
+
"""
|
|
63
|
+
excluded_fields: Set[str] = set([
|
|
64
|
+
])
|
|
65
|
+
|
|
66
|
+
_dict = self.model_dump(
|
|
67
|
+
by_alias=True,
|
|
68
|
+
exclude=excluded_fields,
|
|
69
|
+
exclude_none=True,
|
|
70
|
+
)
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
75
|
+
"""Create an instance of UploadFileToManagedFileSystemResponse from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return cls.model_validate(obj)
|
|
81
|
+
|
|
82
|
+
_obj = cls.model_validate({
|
|
83
|
+
"sizeInBytes": obj.get("sizeInBytes")
|
|
84
|
+
})
|
|
85
|
+
return _obj
|
|
86
|
+
|
|
87
|
+
|