U wio@s(dZddlZddlZGdddeZdS)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 eZdZdZddddddddZddd d d d d dZd0ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ed d!Zej d"d!Zed#d$Zej d%d$Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/ZdS)1 StaticLegendzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. boolfloatintstr) colorize_rows height_ratioshowopacityorientation_threshold value_axis width_ratioZ colorizeRowsZ heightRatior r ZorientationThresholdZ valueAxisZ widthRatioNcCsd|_d|_d|_d|_d|_d|_d|_d|_|dk r>||_|dk rL||_ |dk rZ||_ |dk rh||_ |dk rv||_ |dk r||_ |dk r||_dS)z*StaticLegend - a model defined in OpenAPI.N)_colorize_rows _height_ratio_show_opacity_orientation_threshold _value_axis _width_ratioZ discriminatorrrr r r r r )selfrrr r r r r rU/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/static_legend.py__init__4s,zStaticLegend.__init__cCs|jS)zGet the colorize_rows of this StaticLegend. :return: The colorize_rows of this StaticLegend. :rtype: bool rrrrrrNszStaticLegend.colorize_rowscCs ||_dS)zSet the colorize_rows of this StaticLegend. :param colorize_rows: The colorize_rows of this StaticLegend. :type: bool Nr)rrrrrrWscCs|jS)zGet the height_ratio of this StaticLegend. :return: The height_ratio of this StaticLegend. :rtype: float rrrrrr`szStaticLegend.height_ratiocCs ||_dS)zSet the height_ratio of this StaticLegend. :param height_ratio: The height_ratio of this StaticLegend. :type: float Nr)rrrrrriscCs|jS)zqGet the show of this StaticLegend. :return: The show of this StaticLegend. :rtype: bool rrrrrr rszStaticLegend.showcCs ||_dS)ztSet the show of this StaticLegend. :param show: The show of this StaticLegend. :type: bool Nr)rr rrrr {scCs|jS)zxGet the opacity of this StaticLegend. :return: The opacity of this StaticLegend. :rtype: float rrrrrr szStaticLegend.opacitycCs ||_dS)z~Set the opacity of this StaticLegend. :param opacity: The opacity of this StaticLegend. :type: float Nr)rr rrrr scCs|jS)zGet the orientation_threshold of this StaticLegend. :return: The orientation_threshold of this StaticLegend. :rtype: int rrrrrr sz"StaticLegend.orientation_thresholdcCs ||_dS)zSet the orientation_threshold of this StaticLegend. :param orientation_threshold: The orientation_threshold of this StaticLegend. :type: int Nr)rr rrrr scCs|jS)z|Get the value_axis of this StaticLegend. :return: The value_axis of this StaticLegend. :rtype: str rrrrrr szStaticLegend.value_axiscCs ||_dS)zSet the value_axis of this StaticLegend. :param value_axis: The value_axis of this StaticLegend. :type: str Nr)rr rrrr scCs|jS)zGet the width_ratio of this StaticLegend. :return: The width_ratio of this StaticLegend. :rtype: float rrrrrr szStaticLegend.width_ratiocCs ||_dS)zSet the width_ratio of this StaticLegend. :param width_ratio: The width_ratio of this StaticLegend. :type: float Nr )rr rrrr scCsi}|jD]z\}}t||}t|trBttdd|||<qt|drZ|||<qt|trttdd|||<q|||<q|S)z&Return the model properties as a dict.cSst|dr|S|S)Nto_dicthasattrr!)xrrrz&StaticLegend.to_dict..r!cSs&t|ddr"|d|dfS|S)Nr!rr")itemrrrr%s ) openapi_typesitemsgetattr isinstancelistmapr#r!dict)rresultattr_valuerrrr!s"       zStaticLegend.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr!rrrrto_strszStaticLegend.to_strcCs|S)zFor `print` and `pprint`.)r6rrrr__repr__szStaticLegend.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r,r__dict__rotherrrr__eq__s zStaticLegend.__eq__cCs ||k S)z*Return true if both objects are not equal.rr9rrr__ne__szStaticLegend.__ne__)NNNNNNN)__name__ __module__ __qualname____doc__r)Z attribute_maprpropertyrsetterrr r r r r r!r6r7r;r<rrrrrsf                r)r@r4reobjectrrrrrs