Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.24 KB

UserCreation.md

File metadata and controls

36 lines (27 loc) · 1.24 KB

UserCreation

User creation

Properties

Name Type Description Notes
username str Username of the new account
firstname str First name of the user [optional]
lastname str Last name of the user [optional]
email str Email of the new account [optional]
password str Password of the new account
locale FlatLocales [optional]
role str Role of the new account [optional] [default to 'user']

Example

from flat_api.models.user_creation import UserCreation

# TODO update the JSON string below
json = "{}"
# create an instance of UserCreation from a JSON string
user_creation_instance = UserCreation.from_json(json)
# print the JSON string representation of the object
print UserCreation.to_json()

# convert the object into a dict
user_creation_dict = user_creation_instance.to_dict()
# create an instance of UserCreation from a dict
user_creation_form_dict = user_creation.from_dict(user_creation_dict)

[Back to Model list] [Back to API list] [Back to README]