Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.4 KB

File metadata and controls

36 lines (27 loc) · 1.4 KB

BackendWithHostname

Properties

Name Type Description Notes
id int The id of the backend
name str The name of the backend
location str The location of the backend
backend_type_id int The id of the backend type
status BackendStatus Status of the backend
message BackendMessage The message obj for a backend [optional]
last_heartbeat datetime Time of last heartbeat
hostname str The hostname of the backend

Example

from compute_api_client.models.backend_with_hostname import BackendWithHostname

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

# convert the object into a dict
backend_with_hostname_dict = backend_with_hostname_instance.to_dict()
# create an instance of BackendWithHostname from a dict
backend_with_hostname_from_dict = BackendWithHostname.from_dict(backend_with_hostname_dict)

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