flywheel.models.current_user_output
CurrentUserOutput
Bases: object
api_key property writable
Gets the api_key of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
LegacyApiKeyOutput | The api_key of this CurrentUserOutput |
api_keys property writable
Gets the api_keys of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
list[ApiKeyOutput] | The api_keys of this CurrentUserOutput |
auth0sub property writable
Gets the auth0sub of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The auth0sub of this CurrentUserOutput |
avatar property writable
Gets the avatar of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The avatar of this CurrentUserOutput |
created property writable
Gets the created of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
datetime | The created of this CurrentUserOutput |
disabled property writable
Gets the disabled of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
bool | The disabled of this CurrentUserOutput |
email property writable
Gets the email of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The email of this CurrentUserOutput |
firstlogin property writable
Gets the firstlogin of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The firstlogin of this CurrentUserOutput |
firstname property writable
Gets the firstname of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The firstname of this CurrentUserOutput |
id property writable
Gets the id of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The id of this CurrentUserOutput |
info property writable
Gets the info of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
dict(str, object) | The info of this CurrentUserOutput |
lastlogin property writable
Gets the lastlogin of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The lastlogin of this CurrentUserOutput |
lastname property writable
Gets the lastname of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The lastname of this CurrentUserOutput |
ldap_sync_id property writable
Gets the ldap_sync_id of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The ldap_sync_id of this CurrentUserOutput |
modified property writable
Gets the modified of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
datetime | The modified of this CurrentUserOutput |
preferences property writable
Gets the preferences of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
UserPreferences | The preferences of this CurrentUserOutput |
roles property writable
Gets the roles of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
list[str] | The roles of this CurrentUserOutput |
root property writable
Gets the root of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
bool | The root of this CurrentUserOutput |
user_id property writable
Gets the user_id of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
str | The user_id of this CurrentUserOutput |
visited_projects property writable
Gets the visited_projects of this CurrentUserOutput.
Returns:
| Type | Description |
|---|---|
list[str] | The visited_projects of this CurrentUserOutput |
__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, user_id=None, firstname=None, lastname=None, email=None, auth0sub=None, roles=None, root=False, api_key=None, api_keys=None, avatar=None, disabled=None, preferences=None, created=None, modified=None, info=None, firstlogin=None, lastlogin=None, visited_projects=None, ldap_sync_id=None)
CurrentUserOutput - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id | (str, optional) | , defaults to None | None |
user_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 |
auth0sub | (str, optional) | , defaults to None | None |
roles | (list[str], optional) | , defaults to None | None |
root | (bool, optional) | , defaults to False | False |
api_key | (LegacyApiKeyOutput, optional) | , defaults to None | None |
api_keys | (list[ApiKeyOutput], optional) | , defaults to None | None |
avatar | (str, optional) | , defaults to None | None |
disabled | (bool, optional) | , defaults to None | None |
preferences | (UserPreferences, optional) | , defaults to None | None |
created | (datetime, optional) | , defaults to None | None |
modified | (datetime, optional) | , defaults to None | None |
info | (dict(str, object), optional) | , defaults to None | None |
firstlogin | (str, optional) | , defaults to None | None |
lastlogin | (str, optional) | , defaults to None | None |
visited_projects | (list[str], 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