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) V1Handlerzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS) a? V1Handler - 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. V1ExecActionV1HTTPGetActionV1TCPSocketAction)_exechttp_get tcp_socketexecZhttpGetZ tcpSocketN) swagger_types attribute_map_V1Handler__exec _http_get _tcp_socket)selfrr r rT/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_handler.py__init__s   zV1Handler.__init__cCs|jS)z Gets the _exec of this V1Handler. One and only one of the following should be specified. Exec specifies the action to take. :return: The _exec of this V1Handler. :rtype: V1ExecAction )r)rrrrr1s zV1Handler._execcCs ||_dS)z Sets the _exec of this V1Handler. One and only one of the following should be specified. Exec specifies the action to take. :param _exec: The _exec of this V1Handler. :type: V1ExecAction N)r)rrrrrr<s cCs|jS)z Gets the http_get of this V1Handler. HTTPGet specifies the http request to perform. :return: The http_get of this V1Handler. :rtype: V1HTTPGetAction )r)rrrrr Hs zV1Handler.http_getcCs ||_dS)z Sets the http_get of this V1Handler. HTTPGet specifies the http request to perform. :param http_get: The http_get of this V1Handler. :type: V1HTTPGetAction N)r)rr rrrr Ss cCs|jS)z Gets the tcp_socket of this V1Handler. TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported :return: The tcp_socket of this V1Handler. :rtype: V1TCPSocketAction )r)rrrrr _s zV1Handler.tcp_socketcCs ||_dS)z Sets the tcp_socket of this V1Handler. TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported :param tcp_socket: The tcp_socket of this V1Handler. :type: V1TCPSocketAction N)r)rr rrrr js 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#V1Handler.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrvs     zV1Handler.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1Handler.to_strcCs|jS)z* For `print` and `pprint` )r%)rrrr__repr__szV1Handler.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1Handler.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr(rrr__ne__szV1Handler.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterr r rr%r&r)r*rrrrrs      r)r.pprintrsixrreobjectrrrrr s