models_v2.helios_cdp_retention module

class models_v2.helios_cdp_retention.HeliosCdpRetention(unit=None, duration=None)[source]

Bases: object

Implementation of the ‘HeliosCdpRetention’ model.

Specifies the retention of a CDP backup.

Attributes:
unit (Unit7Enum): Specificies the Retention Unit of a CDP backup

measured in minutes or hours.

duration (int): Specifies the duration for a cdp backup retention.

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.