3 fY9%@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@seZdZdZd'ddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ eddZ e jddZ eddZ e jddZ eddZ e jddZ eddZejddZddZdd Zd!d"Zd#d$Zd%d&ZdS)(V1Statuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csdddddddddd|_dddd d d d d d|_||_||_||_||_||_||_||_||_ dS)a> V1Status - 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. strintV1StatusDetails V1ListMeta) api_versioncodedetailskindmessagemetadatareasonstatus apiVersionr r r r rrrN) swagger_types attribute_map _api_version_code_details_kind_message _metadata_reason_status) selfr r r r r rrrrS/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_status.py__init__s0   zV1Status.__init__cCs|jS)a Gets the api_version of this V1Status. 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 V1Status. :rtype: str )r)rrrrr @s zV1Status.api_versioncCs ||_dS)a Sets the api_version of this V1Status. 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 V1Status. :type: str N)r)rr rrrr Ks cCs|jS)z Gets the code of this V1Status. Suggested HTTP return code for this status, 0 if not set. :return: The code of this V1Status. :rtype: int )r)rrrrr Ws z V1Status.codecCs ||_dS)z Sets the code of this V1Status. Suggested HTTP return code for this status, 0 if not set. :param code: The code of this V1Status. :type: int N)r)rr rrrr bs cCs|jS)ah Gets the details of this V1Status. Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. :return: The details of this V1Status. :rtype: V1StatusDetails )r)rrrrr ns zV1Status.detailscCs ||_dS)an Sets the details of this V1Status. Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. :param details: The details of this V1Status. :type: V1StatusDetails N)r)rr rrrr ys cCs|jS)a Gets the kind of this V1Status. 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 V1Status. :rtype: str )r)rrrrr s z V1Status.kindcCs ||_dS)a Sets the kind of this V1Status. 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 V1Status. :type: str N)r)rr rrrr s cCs|jS)z Gets the message of this V1Status. A human-readable description of the status of this operation. :return: The message of this V1Status. :rtype: str )r)rrrrr s zV1Status.messagecCs ||_dS)z Sets the message of this V1Status. A human-readable description of the status of this operation. :param message: The message of this V1Status. :type: str N)r)rr rrrr s cCs|jS)z Gets the metadata of this V1Status. Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The metadata of this V1Status. :rtype: V1ListMeta )r)rrrrrs zV1Status.metadatacCs ||_dS)a Sets the metadata of this V1Status. Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param metadata: The metadata of this V1Status. :type: V1ListMeta N)r)rrrrrrs cCs|jS)aJ Gets the reason of this V1Status. A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. :return: The reason of this V1Status. :rtype: str )r)rrrrrs zV1Status.reasoncCs ||_dS)aO Sets the reason of this V1Status. A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. :param reason: The reason of this V1Status. :type: str N)r)rrrrrrs cCs|jS)a Gets the status of this V1Status. Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status :return: The status of this V1Status. :rtype: str )r)rrrrrs zV1Status.statuscCs ||_dS)a Sets the status of this V1Status. Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status :param status: The status of this V1Status. :type: str N)r)rrrrrrs 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"V1Status.to_dict..r cSs&t|ddr"|d|djfS|S)Nr r)r!r )itemrrrr# s) rrgetattr isinstancelistmapr!r dictitems)rresultattr_valuerrrr s     zV1Status.to_dictcCs t|jS)z@ Returns the string representation of the model )rr )rrrrto_strszV1Status.to_strcCs|jS)z* For `print` and `pprint` )r0)rrrr__repr__szV1Status.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r'r__dict__)rotherrrr__eq__s zV1Status.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr3rrr__ne__'szV1Status.__ne__)NNNNNNNN)__name__ __module__ __qualname____doc__rpropertyr setterr r r r rrrr r0r1r4r5rrrrrs. (          r)r9pprintrsixrreobjectrrrrr s