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@s\eZdZdZddd„Zedd„ƒZejdd„ƒZdd „Zd d „Z d d „Z dd„Z dd„Z dS)Ú V1ExecActionzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsddi|_ddi|_||_dS)aB V1ExecAction - 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. Úcommandz list[str]N)Ú swagger_typesÚ attribute_mapÚ_command)Úselfr©r úX/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_exec_action.pyÚ__init__s  zV1ExecAction.__init__cCs|jS)a Gets the command of this V1ExecAction. Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. :return: The command of this V1ExecAction. :rtype: list[str] )r)r r r r r+s zV1ExecAction.commandcCs ||_dS)a  Sets the command of this V1ExecAction. Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. :param command: The command of this V1ExecAction. :type: list[str] N)r)r rr r r r6s 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 )Úxr r r ÚLsz&V1ExecAction.to_dict..r cSs&t|ddƒr"|d|djƒfS|S)Nér r)rr )Úitemr r r rSs) rrÚgetattrÚ isinstanceÚlistÚmaprr ÚdictÚitems)r ÚresultÚattrÚ_Úvaluer r r r Bs     zV1ExecAction.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr )r r r r Úto_str\szV1ExecAction.to_strcCs|jƒS)z* For `print` and `pprint` )r)r r r r Ú__repr__bszV1ExecAction.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r Úotherr r r Ú__eq__hs zV1ExecAction.__eq__cCs ||k S)z< Returns true if both objects are not equal r )r r r r r Ú__ne__qszV1ExecAction.__ne__)N) Ú__name__Ú __module__Ú __qualname__Ú__doc__r ÚpropertyrÚsetterr rrr!r"r r r r rs    r)r&ÚpprintrÚsixrÚreÚobjectrr r r r Ú s