U wâ’i½ã@s(dZddlZddlZGdd„deƒZdS)a InfluxDB OSS API Service. The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://openapi-generator.tech éNc@s¨eZdZdZddddœZddddœZdd d „Zed d „ƒZej d d „ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ dd„Z dd„Z dd„Zdd„Zdd„ZdS)ÚRenamableFieldz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrÚbool)Ú internal_nameÚ display_nameÚvisibleZ internalNameZ displayNamerNcCsFd|_d|_d|_d|_|dk r&||_|dk r4||_|dk rB||_dS)z,RenamableField - a model defined in OpenAPI.N)Ú_internal_nameÚ _display_nameÚ_visibleZ discriminatorrrr)Úselfrrr©r úW/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/renamable_field.pyÚ__init__,szRenamableField.__init__cCs|jS)z¯Get the internal_name of this RenamableField. The calculated name of a field. :return: The internal_name of this RenamableField. :rtype: str ©r©r r r r r:s zRenamableField.internal_namecCs ||_dS)z»Set the internal_name of this RenamableField. The calculated name of a field. :param internal_name: The internal_name of this RenamableField. :type: str Nr)r rr r r rEs cCs|jS)z¾Get the display_name of this RenamableField. The name that a field is renamed to by the user. :return: The display_name of this RenamableField. :rtype: str ©r rr r r rPs zRenamableField.display_namecCs ||_dS)zÉSet the display_name of this RenamableField. The name that a field is renamed to by the user. :param display_name: The display_name of this RenamableField. :type: str Nr)r rr r r r[s cCs|jS)zÁGet the visible of this RenamableField. Indicates whether this field should be visible on the table. :return: The visible of this RenamableField. :rtype: bool ©r rr r r rfs zRenamableField.visiblecCs ||_dS)zÇSet the visible of this RenamableField. Indicates whether this field should be visible on the table. :param visible: The visible of this RenamableField. :type: bool Nr)r rr r r rqs cCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)Úxr r r Ú„óz(RenamableField.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r r r‹s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluer r r r|s"  þ   ý  zRenamableField.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrr r r Úto_str”szRenamableField.to_strcCs| ¡S)zFor `print` and `pprint`.)r(rr r r Ú__repr__˜szRenamableField.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©r Úotherr r r Ú__eq__œs zRenamableField.__eq__cCs ||k S)z*Return true if both objects are not equal.r r+r r r Ú__ne__£szRenamableField.__ne__)NNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_maprÚpropertyrÚsetterrrrr(r)r-r.r r r r rs6ýý       r)r2r&ÚreÚobjectrr r r r Ús