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

1.1 KiB

Follow

Properties

Name Type Description Notes
id int [optional]
follower Actor [optional]
following Actor [optional]
score float score reflecting the reachability of the actor, with steps of `10` and a base score of `1000`. [optional]
state str [optional]
created_at datetime [optional]
updated_at datetime [optional]

Example

from peertube.models.follow import Follow

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

# convert the object into a dict
follow_dict = follow_instance.to_dict()
# create an instance of Follow from a dict
follow_form_dict = follow.from_dict(follow_dict)

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