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ÄeZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Zdd„Zdd„ZdS)Ú V1NodeSpeczw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_ddddd dœ|_||_||_||_||_||_d S) a@ V1NodeSpec - 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. Ústrz list[V1Taint]Úbool)Ú external_idÚpod_cidrÚ provider_idÚtaintsÚ unschedulableZ externalIDZpodCIDRZ providerIDr r N)Ú swagger_typesÚ attribute_mapÚ _external_idÚ _pod_cidrÚ _provider_idÚ_taintsÚ_unschedulable)Úselfrrr r r ©rúV/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_node_spec.pyÚ__init__s   zV1NodeSpec.__init__cCs|jS)zë Gets the external_id of this V1NodeSpec. External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. :return: The external_id of this V1NodeSpec. :rtype: str )r)rrrrr7s zV1NodeSpec.external_idcCs ||_dS)zõ Sets the external_id of this V1NodeSpec. External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. :param external_id: The external_id of this V1NodeSpec. :type: str N)r)rrrrrrBs cCs|jS)zÀ Gets the pod_cidr of this V1NodeSpec. PodCIDR represents the pod IP range assigned to the node. :return: The pod_cidr of this V1NodeSpec. :rtype: str )r)rrrrrNs zV1NodeSpec.pod_cidrcCs ||_dS)zÇ Sets the pod_cidr of this V1NodeSpec. PodCIDR represents the pod IP range assigned to the node. :param pod_cidr: The pod_cidr of this V1NodeSpec. :type: str N)r)rrrrrrYs cCs|jS)zó Gets the provider_id of this V1NodeSpec. ID of the node assigned by the cloud provider in the format: :// :return: The provider_id of this V1NodeSpec. :rtype: str )r)rrrrr es zV1NodeSpec.provider_idcCs ||_dS)zý Sets the provider_id of this V1NodeSpec. ID of the node assigned by the cloud provider in the format: :// :param provider_id: The provider_id of this V1NodeSpec. :type: str N)r)rr rrrr ps cCs|jS)z­ Gets the taints of this V1NodeSpec. If specified, the node's taints. :return: The taints of this V1NodeSpec. :rtype: list[V1Taint] )r)rrrrr |s zV1NodeSpec.taintscCs ||_dS)z² Sets the taints of this V1NodeSpec. If specified, the node's taints. :param taints: The taints of this V1NodeSpec. :type: list[V1Taint] N)r)rr rrrr ‡s cCs|jS)a@ Gets the unschedulable of this V1NodeSpec. Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration :return: The unschedulable of this V1NodeSpec. :rtype: bool )r)rrrrr “s zV1NodeSpec.unschedulablecCs ||_dS)aL Sets the unschedulable of this V1NodeSpec. Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration :param unschedulable: The unschedulable of this V1NodeSpec. :type: bool 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$V1NodeSpec.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     zV1NodeSpec.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÄszV1NodeSpec.to_strcCs|jƒS)z* For `print` and `pprint` )r')rrrrÚ__repr__ÊszV1NodeSpec.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__Ðs zV1NodeSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr*rrrÚ__ne__ÙszV1NodeSpec.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r r rr'r(r+r,rrrrrs"        r)r0ÚpprintrÚsixrÚreÚobjectrrrrrÚ s