
    <                     >    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.r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 rS rS rS rS rS rg)"V1JobStatus   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
intdatetimezlist[V1JobCondition])activecompletion_time
conditionsfailed
start_time	succeededr
   completionTimer   r   	startTimer   Nc                     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        gg)z*
V1JobStatus - a model defined in Swagger
N)_active_completion_time_conditions_failed_start_time
_succeededdiscriminatorr
   r   r   r   r   r   )selfr
   r   r   r   r   r   s          9lib/third_party/kubernetes/client/models/v1_job_status.py__init__V1JobStatus.__init__0   s     DL DDDLDDODk","ok"o n     c                     U R                   $ )z
Gets the active of this V1JobStatus.
The number of actively running pods.

:return: The active of this V1JobStatus.
:rtype: int
r   r   s    r   r
   V1JobStatus.activeP        <<r   c                     Xl         g)z
Sets the active of this V1JobStatus.
The number of actively running pods.

:param active: The active of this V1JobStatus.
:type: int
Nr    )r   r
   s     r   r
   r"   [   	     Lr   c                     U R                   $ )a#  
Gets the completion_time of this V1JobStatus.
Represents time when the job was completed. It is not guaranteed to be
set in happens-before order across separate operations. It is
represented in RFC3339 form and is in UTC.

:return: The completion_time of this V1JobStatus.
:rtype: datetime
r   r!   s    r   r   V1JobStatus.completion_timeg   s        r   c                     Xl         g)a1  
Sets the completion_time of this V1JobStatus.
Represents time when the job was completed. It is not guaranteed to be
set in happens-before order across separate operations. It is
represented in RFC3339 form and is in UTC.

:param completion_time: The completion_time of this V1JobStatus.
:type: datetime
Nr'   )r   r   s     r   r   r(   t   s
     ,r   c                     U R                   $ )a  
Gets the conditions of this V1JobStatus.
The latest available observations of an object's current state. More
info:
https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

:return: The conditions of this V1JobStatus.
:rtype: list[V1JobCondition]
r   r!   s    r   r   V1JobStatus.conditions        r   c                     Xl         g)a  
Sets the conditions of this V1JobStatus.
The latest available observations of an object's current state. More
info:
https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

:param conditions: The conditions of this V1JobStatus.
:type: list[V1JobCondition]
Nr+   )r   r   s     r   r   r,      
     "r   c                     U R                   $ )z
Gets the failed of this V1JobStatus.
The number of pods which reached phase Failed.

:return: The failed of this V1JobStatus.
:rtype: int
r   r!   s    r   r   V1JobStatus.failed   r#   r   c                     Xl         g)z
Sets the failed of this V1JobStatus.
The number of pods which reached phase Failed.

:param failed: The failed of this V1JobStatus.
:type: int
Nr1   )r   r   s     r   r   r2      r%   r   c                     U R                   $ )a2  
Gets the start_time of this V1JobStatus.
Represents time when the job was acknowledged by the job controller. It
is not guaranteed to be set in happens-before order across separate
operations. It is represented in RFC3339 form and is in UTC.

:return: The start_time of this V1JobStatus.
:rtype: datetime
r   r!   s    r   r   V1JobStatus.start_time   r-   r   c                     Xl         g)a;  
Sets the start_time of this V1JobStatus.
Represents time when the job was acknowledged by the job controller. It
is not guaranteed to be set in happens-before order across separate
operations. It is represented in RFC3339 form and is in UTC.

:param start_time: The start_time of this V1JobStatus.
:type: datetime
Nr5   )r   r   s     r   r   r6      r/   r   c                     U R                   $ )z
Gets the succeeded of this V1JobStatus.
The number of pods which reached phase Succeeded.

:return: The succeeded of this V1JobStatus.
:rtype: int
r   r!   s    r   r   V1JobStatus.succeeded   s     ??r   c                     Xl         g)z
Sets the succeeded of this V1JobStatus.
The number of pods which reached phase Succeeded.

:param succeeded: The succeeded of this V1JobStatus.
:type: int
Nr9   )r   r   s     r   r   r:      s	      Or   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>%V1JobStatus.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   rB   rC      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr@   r>   dictitems)r   resultattr_values        r   r>   V1JobStatus.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V1JobStatus.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rT   r!   s    r   __repr__V1JobStatus.__repr__  s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rI   r   __dict__r   others     r   __eq__V1JobStatus.__eq__	  s'     e[))==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r[   s     r   __ne__V1JobStatus.__ne__  s     r   )r   r   r   r   r   r   r
   r   r   r   r   r   r   )NNNNNN)__name__
__module____qualname____firstlineno____doc__rG   attribute_mapr   propertyr
   setterr   r   r   r   r   r>   rT   rW   r]   ra   __static_attributes__r`   r   r   r   r      s    #*- ) - #!@   
==	 	 
! 
! , , 
 
 " "   
==	 	 
 
 " "   	  	 .#+r   r   )rg   pprintr   sixr   reobjectr   r`   r   r   <module>rp      s#   	   	D& Dr   