Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 862 Bytes

IdObject.md

File metadata and controls

30 lines (21 loc) · 862 Bytes

IdObject

A JSON object with an id field indicating the resource.

Properties

Name Type Description Notes
id str

Example

from waylay.services.alarms.models.id_object import IdObject

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

# convert the object into a dict
id_object_dict = id_object_instance.to_dict()
# create an instance of IdObject from a dict
id_object_form_dict = id_object.from_dict(id_object_dict)

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