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

1.6 KiB

Account

Properties

Name Type Description Notes
id int [optional]
url str [optional]
name str immutable name of the actor, used to find or mention it [optional]
host str server on which the actor is resident [optional]
host_redundancy_allowed bool whether this actor's host allows redundancy of its videos [optional]
following_count int number of actors subscribed to by this actor, as seen by this instance [optional]
followers_count int number of followers of this actor, as seen by this instance [optional]
created_at datetime [optional]
updated_at datetime [optional]
user_id object [optional]
display_name str editable name of the account, displayed in its representations [optional]
description str text or bio displayed on the account's profile [optional]

Example

from peertube.models.account import Account

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

# convert the object into a dict
account_dict = account_instance.to_dict()
# create an instance of Account from a dict
account_form_dict = account.from_dict(account_dict)

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