2.9 KiB
2.9 KiB
UserWithStats
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| account | Account | [optional] | |
| auto_play_next_video | bool | Automatically start playing the upcoming video after the currently playing video | [optional] |
| auto_play_next_video_playlist | bool | Automatically start playing the video on the playlist after the currently playing video | [optional] |
| auto_play_video | bool | Automatically start playing the video on the watch page | [optional] |
| blocked | bool | [optional] | |
| blocked_reason | str | [optional] | |
| created_at | str | [optional] | |
| str | The user email | [optional] | |
| email_verified | bool | Has the user confirmed their email address? | [optional] |
| id | int | [optional] [readonly] | |
| plugin_auth | str | Auth plugin to use to authenticate the user | [optional] |
| last_login_date | datetime | [optional] | |
| no_instance_config_warning_modal | bool | [optional] | |
| no_account_setup_warning_modal | bool | [optional] | |
| no_welcome_modal | bool | [optional] | |
| nsfw_policy | NSFWPolicy | [optional] | |
| role | UserRole | [optional] | |
| theme | str | Theme enabled by this user | [optional] |
| username | str | immutable name of the user, used to find or mention its actor | [optional] |
| video_channels | List[VideoChannel] | [optional] | |
| video_quota | int | The user video quota in bytes | [optional] |
| video_quota_daily | int | The user daily video quota in bytes | [optional] |
| p2p_enabled | bool | Enable P2P in the player | [optional] |
| videos_count | int | Count of videos published | [optional] |
| abuses_count | int | Count of reports/abuses of which the user is a target | [optional] |
| abuses_accepted_count | int | Count of reports/abuses created by the user and accepted/acted upon by the moderation team | [optional] |
| abuses_created_count | int | Count of reports/abuses created by the user | [optional] |
| video_comments_count | int | Count of comments published | [optional] |
Example
from peertube.models.user_with_stats import UserWithStats
# TODO update the JSON string below
json = "{}"
# create an instance of UserWithStats from a JSON string
user_with_stats_instance = UserWithStats.from_json(json)
# print the JSON string representation of the object
print UserWithStats.to_json()
# convert the object into a dict
user_with_stats_dict = user_with_stats_instance.to_dict()
# create an instance of UserWithStats from a dict
user_with_stats_form_dict = user_with_stats.from_dict(user_with_stats_dict)