Skip to content

flywheel.models.wip_protocol

WIPProtocol

Bases: object

created property writable

Gets the created of this WIPProtocol.

Returns:

Type Description
datetime

The created of this WIPProtocol

id property writable

Gets the id of this WIPProtocol.

Returns:

Type Description
str

The id of this WIPProtocol

label property writable

Gets the label of this WIPProtocol.

Returns:

Type Description
str

The label of this WIPProtocol

modified property writable

Gets the modified of this WIPProtocol.

Returns:

Type Description
datetime

The modified of this WIPProtocol

modified_by property writable

Gets the modified_by of this WIPProtocol.

Returns:

Type Description
Origin

The modified_by of this WIPProtocol

notes property writable

Gets the notes of this WIPProtocol.

Returns:

Type Description
str

The notes of this WIPProtocol

parent_ref property writable

Gets the parent_ref of this WIPProtocol.

Returns:

Type Description
ContainerReference

The parent_ref of this WIPProtocol

protocol_config property writable

Gets the protocol_config of this WIPProtocol.

Returns:

Type Description
ReaderTaskConfig

The protocol_config of this WIPProtocol

replaced property writable

Gets the replaced of this WIPProtocol.

Returns:

Type Description
datetime

The replaced of this WIPProtocol

saved_json_text property writable

Gets the saved_json_text of this WIPProtocol.

Returns:

Type Description
str

The saved_json_text of this WIPProtocol

status property writable

Gets the status of this WIPProtocol.

Returns:

Type Description
ProtocolStatus

The status of this WIPProtocol

version property writable

Gets the version of this WIPProtocol.

Returns:

Type Description
int

The version of this WIPProtocol

__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, label=None, created=None, modified=None, replaced=None, version=None, status=None, parent_ref=None, modified_by=None, notes=None, protocol_config=None, saved_json_text=None)

WIPProtocol - a model defined in Swagger

Parameters:

Name Type Description Default
id (str, optional)

, defaults to None

None
label (str, 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
version (int, optional)

, defaults to None

None
status (ProtocolStatus, optional)

, defaults to None

None
parent_ref (ContainerReference, optional)

, defaults to None

None
modified_by (Origin, optional)

, defaults to None

None
notes (str, optional)

, defaults to None

None
protocol_config (ReaderTaskConfig, optional)

, defaults to None

None
saved_json_text (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