Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.33 KB

File metadata and controls

41 lines (32 loc) · 1.33 KB

Activity

Properties

Name Type Description Notes
act_user User [optional]
act_user_id int [optional]
comment Comment [optional]
comment_id int [optional]
content str [optional]
created datetime [optional]
id int [optional]
is_private bool [optional]
op_type str the type of action [optional]
ref_name str [optional]
repo Repository [optional]
repo_id int [optional]
user_id int [optional]

Example

from clientapi_forgejo.models.activity import Activity

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

# convert the object into a dict
activity_dict = activity_instance.to_dict()
# create an instance of Activity from a dict
activity_from_dict = Activity.from_dict(activity_dict)

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