Skip to content

Commit 934856b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 97e53081 of spec repo
1 parent 5c4fb6d commit 934856b

3 files changed

Lines changed: 22 additions & 5 deletions

File tree

.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 11:52:04.081975",
8-
"spec_repo_commit": "f57ca8ef"
7+
"regenerated": "2023-11-21 16:58:30.660061",
8+
"spec_repo_commit": "97e53081"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-21 11:52:04.098707",
13-
"spec_repo_commit": "f57ca8ef"
12+
"regenerated": "2023-11-21 16:58:30.675470",
13+
"spec_repo_commit": "97e53081"
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

lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class SensitiveDataScannerStandardPatternAttributes
2424
# Description of the standard pattern.
2525
attr_accessor :description
2626

27+
# List of included keywords.
28+
attr_accessor :included_keywords
29+
2730
# Name of the standard pattern.
2831
attr_accessor :name
2932

@@ -38,6 +41,7 @@ class SensitiveDataScannerStandardPatternAttributes
3841
def self.attribute_map
3942
{
4043
:'description' => :'description',
44+
:'included_keywords' => :'included_keywords',
4145
:'name' => :'name',
4246
:'pattern' => :'pattern',
4347
:'tags' => :'tags'
@@ -49,6 +53,7 @@ def self.attribute_map
4953
def self.openapi_types
5054
{
5155
:'description' => :'String',
56+
:'included_keywords' => :'Array<String>',
5257
:'name' => :'String',
5358
:'pattern' => :'String',
5459
:'tags' => :'Array<String>'
@@ -75,6 +80,12 @@ def initialize(attributes = {})
7580
self.description = attributes[:'description']
7681
end
7782

83+
if attributes.key?(:'included_keywords')
84+
if (value = attributes[:'included_keywords']).is_a?(Array)
85+
self.included_keywords = value
86+
end
87+
end
88+
7889
if attributes.key?(:'name')
7990
self.name = attributes[:'name']
8091
end
@@ -97,6 +108,7 @@ def ==(o)
97108
return true if self.equal?(o)
98109
self.class == o.class &&
99110
description == o.description &&
111+
included_keywords == o.included_keywords &&
100112
name == o.name &&
101113
pattern == o.pattern &&
102114
tags == o.tags
@@ -106,7 +118,7 @@ def ==(o)
106118
# @return [Integer] Hash code
107119
# @!visibility private
108120
def hash
109-
[description, name, pattern, tags].hash
121+
[description, included_keywords, name, pattern, tags].hash
110122
end
111123
end
112124
end

0 commit comments

Comments
 (0)