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 ddZ ddZ ddZ ddZ ddZdS)V1ResourceFieldSelectorzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS)aM V1ResourceFieldSelector - 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)container_namedivisorresourceZ containerNamerrN) swagger_types attribute_map_container_name_divisor _resource)selfrrrrd/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_resource_field_selector.py__init__s   z V1ResourceFieldSelector.__init__cCs|jS)z Gets the container_name of this V1ResourceFieldSelector. Container name: required for volumes, optional for env vars :return: The container_name of this V1ResourceFieldSelector. :rtype: str )r )rrrrr1s z&V1ResourceFieldSelector.container_namecCs ||_dS)z Sets the container_name of this V1ResourceFieldSelector. Container name: required for volumes, optional for env vars :param container_name: The container_name of this V1ResourceFieldSelector. :type: str N)r )rrrrrr<s cCs|jS)z Gets the divisor of this V1ResourceFieldSelector. Specifies the output format of the exposed resources, defaults to "1" :return: The divisor of this V1ResourceFieldSelector. :rtype: str )r )rrrrrHs zV1ResourceFieldSelector.divisorcCs ||_dS)z Sets the divisor of this V1ResourceFieldSelector. Specifies the output format of the exposed resources, defaults to "1" :param divisor: The divisor of this V1ResourceFieldSelector. :type: str N)r )rrrrrrSs cCs|jS)z Gets the resource of this V1ResourceFieldSelector. Required: resource to select :return: The resource of this V1ResourceFieldSelector. :rtype: str )r )rrrrr_s z V1ResourceFieldSelector.resourcecCs|dkrtd||_dS)z Sets the resource of this V1ResourceFieldSelector. Required: resource to select :param resource: The resource of this V1ResourceFieldSelector. :type: str Nz0Invalid value for `resource`, must not be `None`) ValueErrorr )rrrrrrjs 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)xrrrsz1V1ResourceFieldSelector.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrxs     zV1ResourceFieldSelector.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1ResourceFieldSelector.to_strcCs|jS)z* For `print` and `pprint` )r#)rrrr__repr__sz V1ResourceFieldSelector.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1ResourceFieldSelector.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr&rrr__ne__szV1ResourceFieldSelector.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrrrr#r$r'r(rrrrrs     r)r,pprintrsixrreobjectrrrrr s