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@sveZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZd d „Z d d„Z dd„Z dd„Z dd„Z dS)Ú V1ScaleStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aC V1ScaleStatus - 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. ÚintÚstr)ÚreplicasÚselectorrrN)Ú swagger_typesÚ attribute_mapÚ _replicasÚ _selector)Úselfrr©rúY/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_scale_status.pyÚ__init__s   zV1ScaleStatus.__init__cCs|jS)zÆ Gets the replicas of this V1ScaleStatus. actual number of observed instances of the scaled object. :return: The replicas of this V1ScaleStatus. :rtype: int )r )r rrrr.s zV1ScaleStatus.replicascCs|dkrtdƒ‚||_dS)zÍ Sets the replicas of this V1ScaleStatus. actual number of observed instances of the scaled object. :param replicas: The replicas of this V1ScaleStatus. :type: int Nz0Invalid value for `replicas`, must not be `None`)Ú ValueErrorr )r rrrrr9s cCs|jS)aÅ Gets the selector of this V1ScaleStatus. label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors :return: The selector of this V1ScaleStatus. :rtype: str )r )r rrrrGs zV1ScaleStatus.selectorcCs ||_dS)aÌ Sets the selector of this V1ScaleStatus. label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors :param selector: The selector of this V1ScaleStatus. :type: str N)r )r rrrrrRs 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Úhsz'V1ScaleStatus.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrros) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluerrrr^s     zV1ScaleStatus.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strxszV1ScaleStatus.to_strcCs|jƒS)z* For `print` and `pprint` )r")r rrrÚ__repr__~szV1ScaleStatus.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__„s zV1ScaleStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r%rrrÚ__ne__szV1ScaleStatus.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr"r#r&r'rrrrrs     r)r+ÚpprintrÚsixrÚreÚobjectrrrrrÚ s