
                         >    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)V1PodConditionzw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    datetimestr)last_probe_timelast_transition_timemessagereasonstatustypelastProbeTimelastTransitionTimer   r   r   r   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        || _        || _        y)z=
        V1PodCondition - a model defined in Swagger
        N)_last_probe_time_last_transition_time_message_reason_status_typediscriminatorr	   r
   r   r   r   r   )selfr	   r
   r   r   r   r   s          <lib/third_party/kubernetes/client/models/v1_pod_condition.py__init__zV1PodCondition.__init__0   s|     !D!%DDMDLDLDJD",d'"6ddldkDKDI    c                     | j                   S )z
        Gets the last_probe_time of this V1PodCondition.
        Last time we probed the condition.

        :return: The last_probe_time of this V1PodCondition.
        :rtype: datetime
        r   r   s    r   r	   zV1PodCondition.last_probe_timeN   s        r   c                     || _         y)z
        Sets the last_probe_time of this V1PodCondition.
        Last time we probed the condition.

        :param last_probe_time: The last_probe_time of this V1PodCondition.
        :type: datetime
        Nr   )r   r	   s     r   r	   zV1PodCondition.last_probe_timeY   s     ,Dr   c                     | j                   S )z
        Gets the last_transition_time of this V1PodCondition.
        Last time the condition transitioned from one status to another.

        :return: The last_transition_time of this V1PodCondition.
        :rtype: datetime
        r   r   s    r   r
   z#V1PodCondition.last_transition_timee   s     %%%r   c                     || _         y)a  
        Sets the last_transition_time of this V1PodCondition.
        Last time the condition transitioned from one status to another.

        :param last_transition_time: The last_transition_time of this
        V1PodCondition.
        :type: datetime
        Nr"   )r   r
   s     r   r
   z#V1PodCondition.last_transition_timep   s     "6Dr   c                     | j                   S )z
        Gets the message of this V1PodCondition.
        Human-readable message indicating details about last transition.

        :return: The message of this V1PodCondition.
        :rtype: str
        r   r   s    r   r   zV1PodCondition.message}   s     ==r   c                     || _         y)z
        Sets the message of this V1PodCondition.
        Human-readable message indicating details about last transition.

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

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

        :param reason: The reason of this V1PodCondition.
        :type: str
        Nr(   )r   r   s     r   r   zV1PodCondition.reason   s     DLr   c                     | j                   S )a9  
        Gets the status of this V1PodCondition.
        Status is the status of the condition. Can be True, False, Unknown. More
        info:
        https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

        :return: The status of this V1PodCondition.
        :rtype: str
        )r   r   s    r   r   zV1PodCondition.status   s     <<r   c                 ,    |t        d      || _        y)a>  
        Sets the status of this V1PodCondition.
        Status is the status of the condition. Can be True, False, Unknown. More
        info:
        https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

        :param status: The status of this V1PodCondition.
        :type: str
        Nz.Invalid value for `status`, must not be `None`)
ValueErrorr   )r   r   s     r   r   zV1PodCondition.status   s     ~GHHDLr   c                     | j                   S )a  
        Gets the type of this V1PodCondition.
        Type is the type of the condition. More info:
        https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

        :return: The type of this V1PodCondition.
        :rtype: str
        )r   r   s    r   r   zV1PodCondition.type   s     ::r   c                 ,    |t        d      || _        y)a  
        Sets the type of this V1PodCondition.
        Type is the type of the condition. More info:
        https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

        :param type: The type of this V1PodCondition.
        :type: str
        Nz,Invalid value for `type`, must not be `None`)r,   r   )r   r   s     r   r   zV1PodCondition.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hasattrr1   )xs    r   <lambda>z(V1PodCondition.to_dict.<locals>.<lambda>   s    I)>!))+EAEr   r1   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r1   r   r2   )items    r   r5   z(V1PodCondition.to_dict.<locals>.<lambda>   s6    47I. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr3   r1   dictitems)r   resultattr_values        r   r1   zV1PodCondition.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   r1   r   s    r   to_strzV1PodCondition.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rE   r   s    r   __repr__zV1PodCondition.__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V1PodCondition.__eq__  s$     e^,==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rJ   s     r   __ne__zV1PodCondition.__ne__  s     u}r   )NNNNNN)__name__
__module____qualname____doc__r9   attribute_mapr   propertyr	   setterr
   r   r   r   r   r1   rE   rG   rL   rO   rN   r   r   r   r      s    $(- )2-  $$(< ! ! 	, 	, & & 
6 
6   >>	 	   
==	 	 
 
 
==  	 	 ;; .#+r   r   )rS   pprintr   sixr   reobjectr   rN   r   r   <module>r[      s#   	   	AV Ar   