3 f÷ÔYe$ã@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@seZdZdZd'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 edd„ƒZejdd„ƒZdd„Zdd „Zd!d"„Zd#d$„Zd%d&„ZdS)(ÚV1ContainerStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csddddddddddœ|_dddd d d d d dœ|_||_||_||_||_||_||_||_||_ dS)aG V1ContainerStatus - 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ÚV1ContainerStateÚboolÚint)Ú container_idÚimageÚimage_idÚ last_stateÚnameÚreadyÚ restart_countÚstateÚ containerIDr ZimageIDZ lastStater rZ restartCountrN) Ú swagger_typesÚ attribute_mapÚ _container_idÚ_imageÚ _image_idÚ _last_stateÚ_nameÚ_readyÚ_restart_countÚ_state) Úselfr r r r r rrr©rú]/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_container_status.pyÚ__init__s0   zV1ContainerStatus.__init__cCs|jS)zÔ Gets the container_id of this V1ContainerStatus. Container's ID in the format 'docker://'. :return: The container_id of this V1ContainerStatus. :rtype: str )r)rrrrr @s zV1ContainerStatus.container_idcCs ||_dS)zß Sets the container_id of this V1ContainerStatus. Container's ID in the format 'docker://'. :param container_id: The container_id of this V1ContainerStatus. :type: str N)r)rr rrrr Ks cCs|jS)zó Gets the image of this V1ContainerStatus. The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images :return: The image of this V1ContainerStatus. :rtype: str )r)rrrrr Ws zV1ContainerStatus.imagecCs|dkrtdƒ‚||_dS)z÷ Sets the image of this V1ContainerStatus. The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images :param image: The image of this V1ContainerStatus. :type: str Nz-Invalid value for `image`, must not be `None`)Ú ValueErrorr)rr rrrr bs cCs|jS)z¶ Gets the image_id of this V1ContainerStatus. ImageID of the container's image. :return: The image_id of this V1ContainerStatus. :rtype: str )r)rrrrr ps zV1ContainerStatus.image_idcCs|dkrtdƒ‚||_dS)z½ Sets the image_id of this V1ContainerStatus. ImageID of the container's image. :param image_id: The image_id of this V1ContainerStatus. :type: str Nz0Invalid value for `image_id`, must not be `None`)r r)rr rrrr {s cCs|jS)zß Gets the last_state of this V1ContainerStatus. Details about the container's last termination condition. :return: The last_state of this V1ContainerStatus. :rtype: V1ContainerState )r)rrrrr ‰s zV1ContainerStatus.last_statecCs ||_dS)zè Sets the last_state of this V1ContainerStatus. Details about the container's last termination condition. :param last_state: The last_state of this V1ContainerStatus. :type: V1ContainerState N)r)rr rrrr ”s cCs|jS)zê Gets the name of this V1ContainerStatus. This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated. :return: The name of this V1ContainerStatus. :rtype: str )r)rrrrr  s zV1ContainerStatus.namecCs|dkrtdƒ‚||_dS)zí Sets the name of this V1ContainerStatus. This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated. :param name: The name of this V1ContainerStatus. :type: str Nz,Invalid value for `name`, must not be `None`)r r)rr rrrr «s cCs|jS)zÏ Gets the ready of this V1ContainerStatus. Specifies whether the container has passed its readiness probe. :return: The ready of this V1ContainerStatus. :rtype: bool )r)rrrrr¹s zV1ContainerStatus.readycCs|dkrtdƒ‚||_dS)zÓ Sets the ready of this V1ContainerStatus. Specifies whether the container has passed its readiness probe. :param ready: The ready of this V1ContainerStatus. :type: bool Nz-Invalid value for `ready`, must not be `None`)r r)rrrrrrÄs cCs|jS)a· Gets the restart_count of this V1ContainerStatus. The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC. :return: The restart_count of this V1ContainerStatus. :rtype: int )r)rrrrrÒs zV1ContainerStatus.restart_countcCs|dkrtdƒ‚||_dS)aà Sets the restart_count of this V1ContainerStatus. The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC. :param restart_count: The restart_count of this V1ContainerStatus. :type: int Nz5Invalid value for `restart_count`, must not be `None`)r r)rrrrrrÝs cCs|jS)zÌ Gets the state of this V1ContainerStatus. Details about the container's current condition. :return: The state of this V1ContainerStatus. :rtype: V1ContainerState )r)rrrrrës zV1ContainerStatus.statecCs ||_dS)zÐ Sets the state of this V1ContainerStatus. Details about the container's current condition. :param state: The state of this V1ContainerStatus. :type: V1ContainerState 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+V1ContainerStatus.to_dict..r!cSs&t|ddƒr"|d|djƒfS|S)Nér!r)r"r!)Úitemrrrr$s) rrÚgetattrÚ isinstanceÚlistÚmapr"r!ÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrr!s     zV1ContainerStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr!)rrrrÚto_strszV1ContainerStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r1)rrrrÚ__repr__"szV1ContainerStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r(rÚ__dict__)rÚotherrrrÚ__eq__(s zV1ContainerStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr4rrrÚ__ne__1szV1ContainerStatus.__ne__)NNNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr r r r rrrr!r1r2r5r6rrrrrs. (          r)r:ÚpprintrÚsixrÚreÚobjectrrrrrÚ s