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ªeZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Z dd„Zdd„ZdS)ÚV1beta1Subjectzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<dddddœ|_dddddœ|_||_||_||_||_dS)aD V1beta1Subject - 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)Ú api_groupÚkindÚnameÚ namespaceÚapiGrouprrr N)Ú swagger_typesÚ attribute_mapÚ _api_groupÚ_kindÚ_nameÚ _namespace)Úselfrrrr ©rúY/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_subject.pyÚ__init__s   zV1beta1Subject.__init__cCs|jS)a9 Gets the api_group of this V1beta1Subject. APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects. :return: The api_group of this V1beta1Subject. :rtype: str )r )rrrrr4s zV1beta1Subject.api_groupcCs ||_dS)aA Sets the api_group of this V1beta1Subject. APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects. :param api_group: The api_group of this V1beta1Subject. :type: str N)r )rrrrrr?s cCs|jS)aP Gets the kind of this V1beta1Subject. Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error. :return: The kind of this V1beta1Subject. :rtype: str )r)rrrrrKs zV1beta1Subject.kindcCs|dkrtdƒ‚||_dS)aS Sets the kind of this V1beta1Subject. Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error. :param kind: The kind of this V1beta1Subject. :type: str Nz,Invalid value for `kind`, must not be `None`)Ú ValueErrorr)rrrrrrVs cCs|jS)z« Gets the name of this V1beta1Subject. Name of the object being referenced. :return: The name of this V1beta1Subject. :rtype: str )r)rrrrrds zV1beta1Subject.namecCs|dkrtdƒ‚||_dS)z® Sets the name of this V1beta1Subject. Name of the object being referenced. :param name: The name of this V1beta1Subject. :type: str Nz,Invalid value for `name`, must not be `None`)rr)rrrrrros cCs|jS)a8 Gets the namespace of this V1beta1Subject. Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error. :return: The namespace of this V1beta1Subject. :rtype: str )r)rrrrr }s zV1beta1Subject.namespacecCs ||_dS)a@ Sets the namespace of this V1beta1Subject. Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error. :param namespace: The namespace of this V1beta1Subject. :type: str N)r)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(V1beta1Subject.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     zV1beta1Subject.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str®szV1beta1Subject.to_strcCs|jƒS)z* For `print` and `pprint` )r&)rrrrÚ__repr__´szV1beta1Subject.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__ºs zV1beta1Subject.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr)rrrÚ__ne__ÃszV1beta1Subject.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr rr&r'r*r+rrrrrs       r)r/ÚpprintrÚsixrÚreÚobjectrrrrrÚ s