User
Properties
| Name |
Type |
Description |
Notes |
| id |
int |
|
[optional] [readonly] |
| username |
str |
Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
[optional] |
| first_name |
str |
|
[optional] |
| last_name |
str |
|
[optional] |
| email |
str |
|
[optional] |
| date_joined |
datetime |
|
[optional] [readonly] |
| last_login |
datetime |
|
[optional] [readonly] |
| is_active |
bool |
Designates whether this user should be treated as active. Unselect this instead of deleting accounts. |
[optional] |
| is_superuser |
bool |
Designates that this user has all permissions without explicitly assigning them. |
[optional] |
| token_last_reset |
datetime |
|
[optional] [readonly] |
| password_last_reset |
datetime |
|
[optional] [readonly] |
| configuration_permissions |
List[Optional[int]] |
|
[optional] |
Example
from defectdojo_api_generated.models.user import User
# TODO update the JSON string below
json = "{}"
# create an instance of User from a JSON string
user_instance = User.from_json(json)
# print the JSON string representation of the object
print(User.to_json())
# convert the object into a dict
user_dict = user_instance.to_dict()
# create an instance of User from a dict
user_from_dict = User.from_dict(user_dict)
[Back to Model list] [Back to API list] [Back to README]