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@sveZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZd d „Z d d„Z dd„Z dd„Z dd„Z dS)Ú(V1beta1SupplementalGroupsStrategyOptionszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)a^ V1beta1SupplementalGroupsStrategyOptions - 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. zlist[V1beta1IDRange]Ústr)ÚrangesÚrulerrN)Ú swagger_typesÚ attribute_mapÚ_rangesÚ_rule)Úselfrr©r úv/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_supplemental_groups_strategy_options.pyÚ__init__s   z1V1beta1SupplementalGroupsStrategyOptions.__init__cCs|jS)au Gets the ranges of this V1beta1SupplementalGroupsStrategyOptions. Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. :return: The ranges of this V1beta1SupplementalGroupsStrategyOptions. :rtype: list[V1beta1IDRange] )r )r r r rr.s z/V1beta1SupplementalGroupsStrategyOptions.rangescCs ||_dS)az Sets the ranges of this V1beta1SupplementalGroupsStrategyOptions. Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. :param ranges: The ranges of this V1beta1SupplementalGroupsStrategyOptions. :type: list[V1beta1IDRange] N)r )r rr r rr9s cCs|jS)a Gets the rule of this V1beta1SupplementalGroupsStrategyOptions. Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. :return: The rule of this V1beta1SupplementalGroupsStrategyOptions. :rtype: str )r )r r r rrEs z-V1beta1SupplementalGroupsStrategyOptions.rulecCs ||_dS)a Sets the rule of this V1beta1SupplementalGroupsStrategyOptions. Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. :param rule: The rule of this V1beta1SupplementalGroupsStrategyOptions. :type: str N)r )r rr r rrPs 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)Úxr r rÚfszBV1beta1SupplementalGroupsStrategyOptions.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemr r rrms) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluer r rr\s     z0V1beta1SupplementalGroupsStrategyOptions.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r r r rÚto_strvsz/V1beta1SupplementalGroupsStrategyOptions.to_strcCs|jƒS)z* For `print` and `pprint` )r )r r r rÚ__repr__|sz1V1beta1SupplementalGroupsStrategyOptions.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r rÚ__eq__‚s z/V1beta1SupplementalGroupsStrategyOptions.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r#r r rÚ__ne__‹sz/V1beta1SupplementalGroupsStrategyOptions.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr r!r$r%r r r rrs     r)r)ÚpprintrÚsixrÚreÚobjectrr r r rÚ s