Skip to content

Commit 46c4c8d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f9205865 of spec repo
1 parent 81f8c0e commit 46c4c8d

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
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": "2025-02-14 15:03:43.770632",
8-
"spec_repo_commit": "a739b49f"
7+
"regenerated": "2025-02-18 09:41:19.502703",
8+
"spec_repo_commit": "f9205865"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-14 15:03:43.786179",
13-
"spec_repo_commit": "a739b49f"
12+
"regenerated": "2025-02-18 09:41:19.517641",
13+
"spec_repo_commit": "f9205865"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6688,6 +6688,11 @@ components:
66886688
Monitor:
66896689
description: Object describing a monitor.
66906690
properties:
6691+
classification:
6692+
description: The classification of the monitor.
6693+
example: log
6694+
readOnly: true
6695+
type: string
66916696
created:
66926697
description: Timestamp of the monitor creation.
66936698
format: date-time

lib/datadog_api_client/v1/models/monitor.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
2121
class Monitor
2222
include BaseGenericModel
2323

24+
# The classification of the monitor.
25+
attr_accessor :classification
26+
2427
# Timestamp of the monitor creation.
2528
attr_accessor :created
2629

@@ -78,6 +81,7 @@ class Monitor
7881
# @!visibility private
7982
def self.attribute_map
8083
{
84+
:'classification' => :'classification',
8185
:'created' => :'created',
8286
:'creator' => :'creator',
8387
:'deleted' => :'deleted',
@@ -102,6 +106,7 @@ def self.attribute_map
102106
# @!visibility private
103107
def self.openapi_types
104108
{
109+
:'classification' => :'String',
105110
:'created' => :'Time',
106111
:'creator' => :'Creator',
107112
:'deleted' => :'Time',
@@ -150,6 +155,10 @@ def initialize(attributes = {})
150155
end
151156
}
152157

158+
if attributes.key?(:'classification')
159+
self.classification = attributes[:'classification']
160+
end
161+
153162
if attributes.key?(:'created')
154163
self.created = attributes[:'created']
155164
end
@@ -280,6 +289,7 @@ def to_hash
280289
def ==(o)
281290
return true if self.equal?(o)
282291
self.class == o.class &&
292+
classification == o.classification &&
283293
created == o.created &&
284294
creator == o.creator &&
285295
deleted == o.deleted &&
@@ -304,7 +314,7 @@ def ==(o)
304314
# @return [Integer] Hash code
305315
# @!visibility private
306316
def hash
307-
[created, creator, deleted, id, matching_downtimes, message, modified, multi, name, options, overall_state, priority, query, restricted_roles, state, tags, type, additional_properties].hash
317+
[classification, created, creator, deleted, id, matching_downtimes, message, modified, multi, name, options, overall_state, priority, query, restricted_roles, state, tags, type, additional_properties].hash
308318
end
309319
end
310320
end

0 commit comments

Comments
 (0)