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)"ÚV1PodConditionzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPdddddddœ|_dddddd dœ|_||_||_||_||_||_||_d S) aD V1PodCondition - 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ÚtypeÚ 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_pod_condition.pyÚ__init__s$   zV1PodCondition.__init__cCs|jS)zÄ Gets the last_probe_time of this V1PodCondition. Last time we probed the condition. :return: The last_probe_time of this V1PodCondition. :rtype: datetime )r)rrrrr:s zV1PodCondition.last_probe_timecCs ||_dS)zÒ Sets the last_probe_time of this V1PodCondition. Last time we probed the condition. :param last_probe_time: The last_probe_time of this V1PodCondition. :type: datetime N)r)rrrrrrEs cCs|jS)zì Gets the last_transition_time of this V1PodCondition. Last time the condition transitioned from one status to another. :return: The last_transition_time of this V1PodCondition. :rtype: datetime )r)rrrrrQs z#V1PodCondition.last_transition_timecCs ||_dS)zÿ Sets the last_transition_time of this V1PodCondition. Last time the condition transitioned from one status to another. :param last_transition_time: The last_transition_time of this V1PodCondition. :type: datetime N)r)rrrrrr\s cCs|jS)zÍ Gets the message of this V1PodCondition. Human-readable message indicating details about last transition. :return: The message of this V1PodCondition. :rtype: str )r)rrrrr hs zV1PodCondition.messagecCs ||_dS)zÓ Sets the message of this V1PodCondition. Human-readable message indicating details about last transition. :param message: The message of this V1PodCondition. :type: str N)r)rr rrrr ss cCs|jS)zÒ Gets the reason of this V1PodCondition. Unique, one-word, CamelCase reason for the condition's last transition. :return: The reason of this V1PodCondition. :rtype: str )r)rrrrr s zV1PodCondition.reasoncCs ||_dS)z× Sets the reason of this V1PodCondition. Unique, one-word, CamelCase reason for the condition's last transition. :param reason: The reason of this V1PodCondition. :type: str N)r)rr rrrr Šs cCs|jS)a) Gets the status of this V1PodCondition. Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions :return: The status of this V1PodCondition. :rtype: str )r)rrrrr –s zV1PodCondition.statuscCs|dkrtdƒ‚||_dS)a. Sets the status of this V1PodCondition. Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions :param status: The status of this V1PodCondition. :type: str Nz.Invalid value for `status`, must not be `None`)Ú ValueErrorr)rr rrrr ¡s cCs|jS)a Gets the type of this V1PodCondition. Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions :return: The type of this V1PodCondition. :rtype: str )r)rrrrr ¯s zV1PodCondition.typecCs|dkrtdƒ‚||_dS)a Sets the type of this V1PodCondition. Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions :param type: The type of this V1PodCondition. :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(V1PodCondition.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     zV1PodCondition.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strâszV1PodCondition.to_strcCs|jƒS)z* For `print` and `pprint` )r,)rrrrÚ__repr__èszV1PodCondition.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r#rÚ__dict__)rÚotherrrrÚ__eq__îs zV1PodCondition.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr/rrrÚ__ne__÷szV1PodCondition.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r r r rr,r-r0r1rrrrrs& "       r)r5ÚpprintrÚsixrÚreÚobjectrrrrrÚ s