
    #                     >    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SSSSSS.rSS	S
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 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))V1ContainerStatus   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strV1ContainerStateboolint)container_idimageimage_id
last_statenamereadyrestart_countstatecontainerIDr   imageID	lastStater   r   restartCountr   Nc	                     SU l         SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l        Ub  Xl	        X l
        X0l        Ub  X@l        XPl        X`l        Xpl        Ub  Xl        gg)z0
V1ContainerStatus - a model defined in Swagger
N)_container_id_image	_image_id_last_state_name_ready_restart_count_statediscriminatorr   r   r   r   r   r   r   r   )	selfr   r   r   r   r   r   r   r   s	            ?lib/third_party/kubernetes/client/models/v1_container_status.py__init__V1ContainerStatus.__init__4   s     DDKDNDDJDKDDKD&JM"oIJ&j     c                     U R                   $ )z
Gets the container_id of this V1ContainerStatus.
Container's ID in the format 'docker://<container_id>'.

:return: The container_id of this V1ContainerStatus.
:rtype: str
r   r"   s    r#   r   V1ContainerStatus.container_idW   s     r&   c                     Xl         g)z
Sets the container_id of this V1ContainerStatus.
Container's ID in the format 'docker://<container_id>'.

:param container_id: The container_id of this V1ContainerStatus.
:type: str
Nr(   )r"   r   s     r#   r   r*   b   s
     &r&   c                     U R                   $ )z
Gets the image of this V1ContainerStatus.
The image the container is running. More info:
https://kubernetes.io/docs/concepts/containers/images

:return: The image of this V1ContainerStatus.
:rtype: str
)r   r)   s    r#   r   V1ContainerStatus.imagen   s     ;;r&   c                 ,    Uc  [        S5      eXl        g)z
Sets the image of this V1ContainerStatus.
The image the container is running. More info:
https://kubernetes.io/docs/concepts/containers/images

:param image: The image of this V1ContainerStatus.
:type: str
Nz-Invalid value for `image`, must not be `None`)
ValueErrorr   )r"   r   s     r#   r   r-   z   s     }FGGKr&   c                     U R                   $ )z
Gets the image_id of this V1ContainerStatus.
ImageID of the container's image.

:return: The image_id of this V1ContainerStatus.
:rtype: str
)r   r)   s    r#   r   V1ContainerStatus.image_id   s     >>r&   c                 ,    Uc  [        S5      eXl        g)z
Sets the image_id of this V1ContainerStatus.
ImageID of the container's image.

:param image_id: The image_id of this V1ContainerStatus.
:type: str
Nz0Invalid value for `image_id`, must not be `None`)r/   r   )r"   r   s     r#   r   r1      s     IJJNr&   c                     U R                   $ )z
Gets the last_state of this V1ContainerStatus.
Details about the container's last termination condition.

:return: The last_state of this V1ContainerStatus.
:rtype: V1ContainerState
r   r)   s    r#   r   V1ContainerStatus.last_state   s     r&   c                     Xl         g)z
Sets the last_state of this V1ContainerStatus.
Details about the container's last termination condition.

:param last_state: The last_state of this V1ContainerStatus.
:type: V1ContainerState
Nr4   )r"   r   s     r#   r   r5      s
     "r&   c                     U R                   $ )z
Gets the name of this V1ContainerStatus.
This must be a DNS_LABEL. Each container in a pod must have a unique
name. Cannot be updated.

:return: The name of this V1ContainerStatus.
:rtype: str
)r   r)   s    r#   r   V1ContainerStatus.name   s     ::r&   c                 ,    Uc  [        S5      eXl        g)z
Sets the name of this V1ContainerStatus.
This must be a DNS_LABEL. Each container in a pod must have a unique
name. Cannot be updated.

:param name: The name of this V1ContainerStatus.
:type: str
Nz,Invalid value for `name`, must not be `None`)r/   r   )r"   r   s     r#   r   r8      s     |EFFJr&   c                     U R                   $ )z
Gets the ready of this V1ContainerStatus.
Specifies whether the container has passed its readiness probe.

:return: The ready of this V1ContainerStatus.
:rtype: bool
)r   r)   s    r#   r   V1ContainerStatus.ready        ;;r&   c                 ,    Uc  [        S5      eXl        g)z
Sets the ready of this V1ContainerStatus.
Specifies whether the container has passed its readiness probe.

:param ready: The ready of this V1ContainerStatus.
:type: bool
Nz-Invalid value for `ready`, must not be `None`)r/   r   )r"   r   s     r#   r   r;      s     }FGGKr&   c                     U R                   $ )a  
Gets the restart_count of this V1ContainerStatus.
The number of times the container has been restarted, currently based on
the number of dead containers that have not yet been removed. Note that
this is calculated from dead containers. But those containers are
subject to garbage collection. This value will get capped at 5 by GC.

:return: The restart_count of this V1ContainerStatus.
:rtype: int
)r   r)   s    r#   r   V1ContainerStatus.restart_count   s     r&   c                 ,    Uc  [        S5      eXl        g)a  
Sets the restart_count of this V1ContainerStatus.
The number of times the container has been restarted, currently based on
the number of dead containers that have not yet been removed. Note that
this is calculated from dead containers. But those containers are
subject to garbage collection. This value will get capped at 5 by GC.

:param restart_count: The restart_count of this V1ContainerStatus.
:type: int
Nz5Invalid value for `restart_count`, must not be `None`)r/   r   )r"   r   s     r#   r   r?      s     NOO'r&   c                     U R                   $ )z
Gets the state of this V1ContainerStatus.
Details about the container's current condition.

:return: The state of this V1ContainerStatus.
:rtype: V1ContainerState
r    r)   s    r#   r   V1ContainerStatus.state  r<   r&   c                     Xl         g)z
Sets the state of this V1ContainerStatus.
Details about the container's current condition.

:param state: The state of this V1ContainerStatus.
:type: V1ContainerState
NrB   )r"   r   s     r#   r   rC     s	     Kr&   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hasattrrG   )xs    r#   <lambda>+V1ContainerStatus.to_dict.<locals>.<lambda>-  s    I)>)>!))+EAEr&   rG   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rG   r   rH   )items    r#   rK   rL   3  s9    47I.. #1gtAw'89 9489r&   )
r   swagger_typesgetattr
isinstancelistmaprI   rG   dictitems)r"   resultattr_values        r#   rG   V1ContainerStatus.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   rG   r)   s    r#   to_strV1ContainerStatus.to_str:  s     4<<>""r&   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r]   r)   s    r#   __repr__V1ContainerStatus.__repr__@  s     ;;=r&   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rR   r   __dict__r"   others     r#   __eq__V1ContainerStatus.__eq__F  s(     e.//==ENN**r&   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rd   s     r#   __ne__V1ContainerStatus.__ne__O  s     r&   )r   r   r   r   r   r   r   r    r   r!   r   r   r   r   r   r   r   )NNNNNNNN)__name__
__module____qualname____firstlineno____doc__rP   attribute_mapr$   propertyr   setterr   r   r   r   r   r   r   rG   r]   r`   rf   rj   __static_attributes__ri   r&   r#   r   r      s    &!	- $%	- !!!F   	& 	& 	 	 	<<    ??    	" 	" 	 	 ;;    	<<    ( (    	<<	 	.#+r&   r   )rp   pprintr   sixr   reobjectr   ri   r&   r#   <module>ry      s#   	   	A Ar&   