
    /                     >    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)V1SecretVolumeSource   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intzlist[V1KeyToPath]boolstr)default_modeitemsoptionalsecret_namedefaultModer   r   
secretNameNc                     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)z3
V1SecretVolumeSource - a model defined in Swagger
N)	_default_mode_items	_optional_secret_namediscriminatorr   r   r   r   )selfr   r   r   r   s        Clib/third_party/kubernetes/client/models/v1_secret_volume_source.py__init__V1SecretVolumeSource.__init__,   s]     DDKDNDD&jm$     c                     U R                   $ )a  
Gets the default_mode of this V1SecretVolumeSource.
Optional: mode bits to use on created files by default. Must be a value
between 0 and 0777. Defaults to 0644. Directories within the path are
not affected by this setting. This might be in conflict with other
options that affect the file mode, like fsGroup, and the result can be
other mode bits set.

:return: The default_mode of this V1SecretVolumeSource.
:rtype: int
r   r   s    r   r   !V1SecretVolumeSource.default_modeD   s     r   c                     Xl         g)a  
Sets the default_mode of this V1SecretVolumeSource.
Optional: mode bits to use on created files by default. Must be a value
between 0 and 0777. Defaults to 0644. Directories within the path are
not affected by this setting. This might be in conflict with other
options that affect the file mode, like fsGroup, and the result can be
other mode bits set.

:param default_mode: The default_mode of this V1SecretVolumeSource.
:type: int
Nr   )r   r   s     r   r   r   S   s
     &r   c                     U R                   $ )aW  
Gets the items of this V1SecretVolumeSource.
If unspecified, each key-value pair in the Data field of the referenced
Secret will be projected into the volume as a file whose name is the key
and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the Secret, the
volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.

:return: The items of this V1SecretVolumeSource.
:rtype: list[V1KeyToPath]
r   r   s    r   r   V1SecretVolumeSource.itemsc   s     ;;r   c                     Xl         g)a[  
Sets the items of this V1SecretVolumeSource.
If unspecified, each key-value pair in the Data field of the referenced
Secret will be projected into the volume as a file whose name is the key
and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the Secret, the
volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.

:param items: The items of this V1SecretVolumeSource.
:type: list[V1KeyToPath]
Nr"   )r   r   s     r   r   r#   t   s	      Kr   c                     U R                   $ )z
Gets the optional of this V1SecretVolumeSource.
Specify whether the Secret or it's keys must be defined

:return: The optional of this V1SecretVolumeSource.
:rtype: bool
r   r   s    r   r   V1SecretVolumeSource.optional   s     >>r   c                     Xl         g)z
Sets the optional of this V1SecretVolumeSource.
Specify whether the Secret or it's keys must be defined

:param optional: The optional of this V1SecretVolumeSource.
:type: bool
Nr&   )r   r   s     r   r   r'      s	     Nr   c                     U R                   $ )z
Gets the secret_name of this V1SecretVolumeSource.
Name of the secret in the pod's namespace to use. More info:
https://kubernetes.io/docs/concepts/storage/volumes#secret

:return: The secret_name of this V1SecretVolumeSource.
:rtype: str
r   r   s    r   r    V1SecretVolumeSource.secret_name   s     r   c                     Xl         g)z
Sets the secret_name of this V1SecretVolumeSource.
Name of the secret in the pod's namespace to use. More info:
https://kubernetes.io/docs/concepts/storage/volumes#secret

:param secret_name: The secret_name of this V1SecretVolumeSource.
:type: str
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hasattrr/   )xs    r   <lambda>.V1SecretVolumeSource.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r/   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r/   r   r0   )items    r   r3   r4      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr1   r/   dictr   )r   resultattr_values        r   r/   V1SecretVolumeSource.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   r/   r   s    r   to_strV1SecretVolumeSource.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rD   r   s    r   __repr__V1SecretVolumeSource.__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__V1SecretVolumeSource.__eq__   s(     e122==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rK   s     r   __ne__V1SecretVolumeSource.__ne__   s     r   )	r   r   r   r   r   r   r   r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r8   attribute_mapr   propertyr   setterr   r   r   r/   rD   rG   rM   rQ   __static_attributes__rP   r   r   r   r      s    "	- $!	- !	%0   & &    	<< "   ??	 	 	 	 
$ 
$.#+r   r   )rW   pprintr   sixr   reobjectr   rP   r   r   <module>r`      s#   	   	T6 Tr   