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.
- Attributes:
condition (Condition2Enum): Specifies the condition for the file age. age_msecs (long|int): Specifies the number of msecs used for file
selection.
- num_file_access (int): Specifies number of file access in last
ageMsecs.
-
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.