Skip to content

Add missing tlsVersion and minTlsVersion to Synthetics assertion types #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-15 14:57:44.952353",
"spec_repo_commit": "b8bbf4c"
"regenerated": "2021-02-16 12:27:28.198643",
"spec_repo_commit": "153fb41"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-15 14:58:29.631099",
"spec_repo_commit": "b8bbf4c"
"regenerated": "2021-02-16 12:28:02.224990",
"spec_repo_commit": "153fb41"
}
}
}
2 changes: 1 addition & 1 deletion docs/v1/SyntheticsAssertionType.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Type of the assertion.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | Type of the assertion. | must be one of ["body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome", ]
**value** | **str** | Type of the assertion. | must be one of ["body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome", "tlsVersion", "minTlsVersion", ]

[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v1/model/synthetics_assertion.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def __init__(self, *args, **kwargs): # noqa: E501

Keyword Args:
operator (SyntheticsAssertionJSONPathOperator): defaults to nulltype.Null, must be one of ["validatesJSONPath", ] # noqa: E501
type (SyntheticsAssertionType): defaults to nulltype.Null, must be one of ["body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome", ] # noqa: E501
type (SyntheticsAssertionType): defaults to nulltype.Null, must be one of ["body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome", "tlsVersion", "minTlsVersion", ] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class SyntheticsAssertionType(ModelSimple):
"PROPERTY": "property",
"RECORD_EVERY": "recordEvery",
"RECORD_SOME": "recordSome",
"TLS_VERSION": "tlsVersion",
"MIN_TLS_VERSION": "minTlsVersion",
},
}

Expand Down Expand Up @@ -103,10 +105,10 @@ def __init__(self, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.

Args:
args[0] (str): Type of the assertion.., must be one of ["body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome", ] # noqa: E501
args[0] (str): Type of the assertion.., must be one of ["body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome", "tlsVersion", "minTlsVersion", ] # noqa: E501

Keyword Args:
value (str): Type of the assertion.., must be one of ["body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome", ] # noqa: E501
value (str): Type of the assertion.., must be one of ["body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome", "tlsVersion", "minTlsVersion", ] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down
4 changes: 4 additions & 0 deletions src/datadog_api_client/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6257,6 +6257,8 @@ components:
- property
- recordEvery
- recordSome
- tlsVersion
- minTlsVersion
type: string
x-enum-varnames:
- BODY
Expand All @@ -6267,6 +6269,8 @@ components:
- PROPERTY
- RECORD_EVERY
- RECORD_SOME
- TLS_VERSION
- MIN_TLS_VERSION
SyntheticsBasicAuth:
description: Object to handle basic authentication when performing the test.
properties:
Expand Down