thousandeyes-sdk-python/thousandeyes-sdk-event-detection/docs/ValidationError.md
Shahid Hussain Khan 09e9385636
Add Event detection API (#43)
* [GitHub Bot] Generated python SDK

* Updated README

---------

Co-authored-by: API Team <api-team@thousandeyes.com>
Co-authored-by: Miguel Pragosa <mpragosa@thousandeyes.com>
2024-08-11 10:21:46 +01:00

1.6 KiB

ValidationError

Properties

Name Type Description Notes
type str A URI reference that identifies the problem type. When this member is not present, its value is assumed to be &quot;about:blank&quot;. [optional]
title str A short, human-readable summary of the problem type. [optional]
status int The HTTP status code generated by the origin server for this occurrence of the problem. [optional]
detail str A human-readable explanation specific to this occurrence of the problem. [optional]
instance str A URI reference that identifies the specific occurrence of the problem. [optional]
errors **List[ValidationErrorItem]** (Optional) When multiple errors occur, the details for each error are listed. [optional]

Example

from thousandeyes_sdk.event_detection.models.validation_error import ValidationError

# TODO update the JSON string below
json = "{}"
# create an instance of ValidationError from a JSON string
validation_error_instance = ValidationError.from_json(json)
# print the JSON string representation of the object
print(ValidationError.to_json())

# convert the object into a dict
validation_error_dict = validation_error_instance.to_dict()
# create an instance of ValidationError from a dict
validation_error_from_dict = ValidationError.from_dict(validation_error_dict)

[Back to Model list] [Back to API list] [Back to README]