@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
21
21
class Monitor
22
22
include BaseGenericModel
23
23
24
+ # The classification of the monitor.
25
+ attr_accessor :classification
26
+
24
27
# Timestamp of the monitor creation.
25
28
attr_accessor :created
26
29
@@ -78,6 +81,7 @@ class Monitor
78
81
# @!visibility private
79
82
def self . attribute_map
80
83
{
84
+ :'classification' => :'classification' ,
81
85
:'created' => :'created' ,
82
86
:'creator' => :'creator' ,
83
87
:'deleted' => :'deleted' ,
@@ -102,6 +106,7 @@ def self.attribute_map
102
106
# @!visibility private
103
107
def self . openapi_types
104
108
{
109
+ :'classification' => :'String' ,
105
110
:'created' => :'Time' ,
106
111
:'creator' => :'Creator' ,
107
112
:'deleted' => :'Time' ,
@@ -150,6 +155,10 @@ def initialize(attributes = {})
150
155
end
151
156
}
152
157
158
+ if attributes . key? ( :'classification' )
159
+ self . classification = attributes [ :'classification' ]
160
+ end
161
+
153
162
if attributes . key? ( :'created' )
154
163
self . created = attributes [ :'created' ]
155
164
end
@@ -280,6 +289,7 @@ def to_hash
280
289
def ==( o )
281
290
return true if self . equal? ( o )
282
291
self . class == o . class &&
292
+ classification == o . classification &&
283
293
created == o . created &&
284
294
creator == o . creator &&
285
295
deleted == o . deleted &&
@@ -304,7 +314,7 @@ def ==(o)
304
314
# @return [Integer] Hash code
305
315
# @!visibility private
306
316
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
308
318
end
309
319
end
310
320
end
0 commit comments