models.file_distribution_stats module

class models.file_distribution_stats.FileDistributionStats(cluster_id=None, cluster_incarnation_id=None, entity_id=None, entity_name=None, metrics_list=None)[source]

Bases: object

Implementation of the ‘FileDistributionStats’ model.

Specifies the File distribution stats.

Attributes:

cluster_id (long|int): Specifies the cluster Id. cluster_incarnation_id (long|int): Specifies the cluster Incarnation

Id.

entity_id (long|int): Specifies the id of the entity for which file

distribution stats are computed.

entity_name (string): Specifies the name of the entity for which file

distribution stats are computed.

metrics_list (list of FileDistributionMetrics): Specifies the list of

file stats for different file extensions.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.