Package represents a package
Name | Type | Description | Notes |
---|---|---|---|
created_at | datetime | [optional] | |
creator | User | [optional] | |
html_url | str | [optional] | |
id | int | [optional] | |
name | str | [optional] | |
owner | User | [optional] | |
repository | Repository | [optional] | |
type | str | [optional] | |
version | str | [optional] |
from clientapi_forgejo.models.package import Package
# TODO update the JSON string below
json = "{}"
# create an instance of Package from a JSON string
package_instance = Package.from_json(json)
# print the JSON string representation of the object
print(Package.to_json())
# convert the object into a dict
package_dict = package_instance.to_dict()
# create an instance of Package from a dict
package_from_dict = Package.from_dict(package_dict)