thousandeyes-sdk-python/thousandeyes-sdk-tests/docs/ApiRequestAssertion.md
2024-05-23 11:55:27 +01:00

1.3 KiB

ApiRequestAssertion

Properties

Name Type Description Notes
name ApiRequestAssertionName [optional]
operator ApiRequestAssertionOperator [optional]
value str The value of the assertion. If name = `status-code`, the status code to assert. If name = `response-body`, the lookup value to assert. [optional]

Example

from thousandeyes_sdk.tests.models.api_request_assertion import ApiRequestAssertion

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

# convert the object into a dict
api_request_assertion_dict = api_request_assertion_instance.to_dict()
# create an instance of ApiRequestAssertion from a dict
api_request_assertion_from_dict = ApiRequestAssertion.from_dict(api_request_assertion_dict)

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