U vâ’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@seZdZdZdddddddœZdddd d d dœZd+d d„Zedd„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZej d d„ƒZd!d"„Zd#d$„Zd%d&„Zd'd(„Zd)d*„Zd S),ÚAxisz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. z list[str]ÚstrZ AxisScale)ÚboundsÚlabelÚprefixÚsuffixÚbaseÚscalerrrrrr NcCs‚d|_d|_d|_d|_d|_d|_d|_|dk r8||_|dk rF||_|dk rT||_ |dk rb||_ |dk rp||_ |dk r~||_ dS)z"Axis - a model defined in OpenAPI.N) Ú_boundsÚ_labelÚ_prefixÚ_suffixÚ_baseÚ_scaleZ discriminatorrrrrrr )Úselfrrrrrr ©rúL/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/axis.pyÚ__init__2s&z Axis.__init__cCs|jS)zôGet the bounds of this Axis. The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits. :return: The bounds of this Axis. :rtype: list[str] ©r ©rrrrrIs z Axis.boundscCs ||_dS)zùSet the bounds of this Axis. The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits. :param bounds: The bounds of this Axis. :type: list[str] Nr)rrrrrrTs cCs|jS)z„Get the label of this Axis. Description of the axis. :return: The label of this Axis. :rtype: str ©r rrrrr_s z Axis.labelcCs ||_dS)zˆSet the label of this Axis. Description of the axis. :param label: The label of this Axis. :type: str Nr)rrrrrrjs cCs|jS)z–Get the prefix of this Axis. Label prefix for formatting axis values. :return: The prefix of this Axis. :rtype: str ©r rrrrrus z Axis.prefixcCs ||_dS)z›Set the prefix of this Axis. Label prefix for formatting axis values. :param prefix: The prefix of this Axis. :type: str Nr)rrrrrr€s cCs|jS)z–Get the suffix of this Axis. Label suffix for formatting axis values. :return: The suffix of this Axis. :rtype: str ©r rrrrr‹s z Axis.suffixcCs ||_dS)z›Set the suffix of this Axis. Label suffix for formatting axis values. :param suffix: The suffix of this Axis. :type: str Nr)rrrrrr–s cCs|jS)z‹Get the base of this Axis. Radix for formatting axis values. :return: The base of this Axis. :rtype: str ©rrrrrr¡s z Axis.basecCs ||_dS)zŽSet the base of this Axis. Radix for formatting axis values. :param base: The base of this Axis. :type: str Nr)rrrrrr¬s cCs|jS)zhGet the scale of this Axis. :return: The scale of this Axis. :rtype: AxisScale ©rrrrrr ·sz Axis.scalecCs ||_dS)zlSet the scale of this Axis. :param scale: The scale of this Axis. :type: AxisScale Nr)rr rrrr ÀscCsŽ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)ÚxrrrÚÑózAxis.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)ÚitemrrrrØs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_ÚvaluerrrrÉs"  þ   ý  z Axis.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrrrrÚto_strász Axis.to_strcCs| ¡S)zFor `print` and `pprint`.)r0rrrrÚ__repr__åsz Axis.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r&rÚ__dict__©rÚotherrrrÚ__eq__és z Axis.__eq__cCs ||k S)z*Return true if both objects are not equal.rr3rrrÚ__ne__ðsz Axis.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r#Z attribute_maprÚpropertyrÚsetterrrrrr rr0r1r5r6rrrrrsZú ú             r)r:r.ÚreÚobjectrrrrrÚs