Skip to content

flywheel.models.search_file_response

SearchFileResponse

Bases: FileMixin

classification property writable

Gets the classification of this SearchFileResponse.

Returns:

Type Description
CommonClassification

The classification of this SearchFileResponse

created property writable

Gets the created of this SearchFileResponse.

Creation time (automatically set)

Returns:

Type Description
datetime

The created of this SearchFileResponse

cvat property writable

Gets the cvat of this SearchFileResponse.

Returns:

Type Description
CVATInfo

The cvat of this SearchFileResponse

name property writable

Gets the name of this SearchFileResponse.

The name of the file on disk

Returns:

Type Description
str

The name of this SearchFileResponse

size property writable

Gets the size of this SearchFileResponse.

Size of the file, in bytes

Returns:

Type Description
int

The size of this SearchFileResponse

type property writable

Gets the type of this SearchFileResponse.

A descriptive file type (e.g. dicom, image, document, ...)

Returns:

Type Description
str

The type of this SearchFileResponse

__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__(classification=None, created=None, type=None, name=None, size=None, cvat=None)

SearchFileResponse - a model defined in Swagger

Parameters:

Name Type Description Default
classification (CommonClassification, optional)

, defaults to None

None
created (datetime, optional)

Creation time (automatically set), defaults to None

None
type (str, optional)

A descriptive file type (e.g. dicom, image, document, ...), defaults to None

None
name (str, optional)

The name of the file on disk, defaults to None

None
size (int, optional)

Size of the file, in bytes, defaults to None

None
cvat (CVATInfo, 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