#
# 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 PreviewPermadeleteStatus(APIObject):
    """
    Attributes
    ----------
    message:str, none_type
         May contain further information about the status.
    report_id:str
         Report ID
    status:str
         The processing state of report building task.
    """
    _converter = t.Dict(
        {
            t.Key("message"):  t.String(),
            t.Key("report_id"):  t.String(),
            t.Key("status"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        message,
        report_id,
        status,
    ):
        self.message = message
        self.report_id = report_id
        self.status = status

    def __repr__(self):
        return (
            "PreviewPermadeleteStatus("
            "message={0.message}, "
            "report_id={0.report_id}, "
            "status={0.status}, "
        ).format(self)
