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 edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Zdd„Zdd„ZdS)ÚV1beta1RoleBindingzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_dddd d dœ|_||_||_||_||_||_d S) aH V1beta1RoleBinding - 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Ú V1ObjectMetaÚV1beta1RoleRefzlist[V1beta1Subject])Ú api_versionÚkindÚmetadataÚrole_refÚsubjectsÚ apiVersionr r ÚroleRefr N)Ú swagger_typesÚ attribute_mapÚ _api_versionÚ_kindÚ _metadataÚ _role_refÚ _subjects)Úselfrr r r r ©rú^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_role_binding.pyÚ__init__s   zV1beta1RoleBinding.__init__cCs|jS)a­ Gets the api_version of this V1beta1RoleBinding. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1beta1RoleBinding. :rtype: str )r)rrrrr7s zV1beta1RoleBinding.api_versioncCs ||_dS)a· Sets the api_version of this V1beta1RoleBinding. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1beta1RoleBinding. :type: str N)r)rrrrrrBs cCs|jS)a  Gets the kind of this V1beta1RoleBinding. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1beta1RoleBinding. :rtype: str )r)rrrrr Ns zV1beta1RoleBinding.kindcCs ||_dS)a£ Sets the kind of this V1beta1RoleBinding. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1beta1RoleBinding. :type: str N)r)rr rrrr Ys cCs|jS)z» Gets the metadata of this V1beta1RoleBinding. Standard object's metadata. :return: The metadata of this V1beta1RoleBinding. :rtype: V1ObjectMeta )r)rrrrr es zV1beta1RoleBinding.metadatacCs ||_dS)z Sets the metadata of this V1beta1RoleBinding. Standard object's metadata. :param metadata: The metadata of this V1beta1RoleBinding. :type: V1ObjectMeta N)r)rr rrrr ps cCs|jS)aI Gets the role_ref of this V1beta1RoleBinding. RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. :return: The role_ref of this V1beta1RoleBinding. :rtype: V1beta1RoleRef )r)rrrrr |s zV1beta1RoleBinding.role_refcCs|dkrtdƒ‚||_dS)aP Sets the role_ref of this V1beta1RoleBinding. RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. :param role_ref: The role_ref of this V1beta1RoleBinding. :type: V1beta1RoleRef Nz0Invalid value for `role_ref`, must not be `None`)Ú ValueErrorr)rr rrrr ‡s cCs|jS)zå Gets the subjects of this V1beta1RoleBinding. Subjects holds references to the objects the role applies to. :return: The subjects of this V1beta1RoleBinding. :rtype: list[V1beta1Subject] )r)rrrrr •s zV1beta1RoleBinding.subjectscCs|dkrtdƒ‚||_dS)zì Sets the subjects of this V1beta1RoleBinding. Subjects holds references to the objects the role applies to. :param subjects: The subjects of this V1beta1RoleBinding. :type: list[V1beta1Subject] Nz0Invalid value for `subjects`, must not be `None`)rr)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,V1beta1RoleBinding.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     zV1beta1RoleBinding.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÈszV1beta1RoleBinding.to_strcCs|jƒS)z* For `print` and `pprint` )r+)rrrrÚ__repr__ÎszV1beta1RoleBinding.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r"rÚ__dict__)rÚotherrrrÚ__eq__Ôs zV1beta1RoleBinding.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr.rrrÚ__ne__ÝszV1beta1RoleBinding.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r r r rr+r,r/r0rrrrrs"       r)r4ÚpprintrÚsixrÚreÚobjectrrrrrÚ s