Represents a reference to a Resource
Name | Type | Description | Notes |
---|---|---|---|
ref | str | A URI for the Resource, formatted as `/resources/{resourceId}` |
from waylay.services.resources.models.resource_reference import ResourceReference
# TODO update the JSON string below
json = "{}"
# create an instance of ResourceReference from a JSON string
resource_reference_instance = ResourceReference.from_json(json)
# print the JSON string representation of the object
print ResourceReference.to_json()
# convert the object into a dict
resource_reference_dict = resource_reference_instance.to_dict()
# create an instance of ResourceReference from a dict
resource_reference_form_dict = resource_reference.from_dict(resource_reference_dict)