models_v2.uptiering_file_age_policy module

class models_v2.uptiering_file_age_policy.UptieringFileAgePolicy(condition=None, age_msecs=None, num_file_access=None)[source]

Bases: object

Implementation of the ‘UptieringFileAgePolicy’ model.

Specifies the file’s selection rule by file age for up tiering data tiering task eg. 1. select files last accessed 2 weeks ago. 2. select files last modified 1 month ago.


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


num_file_access (int): Specifies number of file access in last


classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.