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„ |ƒƒ||<