Skip to content

flywheel.models.subject_input

SubjectInput

Bases: object

code property writable

Gets the code of this SubjectInput.

Returns:

Type Description
str

The code of this SubjectInput

cohort property writable

Gets the cohort of this SubjectInput.

Returns:

Type Description
Cohort

The cohort of this SubjectInput

date_of_birth property writable

Gets the date_of_birth of this SubjectInput.

Returns:

Type Description
date

The date_of_birth of this SubjectInput

ethnicity property writable

Gets the ethnicity of this SubjectInput.

Returns:

Type Description
str

The ethnicity of this SubjectInput

firstname property writable

Gets the firstname of this SubjectInput.

Returns:

Type Description
str

The firstname of this SubjectInput

info property writable

Gets the info of this SubjectInput.

Returns:

Type Description
dict(str, object)

The info of this SubjectInput

label property writable

Gets the label of this SubjectInput.

Returns:

Type Description
str

The label of this SubjectInput

lastname property writable

Gets the lastname of this SubjectInput.

Returns:

Type Description
str

The lastname of this SubjectInput

master_code property writable

Gets the master_code of this SubjectInput.

Returns:

Type Description
str

The master_code of this SubjectInput

mlset property writable

Gets the mlset of this SubjectInput.

Returns:

Type Description
MLType

The mlset of this SubjectInput

project property writable

Gets the project of this SubjectInput.

Returns:

Type Description
str

The project of this SubjectInput

race property writable

Gets the race of this SubjectInput.

Returns:

Type Description
str

The race of this SubjectInput

sex property writable

Gets the sex of this SubjectInput.

Returns:

Type Description
str

The sex of this SubjectInput

species property writable

Gets the species of this SubjectInput.

Returns:

Type Description
str

The species of this SubjectInput

state property writable

Gets the state of this SubjectInput.

Returns:

Type Description
SubjectState

The state of this SubjectInput

strain property writable

Gets the strain of this SubjectInput.

Returns:

Type Description
str

The strain of this SubjectInput

tags property writable

Gets the tags of this SubjectInput.

Returns:

Type Description
list[str]

The tags of this SubjectInput

type property writable

Gets the type of this SubjectInput.

Returns:

Type Description
str

The type of this SubjectInput

__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)

SubjectInput - 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 (date, 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

__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