Skip to content

flywheel.models.deleted_file

DeletedFile

Bases: object

copy_of property writable

Gets the copy_of of this DeletedFile.

Returns:

Type Description
FileVersionCopyOf

The copy_of of this DeletedFile

created property writable

Gets the created of this DeletedFile.

Returns:

Type Description
datetime

The created of this DeletedFile

cvat property writable

Gets the cvat of this DeletedFile.

Returns:

Type Description
CVATInfo

The cvat of this DeletedFile

deleted property writable

Gets the deleted of this DeletedFile.

Returns:

Type Description
datetime

The deleted of this DeletedFile

hard_deleted property writable

Gets the hard_deleted of this DeletedFile.

Returns:

Type Description
datetime

The hard_deleted of this DeletedFile

id property writable

Gets the id of this DeletedFile.

Returns:

Type Description
FileVersion

The id of this DeletedFile

name property writable

Gets the name of this DeletedFile.

Returns:

Type Description
str

The name of this DeletedFile

origin property writable

Gets the origin of this DeletedFile.

Returns:

Type Description
Origin

The origin of this DeletedFile

parent_ref property writable

Gets the parent_ref of this DeletedFile.

Returns:

Type Description
ContainerReference

The parent_ref of this DeletedFile

parents property writable

Gets the parents of this DeletedFile.

Returns:

Type Description
FileParents

The parents of this DeletedFile

provider_id property writable

Gets the provider_id of this DeletedFile.

Returns:

Type Description
str

The provider_id of this DeletedFile

replaced property writable

Gets the replaced of this DeletedFile.

Returns:

Type Description
datetime

The replaced of this DeletedFile

size property writable

Gets the size of this DeletedFile.

Returns:

Type Description
int

The size of this DeletedFile

uuid property writable

Gets the uuid of this DeletedFile.

Returns:

Type Description
str

The uuid of this DeletedFile

__contains__(key)

Checks if the given value is a key in this object

__eq__(other)

Returns true if both objects are equal

__getitem__(key)

Returns the value of key

__init__(id=None, origin=None, parent_ref=None, name=None, provider_id=None, uuid=None, size=None, copy_of=None, cvat=None, parents=None, created=None, deleted=None, replaced=None, hard_deleted=None)

DeletedFile - a model defined in Swagger

Parameters:

Name Type Description Default
id (FileVersion, optional)

, defaults to None

None
origin (Origin, optional)

, defaults to None

None
parent_ref (ContainerReference, optional)

, defaults to None

None
name (str, optional)

, defaults to None

None
provider_id (str, optional)

, defaults to None

None
uuid (str, optional)

, defaults to None

None
size (int, optional)

, defaults to None

None
copy_of (FileVersionCopyOf, optional)

, defaults to None

None
cvat (CVATInfo, optional)

, defaults to None

None
parents (FileParents, optional)

, defaults to None

None
created (datetime, optional)

, defaults to None

None
deleted (datetime, optional)

, defaults to None

None
replaced (datetime, optional)

, defaults to None

None
hard_deleted (datetime, optional)

, defaults to None

None

__ne__(other)

Returns true if both objects are not equal

__repr__()

For print and pprint

__setitem__(key, value)

Sets the value of key

get(key, default=None)

Get the value of the provided json property, or default

items()

Returns the list of json property to value mapping

keys()

Returns the list of json properties in the object

positional_to_model(value) staticmethod

Converts a positional argument to a model value

return_value()

Unwraps return value from model

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

values()

Returns the list of values in the object