3 f÷ÔY1ã@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@sveZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZd d „Z d d„Z dd„Z dd„Z dd„Z dS)ÚV1beta1SELinuxStrategyOptionszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aS V1beta1SELinuxStrategyOptions - 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ÚV1SELinuxOptions)ÚruleÚse_linux_optionsrÚseLinuxOptionsN)Ú swagger_typesÚ attribute_mapÚ_ruleÚ_se_linux_options)Úselfrr©rúk/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_se_linux_strategy_options.pyÚ__init__s   z&V1beta1SELinuxStrategyOptions.__init__cCs|jS)zñ Gets the rule of this V1beta1SELinuxStrategyOptions. type is the strategy that will dictate the allowable labels that may be set. :return: The rule of this V1beta1SELinuxStrategyOptions. :rtype: str )r )rrrrr.s z"V1beta1SELinuxStrategyOptions.rulecCs|dkrtdƒ‚||_dS)zô Sets the rule of this V1beta1SELinuxStrategyOptions. type is the strategy that will dictate the allowable labels that may be set. :param rule: The rule of this V1beta1SELinuxStrategyOptions. :type: str Nz,Invalid value for `rule`, must not be `None`)Ú ValueErrorr )rrrrrr9s cCs|jS)a] Gets the se_linux_options of this V1beta1SELinuxStrategyOptions. seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md :return: The se_linux_options of this V1beta1SELinuxStrategyOptions. :rtype: V1SELinuxOptions )r )rrrrrGs z.V1beta1SELinuxStrategyOptions.se_linux_optionscCs ||_dS)al Sets the se_linux_options of this V1beta1SELinuxStrategyOptions. seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md :param se_linux_options: The se_linux_options of this V1beta1SELinuxStrategyOptions. :type: V1SELinuxOptions N)r )rrrrrrRs 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Úhsz7V1beta1SELinuxStrategyOptions.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrros) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrr^s     z%V1beta1SELinuxStrategyOptions.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strxsz$V1beta1SELinuxStrategyOptions.to_strcCs|jƒS)z* For `print` and `pprint` )r#)rrrrÚ__repr__~sz&V1beta1SELinuxStrategyOptions.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__„s z$V1beta1SELinuxStrategyOptions.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr&rrrÚ__ne__sz$V1beta1SELinuxStrategyOptions.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr#r$r'r(rrrrrs     r)r,ÚpprintrÚsixrÚreÚobjectrrrrrÚ s