
                         >    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)V1beta1VolumeAttachmentStatus   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
V1beta1VolumeErrorboolzdict(str, str))attach_errorattachedattachment_metadatadetach_errorattachErrorr   attachmentMetadatadetachErrorNc                     SU l         SU l        SU l        SU l        SU l        Ub  Xl        X l        Ub  X0l        Ub  X@l        gg)z<
V1beta1VolumeAttachmentStatus - a model defined in Swagger
N)	_attach_error	_attached_attachment_metadata_detach_errordiscriminatorr
   r   r   r   )selfr
   r   r   r   s        Llib/third_party/kubernetes/client/models/v1beta1_volume_attachment_status.py__init__&V1beta1VolumeAttachmentStatus.__init__,   sY     DDN $DDD&M&!4&      c                     U R                   $ )a>  
Gets the attach_error of this V1beta1VolumeAttachmentStatus.
The last error encountered during attach operation, if any. This field
must only be set by the entity completing the attach operation, i.e. the
external-attacher.

:return: The attach_error of this V1beta1VolumeAttachmentStatus.
:rtype: V1beta1VolumeError
r   r   s    r   r
   *V1beta1VolumeAttachmentStatus.attach_errorC        r   c                     Xl         g)aI  
Sets the attach_error of this V1beta1VolumeAttachmentStatus.
The last error encountered during attach operation, if any. This field
must only be set by the entity completing the attach operation, i.e. the
external-attacher.

:param attach_error: The attach_error of this
V1beta1VolumeAttachmentStatus.
:type: V1beta1VolumeError
Nr   )r   r
   s     r   r
   r   P   
     &r   c                     U R                   $ )a  
Gets the attached of this V1beta1VolumeAttachmentStatus.
Indicates the volume is successfully attached. This field must only be
set by the entity completing the attach operation, i.e. the
external-attacher.

:return: The attached of this V1beta1VolumeAttachmentStatus.
:rtype: bool
)r   r   s    r   r   &V1beta1VolumeAttachmentStatus.attached_   s     >>r   c                 ,    Uc  [        S5      eXl        g)a"  
Sets the attached of this V1beta1VolumeAttachmentStatus.
Indicates the volume is successfully attached. This field must only be
set by the entity completing the attach operation, i.e. the
external-attacher.

:param attached: The attached of this V1beta1VolumeAttachmentStatus.
:type: bool
Nz0Invalid value for `attached`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r$   l   s     IJJNr   c                     U R                   $ )a  
Gets the attachment_metadata of this V1beta1VolumeAttachmentStatus.
Upon successful attach, this field is populated with any information
returned by the attach operation that must be passed into subsequent
WaitForAttach or Mount calls. This field must only be set by the entity
completing the attach operation, i.e. the external-attacher.

:return: The attachment_metadata of this V1beta1VolumeAttachmentStatus.
:rtype: dict(str, str)
r   r   s    r   r   1V1beta1VolumeAttachmentStatus.attachment_metadata|   s     $$$r   c                     Xl         g)a  
Sets the attachment_metadata of this V1beta1VolumeAttachmentStatus.
Upon successful attach, this field is populated with any information
returned by the attach operation that must be passed into subsequent
WaitForAttach or Mount calls. This field must only be set by the entity
completing the attach operation, i.e. the external-attacher.

:param attachment_metadata: The attachment_metadata of this
V1beta1VolumeAttachmentStatus.
:type: dict(str, str)
Nr(   )r   r   s     r   r   r)      s
     !4r   c                     U R                   $ )a>  
Gets the detach_error of this V1beta1VolumeAttachmentStatus.
The last error encountered during detach operation, if any. This field
must only be set by the entity completing the detach operation, i.e. the
external-attacher.

:return: The detach_error of this V1beta1VolumeAttachmentStatus.
:rtype: V1beta1VolumeError
r   r   s    r   r   *V1beta1VolumeAttachmentStatus.detach_error   r    r   c                     Xl         g)aI  
Sets the detach_error of this V1beta1VolumeAttachmentStatus.
The last error encountered during detach operation, if any. This field
must only be set by the entity completing the detach operation, i.e. the
external-attacher.

:param detach_error: The detach_error of this
V1beta1VolumeAttachmentStatus.
:type: V1beta1VolumeError
Nr,   )r   r   s     r   r   r-      r"   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hasattrr1   )xs    r   <lambda>7V1beta1VolumeAttachmentStatus.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r1   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r1   r   r2   )items    r   r5   r6      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr3   r1   dictitems)r   resultattr_values        r   r1   %V1beta1VolumeAttachmentStatus.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   r1   r   s    r   to_str$V1beta1VolumeAttachmentStatus.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rG   r   s    r   __repr__&V1beta1VolumeAttachmentStatus.__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__$V1beta1VolumeAttachmentStatus.__eq__   s(     e:;;==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rN   s     r   __ne__$V1beta1VolumeAttachmentStatus.__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   r1   rG   rJ   rP   rT   __static_attributes__rS   r   r   r   r      s    +-*	- $1#	- !#' 	'. 
 
 & & 
 
 ??  % % 4 4 
 
 & &.#+r   r   )rZ   pprintr   sixr   reobjectr   rS   r   r   <module>rc      s#   	   	TF Tr   