@@ -422,25 +422,6 @@ class AlertDefinition(DerivedBase):
422422 }
423423
424424
425- @dataclass
426- class EmailChannelContent (JSONObject ):
427- """
428- Represents the content for an email alert channel.
429- """
430-
431- email_addresses : Optional [List [str ]] = None
432-
433-
434- @dataclass
435- class ChannelContent (JSONObject ):
436- """
437- Represents the content block for an AlertChannel, which varies by channel type.
438- """
439-
440- email : Optional [EmailChannelContent ] = None
441- # Other channel types like 'webhook', 'slack' could be added here as Optional fields.
442-
443-
444425@dataclass
445426class EmailDetails (JSONObject ):
446427 """
@@ -481,7 +462,7 @@ class AlertChannel(Base):
481462 fire. Alert channels define a destination and configuration for
482463 notifications (for example: email lists, webhooks, PagerDuty, Slack, etc.).
483464
484- API Documentation: https://techdocs.akamai.com/linode-api/reference/get-alert -channels
465+ API Documentation: https://techdocs.akamai.com/linode-api/reference/get-notification -channels
485466
486467 This class maps to the Monitor API's `/monitor/alert-channels` resource
487468 and is used by the SDK to list, load, and inspect channels.
@@ -499,7 +480,6 @@ class AlertChannel(Base):
499480 "channel_type" : Property (),
500481 "details" : Property (mutable = False , json_object = ChannelDetails ),
501482 "alerts" : Property (mutable = False , json_object = AlertInfo ),
502- "content" : Property (mutable = False , json_object = ChannelContent ),
503483 "created" : Property (is_datetime = True ),
504484 "updated" : Property (is_datetime = True ),
505485 "created_by" : Property (),
0 commit comments