U vi} @ 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 ) DBRPUpdatezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strbool)retention_policydefaultr r Nc C s2 d| _ d| _d| _|dk r || _|dk r.|| _dS )z(DBRPUpdate - a model defined in OpenAPI.N)_retention_policy_defaultZ discriminatorr r )selfr r r S/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/dbrp_update.py__init__* s zDBRPUpdate.__init__c C s | j S )a/ Get the retention_policy of this DBRPUpdate. A [retention policy](https://docs.influxdata.com/influxdb/v1.8/concepts/glossary/#retention-policy-rp) name. Identifies the InfluxDB v1 retention policy mapping. :return: The retention_policy of this DBRPUpdate. :rtype: str r r r r r r 5 s zDBRPUpdate.retention_policyc C s || _ dS )a> Set the retention_policy of this DBRPUpdate. A [retention policy](https://docs.influxdata.com/influxdb/v1.8/concepts/glossary/#retention-policy-rp) name. Identifies the InfluxDB v1 retention policy mapping. :param retention_policy: The retention_policy of this DBRPUpdate. :type: str Nr )r r r r r r @ s c C s | j S )a3 Get the default of this DBRPUpdate. Set to `true` to use this DBRP mapping as the default retention policy for the database (specified by the `database` property's value). To remove the default mapping, set to `false`. :return: The default of this DBRPUpdate. :rtype: bool r r r r r r K s zDBRPUpdate.defaultc C s || _ dS )a9 Set the default of this DBRPUpdate. Set to `true` to use this DBRP mapping as the default retention policy for the database (specified by the `database` property's value). To remove the default mapping, set to `false`. :param default: The default of this DBRPUpdate. :type: bool Nr )r r r r r r V s c C s i }| j D ]z\}}t| |}t|trBttdd |||<