flywheel.models.file_node
FileNode
Bases: FileMixin
classification property writable
Gets the classification of this FileNode.
Returns:
| Type | Description |
|---|---|
dict(str, list[str]) | The classification of this FileNode |
client_hash property writable
Gets the client_hash of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The client_hash of this FileNode |
container_type property writable
Gets the container_type of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The container_type of this FileNode |
copy_of property writable
Gets the copy_of of this FileNode.
Returns:
| Type | Description |
|---|---|
FileVersionCopyOf | The copy_of of this FileNode |
created property writable
Gets the created of this FileNode.
Returns:
| Type | Description |
|---|---|
datetime | The created of this FileNode |
cvat property writable
Gets the cvat of this FileNode.
Returns:
| Type | Description |
|---|---|
CVATInfo | The cvat of this FileNode |
deid_log_id property writable
Gets the deid_log_id of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The deid_log_id of this FileNode |
deid_log_skip_reason property writable
Gets the deid_log_skip_reason of this FileNode.
Returns:
| Type | Description |
|---|---|
DeidLogSkipReason | The deid_log_skip_reason of this FileNode |
deleted property writable
Gets the deleted of this FileNode.
Returns:
| Type | Description |
|---|---|
datetime | The deleted of this FileNode |
file_group property writable
Gets the file_group of this FileNode.
Returns:
| Type | Description |
|---|---|
FileGroup | The file_group of this FileNode |
file_id property writable
Gets the file_id of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The file_id of this FileNode |
gear_info property writable
Gets the gear_info of this FileNode.
Returns:
| Type | Description |
|---|---|
FileGearInfo | The gear_info of this FileNode |
hash property writable
Gets the hash of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The hash of this FileNode |
id property writable
Gets the id of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The id of this FileNode |
info property writable
Gets the info of this FileNode.
Returns:
| Type | Description |
|---|---|
object | The info of this FileNode |
info_exists property writable
Gets the info_exists of this FileNode.
Returns:
| Type | Description |
|---|---|
bool | The info_exists of this FileNode |
mimetype property writable
Gets the mimetype of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The mimetype of this FileNode |
modality property writable
Gets the modality of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The modality of this FileNode |
modified property writable
Gets the modified of this FileNode.
Returns:
| Type | Description |
|---|---|
datetime | The modified of this FileNode |
name property writable
Gets the name of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The name of this FileNode |
origin property writable
Gets the origin of this FileNode.
Returns:
| Type | Description |
|---|---|
Origin | The origin of this FileNode |
original_copy_of property writable
Gets the original_copy_of of this FileNode.
Returns:
| Type | Description |
|---|---|
FileVersion | The original_copy_of of this FileNode |
parent_ref property writable
Gets the parent_ref of this FileNode.
Returns:
| Type | Description |
|---|---|
ContainerReference | The parent_ref of this FileNode |
parents property writable
Gets the parents of this FileNode.
Returns:
| Type | Description |
|---|---|
FileParents | The parents of this FileNode |
path property writable
Gets the path of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The path of this FileNode |
provider_id property writable
Gets the provider_id of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The provider_id of this FileNode |
reference property writable
Gets the reference of this FileNode.
Returns:
| Type | Description |
|---|---|
bool | The reference of this FileNode |
replaced property writable
Gets the replaced of this FileNode.
Returns:
| Type | Description |
|---|---|
datetime | The replaced of this FileNode |
restored_by property writable
Gets the restored_by of this FileNode.
Returns:
| Type | Description |
|---|---|
Origin | The restored_by of this FileNode |
restored_from property writable
Gets the restored_from of this FileNode.
Returns:
| Type | Description |
|---|---|
int | The restored_from of this FileNode |
revision property writable
Gets the revision of this FileNode.
Returns:
| Type | Description |
|---|---|
int | The revision of this FileNode |
size property writable
Gets the size of this FileNode.
Returns:
| Type | Description |
|---|---|
int | The size of this FileNode |
tags property writable
Gets the tags of this FileNode.
Returns:
| Type | Description |
|---|---|
list[str] | The tags of this FileNode |
type property writable
Gets the type of this FileNode.
Returns:
| Type | Description |
|---|---|
str | The type of this FileNode |
version property writable
Gets the version of this FileNode.
Returns:
| Type | Description |
|---|---|
int | The version of this FileNode |
virus_scan property writable
Gets the virus_scan of this FileNode.
Returns:
| Type | Description |
|---|---|
VirusScan | The virus_scan of this FileNode |
zip_member_count property writable
Gets the zip_member_count of this FileNode.
Returns:
| Type | Description |
|---|---|
int | The zip_member_count of this FileNode |
__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__(container_type=None, id=None, name=None, type=None, mimetype=None, file_id=None, version=None, modality=None, deid_log_id=None, deid_log_skip_reason=None, classification=None, tags=None, provider_id=None, path=None, reference=None, restored_from=None, restored_by=None, parent_ref=None, parents=None, origin=None, virus_scan=None, created=None, modified=None, replaced=None, deleted=None, size=None, 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, client_hash=None)
FileNode - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
container_type | (str, optional) | , defaults to None | None |
id | (str, optional) | , defaults to None | None |
name | (str, optional) | , defaults to None | None |
type | (str, optional) | , defaults to None | None |
mimetype | (str, optional) | , defaults to None | None |
file_id | (str, optional) | , defaults to None | None |
version | (int, optional) | , defaults to None | None |
modality | (str, optional) | , defaults to None | None |
deid_log_id | (str, optional) | , 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) | , defaults to None | None |
path | (str, optional) | , defaults to None | None |
reference | (bool, optional) | , defaults to None | None |
restored_from | (int, optional) | , defaults to None | None |
restored_by | (Origin, optional) | , defaults to None | None |
parent_ref | (ContainerReference, optional) | , defaults to None | None |
parents | (FileParents, 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 |
info | (object, optional) | , defaults to None | None |
info_exists | (bool, optional) | , defaults to False | False |
cvat | (CVATInfo, optional) | , defaults to None | None |
zip_member_count | (int, optional) | , 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 |
client_hash | (str, 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