3 f÷ÔYI+ã@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 @sFeZdZdZd-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„ƒZedd„ƒZejdd„ƒZed d!„ƒZejd"d!„ƒZd#d$„Zd%d&„Zd'd(„Zd)d*„Zd+d,„ZdS).Ú V1NodeStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csxdddddddddd d œ |_d d d dddddddd œ |_||_||_||_||_||_||_||_||_ | |_ | |_ dS)aB V1NodeStatus - 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. zlist[V1NodeAddress]zdict(str, str)zlist[V1NodeCondition]ÚV1NodeDaemonEndpointszlist[V1ContainerImage]ÚV1NodeSystemInfoÚstrzlist[V1AttachedVolume]z list[str]) Ú addressesÚ allocatableÚcapacityÚ conditionsÚdaemon_endpointsÚimagesÚ node_infoÚphaseÚvolumes_attachedÚvolumes_in_userr r r ZdaemonEndpointsr ZnodeInforZvolumesAttachedZ volumesInUseN) Ú swagger_typesÚ attribute_mapÚ _addressesÚ _allocatableÚ _capacityÚ _conditionsÚ_daemon_endpointsÚ_imagesÚ _node_infoÚ_phaseÚ_volumes_attachedÚ_volumes_in_use) Úselfrr r r r r rrrr©rúX/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_node_status.pyÚ__init__s<   zV1NodeStatus.__init__cCs|jS)a5 Gets the addresses of this V1NodeStatus. List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses :return: The addresses of this V1NodeStatus. :rtype: list[V1NodeAddress] )r)rrrr rFs zV1NodeStatus.addressescCs ||_dS)a= Sets the addresses of this V1NodeStatus. List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses :param addresses: The addresses of this V1NodeStatus. :type: list[V1NodeAddress] N)r)rrrrr rQs cCs|jS)a Gets the allocatable of this V1NodeStatus. Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. :return: The allocatable of this V1NodeStatus. :rtype: dict(str, str) )r)rrrr r ]s zV1NodeStatus.allocatablecCs ||_dS)a  Sets the allocatable of this V1NodeStatus. Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. :param allocatable: The allocatable of this V1NodeStatus. :type: dict(str, str) N)r)rr rrr r hs cCs|jS)a Gets the capacity of this V1NodeStatus. Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity :return: The capacity of this V1NodeStatus. :rtype: dict(str, str) )r)rrrr r ts zV1NodeStatus.capacitycCs ||_dS)a" Sets the capacity of this V1NodeStatus. Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity :param capacity: The capacity of this V1NodeStatus. :type: dict(str, str) N)r)rr rrr r s cCs|jS)a! Gets the conditions of this V1NodeStatus. Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition :return: The conditions of this V1NodeStatus. :rtype: list[V1NodeCondition] )r)rrrr r ‹s zV1NodeStatus.conditionscCs ||_dS)a* Sets the conditions of this V1NodeStatus. Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition :param conditions: The conditions of this V1NodeStatus. :type: list[V1NodeCondition] N)r)rr rrr r –s cCs|jS)zÖ Gets the daemon_endpoints of this V1NodeStatus. Endpoints of daemons running on the Node. :return: The daemon_endpoints of this V1NodeStatus. :rtype: V1NodeDaemonEndpoints )r)rrrr r ¢s zV1NodeStatus.daemon_endpointscCs ||_dS)zå Sets the daemon_endpoints of this V1NodeStatus. Endpoints of daemons running on the Node. :param daemon_endpoints: The daemon_endpoints of this V1NodeStatus. :type: V1NodeDaemonEndpoints N)r)rr rrr r ­s cCs|jS)z¿ Gets the images of this V1NodeStatus. List of container images on this node :return: The images of this V1NodeStatus. :rtype: list[V1ContainerImage] )r)rrrr r ¹s zV1NodeStatus.imagescCs ||_dS)zÄ Sets the images of this V1NodeStatus. List of container images on this node :param images: The images of this V1NodeStatus. :type: list[V1ContainerImage] N)r)rr rrr r Äs cCs|jS)a  Gets the node_info of this V1NodeStatus. Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info :return: The node_info of this V1NodeStatus. :rtype: V1NodeSystemInfo )r)rrrr rÐs zV1NodeStatus.node_infocCs ||_dS)a Sets the node_info of this V1NodeStatus. Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info :param node_info: The node_info of this V1NodeStatus. :type: V1NodeSystemInfo N)r)rrrrr rÛs cCs|jS)a: Gets the phase of this V1NodeStatus. NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. :return: The phase of this V1NodeStatus. :rtype: str )r)rrrr rçs zV1NodeStatus.phasecCs ||_dS)a> Sets the phase of this V1NodeStatus. NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. :param phase: The phase of this V1NodeStatus. :type: str N)r)rrrrr ròs cCs|jS)zÜ Gets the volumes_attached of this V1NodeStatus. List of volumes that are attached to the node. :return: The volumes_attached of this V1NodeStatus. :rtype: list[V1AttachedVolume] )r)rrrr rþs zV1NodeStatus.volumes_attachedcCs ||_dS)zë Sets the volumes_attached of this V1NodeStatus. List of volumes that are attached to the node. :param volumes_attached: The volumes_attached of this V1NodeStatus. :type: list[V1AttachedVolume] N)r)rrrrr r s cCs|jS)zÕ Gets the volumes_in_use of this V1NodeStatus. List of attachable volumes in use (mounted) by the node. :return: The volumes_in_use of this V1NodeStatus. :rtype: list[str] )r)rrrr rs zV1NodeStatus.volumes_in_usecCs ||_dS)zâ Sets the volumes_in_use of this V1NodeStatus. List of attachable volumes in use (mounted) by the node. :param volumes_in_use: The volumes_in_use of this V1NodeStatus. :type: list[str] N)r)rrrrr r 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 Ú6sz&V1NodeStatus.to_dict..r"cSs&t|ddƒr"|d|djƒfS|S)Nér"r)r#r")Úitemrrr r%=s) rrÚgetattrÚ isinstanceÚlistÚmapr#r"ÚdictÚitems)rÚresultÚattrÚ_Úvaluerrr r",s     zV1NodeStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr")rrrr Úto_strFszV1NodeStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r2)rrrr Ú__repr__LszV1NodeStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r)rÚ__dict__)rÚotherrrr Ú__eq__Rs zV1NodeStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr5rrr Ú__ne__[szV1NodeStatus.__ne__) NNNNNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r!ÚpropertyrÚsetterr r r r r rrrrr"r2r3r6r7rrrr rs6 .            r)r;ÚpprintrÚsixrÚreÚobjectrrrrr Ú s