flywheel.models.subject_modify
SubjectModify
Bases: object
code property writable
Gets the code of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The code of this SubjectModify |
cohort property writable
Gets the cohort of this SubjectModify.
Returns:
| Type | Description |
|---|---|
Cohort | The cohort of this SubjectModify |
date_of_birth property writable
Gets the date_of_birth of this SubjectModify.
Returns:
| Type | Description |
|---|---|
datetime | The date_of_birth of this SubjectModify |
ethnicity property writable
Gets the ethnicity of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The ethnicity of this SubjectModify |
firstname property writable
Gets the firstname of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The firstname of this SubjectModify |
info property writable
Gets the info of this SubjectModify.
Returns:
| Type | Description |
|---|---|
dict(str, object) | The info of this SubjectModify |
label property writable
Gets the label of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The label of this SubjectModify |
lastname property writable
Gets the lastname of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The lastname of this SubjectModify |
master_code property writable
Gets the master_code of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The master_code of this SubjectModify |
mlset property writable
Gets the mlset of this SubjectModify.
Returns:
| Type | Description |
|---|---|
MLType | The mlset of this SubjectModify |
notes property writable
Gets the notes of this SubjectModify.
Returns:
| Type | Description |
|---|---|
list[Note] | The notes of this SubjectModify |
permissions property writable
Gets the permissions of this SubjectModify.
Returns:
| Type | Description |
|---|---|
list[RolePermission] | The permissions of this SubjectModify |
project property writable
Gets the project of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The project of this SubjectModify |
race property writable
Gets the race of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The race of this SubjectModify |
sex property writable
Gets the sex of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The sex of this SubjectModify |
species property writable
Gets the species of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The species of this SubjectModify |
state property writable
Gets the state of this SubjectModify.
Returns:
| Type | Description |
|---|---|
SubjectState | The state of this SubjectModify |
strain property writable
Gets the strain of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The strain of this SubjectModify |
tags property writable
Gets the tags of this SubjectModify.
Returns:
| Type | Description |
|---|---|
list[str] | The tags of this SubjectModify |
type property writable
Gets the type of this SubjectModify.
Returns:
| Type | Description |
|---|---|
str | The type of this SubjectModify |
__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__(firstname=None, lastname=None, sex=None, cohort=None, date_of_birth=None, mlset=None, type=None, race=None, ethnicity=None, species=None, strain=None, label=None, code=None, master_code=None, tags=None, info=None, state=None, project=None, permissions=None, notes=None)
SubjectModify - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
firstname | (str, optional) | , defaults to None | None |
lastname | (str, optional) | , defaults to None | None |
sex | (str, optional) | , defaults to None | None |
cohort | (Cohort, optional) | , defaults to None | None |
date_of_birth | (datetime, optional) | , defaults to None | None |
mlset | (MLType, optional) | , defaults to None | None |
type | (str, optional) | , defaults to None | None |
race | (str, optional) | , defaults to None | None |
ethnicity | (str, optional) | , defaults to None | None |
species | (str, optional) | , defaults to None | None |
strain | (str, optional) | , defaults to None | None |
label | (str, optional) | , defaults to None | None |
code | (str, optional) | , defaults to None | None |
master_code | (str, optional) | , defaults to None | None |
tags | (list[str], optional) | , defaults to None | None |
info | (dict(str, object), optional) | , defaults to None | None |
state | (SubjectState, optional) | , defaults to None | None |
project | (str, optional) | , defaults to None | None |
permissions | (list[RolePermission], optional) | , defaults to None | None |
notes | (list[Note], 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