#
# 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.cluster_license_retrieve_response_license import ClusterLicenseRetrieveResponseLicense
from datarobot.models.full_api.generated.model.cluster_license_retrieve_response_upload_info import ClusterLicenseRetrieveResponseUploadInfo

class ClusterLicenseRetrieveResponse(APIObject):
    """
    Attributes
    ----------
    license_info:ClusterLicenseRetrieveResponseLicense
        
    upload_info:ClusterLicenseRetrieveResponseUploadInfo
        
    """
    _converter = t.Dict(
        {
            t.Key("license_info"):  t.Any(),
            t.Key("upload_info"):  t.Any(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        license_info,
        upload_info,
    ):
        self.license_info = license_info
        self.upload_info = upload_info

    def __repr__(self):
        return (
            "ClusterLicenseRetrieveResponse("
            "license_info={0.license_info}, "
            "upload_info={0.upload_info}, "
        ).format(self)
