
    b(                     >    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.r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 rS  rS! rS" rS# rS$rg)&V2alpha1CronJobSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strintV2alpha1JobTemplateSpecbool)concurrency_policyfailed_jobs_history_limitjob_templateschedulestarting_deadline_secondssuccessful_jobs_history_limitsuspendconcurrencyPolicyfailedJobsHistoryLimitjobTemplater   startingDeadlineSecondssuccessfulJobsHistoryLimitr   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        Ub  Xl        Ub  X l	        X0l
        X@l        Ub  XPl        Ub  X`l        Ub  Xpl        gg)z2
V2alpha1CronJobSpec - a model defined in Swagger
N)_concurrency_policy_failed_jobs_history_limit_job_template	_schedule_starting_deadline_seconds_successful_jobs_history_limit_suspenddiscriminatorr   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   s           Blib/third_party/kubernetes/client/models/v2alpha1_cron_job_spec.py__init__V2alpha1CronJobSpec.__init__2   s      $D&*D#DDN&*D#*.D'DMD% 2 ,'@$$M ,'@$$0+H(l     c                     U R                   $ )a  
Gets the concurrency_policy of this V2alpha1CronJobSpec.
Specifies how to treat concurrent executions of a Job. Valid values are:
- "Allow" (default): allows CronJobs to run concurrently; -
"Forbid": forbids concurrent runs, skipping next run if previous run
hasn't finished yet; - "Replace": cancels currently running job and
replaces it with a new one

:return: The concurrency_policy of this V2alpha1CronJobSpec.
:rtype: str
r   r!   s    r"   r   &V2alpha1CronJobSpec.concurrency_policyT   s     ###r%   c                     Xl         g)a  
Sets the concurrency_policy of this V2alpha1CronJobSpec.
Specifies how to treat concurrent executions of a Job. Valid values are:
- "Allow" (default): allows CronJobs to run concurrently; -
"Forbid": forbids concurrent runs, skipping next run if previous run
hasn't finished yet; - "Replace": cancels currently running job and
replaces it with a new one

:param concurrency_policy: The concurrency_policy of this
V2alpha1CronJobSpec.
:type: str
Nr'   )r!   r   s     r"   r   r)   c   s
      2r%   c                     U R                   $ )a
  
Gets the failed_jobs_history_limit of this V2alpha1CronJobSpec.
The number of failed finished jobs to retain. This is a pointer to
distinguish between explicit zero and not specified.

:return: The failed_jobs_history_limit of this V2alpha1CronJobSpec.
:rtype: int
r   r(   s    r"   r   -V2alpha1CronJobSpec.failed_jobs_history_limitt   s     ***r%   c                     Xl         g)a"  
Sets the failed_jobs_history_limit of this V2alpha1CronJobSpec.
The number of failed finished jobs to retain. This is a pointer to
distinguish between explicit zero and not specified.

:param failed_jobs_history_limit: The failed_jobs_history_limit of this
V2alpha1CronJobSpec.
:type: int
Nr,   )r!   r   s     r"   r   r-      s     '@#r%   c                     U R                   $ )z
Gets the job_template of this V2alpha1CronJobSpec.
Specifies the job that will be created when executing a CronJob.

:return: The job_template of this V2alpha1CronJobSpec.
:rtype: V2alpha1JobTemplateSpec
)r   r(   s    r"   r    V2alpha1CronJobSpec.job_template   s     r%   c                 ,    Uc  [        S5      eXl        g)z
Sets the job_template of this V2alpha1CronJobSpec.
Specifies the job that will be created when executing a CronJob.

:param job_template: The job_template of this V2alpha1CronJobSpec.
:type: V2alpha1JobTemplateSpec
Nz4Invalid value for `job_template`, must not be `None`)
ValueErrorr   )r!   r   s     r"   r   r0      s     MNN%r%   c                     U R                   $ )z
Gets the schedule of this V2alpha1CronJobSpec.
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.

:return: The schedule of this V2alpha1CronJobSpec.
:rtype: str
)r   r(   s    r"   r   V2alpha1CronJobSpec.schedule   s     >>r%   c                 ,    Uc  [        S5      eXl        g)z
Sets the schedule of this V2alpha1CronJobSpec.
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.

:param schedule: The schedule of this V2alpha1CronJobSpec.
:type: str
Nz0Invalid value for `schedule`, must not be `None`)r2   r   )r!   r   s     r"   r   r4      s     IJJNr%   c                     U R                   $ )a(  
Gets the starting_deadline_seconds of this V2alpha1CronJobSpec.
Optional deadline in seconds for starting the job if it misses scheduled
time for any reason.  Missed jobs executions will be counted as failed
ones.

:return: The starting_deadline_seconds of this V2alpha1CronJobSpec.
:rtype: int
r   r(   s    r"   r   -V2alpha1CronJobSpec.starting_deadline_seconds   s     ***r%   c                     Xl         g)a@  
Sets the starting_deadline_seconds of this V2alpha1CronJobSpec.
Optional deadline in seconds for starting the job if it misses scheduled
time for any reason.  Missed jobs executions will be counted as failed
ones.

:param starting_deadline_seconds: The starting_deadline_seconds of this
V2alpha1CronJobSpec.
:type: int
Nr7   )r!   r   s     r"   r   r8      s     '@#r%   c                     U R                   $ )a  
Gets the successful_jobs_history_limit of this V2alpha1CronJobSpec.
The number of successful finished jobs to retain. This is a pointer to
distinguish between explicit zero and not specified.

:return: The successful_jobs_history_limit of this V2alpha1CronJobSpec.
:rtype: int
r   r(   s    r"   r   1V2alpha1CronJobSpec.successful_jobs_history_limit   s     ...r%   c                     Xl         g)a2  
Sets the successful_jobs_history_limit of this V2alpha1CronJobSpec.
The number of successful finished jobs to retain. This is a pointer to
distinguish between explicit zero and not specified.

:param successful_jobs_history_limit: The successful_jobs_history_limit
of this V2alpha1CronJobSpec.
:type: int
Nr;   )r!   r   s     r"   r   r<      s     +H'r%   c                     U R                   $ )z
Gets the suspend of this V2alpha1CronJobSpec.
This flag tells the controller to suspend subsequent executions, it does
not apply to already started executions.  Defaults to false.

:return: The suspend of this V2alpha1CronJobSpec.
:rtype: bool
r   r(   s    r"   r   V2alpha1CronJobSpec.suspend   s     ==r%   c                     Xl         g)z
Sets the suspend of this V2alpha1CronJobSpec.
This flag tells the controller to suspend subsequent executions, it does
not apply to already started executions.  Defaults to false.

:param suspend: The suspend of this V2alpha1CronJobSpec.
:type: bool
Nr?   )r!   r   s     r"   r   r@     s	     Mr%   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hasattrrD   )xs    r"   <lambda>-V2alpha1CronJobSpec.to_dict.<locals>.<lambda>  s    I)>)>!))+EAEr%   rD   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rD   r   rE   )items    r"   rH   rI     s9    47I.. #1gtAw'89 9489r%   )
r   swagger_typesgetattr
isinstancelistmaprF   rD   dictitems)r!   resultattr_values        r"   rD   V2alpha1CronJobSpec.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   rD   r(   s    r"   to_strV2alpha1CronJobSpec.to_str&  s     4<<>""r%   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rZ   r(   s    r"   __repr__V2alpha1CronJobSpec.__repr__,  s     ;;=r%   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rO   r   __dict__r!   others     r"   __eq__V2alpha1CronJobSpec.__eq__2  s(     e011==ENN**r%   c                     X:X  + $ )z,
Returns true if both objects are not equal
 ra   s     r"   __ne__V2alpha1CronJobSpec.__ne__;  s     r%   )r   r   r   r   r   r   r   r   r    r   r   r   r   r   r   )NNNNNNN)__name__
__module____qualname____firstlineno____doc__rM   attribute_mapr#   propertyr   setterr   r   r   r   r   r   rD   rZ   r]   rc   rg   __static_attributes__rf   r%   r"   r   r      s    "#(/#(',- 0#;##<'C- #')- )--1 D $ $ 2 2  	+ 	+ ##@ $@   & &   ??  
+ 
+ ##@ $@ 	/ 	/ !''H (H 	 	 >>
 
.#+r%   r   )rm   pprintr   sixr   reobjectr   rf   r%   r"   <module>rv      s#   	   	m& mr%   