#
# Copyright 2021 DataRobot, Inc. and its affiliates.
#
# All rights reserved.
#
# DataRobot, Inc.
#
# This is proprietary source code of DataRobot, Inc. and its
# affiliates.
#
# Released under the terms of DataRobot Tool and Utility Agreement.
"""
Autogenerated DataRobot python client file.  Please don't modify.
"""

import trafaret as t
from datarobot.models.api_object import APIObject
from datarobot.models.full_api.generated.model.notification_log import NotificationLog

class NotificationWebhookChannelStatusResponse(APIObject):
    """
    Attributes
    ----------
    notification_log:NotificationLog
        
    status:str
         The status of the test notification.
    """
    _converter = t.Dict(
        {
            t.Key("notification_log"):  t.Any(),
            t.Key("status"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        notification_log,
        status,
    ):
        self.notification_log = notification_log
        self.status = status

    def __repr__(self):
        return (
            "NotificationWebhookChannelStatusResponse("
            "notification_log={0.notification_log}, "
            "status={0.status}, "
        ).format(self)
