models_v2.hive_indexed_object module¶
-
class
models_v2.hive_indexed_object.
HiveIndexedObject
(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 ‘HiveIndexedObject’ model.
Specifies a Hive 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 (Type17Enum): Specifies the Hive 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.