File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,12 +13,6 @@ class ZoneAlarm(Codec):
1313 name : str
1414 """A friendly name for the zone alarm"""
1515
16- zone_id : int
17- """The ID of the zone this alarm is associated with"""
18-
19- stream_id : int
20- """The ID of the stream the associated zone is in"""
21-
2216 count_conditions : List [ZoneAlarmCountCondition ]
2317 """All count conditions for this alarm"""
2418
@@ -43,6 +37,12 @@ class ZoneAlarm(Codec):
4337 id : Optional [int ] = None
4438 """A unique identifier"""
4539
40+ zone_id : Optional [int ] = None
41+ """The ID of the zone this alarm is associated with"""
42+
43+ stream_id : Optional [int ] = None
44+ """The ID of the stream the associated zone is in"""
45+
4646 def to_dict (self ):
4747 d = dict (self .__dict__ )
4848 d ["count_conditions" ] = [ZoneAlarmCountCondition .to_dict (cond )
You can’t perform that action at this time.
0 commit comments