Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.82 KB

File metadata and controls

35 lines (26 loc) · 1.82 KB

HostingV1NodeJsSourceOptionsResource

Which keys carry values depends on the parent source_type; the others are null.

Properties

Name Type Description Notes
archive_path str Present if sourceType is "archive" [optional]
owner str Repository owner login (present if source_type is "git")
repository str Repository name without the .git suffix (present if source_type is "git")
branch str Branch that was built (present if source_type is "git")
installation_uuid str Git installation used to access the repository (present if source_type is "git")
commit HostingV1GitGitCommitResource

Example

from hostinger_api.models.hosting_v1_node_js_source_options_resource import HostingV1NodeJsSourceOptionsResource

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

# convert the object into a dict
hosting_v1_node_js_source_options_resource_dict = hosting_v1_node_js_source_options_resource_instance.to_dict()
# create an instance of HostingV1NodeJsSourceOptionsResource from a dict
hosting_v1_node_js_source_options_resource_from_dict = HostingV1NodeJsSourceOptionsResource.from_dict(hosting_v1_node_js_source_options_resource_dict)

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