models_v2.common_indexed_object_params module

class models_v2.common_indexed_object_params.CommonIndexedObjectParams(name=None, path=None, protection_group_id=None, protection_group_name=None, storage_domain_id=None, source_info=None)[source]

Bases: object

Implementation of the ‘CommonIndexedObjectParams’ model.

Holds parameters common to an 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.

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.