
    &                     >    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))V1Probe   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
V1ExecActionintV1HTTPGetActionV1TCPSocketAction)_execfailure_thresholdhttp_getinitial_delay_secondsperiod_secondssuccess_threshold
tcp_sockettimeout_secondsexecfailureThresholdhttpGetinitialDelaySecondsperiodSecondssuccessThreshold	tcpSockettimeoutSecondsNc	                    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	        Ub  X l
        Ub  X0l        Ub  X@l        Ub  XPl        Ub  X`l        Ub  Xpl        Ub  Xl        gg)z&
V1Probe - a model defined in Swagger
N)_V1Probe__exec_failure_threshold	_http_get_initial_delay_seconds_period_seconds_success_threshold_tcp_socket_timeout_secondsdiscriminatorr   r   r   r   r   r   r   r   )	selfr   r   r   r   r   r   r   r   s	            4lib/third_party/kubernetes/client/models/v1_probe.py__init__V1Probe.__init__4   s     DK"DDN"&DD"DD DDj$0m(#8 !*$0"o", #    c                     U R                   $ )z
Gets the _exec of this V1Probe.
One and only one of the following should be specified. Exec specifies
the action to take.

:return: The _exec of this V1Probe.
:rtype: V1ExecAction
r   r&   s    r'   r   V1Probe._exec\   s     ;;r*   c                     Xl         g)z
Sets the _exec of this V1Probe.
One and only one of the following should be specified. Exec specifies
the action to take.

:param _exec: The _exec of this V1Probe.
:type: V1ExecAction
Nr,   )r&   r   s     r'   r   r.   h   s	     Kr*   c                     U R                   $ )z
Gets the failure_threshold of this V1Probe.
Minimum consecutive failures for the probe to be considered failed after
having succeeded. Defaults to 3. Minimum value is 1.

:return: The failure_threshold of this V1Probe.
:rtype: int
r   r-   s    r'   r   V1Probe.failure_thresholdu   s     """r*   c                     Xl         g)z
Sets the failure_threshold of this V1Probe.
Minimum consecutive failures for the probe to be considered failed after
having succeeded. Defaults to 3. Minimum value is 1.

:param failure_threshold: The failure_threshold of this V1Probe.
:type: int
Nr1   )r&   r   s     r'   r   r2      s
     0r*   c                     U R                   $ )z
Gets the http_get of this V1Probe.
HTTPGet specifies the http request to perform.

:return: The http_get of this V1Probe.
:rtype: V1HTTPGetAction
r   r-   s    r'   r   V1Probe.http_get   s     >>r*   c                     Xl         g)z
Sets the http_get of this V1Probe.
HTTPGet specifies the http request to perform.

:param http_get: The http_get of this V1Probe.
:type: V1HTTPGetAction
Nr5   )r&   r   s     r'   r   r6      s	     Nr*   c                     U R                   $ )a'  
Gets the initial_delay_seconds of this V1Probe.
Number of seconds after the container has started before liveness probes
are initiated. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

:return: The initial_delay_seconds of this V1Probe.
:rtype: int
r    r-   s    r'   r   V1Probe.initial_delay_seconds   s     &&&r*   c                     Xl         g)a;  
Sets the initial_delay_seconds of this V1Probe.
Number of seconds after the container has started before liveness probes
are initiated. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

:param initial_delay_seconds: The initial_delay_seconds of this V1Probe.
:type: int
Nr9   )r&   r   s     r'   r   r:      s
     #8r*   c                     U R                   $ )z
Gets the period_seconds of this V1Probe.
How often (in seconds) to perform the probe. Default to 10 seconds.
Minimum value is 1.

:return: The period_seconds of this V1Probe.
:rtype: int
r!   r-   s    r'   r   V1Probe.period_seconds   s     r*   c                     Xl         g)z
Sets the period_seconds of this V1Probe.
How often (in seconds) to perform the probe. Default to 10 seconds.
Minimum value is 1.

:param period_seconds: The period_seconds of this V1Probe.
:type: int
Nr=   )r&   r   s     r'   r   r>      s
     *r*   c                     U R                   $ )a  
Gets the success_threshold of this V1Probe.
Minimum consecutive successes for the probe to be considered successful
after having failed. Defaults to 1. Must be 1 for liveness. Minimum
value is 1.

:return: The success_threshold of this V1Probe.
:rtype: int
r"   r-   s    r'   r   V1Probe.success_threshold   s     """r*   c                     Xl         g)a  
Sets the success_threshold of this V1Probe.
Minimum consecutive successes for the probe to be considered successful
after having failed. Defaults to 1. Must be 1 for liveness. Minimum
value is 1.

:param success_threshold: The success_threshold of this V1Probe.
:type: int
NrA   )r&   r   s     r'   r   rB      s
     0r*   c                     U R                   $ )z
Gets the tcp_socket of this V1Probe.
TCPSocket specifies an action involving a TCP port. TCP hooks not yet
supported

:return: The tcp_socket of this V1Probe.
:rtype: V1TCPSocketAction
r#   r-   s    r'   r   V1Probe.tcp_socket   s     r*   c                     Xl         g)z
Sets the tcp_socket of this V1Probe.
TCPSocket specifies an action involving a TCP port. TCP hooks not yet
supported

:param tcp_socket: The tcp_socket of this V1Probe.
:type: V1TCPSocketAction
NrE   )r&   r   s     r'   r   rF      s
     "r*   c                     U R                   $ )a   
Gets the timeout_seconds of this V1Probe.
Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

:return: The timeout_seconds of this V1Probe.
:rtype: int
r$   r-   s    r'   r   V1Probe.timeout_seconds  s        r*   c                     Xl         g)a.  
Sets the timeout_seconds of this V1Probe.
Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

:param timeout_seconds: The timeout_seconds of this V1Probe.
:type: int
NrI   )r&   r   s     r'   r   rJ     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hasattrrN   )xs    r'   <lambda>!V1Probe.to_dict.<locals>.<lambda>2  s    I)>)>!))+EAEr*   rN   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rN   r   rO   )items    r'   rR   rS   8  s9    47I.. #1gtAw'89 9489r*   )
r   swagger_typesgetattr
isinstancelistmaprP   rN   dictitems)r&   resultattr_values        r'   rN   V1Probe.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   rN   r-   s    r'   to_strV1Probe.to_str?  s     4<<>""r*   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rd   r-   s    r'   __repr__V1Probe.__repr__E  s     ;;=r*   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rY   r   __dict__r&   others     r'   __eq__V1Probe.__eq__K  s'     eW%%==ENN**r*   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rk   s     r'   __ne__V1Probe.__ne__T  s     r*   )__execr   r   r   r    r!   r"   r#   r$   r%   r   r   r   r   r   r   r   )NNNNNNNN)__name__
__module____qualname____firstlineno____doc__rW   attribute_mapr(   propertyr   setterr   r   r   r   r   r   r   rN   rd   rg   rm   rq   __static_attributes__rp   r*   r'   r   r      s     #$ '	- -4'-)	- !%%)"!%#&-P 	 	 	<<
 
 	# 	# 
0 
0   ??	 	 
' 
' 8  8 	  	  
* 
* 
# 
# 0 0 	 	 
" 
" 
! 
! , ,.#+r*   r   )rx   pprintr   sixr   reobjectr   rp   r*   r'   <module>r      s#   	   	Ff Fr*   