
                         >    S r SSKJr  SSKJr  SSKr " S S\5      rg)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                   6   \ rS rSrSr SSSSS.rSS	S
SS.r    SS jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       rS rS rS rS rS rSrg)V1EnvVarSource   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
V1ConfigMapKeySelectorV1ObjectFieldSelectorV1ResourceFieldSelectorV1SecretKeySelector)config_map_key_ref	field_refresource_field_refsecret_key_refconfigMapKeyReffieldRefresourceFieldRefsecretKeyRefNc                     SU l         SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l        Ub  X0l        Ub  X@l        gg)z-
V1EnvVarSource - a model defined in Swagger
N)	_config_map_key_ref
_field_ref_resource_field_ref_secret_key_refdiscriminatorr   r   r   r   )selfr   r   r   r   s        =lib/third_party/kubernetes/client/models/v1_env_var_source.py__init__V1EnvVarSource.__init__,   s_      $DDO#DDD% 2 n% 2!* "    c                     U R                   $ )z
Gets the config_map_key_ref of this V1EnvVarSource.
Selects a key of a ConfigMap.

:return: The config_map_key_ref of this V1EnvVarSource.
:rtype: V1ConfigMapKeySelector
r   r   s    r   r   !V1EnvVarSource.config_map_key_refD   s     ###r   c                     Xl         g)z
Sets the config_map_key_ref of this V1EnvVarSource.
Selects a key of a ConfigMap.

:param config_map_key_ref: The config_map_key_ref of this
V1EnvVarSource.
:type: V1ConfigMapKeySelector
Nr    )r   r   s     r   r   r"   O   s
      2r   c                     U R                   $ )a.  
Gets the field_ref of this V1EnvVarSource.
Selects a field of the pod: supports metadata.name, metadata.namespace,
metadata.labels, metadata.annotations, spec.nodeName,
spec.serviceAccountName, status.hostIP, status.podIP.

:return: The field_ref of this V1EnvVarSource.
:rtype: V1ObjectFieldSelector
r   r!   s    r   r   V1EnvVarSource.field_ref\   s     ??r   c                     Xl         g)a6  
Sets the field_ref of this V1EnvVarSource.
Selects a field of the pod: supports metadata.name, metadata.namespace,
metadata.labels, metadata.annotations, spec.nodeName,
spec.serviceAccountName, status.hostIP, status.podIP.

:param field_ref: The field_ref of this V1EnvVarSource.
:type: V1ObjectFieldSelector
Nr%   )r   r   s     r   r   r&   i   s	      Or   c                     U R                   $ )ac  
Gets the resource_field_ref of this V1EnvVarSource.
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu,
requests.memory and requests.ephemeral-storage) are currently supported.

:return: The resource_field_ref of this V1EnvVarSource.
:rtype: V1ResourceFieldSelector
r   r!   s    r   r   !V1EnvVarSource.resource_field_refw   s     ###r   c                     Xl         g)at  
Sets the resource_field_ref of this V1EnvVarSource.
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu,
requests.memory and requests.ephemeral-storage) are currently supported.

:param resource_field_ref: The resource_field_ref of this
V1EnvVarSource.
:type: V1ResourceFieldSelector
Nr)   )r   r   s     r   r   r*      s
      2r   c                     U R                   $ )z
Gets the secret_key_ref of this V1EnvVarSource.
Selects a key of a secret in the pod's namespace

:return: The secret_key_ref of this V1EnvVarSource.
:rtype: V1SecretKeySelector
r   r!   s    r   r   V1EnvVarSource.secret_key_ref   s     r   c                     Xl         g)z
Sets the secret_key_ref of this V1EnvVarSource.
Selects a key of a secret in the pod's namespace

:param secret_key_ref: The secret_key_ref of this V1EnvVarSource.
:type: V1SecretKeySelector
Nr-   )r   r   s     r   r   r.      s
     *r   c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr2   )xs    r   <lambda>(V1EnvVarSource.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r2   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r2   r   r3   )items    r   r6   r7      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr4   r2   dictitems)r   resultattr_values        r   r2   V1EnvVarSource.to_dict   s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   r2   r!   s    r   to_strV1EnvVarSource.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rH   r!   s    r   __repr__V1EnvVarSource.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r=   r   __dict__r   others     r   __eq__V1EnvVarSource.__eq__   s'     e^,,==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rO   s     r   __ne__V1EnvVarSource.__ne__   s     r   )	r   r   r   r   r   r   r   r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r;   attribute_mapr   propertyr   setterr   r   r   r2   rH   rK   rQ   rU   __static_attributes__rT   r   r   r   r      s    5*5-	- ..&	- #'"&"	+0 $ $ 
2 
2 
 
     
$ 
$ 2 2     	* 	*.#+r   r   )r[   pprintr   sixr   reobjectr   rT   r   r   <module>rd      s#   	   	HV Hr   