WatchRequest is the request message for the Watch RPC. It contains the details needed to establish a watch stream.
Name | Type | Description | Notes |
---|---|---|---|
snap_token | str | The snap token to avoid stale cache, see more details on Snap Tokens. | [optional] |
from permify.models.watch_watch_request import WatchWatchRequest
# TODO update the JSON string below
json = "{}"
# create an instance of WatchWatchRequest from a JSON string
watch_watch_request_instance = WatchWatchRequest.from_json(json)
# print the JSON string representation of the object
print(WatchWatchRequest.to_json())
# convert the object into a dict
watch_watch_request_dict = watch_watch_request_instance.to_dict()
# create an instance of WatchWatchRequest from a dict
watch_watch_request_from_dict = WatchWatchRequest.from_dict(watch_watch_request_dict)