#
# 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

class NotificationEmailChannelVerificationStatus(APIObject):
    """
    Attributes
    ----------
    email_address:str
         The email address of the recipient
    verification_code:str
         The user entered verification code
    """
    _converter = t.Dict(
        {
            t.Key("email_address"):  t.String(),
            t.Key("verification_code"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        email_address,
        verification_code,
    ):
        self.email_address = email_address
        self.verification_code = verification_code

    def __repr__(self):
        return (
            "NotificationEmailChannelVerificationStatus("
            "email_address={0.email_address}, "
            "verification_code={0.verification_code}, "
        ).format(self)
