#
# 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 AutomatedDocOptions(APIObject):
    """
    Attributes
    ----------
    document_type:str
         Type of document available for generation.
    locale:str
         Locale available for the document generation.
    """
    _converter = t.Dict(
        {
            t.Key("document_type"):  t.String(),
            t.Key("locale"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        document_type,
        locale,
    ):
        self.document_type = document_type
        self.locale = locale

    def __repr__(self):
        return (
            "AutomatedDocOptions("
            "document_type={0.document_type}, "
            "locale={0.locale}, "
        ).format(self)
