models.h_base_protection_source module

class models.h_base_protection_source.HBaseProtectionSource(name=None, table_info=None, mtype=None, uuid=None)[source]

Bases: object

Implementation of the ‘HBaseProtectionSource’ model.

Specifies an Object representing HBase.

Attributes:

name (string): Specifies the instance name of the HBase entity. table_info (HBaseTable): Information of a HBase Table, only valid for

an entity of type kTable.

mtype (TypeHBaseProtectionSourceEnum): Specifies the type of the

managed Object in HBase Protection Source. Specifies the type of an HBase source entity. ‘kCluster’ indicates a HBase cluster distributed over several physical nodes. ‘kNamespace’ indicates a Namespace in the HBase environment. ‘kTable’ indicates a Table in the HBase environment.

uuid (string): Specifies the UUID for the HBase 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.