flywheel.models.session_output
SessionOutput
Bases: SessionMixin
age property writable
Gets the age of this SessionOutput.
Returns:
| Type | Description |
|---|---|
int | The age of this SessionOutput |
analyses property writable
Gets the analyses of this SessionOutput.
Returns:
| Type | Description |
|---|---|
list[union[AnalysisOutput,AnalysisOutputInflatedJob]] | The analyses of this SessionOutput |
copy_of property writable
Gets the copy_of of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The copy_of of this SessionOutput |
copy_status property writable
Gets the copy_status of this SessionOutput.
Returns:
| Type | Description |
|---|---|
CopyStatus | The copy_status of this SessionOutput |
created property writable
Gets the created of this SessionOutput.
Returns:
| Type | Description |
|---|---|
datetime | The created of this SessionOutput |
files property writable
Gets the files of this SessionOutput.
Returns:
| Type | Description |
|---|---|
list[FileOutput] | The files of this SessionOutput |
group property writable
Gets the group of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The group of this SessionOutput |
id property writable
Gets the id of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The id of this SessionOutput |
info property writable
Gets the info of this SessionOutput.
Returns:
| Type | Description |
|---|---|
dict(str, object) | The info of this SessionOutput |
info_exists property writable
Gets the info_exists of this SessionOutput.
Returns:
| Type | Description |
|---|---|
bool | The info_exists of this SessionOutput |
join_origin property writable
Gets the join_origin of this SessionOutput.
Returns:
| Type | Description |
|---|---|
JoinOrigins | The join_origin of this SessionOutput |
label property writable
Gets the label of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The label of this SessionOutput |
modified property writable
Gets the modified of this SessionOutput.
Returns:
| Type | Description |
|---|---|
datetime | The modified of this SessionOutput |
notes property writable
Gets the notes of this SessionOutput.
Returns:
| Type | Description |
|---|---|
list[Note] | The notes of this SessionOutput |
operator property writable
Gets the operator of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The operator of this SessionOutput |
original_copy_of property writable
Gets the original_copy_of of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The original_copy_of of this SessionOutput |
parents property writable
Gets the parents of this SessionOutput.
Returns:
| Type | Description |
|---|---|
SessionParents | The parents of this SessionOutput |
permissions property writable
Gets the permissions of this SessionOutput.
Returns:
| Type | Description |
|---|---|
list[RolePermission] | The permissions of this SessionOutput |
project property writable
Gets the project of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The project of this SessionOutput |
project_has_template property writable
Gets the project_has_template of this SessionOutput.
Returns:
| Type | Description |
|---|---|
bool | The project_has_template of this SessionOutput |
revision property writable
Gets the revision of this SessionOutput.
Returns:
| Type | Description |
|---|---|
int | The revision of this SessionOutput |
satisfies_template property writable
Gets the satisfies_template of this SessionOutput.
Returns:
| Type | Description |
|---|---|
bool | The satisfies_template of this SessionOutput |
subject property writable
Gets the subject of this SessionOutput.
Returns:
| Type | Description |
|---|---|
SubjectOutput | The subject of this SessionOutput |
tags property writable
Gets the tags of this SessionOutput.
Returns:
| Type | Description |
|---|---|
list[str] | The tags of this SessionOutput |
timestamp property writable
Gets the timestamp of this SessionOutput.
Returns:
| Type | Description |
|---|---|
datetime | The timestamp of this SessionOutput |
timezone property writable
Gets the timezone of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The timezone of this SessionOutput |
uid property writable
Gets the uid of this SessionOutput.
Returns:
| Type | Description |
|---|---|
str | The uid of this SessionOutput |
weight property writable
Gets the weight of this SessionOutput.
Returns:
| Type | Description |
|---|---|
float | The weight of this SessionOutput |
__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, group=None, project=None, parents=None, label=None, info=None, uid=None, timestamp=None, timezone=None, tags=None, notes=None, permissions=None, subject=None, age=None, weight=None, operator=None, files=None, created=None, modified=None, revision=None, satisfies_template=None, analyses=None, project_has_template=False, join_origin=None, copy_of=None, original_copy_of=None, copy_status=None, info_exists=None)
SessionOutput - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id | (str, optional) | , defaults to None | None |
group | (str, optional) | , defaults to None | None |
project | (str, optional) | , defaults to None | None |
parents | (SessionParents, optional) | , defaults to None | None |
label | (str, optional) | , defaults to None | None |
info | (dict(str, object), optional) | , defaults to None | None |
uid | (str, optional) | , defaults to None | None |
timestamp | (datetime, optional) | , defaults to None | None |
timezone | (str, optional) | , defaults to None | None |
tags | (list[str], optional) | , defaults to None | None |
notes | (list[Note], optional) | , defaults to None | None |
permissions | (list[RolePermission], optional) | , defaults to None | None |
subject | (SubjectOutput, optional) | , defaults to None | None |
age | (int, optional) | , defaults to None | None |
weight | (float, optional) | , defaults to None | None |
operator | (str, optional) | , defaults to None | None |
files | (list[FileOutput], optional) | , defaults to None | None |
created | (datetime, optional) | , defaults to None | None |
modified | (datetime, optional) | , defaults to None | None |
revision | (int, optional) | , defaults to None | None |
satisfies_template | (bool, optional) | , defaults to None | None |
analyses | (list[union[AnalysisOutput, AnalysisOutputInflatedJob]], optional) | , defaults to None | None |
project_has_template | (bool, optional) | , defaults to False | False |
join_origin | (JoinOrigins, optional) | , defaults to None | None |
copy_of | (str, optional) | , defaults to None | None |
original_copy_of | (str, optional) | , defaults to None | None |
copy_status | (CopyStatus, optional) | , defaults to None | None |
info_exists | (bool, 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