mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 16:05:30 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.4 KiB
1.4 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`. Note: Saved Events are now called Private Snapshots in the user interface. This change does not affect API. | [optional] |
Example
from thousandeyes_sdk.snapshots.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_from_dict = SnapshotRequest.from_dict(snapshot_request_dict)