models.hdfs_protection_source module

class models.hdfs_protection_source.HdfsProtectionSource(name=None, mtype=None, uuid=None)[source]

Bases: object

Implementation of the ‘HdfsProtectionSource’ model.

Specifies an Object representing Hdfs.

Attributes:

name (string): Specifies the instance name of the Hdfs entity. mtype (TypeHdfsProtectionSourceEnum): Specifies the type of the

managed Object in Hdfs Protection Source. Specifies the type of an Hdfs source entity. ‘kCluster’ indicates a Hdfs cluster distributed over several physical nodes.

uuid (string): Specifies the UUID for the Hdfs entity.

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.