3 fY5@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)V1beta1Evictionzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<ddddd|_ddddd|_||_||_||_||_d S) aE V1beta1Eviction - 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. strV1DeleteOptions V1ObjectMeta) api_versiondelete_optionskindmetadata apiVersionZ deleteOptionsr r N) swagger_types attribute_map _api_version_delete_options_kind _metadata)selfrr r r rZ/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_eviction.py__init__s   zV1beta1Eviction.__init__cCs|jS)a Gets the api_version of this V1beta1Eviction. 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 V1beta1Eviction. :rtype: str )r)rrrrr4s zV1beta1Eviction.api_versioncCs ||_dS)a Sets the api_version of this V1beta1Eviction. 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 V1beta1Eviction. :type: str N)r)rrrrrr?s cCs|jS)z Gets the delete_options of this V1beta1Eviction. DeleteOptions may be provided :return: The delete_options of this V1beta1Eviction. :rtype: V1DeleteOptions )r)rrrrr Ks zV1beta1Eviction.delete_optionscCs ||_dS)z Sets the delete_options of this V1beta1Eviction. DeleteOptions may be provided :param delete_options: The delete_options of this V1beta1Eviction. :type: V1DeleteOptions N)r)rr rrrr Vs cCs|jS)a Gets the kind of this V1beta1Eviction. 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 V1beta1Eviction. :rtype: str )r)rrrrr bs zV1beta1Eviction.kindcCs ||_dS)a Sets the kind of this V1beta1Eviction. 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 V1beta1Eviction. :type: str N)r)rr rrrr ms cCs|jS)z Gets the metadata of this V1beta1Eviction. ObjectMeta describes the pod that is being evicted. :return: The metadata of this V1beta1Eviction. :rtype: V1ObjectMeta )r)rrrrr ys zV1beta1Eviction.metadatacCs ||_dS)z Sets the metadata of this V1beta1Eviction. ObjectMeta describes the pod that is being evicted. :param metadata: The metadata of this V1beta1Eviction. :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)xrrrsz)V1beta1Eviction.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1beta1Eviction.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1beta1Eviction.to_strcCs|jS)z* For `print` and `pprint` )r')rrrr__repr__szV1beta1Eviction.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1beta1Eviction.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr*rrr__ne__szV1beta1Eviction.__ne__)NNNN)__name__ __module__ __qualname____doc__rpropertyrsetterr r r rr'r(r+r,rrrrrs       r)r0pprintrsixrreobjectrrrrr s