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)Ú!V1alpha1AdmissionHookClientConfigzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aW V1alpha1AdmissionHookClientConfig - 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ÚV1alpha1ServiceReference)Ú ca_bundleÚserviceZcaBundlerN)Ú swagger_typesÚ attribute_mapÚ _ca_bundleÚ_service)Úselfrr©rúo/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1alpha1_admission_hook_client_config.pyÚ__init__s   z*V1alpha1AdmissionHookClientConfig.__init__cCs|jS)a  Gets the ca_bundle of this V1alpha1AdmissionHookClientConfig. CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required :return: The ca_bundle of this V1alpha1AdmissionHookClientConfig. :rtype: str )r )r rrrr.s z+V1alpha1AdmissionHookClientConfig.ca_bundlecCs|dkrtdƒ‚||_dS)a( Sets the ca_bundle of this V1alpha1AdmissionHookClientConfig. CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required :param ca_bundle: The ca_bundle of this V1alpha1AdmissionHookClientConfig. :type: str Nz1Invalid value for `ca_bundle`, must not be `None`)Ú ValueErrorr )r rrrrr9s cCs|jS)a± Gets the service of this V1alpha1AdmissionHookClientConfig. Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required :return: The service of this V1alpha1AdmissionHookClientConfig. :rtype: V1alpha1ServiceReference )r )r rrrrGs z)V1alpha1AdmissionHookClientConfig.servicecCs|dkrtdƒ‚||_dS)a· Sets the service of this V1alpha1AdmissionHookClientConfig. Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required :param service: The service of this V1alpha1AdmissionHookClientConfig. :type: V1alpha1ServiceReference Nz/Invalid value for `service`, must not be `None`)rr )r rrrrrRs 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Újsz;V1alpha1AdmissionHookClientConfig.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrrqs) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluerrrr`s     z)V1alpha1AdmissionHookClientConfig.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strzsz(V1alpha1AdmissionHookClientConfig.to_strcCs|jƒS)z* For `print` and `pprint` )r")r rrrÚ__repr__€sz*V1alpha1AdmissionHookClientConfig.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__†s z(V1alpha1AdmissionHookClientConfig.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r%rrrÚ__ne__sz(V1alpha1AdmissionHookClientConfig.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs    r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s