models_v2.hdfs_indexed_object module

class models_v2.hdfs_indexed_object.HDFSIndexedObject(name=None, path=None, protection_group_id=None, protection_group_name=None, storage_domain_id=None, source_info=None, mtype=None, id=None)[source]

Bases: object

Implementation of the ‘HDFSIndexedObject’ model.

Specifies an HDFS indexed object.

Attributes:

name (string): Specifies the name of the object. path (string): Specifies the path of the object. protection_group_id (string): Specifies the protection group id which

contains this object.

protection_group_name (string): Specifies the protection group name

which contains this object.

storage_domain_id (long|int): Specifies the Storage Domain id where

the backup data of Object is present.

source_info (SourceInfo): Specifies the Source Object information. mtype (Type15Enum): Specifies the HDFS Object Type. id (string): Specifies the id of the indexed object.

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.