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
Active Git installation from `List Git installations`
owner
str
Repository owner login, as returned by `List Git installation repositories`. GitLab group paths use slashes.
repository
str
Repository name without the .git suffix
branch
str
Branch to deploy
directory
str
Subdirectory under the website document root to deploy into. Empty, null or omitted means the document root.
[optional] [default to '']
is_enabled
bool
Whether pushes to the branch deploy automatically
[optional] [default to True]
Example
fromhostinger_api.models.hosting_v1_git_update_git_auto_deployment_settings_requestimportHostingV1GitUpdateGitAutoDeploymentSettingsRequest# TODO update the JSON string belowjson="{}"# create an instance of HostingV1GitUpdateGitAutoDeploymentSettingsRequest from a JSON stringhosting_v1_git_update_git_auto_deployment_settings_request_instance=HostingV1GitUpdateGitAutoDeploymentSettingsRequest.from_json(json)
# print the JSON string representation of the objectprint(HostingV1GitUpdateGitAutoDeploymentSettingsRequest.to_json())
# convert the object into a dicthosting_v1_git_update_git_auto_deployment_settings_request_dict=hosting_v1_git_update_git_auto_deployment_settings_request_instance.to_dict()
# create an instance of HostingV1GitUpdateGitAutoDeploymentSettingsRequest from a dicthosting_v1_git_update_git_auto_deployment_settings_request_from_dict=HostingV1GitUpdateGitAutoDeploymentSettingsRequest.from_dict(hosting_v1_git_update_git_auto_deployment_settings_request_dict)