ask_smapi_model.v1.catalog package

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:
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:
  • url ((optional) str) –
  • part_number ((optional) int) –
  • expires_at ((optional) datetime) –
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