U viE @ 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 ZdZdddZdddZddd Zed d Zej dd Zed d Z e j dd Z dd Zdd Zdd Z dd Zdd ZdS ) DecimalPlaceszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. boolint)is_enforceddigitsZ isEnforcedr Nc C s2 d| _ d| _d| _|dk r || _|dk r.|| _dS )z+DecimalPlaces - a model defined in OpenAPI.N)_is_enforced_digitsZ discriminatorr r )selfr r r V/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/decimal_places.py__init__* s zDecimalPlaces.__init__c C s | j S )zGet the is_enforced of this DecimalPlaces. Indicates whether decimal point setting should be enforced :return: The is_enforced of this DecimalPlaces. :rtype: bool r r r r r r 5 s zDecimalPlaces.is_enforcedc C s || _ dS )zSet the is_enforced of this DecimalPlaces. Indicates whether decimal point setting should be enforced :param is_enforced: The is_enforced of this DecimalPlaces. :type: bool Nr )r r r r r r @ s c C s | j S )zGet the digits of this DecimalPlaces. The number of digits after decimal to display :return: The digits of this DecimalPlaces. :rtype: int r r r r r r K s zDecimalPlaces.digitsc C s || _ dS )zSet the digits of this DecimalPlaces. The number of digits after decimal to display :param digits: The digits of this DecimalPlaces. :type: int Nr )r r r r r r V s c C s i }| j D ]z\}}t| |}t|trBttdd |||<