Skip to content

flywheel.models.file_upsert_output

FileUpsertOutput

Bases: object

classification property writable

Gets the classification of this FileUpsertOutput.

Returns:

Type Description
dict(str, list[str])

The classification of this FileUpsertOutput

client_hash property writable

Gets the client_hash of this FileUpsertOutput.

Returns:

Type Description
str

The client_hash of this FileUpsertOutput

copy_of property writable

Gets the copy_of of this FileUpsertOutput.

Returns:

Type Description
FileVersionCopyOf

The copy_of of this FileUpsertOutput

created property writable

Gets the created of this FileUpsertOutput.

Returns:

Type Description
datetime

The created of this FileUpsertOutput

cvat property writable

Gets the cvat of this FileUpsertOutput.

Returns:

Type Description
CVATInfo

The cvat of this FileUpsertOutput

deid_log_id property writable

Gets the deid_log_id of this FileUpsertOutput.

The UUID of the de-id log

Returns:

Type Description
str

The deid_log_id of this FileUpsertOutput

deid_log_skip_reason property writable

Gets the deid_log_skip_reason of this FileUpsertOutput.

Returns:

Type Description
DeidLogSkipReason

The deid_log_skip_reason of this FileUpsertOutput

deleted property writable

Gets the deleted of this FileUpsertOutput.

Returns:

Type Description
datetime

The deleted of this FileUpsertOutput

file_group property writable

Gets the file_group of this FileUpsertOutput.

Returns:

Type Description
FileGroup

The file_group of this FileUpsertOutput

file_id property writable

Gets the file_id of this FileUpsertOutput.

Returns:

Type Description
str

The file_id of this FileUpsertOutput

gear_info property writable

Gets the gear_info of this FileUpsertOutput.

Returns:

Type Description
FileGearInfo

The gear_info of this FileUpsertOutput

hash property writable

Gets the hash of this FileUpsertOutput.

Returns:

Type Description
str

The hash of this FileUpsertOutput

id property writable

Gets the id of this FileUpsertOutput.

Hyphen-separated universally unique identifier

Returns:

Type Description
str

The id of this FileUpsertOutput

info property writable

Gets the info of this FileUpsertOutput.

Free-form information storage

Returns:

Type Description
object

The info of this FileUpsertOutput

info_exists property writable

Gets the info_exists of this FileUpsertOutput.

Returns:

Type Description
bool

The info_exists of this FileUpsertOutput

mimetype property writable

Gets the mimetype of this FileUpsertOutput.

A MIME Content-Type of the file

Returns:

Type Description
str

The mimetype of this FileUpsertOutput

modality property writable

Gets the modality of this FileUpsertOutput.

The type of instrument that originated the file (e.g. MR, CT, ...)

Returns:

Type Description
str

The modality of this FileUpsertOutput

modified property writable

Gets the modified of this FileUpsertOutput.

Returns:

Type Description
datetime

The modified of this FileUpsertOutput

name property writable

Gets the name of this FileUpsertOutput.

The name of the file on disk

Returns:

Type Description
str

The name of this FileUpsertOutput

origin property writable

Gets the origin of this FileUpsertOutput.

Returns:

Type Description
Origin

The origin of this FileUpsertOutput

original_copy_of property writable

Gets the original_copy_of of this FileUpsertOutput.

Returns:

Type Description
FileVersion

The original_copy_of of this FileUpsertOutput

parent_ref property writable

Gets the parent_ref of this FileUpsertOutput.

Returns:

Type Description
ContainerReference

The parent_ref of this FileUpsertOutput

parents property writable

Gets the parents of this FileUpsertOutput.

Returns:

Type Description
FileParents

The parents of this FileUpsertOutput

path property writable

Gets the path of this FileUpsertOutput.

Returns:

Type Description
str

The path of this FileUpsertOutput

provider_id property writable

Gets the provider_id of this FileUpsertOutput.

Unique database ID

Returns:

Type Description
str

The provider_id of this FileUpsertOutput

reference property writable

Gets the reference of this FileUpsertOutput.

Returns:

Type Description
bool

The reference of this FileUpsertOutput

replaced property writable

Gets the replaced of this FileUpsertOutput.

Returns:

Type Description
datetime

The replaced of this FileUpsertOutput

restored_by property writable

Gets the restored_by of this FileUpsertOutput.

Returns:

Type Description
Origin

The restored_by of this FileUpsertOutput

restored_from property writable

Gets the restored_from of this FileUpsertOutput.

Returns:

Type Description
int

The restored_from of this FileUpsertOutput

revision property writable

Gets the revision of this FileUpsertOutput.

Returns:

Type Description
int

The revision of this FileUpsertOutput

size property writable

Gets the size of this FileUpsertOutput.

Returns:

Type Description
int

The size of this FileUpsertOutput

tags property writable

Gets the tags of this FileUpsertOutput.

Returns:

Type Description
list[str]

The tags of this FileUpsertOutput

type property writable

Gets the type of this FileUpsertOutput.

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

Returns:

Type Description
str

The type of this FileUpsertOutput

upsert_result property writable

Gets the upsert_result of this FileUpsertOutput.

Returns:

Type Description
UpsertResult

The upsert_result of this FileUpsertOutput

version property writable

Gets the version of this FileUpsertOutput.

Returns:

Type Description
int

The version of this FileUpsertOutput

virus_scan property writable

Gets the virus_scan of this FileUpsertOutput.

Returns:

Type Description
VirusScan

The virus_scan of this FileUpsertOutput

zip_member_count property writable

Gets the zip_member_count of this FileUpsertOutput.

Number of entries in the zip archive

Returns:

Type Description
int

The zip_member_count of this FileUpsertOutput

__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, name=None, type=None, file_id=None, version=None, mimetype=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, parent_ref=None, parents=None, restored_from=None, restored_by=None, path=None, reference=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, hash=None, client_hash=None, info=None, info_exists=False, cvat=None, zip_member_count=None, gear_info=None, copy_of=None, original_copy_of=None, revision=None, file_group=None, upsert_result=None)

FileUpsertOutput - a model defined in Swagger

Parameters:

Name Type Description Default
id (str, optional)

Hyphen-separated universally unique identifier, defaults to None

None
name (str, optional)

The name of the file on disk, defaults to None

None
type (str, optional)

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

None
file_id (str, optional)

, defaults to None

None
version (int, optional)

, defaults to None

None
mimetype (str, optional)

A MIME Content-Type of the file, defaults to None

None
modality (str, optional)

The type of instrument that originated the file (e.g. MR, CT, ...), defaults to None

None
deid_log_id (str, optional)

The UUID of the de-id log, defaults to None

None
deid_log_skip_reason (DeidLogSkipReason, optional)

, defaults to None

None
classification (dict(str, list[str]), optional)

, defaults to None

None
tags (list[str], optional)

, defaults to None

None
provider_id (str, optional)

Unique database ID, defaults to None

None
parent_ref (ContainerReference, optional)

, defaults to None

None
parents (FileParents, optional)

, defaults to None

None
restored_from (int, optional)

, defaults to None

None
restored_by (Origin, optional)

, defaults to None

None
path (str, optional)

, defaults to None

None
reference (bool, optional)

, defaults to None

None
origin (Origin, optional)

, defaults to None

None
virus_scan (VirusScan, optional)

, defaults to None

None
created (datetime, optional)

, defaults to None

None
modified (datetime, optional)

, defaults to None

None
replaced (datetime, optional)

, defaults to None

None
deleted (datetime, optional)

, defaults to None

None
size (int, optional)

, defaults to None

None
hash (str, optional)

, defaults to None

None
client_hash (str, optional)

, defaults to None

None
info (object, optional)

Free-form information storage, defaults to None

None
info_exists (bool, optional)

, defaults to False

False
cvat (CVATInfo, optional)

, defaults to None

None
zip_member_count (int, optional)

Number of entries in the zip archive, defaults to None

None
gear_info (FileGearInfo, optional)

, defaults to None

None
copy_of (FileVersionCopyOf, optional)

, defaults to None

None
original_copy_of (FileVersion, optional)

, defaults to None

None
revision (int, optional)

, defaults to None

None
file_group (FileGroup, optional)

, defaults to None

None
upsert_result (UpsertResult, 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