Skip to content

Commit 29f9167

Browse files
committed
fixed review comments to keep it in line with SDK guidelines
1 parent 4939068 commit 29f9167

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

linode_api4/objects/monitor.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,9 @@ class AlertDefinition(DerivedBase):
345345
"type": Property(AlertType),
346346
"status": Property(),
347347
"has_more_resources": Property(),
348-
"rule_criteria": Property(RuleCriteria),
349-
"trigger_conditions": Property(TriggerConditions),
350-
"alert_channels": Property(List[AlertChannelEnvelope]),
348+
"rule_criteria": Property(mutable=True),
349+
"trigger_conditions": Property(mutable=True),
350+
"alert_channels": Property(mutable=True),
351351
"created": Property(is_datetime=True),
352352
"updated": Property(is_datetime=True),
353353
"updated_by": Property(),
@@ -415,10 +415,10 @@ class AlertChannel(Base):
415415
properties = {
416416
"id": Property(identifier=True),
417417
"label": Property(),
418-
"type": Property(False, AlertType),
418+
"type": Property(),
419419
"channel_type": Property(),
420-
"alerts": Property(False, List[Alert]),
421-
"content": Property(False, ChannelContent),
420+
"alerts": Property(),
421+
"content": Property(),
422422
"created": Property(is_datetime=True),
423423
"updated": Property(is_datetime=True),
424424
"created_by": Property(),

0 commit comments

Comments
 (0)