Skip to content

Commit 74f2c6c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Document included_keywords in ListStandardPatterns response (#1777)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent a6dfeb3 commit 74f2c6c

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2023-11-21 17:52:58.710741",
8-
"spec_repo_commit": "d902bcbc"
7+
"regenerated": "2023-11-21 19:36:29.340936",
8+
"spec_repo_commit": "83154a77"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-21 17:52:58.725388",
13-
"spec_repo_commit": "d902bcbc"
12+
"regenerated": "2023-11-21 19:36:29.357035",
13+
"spec_repo_commit": "83154a77"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16315,6 +16315,11 @@ components:
1631516315
description:
1631616316
description: Description of the standard pattern.
1631716317
type: string
16318+
included_keywords:
16319+
description: List of included keywords.
16320+
items:
16321+
type: string
16322+
type: array
1631816323
name:
1631916324
description: Name of the standard pattern.
1632016325
type: string

src/datadog_api_client/v2/model/sensitive_data_scanner_standard_pattern_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ class SensitiveDataScannerStandardPatternAttributes(ModelNormal):
1818
def openapi_types(_):
1919
return {
2020
"description": (str,),
21+
"included_keywords": ([str],),
2122
"name": (str,),
2223
"pattern": (str,),
2324
"tags": ([str],),
2425
}
2526

2627
attribute_map = {
2728
"description": "description",
29+
"included_keywords": "included_keywords",
2830
"name": "name",
2931
"pattern": "pattern",
3032
"tags": "tags",
@@ -33,6 +35,7 @@ def openapi_types(_):
3335
def __init__(
3436
self_,
3537
description: Union[str, UnsetType] = unset,
38+
included_keywords: Union[List[str], UnsetType] = unset,
3639
name: Union[str, UnsetType] = unset,
3740
pattern: Union[str, UnsetType] = unset,
3841
tags: Union[List[str], UnsetType] = unset,
@@ -44,6 +47,9 @@ def __init__(
4447
:param description: Description of the standard pattern.
4548
:type description: str, optional
4649
50+
:param included_keywords: List of included keywords.
51+
:type included_keywords: [str], optional
52+
4753
:param name: Name of the standard pattern.
4854
:type name: str, optional
4955
@@ -55,6 +61,8 @@ def __init__(
5561
"""
5662
if description is not unset:
5763
kwargs["description"] = description
64+
if included_keywords is not unset:
65+
kwargs["included_keywords"] = included_keywords
5866
if name is not unset:
5967
kwargs["name"] = name
6068
if pattern is not unset:

0 commit comments

Comments
 (0)