|
1 | | -# cloudharness_model.model.api_tests_config.ApiTestsConfig |
| 1 | +# ApiTestsConfig |
2 | 2 |
|
3 | | -## Model Type Info |
4 | | -Input Type | Accessed Type | Description | Notes |
5 | | ------------- | ------------- | ------------- | ------------- |
6 | | -dict, frozendict.frozendict, | frozendict.frozendict, | | |
7 | | - |
8 | | -### Dictionary Keys |
9 | | -Key | Input Type | Accessed Type | Description | Notes |
10 | | ------------- | ------------- | ------------- | ------------- | ------------- |
11 | | -**[checks](#checks)** | list, tuple, | tuple, | One of the Schemathesis checks: - not_a_server_error. The response has 5xx HTTP status; - status_code_conformance. The response status is not defined in the API schema; - content_type_conformance. The response content type is not defined in the API schema; - response_schema_conformance. The response content does not conform to the schema defined for this specific response; - response_headers_conformance. The response headers does not contain all defined headers. | |
12 | | -**autotest** | bool, | BoolClass, | Specify whether to run the common smoke tests | |
13 | | -**enabled** | bool, | BoolClass, | Enables api tests for this application (default: false) | |
14 | | -**[runParams](#runParams)** | list, tuple, | tuple, | Additional schemathesis parameters | [optional] |
15 | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] |
16 | | - |
17 | | -# checks |
18 | | - |
19 | | -One of the Schemathesis checks: - not_a_server_error. The response has 5xx HTTP status; - status_code_conformance. The response status is not defined in the API schema; - content_type_conformance. The response content type is not defined in the API schema; - response_schema_conformance. The response content does not conform to the schema defined for this specific response; - response_headers_conformance. The response headers does not contain all defined headers. |
20 | 3 |
|
21 | | -## Model Type Info |
22 | | -Input Type | Accessed Type | Description | Notes |
23 | | ------------- | ------------- | ------------- | ------------- |
24 | | -list, tuple, | tuple, | One of the Schemathesis checks: - not_a_server_error. The response has 5xx HTTP status; - status_code_conformance. The response status is not defined in the API schema; - content_type_conformance. The response content type is not defined in the API schema; - response_schema_conformance. The response content does not conform to the schema defined for this specific response; - response_headers_conformance. The response headers does not contain all defined headers. | |
25 | | - |
26 | | -### Tuple Items |
27 | | -Class Name | Input Type | Accessed Type | Description | Notes |
28 | | -------------- | ------------- | ------------- | ------------- | ------------- |
29 | | -items | str, | str, | | |
30 | 4 |
|
31 | | -# runParams |
| 5 | +## Properties |
32 | 6 |
|
33 | | -Additional schemathesis parameters |
34 | | - |
35 | | -## Model Type Info |
36 | | -Input Type | Accessed Type | Description | Notes |
| 7 | +Name | Type | Description | Notes |
37 | 8 | ------------ | ------------- | ------------- | ------------- |
38 | | -list, tuple, | tuple, | Additional schemathesis parameters | |
39 | | - |
40 | | -### Tuple Items |
41 | | -Class Name | Input Type | Accessed Type | Description | Notes |
42 | | -------------- | ------------- | ------------- | ------------- | ------------- |
43 | | -items | str, | str, | | |
| 9 | +**enabled** | **bool** | Enables api tests for this application (default: false) | |
| 10 | +**autotest** | **bool** | Specify whether to run the common smoke tests | |
| 11 | +**run_params** | **List[str]** | Additional schemathesis parameters | [optional] |
| 12 | +**checks** | **List[str]** | One of the Schemathesis checks: - not_a_server_error. The response has 5xx HTTP status; - status_code_conformance. The response status is not defined in the API schema; - content_type_conformance. The response content type is not defined in the API schema; - response_schema_conformance. The response content does not conform to the schema defined for this specific response; - response_headers_conformance. The response headers does not contain all defined headers. | |
| 13 | + |
| 14 | +## Example |
| 15 | + |
| 16 | +```python |
| 17 | +from cloudharness_model.models.api_tests_config import ApiTestsConfig |
| 18 | + |
| 19 | +# TODO update the JSON string below |
| 20 | +json = "{}" |
| 21 | +# create an instance of ApiTestsConfig from a JSON string |
| 22 | +api_tests_config_instance = ApiTestsConfig.from_json(json) |
| 23 | +# print the JSON string representation of the object |
| 24 | +print ApiTestsConfig.to_json() |
| 25 | + |
| 26 | +# convert the object into a dict |
| 27 | +api_tests_config_dict = api_tests_config_instance.to_dict() |
| 28 | +# create an instance of ApiTestsConfig from a dict |
| 29 | +api_tests_config_form_dict = api_tests_config.from_dict(api_tests_config_dict) |
| 30 | +``` |
| 31 | +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
44 | 32 |
|
45 | | -[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) |
46 | 33 |
|
0 commit comments