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
Clone URL of the repository on any Git host, SSH or HTTPS. Private repositories need an SSH URL and the account's Git SSH key added to the repository as a deploy key. An HTTP or HTTPS URL with a username or token, or any URL with a password, is rejected.
branch
str
Branch to clone and pull
directory
str
Directory under the website document root, exactly as `List website Git repositories` returns it for an existing repository. Empty, null or omitted means the document root.
[optional] [default to '']
Example
fromhostinger_api.models.hosting_v1_git_deploy_website_git_repository_requestimportHostingV1GitDeployWebsiteGitRepositoryRequest# TODO update the JSON string belowjson="{}"# create an instance of HostingV1GitDeployWebsiteGitRepositoryRequest from a JSON stringhosting_v1_git_deploy_website_git_repository_request_instance=HostingV1GitDeployWebsiteGitRepositoryRequest.from_json(json)
# print the JSON string representation of the objectprint(HostingV1GitDeployWebsiteGitRepositoryRequest.to_json())
# convert the object into a dicthosting_v1_git_deploy_website_git_repository_request_dict=hosting_v1_git_deploy_website_git_repository_request_instance.to_dict()
# create an instance of HostingV1GitDeployWebsiteGitRepositoryRequest from a dicthosting_v1_git_deploy_website_git_repository_request_from_dict=HostingV1GitDeployWebsiteGitRepositoryRequest.from_dict(hosting_v1_git_deploy_website_git_repository_request_dict)