models_v2.view_pinning_config_2 module

class models_v2.view_pinning_config_2.ViewPinningConfig2(enabled=None, pinned_time_secs=None, last_updated_timestamp_secs=None)[source]

Bases: object

Implementation of the ‘ViewPinningConfig2’ model.

Specifies the pinning config of this view.

Attributes:
enabled (bool): Specifies if view pinning is enabled. If set to true,

view will be pinned to SSD and view data will be stored there.

pinned_time_secs (long|int): Specifies the time to pin files after

last access.

last_updated_timestamp_secs (long|int): Specifies the timestamp when

view pinning config is last updated.

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.