FileResponse contains information about a repo's file
Name | Type | Description | Notes |
---|---|---|---|
commit | FileCommitResponse | [optional] | |
content | ContentsResponse | [optional] | |
verification | PayloadCommitVerification | [optional] |
from clientapi_forgejo.models.file_response import FileResponse
# TODO update the JSON string below
json = "{}"
# create an instance of FileResponse from a JSON string
file_response_instance = FileResponse.from_json(json)
# print the JSON string representation of the object
print(FileResponse.to_json())
# convert the object into a dict
file_response_dict = file_response_instance.to_dict()
# create an instance of FileResponse from a dict
file_response_from_dict = FileResponse.from_dict(file_response_dict)