#
# 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 ApplicationDeploymentStateUpdate(APIObject):
    """
    Attributes
    ----------
    new_deployment_state:str
         The deployment state to transition to. Can be one of: \"deployed\", \"deactivated\".
    """
    _converter = t.Dict(
        {
            t.Key("new_deployment_state"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        new_deployment_state,
    ):
        self.new_deployment_state = new_deployment_state

    def __repr__(self):
        return (
            "ApplicationDeploymentStateUpdate("
            "new_deployment_state={0.new_deployment_state}, "
        ).format(self)
