
                         >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                      e Zd ZdZ	 dddddddZddddd	d
dZ	 	 	 	 	 	 ddZed        Zej                  d        Zed        Z
e
j                  d        Z
ed        Zej                  d        Zed        Zej                  d        Zed        Zej                  d        Zed        Zej                  d        Zd Zd Zd Zd Zd Zy)V1DeploymentConditionzw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    datetimestr)last_transition_timelast_update_timemessagereasonstatustypelastTransitionTimelastUpdateTimer   r   r   r   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        || _        || _        y)zD
        V1DeploymentCondition - a model defined in Swagger
        N)_last_transition_time_last_update_time_message_reason_status_typediscriminatorr	   r
   r   r   r   r   )selfr	   r
   r   r   r   r   s          Clib/third_party/kubernetes/client/models/v1_deployment_condition.py__init__zV1DeploymentCondition.__init__0   s|     "&D!DDMDLDLDJD'"6d#.ddldkDKDI    c                     | j                   S )z
        Gets the last_transition_time of this V1DeploymentCondition.
        Last time the condition transitioned from one status to another.

        :return: The last_transition_time of this V1DeploymentCondition.
        :rtype: datetime
        r   r   s    r   r	   z*V1DeploymentCondition.last_transition_timeN   s     %%%r   c                     || _         y)a  
        Sets the last_transition_time of this V1DeploymentCondition.
        Last time the condition transitioned from one status to another.

        :param last_transition_time: The last_transition_time of this
        V1DeploymentCondition.
        :type: datetime
        Nr   )r   r	   s     r   r	   z*V1DeploymentCondition.last_transition_timeY   s     "6Dr   c                     | j                   S )z
        Gets the last_update_time of this V1DeploymentCondition.
        The last time this condition was updated.

        :return: The last_update_time of this V1DeploymentCondition.
        :rtype: datetime
        r   r   s    r   r
   z&V1DeploymentCondition.last_update_timef   s     !!!r   c                     || _         y)z
        Sets the last_update_time of this V1DeploymentCondition.
        The last time this condition was updated.

        :param last_update_time: The last_update_time of this
        V1DeploymentCondition.
        :type: datetime
        Nr"   )r   r
   s     r   r
   z&V1DeploymentCondition.last_update_timeq   s     .Dr   c                     | j                   S )z
        Gets the message of this V1DeploymentCondition.
        A human readable message indicating details about the transition.

        :return: The message of this V1DeploymentCondition.
        :rtype: str
        r   r   s    r   r   zV1DeploymentCondition.message~   s     ==r   c                     || _         y)z
        Sets the message of this V1DeploymentCondition.
        A human readable message indicating details about the transition.

        :param message: The message of this V1DeploymentCondition.
        :type: str
        Nr%   )r   r   s     r   r   zV1DeploymentCondition.message   s     DMr   c                     | j                   S )z
        Gets the reason of this V1DeploymentCondition.
        The reason for the condition's last transition.

        :return: The reason of this V1DeploymentCondition.
        :rtype: str
        r   r   s    r   r   zV1DeploymentCondition.reason        <<r   c                     || _         y)z
        Sets the reason of this V1DeploymentCondition.
        The reason for the condition's last transition.

        :param reason: The reason of this V1DeploymentCondition.
        :type: str
        Nr(   )r   r   s     r   r   zV1DeploymentCondition.reason   s     DLr   c                     | j                   S )z
        Gets the status of this V1DeploymentCondition.
        Status of the condition, one of True, False, Unknown.

        :return: The status of this V1DeploymentCondition.
        :rtype: str
        )r   r   s    r   r   zV1DeploymentCondition.status   r)   r   c                 ,    |t        d      || _        y)z
        Sets the status of this V1DeploymentCondition.
        Status of the condition, one of True, False, Unknown.

        :param status: The status of this V1DeploymentCondition.
        :type: str
        Nz.Invalid value for `status`, must not be `None`)
ValueErrorr   )r   r   s     r   r   zV1DeploymentCondition.status   s     ~GHHDLr   c                     | j                   S )z
        Gets the type of this V1DeploymentCondition.
        Type of deployment condition.

        :return: The type of this V1DeploymentCondition.
        :rtype: str
        )r   r   s    r   r   zV1DeploymentCondition.type   s     ::r   c                 ,    |t        d      || _        y)z
        Sets the type of this V1DeploymentCondition.
        Type of deployment condition.

        :param type: The type of this V1DeploymentCondition.
        :type: str
        Nz,Invalid value for `type`, must not be `None`)r-   r   )r   r   s     r   r   zV1DeploymentCondition.type   s     |EFFDJr   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr2   )xs    r   <lambda>z/V1DeploymentCondition.to_dict.<locals>.<lambda>   s    I)>!))+EAEr   r2   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r2   r   r3   )items    r   r6   z/V1DeploymentCondition.to_dict.<locals>.<lambda>   s6    47I. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr4   r2   dictitems)r   resultattr_values        r   r2   zV1DeploymentCondition.to_dict   s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mr   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r2   r   s    r   to_strzV1DeploymentCondition.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rF   r   s    r   __repr__zV1DeploymentCondition.__repr__   s     ;;=r   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r<   r   __dict__r   others     r   __eq__zV1DeploymentCondition.__eq__  s%     e23==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rK   s     r   __ne__zV1DeploymentCondition.__ne__
  s     u}r   )NNNNNN)__name__
__module____qualname____doc__r:   attribute_mapr   propertyr	   setterr
   r   r   r   r   r2   rF   rH   rM   rP   rO   r   r   r   r      s    )$- 3*- %) $< & & 
6 
6 " " 
. 
.   >>	 	   
==	 	   
==    ;; .#+r   r   )rT   pprintr   sixr   reobjectr   rO   r   r   <module>r\      s#   	   	|F |r   