Skip to content

Latest commit

 

History

History
92 lines (83 loc) · 3.82 KB

Repository.md

File metadata and controls

92 lines (83 loc) · 3.82 KB

Repository

Repository represents a repository

Properties

Name Type Description Notes
allow_fast_forward_only_merge bool [optional]
allow_merge_commits bool [optional]
allow_rebase bool [optional]
allow_rebase_explicit bool [optional]
allow_rebase_update bool [optional]
allow_squash_merge bool [optional]
archived bool [optional]
archived_at datetime [optional]
avatar_url str [optional]
clone_url str [optional]
created_at datetime [optional]
default_allow_maintainer_edit bool [optional]
default_branch str [optional]
default_delete_branch_after_merge bool [optional]
default_merge_style str [optional]
default_update_style str [optional]
description str [optional]
empty bool [optional]
external_tracker ExternalTracker [optional]
external_wiki ExternalWiki [optional]
fork bool [optional]
forks_count int [optional]
full_name str [optional]
globally_editable_wiki bool [optional]
has_actions bool [optional]
has_issues bool [optional]
has_packages bool [optional]
has_projects bool [optional]
has_pull_requests bool [optional]
has_releases bool [optional]
has_wiki bool [optional]
html_url str [optional]
id int [optional]
ignore_whitespace_conflicts bool [optional]
internal bool [optional]
internal_tracker InternalTracker [optional]
language str [optional]
languages_url str [optional]
link str [optional]
mirror bool [optional]
mirror_interval str [optional]
mirror_updated datetime [optional]
name str [optional]
object_format_name str ObjectFormatName of the underlying git repository [optional]
open_issues_count int [optional]
open_pr_counter int [optional]
original_url str [optional]
owner User [optional]
parent Repository [optional]
permissions Permission [optional]
private bool [optional]
release_counter int [optional]
repo_transfer RepoTransfer [optional]
size int [optional]
ssh_url str [optional]
stars_count int [optional]
template bool [optional]
topics List[str] [optional]
updated_at datetime [optional]
url str [optional]
watchers_count int [optional]
website str [optional]
wiki_branch str [optional]

Example

from clientapi_forgejo.models.repository import Repository

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

# convert the object into a dict
repository_dict = repository_instance.to_dict()
# create an instance of Repository from a dict
repository_from_dict = Repository.from_dict(repository_dict)

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