Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.11 KB

File metadata and controls

34 lines (25 loc) · 2.11 KB

HostingV1NodeJsStartBuildRequestSourceOptions

Source-specific options. For archive send archive_path. For git send owner, repository, branch and installation_uuid, taken from List Git installations and List Git installation repositories.

Properties

Name Type Description Notes
archive_path str The path to the archive file relative to the document root of the vhost (required if source is "archive") [optional]
owner str Repository owner login (required if source is "git"). GitLab group paths use slashes. [optional]
repository str Repository name without the .git suffix (required if source is "git") [optional]
branch str Branch to build (required if source is "git") [optional]
installation_uuid str Git installation used to access the repository (required if source is "git") [optional]

Example

from hostinger_api.models.hosting_v1_node_js_start_build_request_source_options import HostingV1NodeJsStartBuildRequestSourceOptions

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

# convert the object into a dict
hosting_v1_node_js_start_build_request_source_options_dict = hosting_v1_node_js_start_build_request_source_options_instance.to_dict()
# create an instance of HostingV1NodeJsStartBuildRequestSourceOptions from a dict
hosting_v1_node_js_start_build_request_source_options_from_dict = HostingV1NodeJsStartBuildRequestSourceOptions.from_dict(hosting_v1_node_js_start_build_request_source_options_dict)

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