models.elastifile_protection_source module

class models.elastifile_protection_source.ElastifileProtectionSource(cluster=None, container=None, name=None, mtype=None)[source]

Bases: object

Implementation of the ‘ElastifileProtectionSource’ model.

Specifies a Protection Source in Elastifile environment.

Attributes:
cluster (ElastifileCluster): Specifies information about a Elastifile

Cluster.

container (ElastifileContainer): Specifies information about container

in an Elastifile Cluster.

name (string): Specifies a unique name of the Protection Source. mtype (TypeElastifileProtectionSourceEnum): Specifies the type of the

entity in an Elastifile file system like ‘kCluster’, ‘kContainer’. ‘kCluster’ indicates an Elastifile Cluster. ‘kContainer’ indicates a container on Elastifile cluster.

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.