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 edd„ƒZ e jdd„ƒZ dd„Zdd„Zdd„Zd d!„Zd"d#„ZdS)%Ú V1APIResourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsZddddddddœ|_ddddd d d dœ|_||_||_||_||_||_||_||_d S) aC V1APIResource - 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. z list[str]ÚstrÚbool)Ú categoriesÚkindÚnameÚ namespacedÚ short_namesÚ singular_nameÚverbsrrr r Z shortNamesZ singularNamer N) Ú swagger_typesÚ attribute_mapÚ _categoriesÚ_kindÚ_nameÚ _namespacedÚ _short_namesÚ_singular_nameÚ_verbs)Úselfrrr r r r r ©rúY/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_api_resource.pyÚ__init__s*   zV1APIResource.__init__cCs|jS)zê Gets the categories of this V1APIResource. categories is a list of the grouped resources this resource belongs to (e.g. 'all') :return: The categories of this V1APIResource. :rtype: list[str] )r)rrrrr=s zV1APIResource.categoriescCs ||_dS)zó Sets the categories of this V1APIResource. categories is a list of the grouped resources this resource belongs to (e.g. 'all') :param categories: The categories of this V1APIResource. :type: list[str] N)r)rrrrrrHs cCs|jS)zÔ Gets the kind of this V1APIResource. kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') :return: The kind of this V1APIResource. :rtype: str )r)rrrrrTs zV1APIResource.kindcCs|dkrtdƒ‚||_dS)z× Sets the kind of this V1APIResource. kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') :param kind: The kind of this V1APIResource. :type: str Nz,Invalid value for `kind`, must not be `None`)Ú ValueErrorr)rrrrrr_s cCs|jS)z­ Gets the name of this V1APIResource. name is the plural name of the resource. :return: The name of this V1APIResource. :rtype: str )r)rrrrr ms zV1APIResource.namecCs|dkrtdƒ‚||_dS)z° Sets the name of this V1APIResource. name is the plural name of the resource. :param name: The name of this V1APIResource. :type: str Nz,Invalid value for `name`, must not be `None`)rr)rr rrrr xs cCs|jS)zÊ Gets the namespaced of this V1APIResource. namespaced indicates if a resource is namespaced or not. :return: The namespaced of this V1APIResource. :rtype: bool )r)rrrrr †s zV1APIResource.namespacedcCs|dkrtdƒ‚||_dS)zÓ Sets the namespaced of this V1APIResource. namespaced indicates if a resource is namespaced or not. :param namespaced: The namespaced of this V1APIResource. :type: bool Nz2Invalid value for `namespaced`, must not be `None`)rr)rr rrrr ‘s cCs|jS)z× Gets the short_names of this V1APIResource. shortNames is a list of suggested short names of the resource. :return: The short_names of this V1APIResource. :rtype: list[str] )r)rrrrr Ÿs zV1APIResource.short_namescCs ||_dS)zá Sets the short_names of this V1APIResource. shortNames is a list of suggested short names of the resource. :param short_names: The short_names of this V1APIResource. :type: list[str] N)r)rr rrrr ªs cCs|jS)a– Gets the singular_name of this V1APIResource. singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. :return: The singular_name of this V1APIResource. :rtype: str )r)rrrrr ¶s zV1APIResource.singular_namecCs|dkrtdƒ‚||_dS)a¢ Sets the singular_name of this V1APIResource. singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. :param singular_name: The singular_name of this V1APIResource. :type: str Nz5Invalid value for `singular_name`, must not be `None`)rr)rr rrrr Ás cCs|jS)a Gets the verbs of this V1APIResource. verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) :return: The verbs of this V1APIResource. :rtype: list[str] )r)rrrrr Ïs zV1APIResource.verbscCs|dkrtdƒ‚||_dS)a Sets the verbs of this V1APIResource. verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) :param verbs: The verbs of this V1APIResource. :type: list[str] Nz-Invalid value for `verbs`, 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'V1APIResource.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     zV1APIResource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strszV1APIResource.to_strcCs|jƒS)z* For `print` and `pprint` )r,)rrrrÚ__repr__szV1APIResource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r#rÚ__dict__)rÚotherrrrÚ__eq__s zV1APIResource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr/rrrÚ__ne__szV1APIResource.__ne__)NNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r r r r rr,r-r0r1rrrrrs* %        r)r5ÚpprintrÚsixrÚreÚobjectrrrrrÚ s