3 f÷ÔYWã@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)"ÚV1JobConditionzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPdddddddœ|_dddddd dœ|_||_||_||_||_||_||_d S) aD V1JobCondition - 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. ÚdatetimeÚstr)Úlast_probe_timeÚlast_transition_timeÚmessageÚreasonÚstatusÚtypeZ lastProbeTimeÚlastTransitionTimer r r r N)Ú swagger_typesÚ attribute_mapÚ_last_probe_timeÚ_last_transition_timeÚ_messageÚ_reasonÚ_statusÚ_type)Úselfrrr r r r ©rúZ/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_job_condition.pyÚ__init__s$   zV1JobCondition.__init__cCs|jS)zÆ Gets the last_probe_time of this V1JobCondition. Last time the condition was checked. :return: The last_probe_time of this V1JobCondition. :rtype: datetime )r)rrrrr:s zV1JobCondition.last_probe_timecCs ||_dS)zÔ Sets the last_probe_time of this V1JobCondition. Last time the condition was checked. :param last_probe_time: The last_probe_time of this V1JobCondition. :type: datetime N)r)rrrrrrEs cCs|jS)zç Gets the last_transition_time of this V1JobCondition. Last time the condition transit from one status to another. :return: The last_transition_time of this V1JobCondition. :rtype: datetime )r)rrrrrQs z#V1JobCondition.last_transition_timecCs ||_dS)zú Sets the last_transition_time of this V1JobCondition. Last time the condition transit from one status to another. :param last_transition_time: The last_transition_time of this V1JobCondition. :type: datetime N)r)rrrrrr\s cCs|jS)zÍ Gets the message of this V1JobCondition. Human readable message indicating details about last transition. :return: The message of this V1JobCondition. :rtype: str )r)rrrrr hs zV1JobCondition.messagecCs ||_dS)zÓ Sets the message of this V1JobCondition. Human readable message indicating details about last transition. :param message: The message of this V1JobCondition. :type: str N)r)rr rrrr ss cCs|jS)z¾ Gets the reason of this V1JobCondition. (brief) reason for the condition's last transition. :return: The reason of this V1JobCondition. :rtype: str )r)rrrrr s zV1JobCondition.reasoncCs ||_dS)zà Sets the reason of this V1JobCondition. (brief) reason for the condition's last transition. :param reason: The reason of this V1JobCondition. :type: str N)r)rr rrrr Šs cCs|jS)zÀ Gets the status of this V1JobCondition. Status of the condition, one of True, False, Unknown. :return: The status of this V1JobCondition. :rtype: str )r)rrrrr –s zV1JobCondition.statuscCs|dkrtdƒ‚||_dS)zÅ Sets the status of this V1JobCondition. Status of the condition, one of True, False, Unknown. :param status: The status of this V1JobCondition. :type: str Nz.Invalid value for `status`, must not be `None`)Ú ValueErrorr)rr rrrr ¡s cCs|jS)z± Gets the type of this V1JobCondition. Type of job condition, Complete or Failed. :return: The type of this V1JobCondition. :rtype: str )r)rrrrr ¯s zV1JobCondition.typecCs|dkrtdƒ‚||_dS)z´ Sets the type of this V1JobCondition. Type of job condition, Complete or Failed. :param type: The type of this V1JobCondition. :type: str Nz,Invalid value for `type`, must not be `None`)rr)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(V1JobCondition.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     zV1JobCondition.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strâszV1JobCondition.to_strcCs|jƒS)z* For `print` and `pprint` )r+)rrrrÚ__repr__èszV1JobCondition.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r"rÚ__dict__)rÚotherrrrÚ__eq__îs zV1JobCondition.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr.rrrÚ__ne__÷szV1JobCondition.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r r r rr+r,r/r0rrrrrs& "       r)r4ÚpprintrÚsixrÚreÚobjectrrrrrÚ s