3 fY;@s8dZddlmZddlmZddlZGdddeZdS)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@seZdZdZdddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ ddZ ddZ ddZ ddZddZdS)*V1alpha1ExternalAdmissionHookConfigurationzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<ddddd|_ddddd|_||_||_||_||_d S) a` V1alpha1ExternalAdmissionHookConfiguration - 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. strz#list[V1alpha1ExternalAdmissionHook] V1ObjectMeta) api_versionexternal_admission_hookskindmetadata apiVersionZexternalAdmissionHooksr r N) swagger_types attribute_map _api_version_external_admission_hooks_kind _metadata)selfrrr r rx/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1alpha1_external_admission_hook_configuration.py__init__s   z3V1alpha1ExternalAdmissionHookConfiguration.__init__cCs|jS)a Gets the api_version of this V1alpha1ExternalAdmissionHookConfiguration. 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 V1alpha1ExternalAdmissionHookConfiguration. :rtype: str )r)rrrrr4s z6V1alpha1ExternalAdmissionHookConfiguration.api_versioncCs ||_dS)a Sets the api_version of this V1alpha1ExternalAdmissionHookConfiguration. 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 V1alpha1ExternalAdmissionHookConfiguration. :type: str N)r)rrrrrr?s cCs|jS)aq Gets the external_admission_hooks of this V1alpha1ExternalAdmissionHookConfiguration. ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations. :return: The external_admission_hooks of this V1alpha1ExternalAdmissionHookConfiguration. :rtype: list[V1alpha1ExternalAdmissionHook] )r)rrrrrKs zCV1alpha1ExternalAdmissionHookConfiguration.external_admission_hookscCs ||_dS)a Sets the external_admission_hooks of this V1alpha1ExternalAdmissionHookConfiguration. ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations. :param external_admission_hooks: The external_admission_hooks of this V1alpha1ExternalAdmissionHookConfiguration. :type: list[V1alpha1ExternalAdmissionHook] N)r)rrrrrrVs cCs|jS)a Gets the kind of this V1alpha1ExternalAdmissionHookConfiguration. 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 V1alpha1ExternalAdmissionHookConfiguration. :rtype: str )r)rrrrr bs z/V1alpha1ExternalAdmissionHookConfiguration.kindcCs ||_dS)a Sets the kind of this V1alpha1ExternalAdmissionHookConfiguration. 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 V1alpha1ExternalAdmissionHookConfiguration. :type: str N)r)rr rrrr ms cCs|jS)aA Gets the metadata of this V1alpha1ExternalAdmissionHookConfiguration. Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. :return: The metadata of this V1alpha1ExternalAdmissionHookConfiguration. :rtype: V1ObjectMeta )r)rrrrr ys z3V1alpha1ExternalAdmissionHookConfiguration.metadatacCs ||_dS)aH Sets the metadata of this V1alpha1ExternalAdmissionHookConfiguration. Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. :param metadata: The metadata of this V1alpha1ExternalAdmissionHookConfiguration. :type: V1ObjectMeta N)r)rr rrrr s cCsi}xt|jD]z\}}t||}t|trDttdd|||<qt|dr\|j||<qt|trttdd|j ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dr|jS|S)Nto_dict)hasattrr)xrrrszDV1alpha1ExternalAdmissionHookConfiguration.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     z2V1alpha1ExternalAdmissionHookConfiguration.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strsz1V1alpha1ExternalAdmissionHookConfiguration.to_strcCs|jS)z* For `print` and `pprint` )r&)rrrr__repr__sz3V1alpha1ExternalAdmissionHookConfiguration.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s z1V1alpha1ExternalAdmissionHookConfiguration.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr)rrr__ne__sz1V1alpha1ExternalAdmissionHookConfiguration.__ne__)NNNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr r rr&r'r*r+rrrrrs       r)r/pprintrsixrreobjectrrrrr s