Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.76 KB

File metadata and controls

32 lines (23 loc) · 1.76 KB

HostingV1NodeJsRuntimeLogsResource

Properties

Name Type Description Notes
logs List[HostingV1NodeJsLogEntryResource] Array of `Hosting.V1.NodeJs.LogEntryResource`
started_at datetime Timestamp of the first line of the log file; null when the file is empty or its first line has no timestamp field
total_lines int Total number of lines in the raw log file. Send total_lines + 1 as from_line in the next poll to receive only new entries.
last_deployed_at datetime Time of the last completed build; entries before it belong to the previous deployment. null when no build has completed yet.

Example

from hostinger_api.models.hosting_v1_node_js_runtime_logs_resource import HostingV1NodeJsRuntimeLogsResource

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

# convert the object into a dict
hosting_v1_node_js_runtime_logs_resource_dict = hosting_v1_node_js_runtime_logs_resource_instance.to_dict()
# create an instance of HostingV1NodeJsRuntimeLogsResource from a dict
hosting_v1_node_js_runtime_logs_resource_from_dict = HostingV1NodeJsRuntimeLogsResource.from_dict(hosting_v1_node_js_runtime_logs_resource_dict)

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