
                         >    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Z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d Zd Zd Zd Zd Zy)V1TokenReviewStatuszw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    z	list[str]boolstr
V1UserInfo)	audiencesauthenticatederroruserr
   r   r   r   Nc                     d| _         d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        yy)zB
        V1TokenReviewStatus - a model defined in Swagger
        N)	
_audiences_authenticated_error_userdiscriminatorr
   r   r   r   )selfr
   r   r   r   s        Blib/third_party/kubernetes/client/models/v1_token_review_status.py__init__zV1TokenReviewStatus.__init__,   sc    
 DODDKDJD dn (ddjdi     c                     | j                   S )aH  
        Gets the audiences of this V1TokenReviewStatus.
        Audiences are audience identifiers chosen by the authenticator that are
        compatible with both the TokenReview and token. An identifier is any
        identifier in the intersection of the TokenReviewSpec audiences and the
        token's audiences. A client of the TokenReview API that sets the
        spec.audiences field should validate that a compatible audience
        identifier is returned in the status.audiences field to ensure that the
        TokenReview server is audience aware. If a TokenReview returns an empty
        status.audience field where status.authenticated is "true", the token
        is valid against the audience of the Kubernetes API server.

        :return: The audiences of this V1TokenReviewStatus.
        :rtype: list[str]
        r   r   s    r   r
   zV1TokenReviewStatus.audiences@   s    " ??r   c                     || _         y)aP  
        Sets the audiences of this V1TokenReviewStatus.
        Audiences are audience identifiers chosen by the authenticator that are
        compatible with both the TokenReview and token. An identifier is any
        identifier in the intersection of the TokenReviewSpec audiences and the
        token's audiences. A client of the TokenReview API that sets the
        spec.audiences field should validate that a compatible audience
        identifier is returned in the status.audiences field to ensure that the
        TokenReview server is audience aware. If a TokenReview returns an empty
        status.audience field where status.authenticated is "true", the token
        is valid against the audience of the Kubernetes API server.

        :param audiences: The audiences of this V1TokenReviewStatus.
        :type: list[str]
        Nr   )r   r
   s     r   r
   zV1TokenReviewStatus.audiencesS   s    $  DOr   c                     | j                   S )z
        Gets the authenticated of this V1TokenReviewStatus.
        Authenticated indicates that the token was associated with a known user.

        :return: The authenticated of this V1TokenReviewStatus.
        :rtype: bool
        r   r   s    r   r   z!V1TokenReviewStatus.authenticatedg   s     r   c                     || _         y)z
        Sets the authenticated of this V1TokenReviewStatus.
        Authenticated indicates that the token was associated with a known user.

        :param authenticated: The authenticated of this V1TokenReviewStatus.
        :type: bool
        Nr   )r   r   s     r   r   z!V1TokenReviewStatus.authenticatedr   s     (Dr   c                     | j                   S )z
        Gets the error of this V1TokenReviewStatus.
        Error indicates that the token couldn't be checked

        :return: The error of this V1TokenReviewStatus.
        :rtype: str
        r   r   s    r   r   zV1TokenReviewStatus.error~   s     ;;r   c                     || _         y)z
        Sets the error of this V1TokenReviewStatus.
        Error indicates that the token couldn't be checked

        :param error: The error of this V1TokenReviewStatus.
        :type: str
        Nr    )r   r   s     r   r   zV1TokenReviewStatus.error   s     DKr   c                     | j                   S )z
        Gets the user of this V1TokenReviewStatus.
        User is the UserInfo associated with the provided token.

        :return: The user of this V1TokenReviewStatus.
        :rtype: V1UserInfo
        r   r   s    r   r   zV1TokenReviewStatus.user   s     ::r   c                     || _         y)z
        Sets the user of this V1TokenReviewStatus.
        User is the UserInfo associated with the provided token.

        :param user: The user of this V1TokenReviewStatus.
        :type: V1UserInfo
        Nr#   )r   r   s     r   r   zV1TokenReviewStatus.user   s     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hasattrr'   )xs    r   <lambda>z-V1TokenReviewStatus.to_dict.<locals>.<lambda>   s    I)>!))+EAEr   r'   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r'   r   r(   )items    r   r+   z-V1TokenReviewStatus.to_dict.<locals>.<lambda>   s6    47I. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr)   r'   dictitems)r   resultattr_values        r   r'   zV1TokenReviewStatus.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   r'   r   s    r   to_strzV1TokenReviewStatus.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )r;   r   s    r   __repr__zV1TokenReviewStatus.__repr__   s     ;;=r   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r1   r   __dict__r   others     r   __eq__zV1TokenReviewStatus.__eq__   s%     e01==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         r@   s     r   __ne__zV1TokenReviewStatus.__ne__   s     u}r   )NNNN)__name__
__module____qualname____doc__r/   attribute_mapr   propertyr
   setterr   r   r   r'   r;   r=   rB   rE   rD   r   r   r   r      s    	- &	-(  $    &   	( 	(   	<<	 	   ;;	 	.#+r   r   )rI   pprintr   sixr   reobjectr   rD   r   r   <module>rQ      s#   	   	J& Jr   