Name |
Type |
Description |
Notes |
uuid |
str |
|
[readonly] |
username |
str |
|
[readonly] |
registration_time |
datetime |
The date and time when user registered and consented to sharing data. Automatically set by server when user uploads registration. |
[readonly] |
locale |
str |
The locale code representing the language preference selected by the user for displaying the interface text. Enter the locale following the BCP 47 standard in 'language' or 'language-region' format (e.g., 'en' for English, 'en-US' for English (United States), 'fr' for French). The language is a two-letter ISO 639-1 code, and the region is an optional two-letter ISO 3166-1 alpha-2 code. |
[optional] |
language_iso |
str |
ISO 639-1 code |
[readonly] |
is_guest |
bool |
|
[readonly] |
score |
int |
Global XP Score. This field is updated whenever the user asks for the score, and is only stored here. The content must equal score_v2_adult + score_v2_bite + score_v2_site |
[readonly] |
last_score_update |
datetime |
Last time score was updated |
[readonly] |
from mosquito_alert.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]