You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repository identifier assigned by the Git provider
name
str
Repository name without the .git suffix
full_name
str
Owner and repository name joined with a slash
owner
str
Repository owner login
is_private
bool
Whether the repository is private
html_url
str
Repository page URL
clone_url
str
HTTPS clone URL
default_branch
str
Default branch of the repository
Example
fromhostinger_api.models.hosting_v1_git_git_repository_resourceimportHostingV1GitGitRepositoryResource# TODO update the JSON string belowjson="{}"# create an instance of HostingV1GitGitRepositoryResource from a JSON stringhosting_v1_git_git_repository_resource_instance=HostingV1GitGitRepositoryResource.from_json(json)
# print the JSON string representation of the objectprint(HostingV1GitGitRepositoryResource.to_json())
# convert the object into a dicthosting_v1_git_git_repository_resource_dict=hosting_v1_git_git_repository_resource_instance.to_dict()
# create an instance of HostingV1GitGitRepositoryResource from a dicthosting_v1_git_git_repository_resource_from_dict=HostingV1GitGitRepositoryResource.from_dict(hosting_v1_git_git_repository_resource_dict)