ChangedContent#

class ChangedContent(path=None, old_path=None, size_bytes=None, inode_number=None, creation_time=None, change_time=None, access_time=None, operation_type=None, object_type=None, *args, **kwargs)#

Bases: object

Snapshot changed content details. This is a read-only field.

Parameters:
  • path (max=4095 chars) – (path) Path of the object.

  • old_path (max=4095 chars) – (old_path) Old path of the object in case of rename.

  • size_bytes – (size_bytes) Size of the object in bytes.

  • inode_number – (inode_number) Inode number of the object.

  • creation_time – (creation_time) Create time of the object in date-time format..

  • change_time – (change_time) Change time of the object in date-time format.

  • access_time – (access_time) Access time of the object in date-time format.

  • operation_type – (operation_type)

  • object_type – (object_type)

property access_time#

Access time of the object in date-time format.

Type:

datetime

property change_time#

Change time of the object in date-time format.

Type:

datetime

property creation_time#

Create time of the object in date-time format..

Type:

datetime

property inode_number#

Inode number of the object.

Type:

int

property object_type#
Type:

ObjectType

property old_path#

Old path of the object in case of rename.

Type:

str

property operation_type#
Type:

ChangeOperationType

property path#

Path of the object.

Type:

str

property size_bytes#

Size of the object in bytes.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model