flywheel.models.session_upsert_input
SessionUpsertInput
Bases: object
age property writable
Gets the age of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
int | The age of this SessionUpsertInput |
id property writable
Gets the id of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
str | The id of this SessionUpsertInput |
info property writable
Gets the info of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
object | The info of this SessionUpsertInput |
label property writable
Gets the label of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
str | The label of this SessionUpsertInput |
operator property writable
Gets the operator of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
str | The operator of this SessionUpsertInput |
routing_field property writable
Gets the routing_field of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
str | The routing_field of this SessionUpsertInput |
source property writable
Gets the source of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
CoreModelsCommonSource | The source of this SessionUpsertInput |
tags property writable
Gets the tags of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
list[str] | The tags of this SessionUpsertInput |
timestamp property writable
Gets the timestamp of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
datetime | The timestamp of this SessionUpsertInput |
timezone property writable
Gets the timezone of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
str | The timezone of this SessionUpsertInput |
uid property writable
Gets the uid of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
str | The uid of this SessionUpsertInput |
weight property writable
Gets the weight of this SessionUpsertInput.
Returns:
| Type | Description |
|---|---|
float | The weight of this SessionUpsertInput |
__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, uid=None, routing_field=None, label=None, source=None, timestamp=None, timezone=None, age=None, weight=None, operator=None, info=None, tags=None)
SessionUpsertInput - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id | (str, optional) | , defaults to None | None |
uid | (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 |
timestamp | (datetime, optional) | , defaults to None | None |
timezone | (str, 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 |
info | (object, 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