🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 12:47:50 | PHP 8.2.32
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
influxdb_client
/
domain
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/__pycache__
🔄 Refresh
✏️
Editing: notification_endpoint.cpython-38.pyc
Read Only
U w�iT � @ 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 ZdZddiZddiZddddd�Zdd d�Zedd � �Z e j dd � �Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zd S )�NotificationEndpointz�NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. �typeZNotificationEndpointTypeZSlackNotificationEndpointZPagerDutyNotificationEndpointZHTTPNotificationEndpointZTelegramNotificationEndpoint)ZslackZ pagerduty�httpZtelegramNc C s d| _ d| _|| _dS )z2NotificationEndpoint - a model defined in OpenAPI.Nr )�_type� discriminatorr ��selfr � r �]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/notification_endpoint.py�__init__/ s zNotificationEndpoint.__init__c C s | j S )z�Get the type of this NotificationEndpoint. :return: The type of this NotificationEndpoint. :rtype: NotificationEndpointType )r �r r r r r 6 s zNotificationEndpoint.typec C s |dkrt d��|| _dS )z�Set the type of this NotificationEndpoint. :param type: The type of this NotificationEndpoint. :type: NotificationEndpointType Nz,Invalid value for `type`, must not be `None`)� ValueErrorr r r r r r ? 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_modelJ s z)NotificationEndpoint.get_real_child_modelc C s� i }| j �� D ]z\}}t| |�}t|t�rBttdd� |��||<