
                         >    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) V1StatusDetailszw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    zlist[V1StatusCause]strint)causesgroupkindnameretry_after_secondsuidr	   r
   r   r   retryAfterSecondsr   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        ||| _
        ||| _        ||| _        yy)z>
        V1StatusDetails - a model defined in Swagger
        N)_causes_group_kind_name_retry_after_seconds_uiddiscriminatorr	   r
   r   r   r   r   )selfr	   r
   r   r   r   r   s          =lib/third_party/kubernetes/client/models/v1_status_details.py__init__zV1StatusDetails.__init__0   s     DLDKDJDJ $DDIDdkdjdidi&!4d
dh     c                     | j                   S )a(  
        Gets the causes of this V1StatusDetails.
        The Causes array includes more details associated with the StatusReason
        failure. Not all StatusReasons may provide detailed causes.

        :return: The causes of this V1StatusDetails.
        :rtype: list[V1StatusCause]
        r   r   s    r   r	   zV1StatusDetails.causesP   s     <<r   c                     || _         y)a-  
        Sets the causes of this V1StatusDetails.
        The Causes array includes more details associated with the StatusReason
        failure. Not all StatusReasons may provide detailed causes.

        :param causes: The causes of this V1StatusDetails.
        :type: list[V1StatusCause]
        Nr   )r   r	   s     r   r	   zV1StatusDetails.causes\   s     DLr   c                     | j                   S )z
        Gets the group of this V1StatusDetails.
        The group attribute of the resource associated with the status
        StatusReason.

        :return: The group of this V1StatusDetails.
        :rtype: str
        r   r   s    r   r
   zV1StatusDetails.groupi   s     ;;r   c                     || _         y)z
        Sets the group of this V1StatusDetails.
        The group attribute of the resource associated with the status
        StatusReason.

        :param group: The group of this V1StatusDetails.
        :type: str
        Nr!   )r   r
   s     r   r
   zV1StatusDetails.groupu   s     DKr   c                     | j                   S )a  
        Gets the kind of this V1StatusDetails.
        The kind attribute of the resource associated with the status
        StatusReason. On some operations may differ from the requested resource
        Kind. More info:
        https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

        :return: The kind of this V1StatusDetails.
        :rtype: str
        r   r   s    r   r   zV1StatusDetails.kind   s     ::r   c                     || _         y)a  
        Sets the kind of this V1StatusDetails.
        The kind attribute of the resource associated with the status
        StatusReason. On some operations may differ from the requested resource
        Kind. More info:
        https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

        :param kind: The kind of this V1StatusDetails.
        :type: str
        Nr$   )r   r   s     r   r   zV1StatusDetails.kind   s     DJr   c                     | j                   S )a  
        Gets the name of this V1StatusDetails.
        The name attribute of the resource associated with the status
        StatusReason (when there is a single name which can be described).

        :return: The name of this V1StatusDetails.
        :rtype: str
        r   r   s    r   r   zV1StatusDetails.name   s     ::r   c                     || _         y)a  
        Sets the name of this V1StatusDetails.
        The name attribute of the resource associated with the status
        StatusReason (when there is a single name which can be described).

        :param name: The name of this V1StatusDetails.
        :type: str
        Nr'   )r   r   s     r   r   zV1StatusDetails.name   s     DJr   c                     | j                   S )a  
        Gets the retry_after_seconds of this V1StatusDetails.
        If specified, the time in seconds before the operation should be
        retried. Some errors may indicate the client must take an alternate
        action - for those errors this field may indicate how long to wait
        before taking the alternate action.

        :return: The retry_after_seconds of this V1StatusDetails.
        :rtype: int
        r   r   s    r   r   z#V1StatusDetails.retry_after_seconds   s     $$$r   c                     || _         y)a  
        Sets the retry_after_seconds of this V1StatusDetails.
        If specified, the time in seconds before the operation should be
        retried. Some errors may indicate the client must take an alternate
        action - for those errors this field may indicate how long to wait
        before taking the alternate action.

        :param retry_after_seconds: The retry_after_seconds of this
        V1StatusDetails.
        :type: int
        Nr*   )r   r   s     r   r   z#V1StatusDetails.retry_after_seconds   s     !4Dr   c                     | j                   S )a&  
        Gets the uid of this V1StatusDetails.
        UID of the resource. (when there is a single resource which can be
        described). More info:
        http://kubernetes.io/docs/user-guide/identifiers#uids

        :return: The uid of this V1StatusDetails.
        :rtype: str
        r   r   s    r   r   zV1StatusDetails.uid   s     99r   c                     || _         y)a(  
        Sets the uid of this V1StatusDetails.
        UID of the resource. (when there is a single resource which can be
        described). More info:
        http://kubernetes.io/docs/user-guide/identifiers#uids

        :param uid: The uid of this V1StatusDetails.
        :type: str
        Nr-   )r   r   s     r   r   zV1StatusDetails.uid   s     DIr   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)V1StatusDetails.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)V1StatusDetails.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V1StatusDetails.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V1StatusDetails.to_str  s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rE   r   s    r   __repr__zV1StatusDetails.__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V1StatusDetails.__eq__  s$     e_-==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rJ   s     r   __ne__zV1StatusDetails.__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    &"- 0- #'@ 	 	 
==
 
 	 	 	<<
 
   ;;  	 	 ;;
 
 % % 4 4 
 
 :: .#+r   r   )rS   pprintr   sixr   reobjectr   rN   r   r   <module>r[      s#   	   	Of Or   