flywheel.models.user_input
UserInput
Bases: object
avatar property writable
Gets the avatar of this UserInput.
Returns:
| Type | Description |
|---|---|
str | The avatar of this UserInput |
central_revision property writable
Gets the central_revision of this UserInput.
Returns:
| Type | Description |
|---|---|
int | The central_revision of this UserInput |
central_user_id property writable
Gets the central_user_id of this UserInput.
Returns:
| Type | Description |
|---|---|
str | The central_user_id of this UserInput |
disabled property writable
Gets the disabled of this UserInput.
Returns:
| Type | Description |
|---|---|
bool | The disabled of this UserInput |
email property writable
Gets the email of this UserInput.
Returns:
| Type | Description |
|---|---|
str | The email of this UserInput |
firstname property writable
Gets the firstname of this UserInput.
Returns:
| Type | Description |
|---|---|
str | The firstname of this UserInput |
id property writable
Gets the id of this UserInput.
Returns:
| Type | Description |
|---|---|
str | The id of this UserInput |
lastname property writable
Gets the lastname of this UserInput.
Returns:
| Type | Description |
|---|---|
str | The lastname of this UserInput |
ldap_sync_id property writable
Gets the ldap_sync_id of this UserInput.
Returns:
| Type | Description |
|---|---|
str | The ldap_sync_id of this UserInput |
password property writable
Gets the password of this UserInput.
Returns:
| Type | Description |
|---|---|
str | The password of this UserInput |
roles property writable
Gets the roles of this UserInput.
Returns:
| Type | Description |
|---|---|
list[RoleType] | The roles of this UserInput |
root property writable
Gets the root of this UserInput.
Returns:
| Type | Description |
|---|---|
bool | The root of this UserInput |
__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, firstname=None, lastname=None, email=None, password=None, roles=None, disabled=None, avatar=None, root=None, central_user_id=None, central_revision=None, ldap_sync_id=None)
UserInput - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id | (str, optional) | , defaults to None | None |
firstname | (str, optional) | , defaults to None | None |
lastname | (str, optional) | , defaults to None | None |
email | (str, optional) | , defaults to None | None |
password | (str, optional) | , defaults to None | None |
roles | (list[RoleType], optional) | , defaults to None | None |
disabled | (bool, optional) | , defaults to None | None |
avatar | (str, optional) | , defaults to None | None |
root | (bool, optional) | , defaults to None | None |
central_user_id | (str, optional) | , defaults to None | None |
central_revision | (int, optional) | , defaults to None | None |
ldap_sync_id | (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