Module: ncbi.datasets.openapi.models.v1alpha1_download_summary

Python API: ncbi.datasets.openapi.models.v1alpha1_download_summary

Module: ncbi.datasets.openapi.models.v1alpha1_download_summary

Python API: ncbi.datasets.openapi.models.v1alpha1_download_summary
class ncbi.datasets.openapi.models.v1alpha1_download_summary.V1alpha1DownloadSummary(assembly_count=None, dehydrated=None, errors=None, hydrated=None, messages=None, record_count=None, resource_updated_on=None, local_vars_configuration=None)

Bases: object

openapi_types

The key is attribute name and the value is attribute type.

Type

dict

attribute_map

The key is attribute name and the value is json key in definition.

Type

dict

property assembly_count

Gets the assembly_count of this V1alpha1DownloadSummary.

Returns

The assembly_count of this V1alpha1DownloadSummary.

Return type

int

attribute_map = {'assembly_count': 'assembly_count', 'dehydrated': 'dehydrated', 'errors': 'errors', 'hydrated': 'hydrated', 'messages': 'messages', 'record_count': 'record_count', 'resource_updated_on': 'resource_updated_on'}
property dehydrated

Gets the dehydrated of this V1alpha1DownloadSummary.

Returns

The dehydrated of this V1alpha1DownloadSummary.

Return type

DownloadSummaryDehydrated

property errors

Gets the errors of this V1alpha1DownloadSummary.

Returns

The errors of this V1alpha1DownloadSummary.

Return type

list[V1alpha1Error]

property hydrated

Gets the hydrated of this V1alpha1DownloadSummary.

Returns

The hydrated of this V1alpha1DownloadSummary.

Return type

DownloadSummaryHydrated

property messages

Gets the messages of this V1alpha1DownloadSummary.

Returns

The messages of this V1alpha1DownloadSummary.

Return type

list[V1alpha1Message]

openapi_types = {'assembly_count': 'int', 'dehydrated': 'DownloadSummaryDehydrated', 'errors': 'list[V1alpha1Error]', 'hydrated': 'DownloadSummaryHydrated', 'messages': 'list[V1alpha1Message]', 'record_count': 'int', 'resource_updated_on': 'datetime'}
property record_count

Gets the record_count of this V1alpha1DownloadSummary.

The number of records for the requested filter.

Returns

The record_count of this V1alpha1DownloadSummary.

Return type

int

property resource_updated_on

Gets the resource_updated_on of this V1alpha1DownloadSummary.

The latest date on which the resource was updated.

Returns

The resource_updated_on of this V1alpha1DownloadSummary.

Return type

datetime

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

Generated April 23, 2021