2024-01-14 12:30:33 +02:00

1.3 KiB

AddUser

Properties

Name Type Description Notes
username str immutable name of the user, used to find or mention its actor
password str
email str The user email
video_quota int The user video quota in bytes [optional]
video_quota_daily int The user daily video quota in bytes [optional]
channel_name str immutable name of the channel, used to interact with its actor [optional]
role UserRole
admin_flags UserAdminFlags [optional]

Example

from peertube.models.add_user import AddUser

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

# convert the object into a dict
add_user_dict = add_user_instance.to_dict()
# create an instance of AddUser from a dict
add_user_form_dict = add_user.from_dict(add_user_dict)

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