Skip to content

flywheel.models.subject_upsert_input

SubjectUpsertInput

Bases: object

date_of_birth property writable

Gets the date_of_birth of this SubjectUpsertInput.

Returns:

Type Description
datetime

The date_of_birth of this SubjectUpsertInput

ethnicity property writable

Gets the ethnicity of this SubjectUpsertInput.

Returns:

Type Description
str

The ethnicity of this SubjectUpsertInput

firstname property writable

Gets the firstname of this SubjectUpsertInput.

Returns:

Type Description
str

The firstname of this SubjectUpsertInput

id property writable

Gets the id of this SubjectUpsertInput.

Returns:

Type Description
str

The id of this SubjectUpsertInput

info property writable

Gets the info of this SubjectUpsertInput.

Returns:

Type Description
object

The info of this SubjectUpsertInput

label property writable

Gets the label of this SubjectUpsertInput.

Returns:

Type Description
str

The label of this SubjectUpsertInput

lastname property writable

Gets the lastname of this SubjectUpsertInput.

Returns:

Type Description
str

The lastname of this SubjectUpsertInput

race property writable

Gets the race of this SubjectUpsertInput.

Returns:

Type Description
str

The race of this SubjectUpsertInput

routing_field property writable

Gets the routing_field of this SubjectUpsertInput.

Returns:

Type Description
str

The routing_field of this SubjectUpsertInput

sex property writable

Gets the sex of this SubjectUpsertInput.

Returns:

Type Description
str

The sex of this SubjectUpsertInput

source property writable

Gets the source of this SubjectUpsertInput.

Returns:

Type Description
CoreModelsCommonSource

The source of this SubjectUpsertInput

species property writable

Gets the species of this SubjectUpsertInput.

Returns:

Type Description
str

The species of this SubjectUpsertInput

state property writable

Gets the state of this SubjectUpsertInput.

Returns:

Type Description
SubjectState

The state of this SubjectUpsertInput

strain property writable

Gets the strain of this SubjectUpsertInput.

Returns:

Type Description
str

The strain of this SubjectUpsertInput

tags property writable

Gets the tags of this SubjectUpsertInput.

Returns:

Type Description
list[str]

The tags of this SubjectUpsertInput

type property writable

Gets the type of this SubjectUpsertInput.

Returns:

Type Description
str

The type of this SubjectUpsertInput

__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__(date_of_birth=None, id=None, routing_field=None, label=None, source=None, firstname=None, lastname=None, sex=None, type=None, race=None, ethnicity=None, species=None, strain=None, info=None, state=None, tags=None)

SubjectUpsertInput - a model defined in Swagger

Parameters:

Name Type Description Default
date_of_birth (datetime, optional)

, defaults to None

None
id (str, optional)

, defaults to None

None
routing_field (str, optional)

, defaults to None

None
label (str, optional)

, defaults to None

None
source (CoreModelsCommonSource, optional)

, defaults to None

None
firstname (str, optional)

, defaults to None

None
lastname (str, optional)

, defaults to None

None
sex (str, 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
info (object, optional)

, defaults to None

None
state (SubjectState, optional)

, defaults to None

None
tags (list[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