
                          >    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                       \ rS rSrSr SSS.rSSS.rSS j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)V1beta1CSIDriverSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
bool)attach_requiredpod_info_on_mountattachRequiredpodInfoOnMountNc                 T    SU l         SU l        SU l        Ub  Xl        Ub  X l        gg)z3
V1beta1CSIDriverSpec - a model defined in Swagger
N)_attach_required_pod_info_on_mountdiscriminatorr	   r
   )selfr	   r
   s      Clib/third_party/kubernetes/client/models/v1beta1_csi_driver_spec.py__init__V1beta1CSIDriverSpec.__init__%   s9    
 !D"DD",$0 %    c                     U R                   $ )a  
Gets the attach_required of this V1beta1CSIDriverSpec.
attachRequired indicates this CSI volume driver requires an attach
operation (because it implements the CSI ControllerPublishVolume()
method), and that the Kubernetes attach detach controller should call
the attach volume interface which checks the volumeattachment status and
waits until the volume is attached before proceeding to mounting. The
CSI external-attacher coordinates with CSI volume driver and updates the
volumeattachment status when the attach operation is complete. If the
CSIDriverRegistry feature gate is enabled and the value is specified to
false, the attach operation will be skipped. Otherwise the attach
operation will be called.

:return: The attach_required of this V1beta1CSIDriverSpec.
:rtype: bool
r   r   s    r   r	   $V1beta1CSIDriverSpec.attach_required3   s    $    r   c                     Xl         g)a  
Sets the attach_required of this V1beta1CSIDriverSpec.
attachRequired indicates this CSI volume driver requires an attach
operation (because it implements the CSI ControllerPublishVolume()
method), and that the Kubernetes attach detach controller should call
the attach volume interface which checks the volumeattachment status and
waits until the volume is attached before proceeding to mounting. The
CSI external-attacher coordinates with CSI volume driver and updates the
volumeattachment status when the attach operation is complete. If the
CSIDriverRegistry feature gate is enabled and the value is specified to
false, the attach operation will be skipped. Otherwise the attach
operation will be called.

:param attach_required: The attach_required of this
V1beta1CSIDriverSpec.
:type: bool
Nr   )r   r	   s     r   r	   r   G   s
    ( ,r   c                     U R                   $ )a  
Gets the pod_info_on_mount of this V1beta1CSIDriverSpec.
If set to true, podInfoOnMount indicates this CSI volume driver requires
additional pod information (like podName, podUID, etc.) during mount
operations. If set to false, pod information will not be passed on
mount. Default is false. The CSI driver specifies podInfoOnMount as part
of driver deployment. If true, Kubelet will pass pod information as
VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is
responsible for parsing and validating the information passed in as
VolumeContext. The following VolumeConext will be passed if
podInfoOnMount is set to true. This list might grow, but the prefix will
be used. "csi.storage.k8s.io/pod.name": pod.Name
"csi.storage.k8s.io/pod.namespace": pod.Namespace
"csi.storage.k8s.io/pod.uid": string(pod.UID)

:return: The pod_info_on_mount of this V1beta1CSIDriverSpec.
:rtype: bool
r   r   s    r   r
   &V1beta1CSIDriverSpec.pod_info_on_mount]   s    ( """r   c                     Xl         g)a  
Sets the pod_info_on_mount of this V1beta1CSIDriverSpec.
If set to true, podInfoOnMount indicates this CSI volume driver requires
additional pod information (like podName, podUID, etc.) during mount
operations. If set to false, pod information will not be passed on
mount. Default is false. The CSI driver specifies podInfoOnMount as part
of driver deployment. If true, Kubelet will pass pod information as
VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is
responsible for parsing and validating the information passed in as
VolumeContext. The following VolumeConext will be passed if
podInfoOnMount is set to true. This list might grow, but the prefix will
be used. "csi.storage.k8s.io/pod.name": pod.Name
"csi.storage.k8s.io/pod.namespace": pod.Namespace
"csi.storage.k8s.io/pod.uid": string(pod.UID)

:param pod_info_on_mount: The pod_info_on_mount of this
V1beta1CSIDriverSpec.
:type: bool
Nr   )r   r
   s     r   r
   r   s   s
    , 0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>.V1beta1CSIDriverSpec.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   r"   )items    r   r%   r&      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr#   r!   dictitems)r   resultattr_values        r   r!   V1beta1CSIDriverSpec.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V1beta1CSIDriverSpec.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r7   r   s    r   __repr__V1beta1CSIDriverSpec.__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__V1beta1CSIDriverSpec.__eq__   s(     e122==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r>   s     r   __ne__V1beta1CSIDriverSpec.__ne__   s     r   )r   r   r	   r   r
   )NN)__name__
__module____qualname____firstlineno____doc__r*   attribute_mapr   propertyr	   setterr
   r!   r7   r:   r@   rD   __static_attributes__rC   r   r   r   r      s     '-6J- *+-
1 ! !& , ,* # #* 0 0..#+r   r   )rJ   pprintr   sixr   reobjectr   rC   r   r   <module>rS      s#   	   	i6 ir   