
                         >    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Z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d Zd Zd Zd Zd Zy)V1beta1RoleRefzw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    str)	api_groupkindnameapiGroupr	   r
   Nc                 f    d| _         d| _        d| _        d| _        || _        || _        || _        y)z=
        V1beta1RoleRef - a model defined in Swagger
        N)
_api_group_kind_namediscriminatorr   r	   r
   )selfr   r	   r
   s       <lib/third_party/kubernetes/client/models/v1beta1_role_ref.py__init__zV1beta1RoleRef.__init__"   s6    
 DODJDJDDNDIDI    c                     | j                   S )z
        Gets the api_group of this V1beta1RoleRef.
        APIGroup is the group for the resource being referenced

        :return: The api_group of this V1beta1RoleRef.
        :rtype: str
        )r   r   s    r   r   zV1beta1RoleRef.api_group0   s     ??r   c                 ,    |t        d      || _        y)z
        Sets the api_group of this V1beta1RoleRef.
        APIGroup is the group for the resource being referenced

        :param api_group: The api_group of this V1beta1RoleRef.
        :type: str
        Nz1Invalid value for `api_group`, must not be `None`)
ValueErrorr   )r   r   s     r   r   zV1beta1RoleRef.api_group;   s     JKKDOr   c                     | j                   S )z
        Gets the kind of this V1beta1RoleRef.
        Kind is the type of resource being referenced

        :return: The kind of this V1beta1RoleRef.
        :rtype: str
        )r   r   s    r   r	   zV1beta1RoleRef.kindI        ::r   c                 ,    |t        d      || _        y)z
        Sets the kind of this V1beta1RoleRef.
        Kind is the type of resource being referenced

        :param kind: The kind of this V1beta1RoleRef.
        :type: str
        Nz,Invalid value for `kind`, must not be `None`)r   r   )r   r	   s     r   r	   zV1beta1RoleRef.kindT        |EFFDJr   c                     | j                   S )z
        Gets the name of this V1beta1RoleRef.
        Name is the name of resource being referenced

        :return: The name of this V1beta1RoleRef.
        :rtype: str
        )r   r   s    r   r
   zV1beta1RoleRef.nameb   r   r   c                 ,    |t        d      || _        y)z
        Sets the name of this V1beta1RoleRef.
        Name is the name of resource being referenced

        :param name: The name of this V1beta1RoleRef.
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r   r   )r   r
   s     r   r
   zV1beta1RoleRef.namem   r   r   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(V1beta1RoleRef.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(V1beta1RoleRef.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V1beta1RoleRef.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V1beta1RoleRef.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )r5   r   s    r   __repr__zV1beta1RoleRef.__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V1beta1RoleRef.__eq__   s$     e^,==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         r:   s     r   __ne__zV1beta1RoleRef.__ne__   s     u}r   )NNN)__name__
__module____qualname____doc__r)   attribute_mapr   propertyr   setterr	   r
   r!   r5   r7   r<   r?   r>   r   r   r   r      s     !&ueD- *FFK-         ;;    ;; .#+r   r   )rC   pprintr   sixr   reobjectr   r>   r   r   <module>rK      s#   	   	YV Yr   