models.legal_holdings module

class models.legal_holdings.LegalHoldings(hold_for_legal_purpose=None, protection_source_id=None)[source]

Bases: object

Implementation of the ‘LegalHoldings’ model.

Specifies the legal holding of a Protection Source.

Attributes:
hold_for_legal_purpose (bool): Specifies whether the source is put on

legal hold or not.

protection_source_id (long|int): Specifies an Protection Source Id in

the snapshot.

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.