U wio @ s( d Z ddlZddlZG dd deZdS )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 e Zd ZdZddddddddZddd d ddd dZd0ddZedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zedd Z e j dd Z ed d! Zej d"d! Zed#d$ Zej d%d$ Zd&d' Zd(d) Zd*d+ Zd,d- Zd.d/ ZdS )1StaticLegendzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. boolfloatintstr) colorize_rowsheight_ratioshowopacityorientation_threshold value_axiswidth_ratioZcolorizeRowsZheightRatior r ZorientationThresholdZ valueAxisZ widthRatioNc C s d| _ 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 discriminatorr r r r r r r )selfr r r r r r r r U/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/static_legend.py__init__4 s, zStaticLegend.__init__c C s | j S )zGet the colorize_rows of this StaticLegend. :return: The colorize_rows of this StaticLegend. :rtype: bool r r r r r r N s zStaticLegend.colorize_rowsc C s || _ dS )zSet the colorize_rows of this StaticLegend. :param colorize_rows: The colorize_rows of this StaticLegend. :type: bool Nr )r r r r r r W s c C s | j S )zGet the height_ratio of this StaticLegend. :return: The height_ratio of this StaticLegend. :rtype: float r r r r r r ` s zStaticLegend.height_ratioc C s || _ dS )zSet the height_ratio of this StaticLegend. :param height_ratio: The height_ratio of this StaticLegend. :type: float Nr )r r r r r r i s c C s | j S )zqGet the show of this StaticLegend. :return: The show of this StaticLegend. :rtype: bool r r r r r r r s zStaticLegend.showc C s || _ dS )ztSet the show of this StaticLegend. :param show: The show of this StaticLegend. :type: bool Nr )r r r r r r { s c C s | j S )zxGet the opacity of this StaticLegend. :return: The opacity of this StaticLegend. :rtype: float r r r r r r s zStaticLegend.opacityc C s || _ dS )z~Set the opacity of this StaticLegend. :param opacity: The opacity of this StaticLegend. :type: float Nr )r r r r r r s c C s | j S )zGet the orientation_threshold of this StaticLegend. :return: The orientation_threshold of this StaticLegend. :rtype: int r r r r r r s z"StaticLegend.orientation_thresholdc C s || _ dS )zSet the orientation_threshold of this StaticLegend. :param orientation_threshold: The orientation_threshold of this StaticLegend. :type: int Nr )r r r r r r s c C s | j S )z|Get the value_axis of this StaticLegend. :return: The value_axis of this StaticLegend. :rtype: str r r r r r r s zStaticLegend.value_axisc C s || _ dS )zSet the value_axis of this StaticLegend. :param value_axis: The value_axis of this StaticLegend. :type: str Nr )r r r r r r s c C s | j S )zGet the width_ratio of this StaticLegend. :return: The width_ratio of this StaticLegend. :rtype: float r r r r r r s zStaticLegend.width_ratioc C s || _ dS )zSet the width_ratio of this StaticLegend. :param width_ratio: The width_ratio of this StaticLegend. :type: float Nr )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<