ask_smapi_model.v1.catalog package¶
Subpackages¶
- ask_smapi_model.v1.catalog.upload package
- Submodules
- ask_smapi_model.v1.catalog.upload.catalog_upload_base module
- ask_smapi_model.v1.catalog.upload.content_upload_file_summary module
- ask_smapi_model.v1.catalog.upload.file_upload_status module
- ask_smapi_model.v1.catalog.upload.get_content_upload_response module
- ask_smapi_model.v1.catalog.upload.ingestion_status module
- ask_smapi_model.v1.catalog.upload.ingestion_step_name module
- ask_smapi_model.v1.catalog.upload.location module
- ask_smapi_model.v1.catalog.upload.pre_signed_url module
- ask_smapi_model.v1.catalog.upload.pre_signed_url_item module
- ask_smapi_model.v1.catalog.upload.upload_ingestion_step module
- ask_smapi_model.v1.catalog.upload.upload_status module
Submodules¶
Note
Canonical imports have been added in the __init__.py
of the package.
This helps in importing the class directly from the package, than
through the module.
For eg: if package a
has module b
with
class C
, you can do from a import C
instead of
from a.b import C
.
ask_smapi_model.v1.catalog.create_content_upload_url_request module¶
-
class
ask_smapi_model.v1.catalog.create_content_upload_url_request.
CreateContentUploadUrlRequest
(number_of_upload_parts=None)¶ Bases:
object
Parameters: number_of_upload_parts ((optional) int) – Provides the number of parts the file will be split into. An equal number of presigned upload urls are generated in response to facilitate each part's upload. -
attribute_map
= {'number_of_upload_parts': 'numberOfUploadParts'}¶
-
deserialized_types
= {'number_of_upload_parts': 'int'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-
ask_smapi_model.v1.catalog.create_content_upload_url_response module¶
-
class
ask_smapi_model.v1.catalog.create_content_upload_url_response.
CreateContentUploadUrlResponse
(url_id=None, pre_signed_upload_parts=None)¶ Bases:
object
Parameters: - url_id ((optional) str) – Unique identifier for collection of generated urls.
- pre_signed_upload_parts ((optional) list[ask_smapi_model.v1.catalog.presigned_upload_part_items.PresignedUploadPartItems]) – Ordered list of presigned upload parts to perform a partitioned (multipart) file upload
-
attribute_map
= {'pre_signed_upload_parts': 'preSignedUploadParts', 'url_id': 'urlId'}¶
-
deserialized_types
= {'pre_signed_upload_parts': 'list[ask_smapi_model.v1.catalog.presigned_upload_part_items.PresignedUploadPartItems]', 'url_id': 'str'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
ask_smapi_model.v1.catalog.presigned_upload_part_items module¶
-
class
ask_smapi_model.v1.catalog.presigned_upload_part_items.
PresignedUploadPartItems
(url=None, part_number=None, expires_at=None)¶ Bases:
object
Parameters: -
attribute_map
= {'expires_at': 'expiresAt', 'part_number': 'partNumber', 'url': 'url'}¶
-
deserialized_types
= {'expires_at': 'datetime', 'part_number': 'int', 'url': 'str'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-