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 dd„Z dd„Zdd„Zdd„Zdd „ZdS)"Ú V1JobStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPdddddddœ|_ddddd d dœ|_||_||_||_||_||_||_d S) aA V1JobStatus - 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. ÚintÚdatetimezlist[V1JobCondition])ÚactiveÚcompletion_timeÚ conditionsÚfailedÚ start_timeÚ succeededrZcompletionTimer r Z startTimer N)Ú swagger_typesÚ attribute_mapÚ_activeÚ_completion_timeÚ _conditionsÚ_failedÚ _start_timeÚ _succeeded)Úselfrrr r r r ©rúW/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_job_status.pyÚ__init__s$   zV1JobStatus.__init__cCs|jS)z© Gets the active of this V1JobStatus. The number of actively running pods. :return: The active of this V1JobStatus. :rtype: int )r)rrrrr:s zV1JobStatus.activecCs ||_dS)z® Sets the active of this V1JobStatus. The number of actively running pods. :param active: The active of this V1JobStatus. :type: int N)r)rrrrrrEs cCs|jS)aK 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)rrrrrQs zV1JobStatus.completion_timecCs ||_dS)aY 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 N)r)rrrrrr\s cCs|jS)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)rrrrr hs zV1JobStatus.conditionscCs ||_dS)aC 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] N)r)rr rrrr ss cCs|jS)z³ Gets the failed of this V1JobStatus. The number of pods which reached phase Failed. :return: The failed of this V1JobStatus. :rtype: int )r)rrrrr s zV1JobStatus.failedcCs ||_dS)z¸ Sets the failed of this V1JobStatus. The number of pods which reached phase Failed. :param failed: The failed of this V1JobStatus. :type: int N)r)rr rrrr Šs cCs|jS)aZ 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)rrrrr –s zV1JobStatus.start_timecCs ||_dS)ac 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 N)r)rr rrrr ¡s cCs|jS)z¼ Gets the succeeded of this V1JobStatus. The number of pods which reached phase Succeeded. :return: The succeeded of this V1JobStatus. :rtype: int )r)rrrrr ­s zV1JobStatus.succeededcCs ||_dS)zÄ Sets the succeeded of this V1JobStatus. The number of pods which reached phase Succeeded. :param succeeded: The succeeded of this V1JobStatus. :type: int N)r)rr rrrr ¸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%V1JobStatus.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     zV1JobStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÞszV1JobStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r))rrrrÚ__repr__äszV1JobStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r rÚ__dict__)rÚotherrrrÚ__eq__ês zV1JobStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr,rrrÚ__ne__ószV1JobStatus.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r r r rr)r*r-r.rrrrrs& "        r)r2ÚpprintrÚsixrÚreÚobjectrrrrrÚ s