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@seZdZdZdddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ ddZ ddZ ddZ ddZddZdS)V1SELinuxOptionszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<ddddd|_ddddd|_||_||_||_||_dS)aF V1SELinuxOptions - 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)levelroletypeuserrrrr N) swagger_types attribute_map_level_role_type_user)selfrrrr r]/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_se_linux_options.py__init__s   zV1SELinuxOptions.__init__cCs|jS)z Gets the level of this V1SELinuxOptions. Level is SELinux level label that applies to the container. :return: The level of this V1SELinuxOptions. :rtype: str )r )rrrrr4s zV1SELinuxOptions.levelcCs ||_dS)z Sets the level of this V1SELinuxOptions. Level is SELinux level label that applies to the container. :param level: The level of this V1SELinuxOptions. :type: str N)r )rrrrrr?s cCs|jS)z Gets the role of this V1SELinuxOptions. Role is a SELinux role label that applies to the container. :return: The role of this V1SELinuxOptions. :rtype: str )r )rrrrrKs zV1SELinuxOptions.rolecCs ||_dS)z Sets the role of this V1SELinuxOptions. Role is a SELinux role label that applies to the container. :param role: The role of this V1SELinuxOptions. :type: str N)r )rrrrrrVs cCs|jS)z Gets the type of this V1SELinuxOptions. Type is a SELinux type label that applies to the container. :return: The type of this V1SELinuxOptions. :rtype: str )r)rrrrrbs zV1SELinuxOptions.typecCs ||_dS)z Sets the type of this V1SELinuxOptions. Type is a SELinux type label that applies to the container. :param type: The type of this V1SELinuxOptions. :type: str N)r)rrrrrrms cCs|jS)z Gets the user of this V1SELinuxOptions. User is a SELinux user label that applies to the container. :return: The user of this V1SELinuxOptions. :rtype: str )r)rrrrr ys zV1SELinuxOptions.usercCs ||_dS)z Sets the user of this V1SELinuxOptions. User is a SELinux user label that applies to the container. :param user: The user of this V1SELinuxOptions. :type: str N)r)rr rrrr s 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)xrrrsz*V1SELinuxOptions.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1SELinuxOptions.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1SELinuxOptions.to_strcCs|jS)z* For `print` and `pprint` )r$)rrrr__repr__szV1SELinuxOptions.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1SELinuxOptions.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr'rrr__ne__szV1SELinuxOptions.__ne__)NNNN)__name__ __module__ __qualname____doc__rpropertyrsetterrrr rr$r%r(r)rrrrrs       r)r-pprintrsixrreobjectrrrrr s