File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ class AlertChannelEnvelope(JSONObject):
304304
305305 id : int = 0
306306 label : str = ""
307- type : str = ""
307+ _type : str = field ( default = "" , metadata = { "json_key" : "type" })
308308 url : str = ""
309309
310310
@@ -345,9 +345,9 @@ class AlertDefinition(DerivedBase):
345345 "type" : Property (mutable = True ),
346346 "status" : Property (mutable = True ),
347347 "has_more_resources" : Property (mutable = True ),
348- "rule_criteria" : Property (mutable = True ),
348+ "rule_criteria" : Property (mutable = True , json_object = RuleCriteria ),
349349 "trigger_conditions" : Property (mutable = True , json_object = TriggerConditions ),
350- "alert_channels" : Property (mutable = True ),
350+ "alert_channels" : Property (mutable = True , json_object = AlertChannelEnvelope ),
351351 "created" : Property (is_datetime = True ),
352352 "updated" : Property (is_datetime = True ),
353353 "updated_by" : Property (),
You can’t perform that action at this time.
0 commit comments