🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 09:32:10 | 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: slack_notification_endpoint.cpython-38.pyc
Read Only
U w�i � @ s4 d Z ddlZddlZddlmZ G 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 � N)�!NotificationEndpointDiscriminatorc @ s� e Zd ZdZdddddddddddddd� Zdd d ddd dddddddd� Zd*dd�Zedd� �Zej dd� �Zedd� �Z e j dd� �Z d d!� Zd"d#� Zd$d%� Z d&d'� Zd(d)� ZdS )+�SlackNotificationEndpointz�NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. �str�datetimezlist[Label]ZNotificationEndpointBaseLinksZNotificationEndpointType) �url�token�id�org_id�user_id� created_at� updated_at�description�name�status�labels�links�typer r r ZorgIDZuserIDZ createdAtZ updatedAtr r r r r r N�active�slackc C sT t j| ||||||| | ||| d� d| _d| _d| _|dk rB|| _|dk rP|| _dS )z7SlackNotificationEndpoint - a model defined in OpenAPI.)r r r r r r r r r r r N)r �__init__�_url�_tokenZ discriminatorr r )�selfr r r r r r r r r r r r r � r �c/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/slack_notification_endpoint.pyr B s "z"SlackNotificationEndpoint.__init__c C s | j S )z�Get the url of this SlackNotificationEndpoint. Specifies the URL of the Slack endpoint. Specify either `URL` or `Token`. :return: The url of this SlackNotificationEndpoint. :rtype: str �r �r r r r r O s zSlackNotificationEndpoint.urlc C s || _ dS )z�Set the url of this SlackNotificationEndpoint. Specifies the URL of the Slack endpoint. Specify either `URL` or `Token`. :param url: The url of this SlackNotificationEndpoint. :type: str Nr )r r r r r r Z s c C s | j S )z�Get the token of this SlackNotificationEndpoint. Specifies the API token string. Specify either `URL` or `Token`. :return: The token of this SlackNotificationEndpoint. :rtype: str �r r r r r r e s zSlackNotificationEndpoint.tokenc C s || _ dS )z�Set the token of this SlackNotificationEndpoint. Specifies the API token string. Specify either `URL` or `Token`. :param token: The token of this SlackNotificationEndpoint. :type: str Nr )r r r r r r p s c C s� i }| j �� D ]z\}}t| |�}t|t�rBttdd� |��||<