mgnipy.emgapi_v2_client.models.m_gnify_genome_catalogue_download_file module#

class mgnipy.emgapi_v2_client.models.m_gnify_genome_catalogue_download_file.MGnifyGenomeCatalogueDownloadFile(file_type, download_type, short_description, long_description, alias, download_group=<mgnipy.emgapi_v2_client.types.Unset object>, path=<mgnipy.emgapi_v2_client.types.Unset object>, file_size_bytes=<mgnipy.emgapi_v2_client.types.Unset object>, index_file=<mgnipy.emgapi_v2_client.types.Unset object>, parent_identifier=<mgnipy.emgapi_v2_client.types.Unset object>, url=<mgnipy.emgapi_v2_client.types.Unset object>)[source]#

Bases: object

Download file representation for GenomeCatalogue objects.

Resolves a public URL using the catalogue’s result_directory, if available.

Attributes:

file_type (DownloadFileType): download_type (DownloadType): short_description (str): Brief description of the file long_description (str): Detailed description of the file alias (str): download_group (None | str | Unset): Group identifier for the download path (str | Unset): file_size_bytes (int | None | Unset): index_file (DownloadFileIndexFile | list[DownloadFileIndexFile] | None | Unset): parent_identifier (int | str | Unset): url (None | str | Unset):

Parameters:
property additional_keys: list [str ]#
additional_properties: dict [str , Any]#
alias: str #
download_group: None | str | Unset#
download_type: DownloadType#
file_size_bytes: int | None | Unset#
file_type: DownloadFileType#
classmethod from_dict(src_dict)[source]#
Parameters:

src_dict (Mapping [str , Any ])

Return type:

T

index_file: DownloadFileIndexFile | list [DownloadFileIndexFile] | None | Unset#
long_description: str #
parent_identifier: int | str | Unset#
path: str | Unset#
short_description: str #
to_dict()[source]#
Return type:

dict [str , Any ]

url: None | str | Unset#