models.file_snapshot_information module

class models.file_snapshot_information.FileSnapshotInformation(has_archival_copy=None, has_local_copy=None, has_remote_copy=None, modified_time_usecs=None, replica_info_list=None, size_bytes=None, snapshot=None)[source]

Bases: object

Implementation of the ‘FileSnapshotInformation’ model.

Specifies the information about the snapshot that contains the file or folder. In addition, information about the file or folder is provided.

Attributes:
has_archival_copy (bool): If true, this snapshot is located on an

archival target (such as a tape or AWS).

has_local_copy (bool): If true, this snapshot is located on a local

Cohesity Cluster.

has_remote_copy (bool): If true, this snapshot is located on a Remote

Cohesity Cluster.

modified_time_usecs (long|int): Specifies the time when the file or

folder was last modified. Specified as a Unix epoch Timestamp (in microseconds).

replica_info_list (list of ReplicaInfo): Specifies the list of

replication information about the current snapshot.

size_bytes (long|int): Specifies the size of the file or folder in

bytes.

snapshot (SnapshotAttempt): Specifies information about a single

snapshot.

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.