Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.08 KB

PackageFile.md

File metadata and controls

36 lines (27 loc) · 1.08 KB

PackageFile

PackageFile represents a package file

Properties

Name Type Description Notes
size int [optional]
id int [optional]
md5 str [optional]
name str [optional]
sha1 str [optional]
sha256 str [optional]
sha512 str [optional]

Example

from clientapi_forgejo.models.package_file import PackageFile

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

# convert the object into a dict
package_file_dict = package_file_instance.to_dict()
# create an instance of PackageFile from a dict
package_file_from_dict = PackageFile.from_dict(package_file_dict)

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