1.2 KiB
1.2 KiB
RegisterUser
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | immutable name of the user, used to find or mention its actor | |
| password | str | ||
| str | email of the user, used for login or service communications | ||
| display_name | str | editable name of the user, displayed in its representations | [optional] |
| channel | RegisterUserChannel | [optional] |
Example
from peertube.models.register_user import RegisterUser
# TODO update the JSON string below
json = "{}"
# create an instance of RegisterUser from a JSON string
register_user_instance = RegisterUser.from_json(json)
# print the JSON string representation of the object
print RegisterUser.to_json()
# convert the object into a dict
register_user_dict = register_user_instance.to_dict()
# create an instance of RegisterUser from a dict
register_user_form_dict = register_user.from_dict(register_user_dict)