models.hive_protection_source module

class models.hive_protection_source.HiveProtectionSource(name=None, table_info=None, mtype=None, uuid=None)[source]

Bases: object

Implementation of the ‘HiveProtectionSource’ model.

Specifies an Object representing Hive.

Attributes:

name (string): Specifies the instance name of the Hive entity. table_info (HiveTable): Information of a Hive Table, only valid for an

entity of type kTable.

mtype (TypeHiveProtectionSourceEnum): Specifies the type of the

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

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