mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 22:16:52 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
* [GitHub Bot] Generated python SDK * Updated README --------- Co-authored-by: API Team <api-team@thousandeyes.com> Co-authored-by: Miguel Pragosa <mpragosa@thousandeyes.com>
1.6 KiB
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 "about:blank". | [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)