mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
1.3 KiB
1.3 KiB
SnapshotRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| display_name | str | Snapshot title. | |
| start_date | datetime | The start date for the snapshot in UTC time, formatted in ISO date-time. | |
| end_date | datetime | The end date for the snapshot in UTC time, formatted in ISO date-time. | |
| is_public | bool | Set to `true` for saved events and `false` for share links. Its default value is `false`. | [optional] |
Example
from snapshots_api.models.snapshot_request import SnapshotRequest
# TODO update the JSON string below
json = "{}"
# create an instance of SnapshotRequest from a JSON string
snapshot_request_instance = SnapshotRequest.from_json(json)
# print the JSON string representation of the object
print SnapshotRequest.to_json()
# convert the object into a dict
snapshot_request_dict = snapshot_request_instance.to_dict()
# create an instance of SnapshotRequest from a dict
snapshot_request_form_dict = snapshot_request.from_dict(snapshot_request_dict)