
                         >    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                   p   \ rS rSrSr SSSSSS.rS	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 5       r\R                  S 5       rS rS rS rS rS rSrg)!V1alpha1PodPresetSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
zlist[V1EnvVar]zlist[V1EnvFromSource]V1LabelSelectorzlist[V1VolumeMount]zlist[V1Volume])envenv_fromselectorvolume_mountsvolumesr	   envFromr   volumeMountsr   Nc                     SU l         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	        Ub  XPl
        gg)z4
V1alpha1PodPresetSpec - a model defined in Swagger
N_env	_env_from	_selector_volume_mounts_volumesdiscriminatorr	   r
   r   r   r   )selfr	   r
   r   r   r   s         Dlib/third_party/kubernetes/client/models/v1alpha1_pod_preset_spec.py__init__V1alpha1PodPresetSpec.__init__.   sl     DIDNDNDDMD
hmm (l     c                     U R                   $ )z
Gets the env of this V1alpha1PodPresetSpec.
Env defines the collection of EnvVar to inject into containers.

:return: The env of this V1alpha1PodPresetSpec.
:rtype: list[V1EnvVar]
r   r   s    r   r	   V1alpha1PodPresetSpec.envJ   s     99r   c                     Xl         g)z
Sets the env of this V1alpha1PodPresetSpec.
Env defines the collection of EnvVar to inject into containers.

:param env: The env of this V1alpha1PodPresetSpec.
:type: list[V1EnvVar]
Nr   )r   r	   s     r   r	   r    U   s	     Ir   c                     U R                   $ )z
Gets the env_from of this V1alpha1PodPresetSpec.
EnvFrom defines the collection of EnvFromSource to inject into
containers.

:return: The env_from of this V1alpha1PodPresetSpec.
:rtype: list[V1EnvFromSource]
r   r   s    r   r
   V1alpha1PodPresetSpec.env_froma        >>r   c                     Xl         g)z
Sets the env_from of this V1alpha1PodPresetSpec.
EnvFrom defines the collection of EnvFromSource to inject into
containers.

:param env_from: The env_from of this V1alpha1PodPresetSpec.
:type: list[V1EnvFromSource]
Nr#   )r   r
   s     r   r
   r$   m   	     Nr   c                     U R                   $ )z
Gets the selector of this V1alpha1PodPresetSpec.
Selector is a label query over a set of resources, in this case pods.
Required.

:return: The selector of this V1alpha1PodPresetSpec.
:rtype: V1LabelSelector
r   r   s    r   r   V1alpha1PodPresetSpec.selectorz   r%   r   c                     Xl         g)z
Sets the selector of this V1alpha1PodPresetSpec.
Selector is a label query over a set of resources, in this case pods.
Required.

:param selector: The selector of this V1alpha1PodPresetSpec.
:type: V1LabelSelector
Nr)   )r   r   s     r   r   r*      r'   r   c                     U R                   $ )z
Gets the volume_mounts of this V1alpha1PodPresetSpec.
VolumeMounts defines the collection of VolumeMount to inject into
containers.

:return: The volume_mounts of this V1alpha1PodPresetSpec.
:rtype: list[V1VolumeMount]
r   r   s    r   r   #V1alpha1PodPresetSpec.volume_mounts   s     r   c                     Xl         g)z
Sets the volume_mounts of this V1alpha1PodPresetSpec.
VolumeMounts defines the collection of VolumeMount to inject into
containers.

:param volume_mounts: The volume_mounts of this V1alpha1PodPresetSpec.
:type: list[V1VolumeMount]
Nr-   )r   r   s     r   r   r.      s
     (r   c                     U R                   $ )z
Gets the volumes of this V1alpha1PodPresetSpec.
Volumes defines the collection of Volume to inject into the pod.

:return: The volumes of this V1alpha1PodPresetSpec.
:rtype: list[V1Volume]
r   r   s    r   r   V1alpha1PodPresetSpec.volumes   s     ==r   c                     Xl         g)z
Sets the volumes of this V1alpha1PodPresetSpec.
Volumes defines the collection of Volume to inject into the pod.

:param volumes: The volumes of this V1alpha1PodPresetSpec.
:type: list[V1Volume]
Nr1   )r   r   s     r   r   r2      s	     Mr   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hasattrr6   )xs    r   <lambda>/V1alpha1PodPresetSpec.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r6   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r6   r   r7   )items    r   r:   r;      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr8   r6   dictitems)r   resultattr_values        r   r6   V1alpha1PodPresetSpec.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   r6   r   s    r   to_strV1alpha1PodPresetSpec.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rL   r   s    r   __repr__V1alpha1PodPresetSpec.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rA   r   __dict__r   others     r   __eq__V1alpha1PodPresetSpec.__eq__   s(     e233==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rS   s     r   __ne__V1alpha1PodPresetSpec.__ne__   s     r   r   )NNNNN)__name__
__module____qualname____firstlineno____doc__r?   attribute_mapr   propertyr	   setterr
   r   r   r   r6   rL   rO   rU   rY   __static_attributes__rX   r   r   r   r      sI    )#,!- %- !8   ::	 	 	 	 ??
 
 	 	 ??
 
 	 	 
( 
(   >>	 	.#+r   r   )r_   pprintr   sixr   reobjectr   rX   r   r   <module>rh      s#   	   	aF ar   