
    3ia4                     B    S r SSKrSSKrSSKrSSKJr   " S S\5      rg)z
Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

The version of the OpenAPI document: release-1.34
Generated by: https://openapi-generator.tech
    N)Configurationc            	          \ 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))V1CronJobSpec   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
strintV1JobTemplateSpecbool)concurrency_policyfailed_jobs_history_limitjob_templateschedulestarting_deadline_secondssuccessful_jobs_history_limitsuspend	time_zoneconcurrencyPolicyfailedJobsHistoryLimitjobTemplater   startingDeadlineSecondssuccessfulJobsHistoryLimitr   timeZoneNc
                 .   U	c
  [        5       n	Xl        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        X0l        X@l        Ub  XPl        Ub  X`l        Ub  Xpl        Ub  Xl        gg)z*V1CronJobSpec - a model defined in OpenAPIN)r   local_vars_configuration_concurrency_policy_failed_jobs_history_limit_job_template	_schedule_starting_deadline_seconds_successful_jobs_history_limit_suspend
_time_zonediscriminatorr   r   r   r   r   r   r   r   )
selfr   r   r   r   r   r   r   r   r   s
             c/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_cron_job_spec.py__init__V1CronJobSpec.__init__9   s    #+'4$(@%#' *.'!*.'.2+!)&8#$0-F*( $0-F*(41N."L &N !    c                     U R                   $ )a  Gets the concurrency_policy of this V1CronJobSpec.  # noqa: E501

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  # noqa: E501

:return: The concurrency_policy of this V1CronJobSpec.  # noqa: E501
:rtype: str
r   r$   s    r%   r    V1CronJobSpec.concurrency_policyX   s     '''r(   c                     Xl         g)a  Sets the concurrency_policy of this V1CronJobSpec.

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  # noqa: E501

:param concurrency_policy: The concurrency_policy of this V1CronJobSpec.  # noqa: E501
:type: str
Nr*   )r$   r   s     r%   r   r,   c   s
     $6 r(   c                     U R                   $ )a  Gets the failed_jobs_history_limit of this V1CronJobSpec.  # noqa: E501

The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.  # noqa: E501

:return: The failed_jobs_history_limit of this V1CronJobSpec.  # noqa: E501
:rtype: int
r   r+   s    r%   r   'V1CronJobSpec.failed_jobs_history_limito        ...r(   c                     Xl         g)a  Sets the failed_jobs_history_limit of this V1CronJobSpec.

The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.  # noqa: E501

:param failed_jobs_history_limit: The failed_jobs_history_limit of this V1CronJobSpec.  # noqa: E501
:type: int
Nr/   )r$   r   s     r%   r   r0   z        +D'r(   c                     U R                   $ )zGets the job_template of this V1CronJobSpec.  # noqa: E501


:return: The job_template of this V1CronJobSpec.  # noqa: E501
:rtype: V1JobTemplateSpec
)r   r+   s    r%   r   V1CronJobSpec.job_template   s     !!!r(   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)zSets the job_template of this V1CronJobSpec.


:param job_template: The job_template of this V1CronJobSpec.  # noqa: E501
:type: V1JobTemplateSpec
Nz4Invalid value for `job_template`, must not be `None`)r   client_side_validation
ValueErrorr   )r$   r   s     r%   r   r5      s*     ((??LDXSTT)r(   c                     U R                   $ )zGets the schedule of this V1CronJobSpec.  # noqa: E501

The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.  # noqa: E501

:return: The schedule of this V1CronJobSpec.  # noqa: E501
:rtype: str
)r   r+   s    r%   r   V1CronJobSpec.schedule   s     ~~r(   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)zSets the schedule of this V1CronJobSpec.

The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.  # noqa: E501

:param schedule: The schedule of this V1CronJobSpec.  # noqa: E501
:type: str
Nz0Invalid value for `schedule`, must not be `None`)r   r7   r8   r   )r$   r   s     r%   r   r:      s)     ((??HDTOPP!r(   c                     U R                   $ )aF  Gets the starting_deadline_seconds of this V1CronJobSpec.  # noqa: E501

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.  # noqa: E501

:return: The starting_deadline_seconds of this V1CronJobSpec.  # noqa: E501
:rtype: int
r   r+   s    r%   r   'V1CronJobSpec.starting_deadline_seconds   r1   r(   c                     Xl         g)aP  Sets the starting_deadline_seconds of this V1CronJobSpec.

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.  # noqa: E501

:param starting_deadline_seconds: The starting_deadline_seconds of this V1CronJobSpec.  # noqa: E501
:type: int
Nr=   )r$   r   s     r%   r   r>      r3   r(   c                     U R                   $ )a  Gets the successful_jobs_history_limit of this V1CronJobSpec.  # noqa: E501

The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.  # noqa: E501

:return: The successful_jobs_history_limit of this V1CronJobSpec.  # noqa: E501
:rtype: int
r    r+   s    r%   r   +V1CronJobSpec.successful_jobs_history_limit   s     222r(   c                     Xl         g)a+  Sets the successful_jobs_history_limit of this V1CronJobSpec.

The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.  # noqa: E501

:param successful_jobs_history_limit: The successful_jobs_history_limit of this V1CronJobSpec.  # noqa: E501
:type: int
NrA   )r$   r   s     r%   r   rB      s     /L+r(   c                     U R                   $ )a  Gets the suspend of this V1CronJobSpec.  # noqa: E501

This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.  # noqa: E501

:return: The suspend of this V1CronJobSpec.  # noqa: E501
:rtype: bool
r!   r+   s    r%   r   V1CronJobSpec.suspend   s     }}r(   c                     Xl         g)a  Sets the suspend of this V1CronJobSpec.

This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.  # noqa: E501

:param suspend: The suspend of this V1CronJobSpec.  # noqa: E501
:type: bool
NrE   )r$   r   s     r%   r   rF      s	      r(   c                     U R                   $ )a  Gets the time_zone of this V1CronJobSpec.  # noqa: E501

The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones  # noqa: E501

:return: The time_zone of this V1CronJobSpec.  # noqa: E501
:rtype: str
r"   r+   s    r%   r   V1CronJobSpec.time_zone   s     r(   c                     Xl         g)a  Sets the time_zone of this V1CronJobSpec.

The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones  # noqa: E501

:param time_zone: The time_zone of this V1CronJobSpec.  # noqa: E501
:type: str
NrI   )r$   r   s     r%   r   rJ     s	     $r(   c                    0 n[         R                  " 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 dictc                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrrN   )xs    r%   <lambda>'V1CronJobSpec.to_dict.<locals>.<lambda>  s    WQ	-B-BaiikIIr(   rN   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rN   r   rO   )items    r%   rR   rS   !  s9    tAw	22 #'q'47??+<!= "=8<"=r(   )six	iteritemsopenapi_typesgetattr
isinstancelistmaprP   rN   dictitems)r$   resultattr_values        r%   rN   V1CronJobSpec.to_dict  s    }}T%7%78GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 9$ r(   c                 J    [         R                  " U R                  5       5      $ )z.Returns the string representation of the model)pprintpformatrN   r+   s    r%   to_strV1CronJobSpec.to_str*  s    ~~dlln--r(   c                 "    U R                  5       $ )zFor `print` and `pprint`)rh   r+   s    r%   __repr__V1CronJobSpec.__repr__.  s    {{}r(   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFr[   r   rN   r$   others     r%   __eq__V1CronJobSpec.__eq__2  s)    %//||~00r(   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTrn   ro   s     r%   __ne__V1CronJobSpec.__ne__9  s)    %//||~00r(   )r   r   r   r   r   r    r!   r"   r   r#   r   r   r   r   r   r   r   r   )	NNNNNNNNN)__name__
__module____qualname____firstlineno____doc__rY   attribute_mapr&   propertyr   setterr   r   r   r   r   r   r   rN   rh   rk   rq   rt   __static_attributes__ r(   r%   r   r      s    $%*+%*).	M 2%=%%>)E	M'> ( ( 	6 	6 / / %%	D &	D " " 
* 
*   __" " / / %%	D &	D 3 3 #))	L *	L   ^^	  	    	$ 	$0.11r(   r   )rz   rf   rerW   kubernetes.client.configurationr   objectr   r   r(   r%   <module>r      s&     	 
 9i1F i1r(   