PingOnceRequest
PingOnceRequest documentation for Python SDK
Request payload for a single ping probe
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| target_id | str | Target resource ID (UUID) | |
| target_type_hint | PingTargetType | [optional] | |
| payload_type | PingPayloadType | [optional] | |
| payload | str | Explicit UTF-8 payload to send with the probe (mutually exclusive with payloadSizeBytes) | [optional] |
| payload_size_bytes | int | Synthetic payload size in bytes (mutually exclusive with payload) | [optional] |
| timeout_ms | int | Per-probe timeout in milliseconds (0 uses server default) | [optional] |
Example
from goodmem_client.models.ping_once_request import PingOnceRequest
# TODO update the JSON string below
json = "{}"
# create an instance of PingOnceRequest from a JSON string
ping_once_request_instance = PingOnceRequest.from_json(json)
# print the JSON string representation of the object
print(PingOnceRequest.to_json())
# convert the object into a dict
ping_once_request_dict = ping_once_request_instance.to_dict()
# create an instance of PingOnceRequest from a dict
ping_once_request_from_dict = PingOnceRequest.from_dict(ping_once_request_dict)↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK