3 fY @s8dZddlmZddlmZddlZGdddeZdS)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@sveZdZdZdddZeddZejddZedd Zejd d Zd d Z d dZ ddZ ddZ ddZ dS)V1Capabilitieszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(ddd|_ddd|_||_||_dS)aD V1Capabilities - 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])adddroprrN) swagger_types attribute_map_add_drop)selfrrr Y/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_capabilities.py__init__s   zV1Capabilities.__init__cCs|jS)z Gets the add of this V1Capabilities. Added capabilities :return: The add of this V1Capabilities. :rtype: list[str] )r )r r r r r.s zV1Capabilities.addcCs ||_dS)z Sets the add of this V1Capabilities. Added capabilities :param add: The add of this V1Capabilities. :type: list[str] N)r )r rr r r r9s cCs|jS)z Gets the drop of this V1Capabilities. Removed capabilities :return: The drop of this V1Capabilities. :rtype: list[str] )r )r r r r rEs zV1Capabilities.dropcCs ||_dS)z Sets the drop of this V1Capabilities. Removed capabilities :param drop: The drop of this V1Capabilities. :type: list[str] N)r )r rr r r rPs cCsi}xt|jD]z\}}t||}t|trDttdd|||<qt|dr\|j||<qt|trttdd|j ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dr|jS|S)Nto_dict)hasattrr)xr r r fsz(V1Capabilities.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemr r r rms) rrgetattr isinstancelistmaprrdictitems)r resultattr_valuer r r r\s     zV1Capabilities.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)r r r r to_strvszV1Capabilities.to_strcCs|jS)z* For `print` and `pprint` )r)r r r r __repr__|szV1Capabilities.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)r otherr r r __eq__s zV1Capabilities.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r"r r r __ne__szV1Capabilities.__ne__)NN)__name__ __module__ __qualname____doc__rpropertyrsetterrrrr r#r$r r r r rs     r)r(pprintrsixrreobjectrr r r r  s