3 f÷ÔYUã@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)ÚV1alpha1ClusterRoleBindingzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_dddd d dœ|_||_||_||_||_||_d S) aP V1alpha1ClusterRoleBinding - 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ÚV1alpha1RoleRefzlist[V1alpha1Subject])Ú api_versionÚkindÚmetadataÚrole_refÚsubjectsÚ apiVersionr r ZroleRefr N)Ú swagger_typesÚ attribute_mapÚ _api_versionÚ_kindÚ _metadataÚ _role_refÚ _subjects)Úselfrr r r r ©rúg/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1alpha1_cluster_role_binding.pyÚ__init__s   z#V1alpha1ClusterRoleBinding.__init__cCs|jS)a½ Gets the api_version of this V1alpha1ClusterRoleBinding. 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 V1alpha1ClusterRoleBinding. :rtype: str )r)rrrrr7s z&V1alpha1ClusterRoleBinding.api_versioncCs ||_dS)aÇ Sets the api_version of this V1alpha1ClusterRoleBinding. 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 V1alpha1ClusterRoleBinding. :type: str N)r)rrrrrrBs cCs|jS)a° Gets the kind of this V1alpha1ClusterRoleBinding. 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 V1alpha1ClusterRoleBinding. :rtype: str )r)rrrrr Ns zV1alpha1ClusterRoleBinding.kindcCs ||_dS)a³ Sets the kind of this V1alpha1ClusterRoleBinding. 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 V1alpha1ClusterRoleBinding. :type: str N)r)rr rrrr Ys cCs|jS)zË Gets the metadata of this V1alpha1ClusterRoleBinding. Standard object's metadata. :return: The metadata of this V1alpha1ClusterRoleBinding. :rtype: V1ObjectMeta )r)rrrrr es z#V1alpha1ClusterRoleBinding.metadatacCs ||_dS)zÒ Sets the metadata of this V1alpha1ClusterRoleBinding. Standard object's metadata. :param metadata: The metadata of this V1alpha1ClusterRoleBinding. :type: V1ObjectMeta N)r)rr rrrr ps cCs|jS)a< Gets the role_ref of this V1alpha1ClusterRoleBinding. RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. :return: The role_ref of this V1alpha1ClusterRoleBinding. :rtype: V1alpha1RoleRef )r)rrrrr |s z#V1alpha1ClusterRoleBinding.role_refcCs|dkrtdƒ‚||_dS)aC Sets the role_ref of this V1alpha1ClusterRoleBinding. RoleRef can only reference 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 V1alpha1ClusterRoleBinding. :type: V1alpha1RoleRef Nz0Invalid value for `role_ref`, must not be `None`)Ú ValueErrorr)rr rrrr ‡s cCs|jS)zö Gets the subjects of this V1alpha1ClusterRoleBinding. Subjects holds references to the objects the role applies to. :return: The subjects of this V1alpha1ClusterRoleBinding. :rtype: list[V1alpha1Subject] )r)rrrrr •s z#V1alpha1ClusterRoleBinding.subjectscCs|dkrtdƒ‚||_dS)zý Sets the subjects of this V1alpha1ClusterRoleBinding. Subjects holds references to the objects the role applies to. :param subjects: The subjects of this V1alpha1ClusterRoleBinding. :type: list[V1alpha1Subject] 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Ú¸sz4V1alpha1ClusterRoleBinding.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     z"V1alpha1ClusterRoleBinding.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÈsz!V1alpha1ClusterRoleBinding.to_strcCs|jƒS)z* For `print` and `pprint` )r*)rrrrÚ__repr__Îsz#V1alpha1ClusterRoleBinding.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r!rÚ__dict__)rÚotherrrrÚ__eq__Ôs z!V1alpha1ClusterRoleBinding.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr-rrrÚ__ne__Ýsz!V1alpha1ClusterRoleBinding.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r r r rr*r+r.r/rrrrrs"       r)r3ÚpprintrÚsixrÚreÚobjectrrrrrÚ s