3 f÷ÔYÜ%ã@s8dZddlmZddlmZddlZGdd„deƒZdS)zç Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git é)Úpformat)Ú iteritemsNc@søeZdZdZd$dd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ dd„Zdd„Zdd„Zd d!„Zd"d#„ZdS)%ÚV2alpha1CronJobSpeczw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsZddddddddœ|_dddd d d d dœ|_||_||_||_||_||_||_||_d S)aI V2alpha1CronJobSpec - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. ÚstrÚintÚV2alpha1JobTemplateSpecÚbool)Úconcurrency_policyÚfailed_jobs_history_limitÚ job_templateÚscheduleÚstarting_deadline_secondsÚsuccessful_jobs_history_limitÚsuspendZconcurrencyPolicyZfailedJobsHistoryLimitZ jobTemplater ZstartingDeadlineSecondsZsuccessfulJobsHistoryLimitrN) Ú swagger_typesÚ attribute_mapÚ_concurrency_policyÚ_failed_jobs_history_limitÚ _job_templateÚ _scheduleÚ_starting_deadline_secondsÚ_successful_jobs_history_limitÚ_suspend)Úselfr r r r r rr©rú`/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v2alpha1_cron_job_spec.pyÚ__init__s*   zV2alpha1CronJobSpec.__init__cCs|jS)zö Gets the concurrency_policy of this V2alpha1CronJobSpec. Specifies how to treat concurrent executions of a Job. Defaults to Allow. :return: The concurrency_policy of this V2alpha1CronJobSpec. :rtype: str )r)rrrrr =s z&V2alpha1CronJobSpec.concurrency_policycCs ||_dS)a Sets the concurrency_policy of this V2alpha1CronJobSpec. Specifies how to treat concurrent executions of a Job. Defaults to Allow. :param concurrency_policy: The concurrency_policy of this V2alpha1CronJobSpec. :type: str N)r)rr rrrr Hs cCs|jS)a2 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)rrrrr Ts z-V2alpha1CronJobSpec.failed_jobs_history_limitcCs ||_dS)aJ 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 N)r)rr rrrr _s cCs|jS)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)rrrrr ks z V2alpha1CronJobSpec.job_templatecCs|dkrtdƒ‚||_dS)a 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)rr rrrr vs cCs|jS)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)rrrrr „s zV2alpha1CronJobSpec.schedulecCs|dkrtdƒ‚||_dS)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`)rr)rr rrrr �s cCs|jS)aP 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)rrrrr �s z-V2alpha1CronJobSpec.starting_deadline_secondscCs ||_dS)ah 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 N)r)rr rrrr ¨s cCs|jS)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)rrrrr´s z1V2alpha1CronJobSpec.successful_jobs_history_limitcCs ||_dS)aZ 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 N)r)rrrrrr¿s cCs|jS)a 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)rrrrrËs zV2alpha1CronJobSpec.suspendcCs ||_dS)a# 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 N)r)rrrrrrÖs cCs’i}xˆt|jƒD]z\}}t||ƒ}t|tƒrDttdd„|ƒƒ||<qt|dƒr\|jƒ||<qt|tƒr‚ttdd„|j ƒƒƒ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dƒr|jƒS|S)NÚto_dict)Úhasattrr)ÚxrrrÚìsz-V2alpha1CronJobSpec.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr!ós) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrrâs     zV2alpha1CronJobSpec.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strüszV2alpha1CronJobSpec.to_strcCs|jƒS)z* For `print` and `pprint` )r.)rrrrÚ__repr__szV2alpha1CronJobSpec.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r%rÚ__dict__)rÚotherrrrÚ__eq__s zV2alpha1CronJobSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr1rrrÚ__ne__szV2alpha1CronJobSpec.__ne__)NNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr r r r rrrr.r/r2r3rrrrrs* %         r)r7ÚpprintrÚsixrÚreÚobjectrrrrrÚ s