Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 2.15 KB

HostingV1NodeJsStartBuildRequest.md

File metadata and controls

38 lines (29 loc) · 2.15 KB

HostingV1NodeJsStartBuildRequest

Properties

Name Type Description Notes
node_version int Node.js version
app_type str Node.js application type
root_directory str Application root directory (where package.json is located) relative to public_html
output_directory str Build output directory relative to the root directory
build_script str Build script that will be ran to build the application
entry_file str The main entry point file for the application [optional]
package_manager str Package manager [optional]
runtime str JavaScript runtime that runs the application. Install and build steps still use Node.js. Omit it to keep the runtime stored in the build settings (node when none are stored). [optional]
source_type str Where the files come from: `archive` (an uploaded archive on the website) or `git` (a branch of a repository reachable through a Git installation).
source_options HostingV1NodeJsStartBuildRequestSourceOptions

Example

from hostinger_api.models.hosting_v1_node_js_start_build_request import HostingV1NodeJsStartBuildRequest

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

# convert the object into a dict
hosting_v1_node_js_start_build_request_dict = hosting_v1_node_js_start_build_request_instance.to_dict()
# create an instance of HostingV1NodeJsStartBuildRequest from a dict
hosting_v1_node_js_start_build_request_from_dict = HostingV1NodeJsStartBuildRequest.from_dict(hosting_v1_node_js_start_build_request_dict)

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