models_v2.downtiering_file_age_policy module

class models_v2.downtiering_file_age_policy.DowntieringFileAgePolicy(condition=None, age_msecs=None)[source]

Bases: object

Implementation of the ‘DowntieringFileAgePolicy’ model.

Specifies the file’s selection rule by file age for down tiering data tiering task eg. 1. select files older than 10 days. 2. select files last accessed 2 weeks ago. 3. select files last modified 1 month ago.

Attributes:

condition (Condition1Enum): Specifies the condition for the file age. age_msecs (long|int): Specifies the number of msecs used for file

selection.

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.