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„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ dd„Z dd„Z dd„Z dd„Z dd„ZdS)Ú V1StatusCausezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2ddddœ|_ddddœ|_||_||_||_dS)aC V1StatusCause - 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)ÚfieldÚmessageÚreasonrrrN)Ú swagger_typesÚ attribute_mapÚ_fieldÚ_messageÚ_reason)Úselfrrr©rúY/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_status_cause.pyÚ__init__s   zV1StatusCause.__init__cCs|jS)a% Gets the field of this V1StatusCause. The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" :return: The field of this V1StatusCause. :rtype: str )r )rrrrr1s zV1StatusCause.fieldcCs ||_dS)a) Sets the field of this V1StatusCause. The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" :param field: The field of this V1StatusCause. :type: str N)r )rrrrrr<s cCs|jS)zò Gets the message of this V1StatusCause. A human-readable description of the cause of the error. This field may be presented as-is to a reader. :return: The message of this V1StatusCause. :rtype: str )r )rrrrrHs zV1StatusCause.messagecCs ||_dS)zø Sets the message of this V1StatusCause. A human-readable description of the cause of the error. This field may be presented as-is to a reader. :param message: The message of this V1StatusCause. :type: str N)r )rrrrrrSs cCs|jS)zü Gets the reason of this V1StatusCause. A machine-readable description of the cause of the error. If this value is empty there is no information available. :return: The reason of this V1StatusCause. :rtype: str )r )rrrrr_s zV1StatusCause.reasoncCs ||_dS)a Sets the reason of this V1StatusCause. A machine-readable description of the cause of the error. If this value is empty there is no information available. :param reason: The reason of this V1StatusCause. :type: str N)r )rrrrrrjs 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)ÚxrrrÚ€sz'V1StatusCause.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr‡s) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrrvs     zV1StatusCause.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str�szV1StatusCause.to_strcCs|jƒS)z* For `print` and `pprint` )r")rrrrÚ__repr__–szV1StatusCause.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__œs zV1StatusCause.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr%rrrÚ__ne__¥szV1StatusCause.__ne__)NNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrrr"r#r&r'rrrrrs      r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s