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 edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Zdd„Zdd„ZdS)Ú#ExtensionsV1beta1DeploymentRollbackzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_ddddd dœ|_||_||_||_||_||_d S) aY ExtensionsV1beta1DeploymentRollback - 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ÚExtensionsV1beta1RollbackConfigzdict(str, str))Ú api_versionÚkindÚnameÚ rollback_toÚupdated_annotationsÚ apiVersionrr Ú rollbackToÚupdatedAnnotationsN)Ú swagger_typesÚ attribute_mapÚ _api_versionÚ_kindÚ_nameÚ _rollback_toÚ_updated_annotations)Úselfrrr r r ©rúp/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/extensions_v1beta1_deployment_rollback.pyÚ__init__s   z,ExtensionsV1beta1DeploymentRollback.__init__cCs|jS)aÏ Gets the api_version of this ExtensionsV1beta1DeploymentRollback. 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 ExtensionsV1beta1DeploymentRollback. :rtype: str )r)rrrrr7s z/ExtensionsV1beta1DeploymentRollback.api_versioncCs ||_dS)aÙ Sets the api_version of this ExtensionsV1beta1DeploymentRollback. 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 ExtensionsV1beta1DeploymentRollback. :type: str N)r)rrrrrrBs cCs|jS)a Gets the kind of this ExtensionsV1beta1DeploymentRollback. 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 ExtensionsV1beta1DeploymentRollback. :rtype: str )r)rrrrrNs z(ExtensionsV1beta1DeploymentRollback.kindcCs ||_dS)aÅ Sets the kind of this ExtensionsV1beta1DeploymentRollback. 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 ExtensionsV1beta1DeploymentRollback. :type: str N)r)rrrrrrYs cCs|jS)zä Gets the name of this ExtensionsV1beta1DeploymentRollback. Required: This must match the Name of a deployment. :return: The name of this ExtensionsV1beta1DeploymentRollback. :rtype: str )r)rrrrr es z(ExtensionsV1beta1DeploymentRollback.namecCs|dkrtdƒ‚||_dS)zç Sets the name of this ExtensionsV1beta1DeploymentRollback. Required: This must match the Name of a deployment. :param name: The name of this ExtensionsV1beta1DeploymentRollback. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr)rr rrrr ps cCs|jS)a Gets the rollback_to of this ExtensionsV1beta1DeploymentRollback. The config of this deployment rollback. :return: The rollback_to of this ExtensionsV1beta1DeploymentRollback. :rtype: ExtensionsV1beta1RollbackConfig )r)rrrrr ~s z/ExtensionsV1beta1DeploymentRollback.rollback_tocCs|dkrtdƒ‚||_dS)a  Sets the rollback_to of this ExtensionsV1beta1DeploymentRollback. The config of this deployment rollback. :param rollback_to: The rollback_to of this ExtensionsV1beta1DeploymentRollback. :type: ExtensionsV1beta1RollbackConfig Nz3Invalid value for `rollback_to`, must not be `None`)rr)rr rrrr ‰s cCs|jS)a Gets the updated_annotations of this ExtensionsV1beta1DeploymentRollback. The annotations to be updated to a deployment :return: The updated_annotations of this ExtensionsV1beta1DeploymentRollback. :rtype: dict(str, str) )r)rrrrr —s z7ExtensionsV1beta1DeploymentRollback.updated_annotationscCs ||_dS)a Sets the updated_annotations of this ExtensionsV1beta1DeploymentRollback. The annotations to be updated to a deployment :param updated_annotations: The updated_annotations of this ExtensionsV1beta1DeploymentRollback. :type: dict(str, str) N)r)rr rrrr ¢s 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=ExtensionsV1beta1DeploymentRollback.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Ú_Úvaluerrrr®s     z+ExtensionsV1beta1DeploymentRollback.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÈsz*ExtensionsV1beta1DeploymentRollback.to_strcCs|jƒS)z* For `print` and `pprint` )r+)rrrrÚ__repr__Îsz,ExtensionsV1beta1DeploymentRollback.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r"rÚ__dict__)rÚotherrrrÚ__eq__Ôs z*ExtensionsV1beta1DeploymentRollback.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr.rrrÚ__ne__Ýsz*ExtensionsV1beta1DeploymentRollback.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr r r rr+r,r/r0rrrrrs"        r)r4ÚpprintrÚsixrÚreÚobjectrrrrrÚ s